public abstract class HalfDuplexParamBase extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Object> |
headers
The custom http header.
|
protected Map<String,Object> |
parameters
The extra parameters.
|
| 构造器和说明 |
|---|
HalfDuplexParamBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getApiKey() |
abstract ByteBuffer |
getBinaryData()
Get the binary data, only websocket, if no binary data, return null.
|
abstract Map<String,String> |
getHeaders()
The custom http header.
|
abstract com.google.gson.JsonObject |
getHttpBody()
Get the batch request data.
|
abstract Object |
getInput()
Get the request input data.
|
abstract String |
getModel() |
abstract Map<String,Object> |
getParameters()
The service parameters.
|
abstract Object |
getResources()
Get the request resources
|
String |
getWorkspace() |
abstract void |
validate()
Validate the input and parameters.
|
public String getWorkspace()
public String getApiKey()
public abstract String getModel()
public abstract Map<String,Object> getParameters()
public abstract com.google.gson.JsonObject getHttpBody()
public abstract Object getInput()
public abstract Object getResources()
public abstract ByteBuffer getBinaryData()
public abstract void validate()
throws InputRequiredException
InputRequiredException - Missing input fields.Copyright © 2024. All rights reserved.