public abstract class BaseRequest<T extends BaseRequest,R extends BaseResponse>
extends java.lang.Object
Constructor and Description |
---|
BaseRequest(java.lang.Class<? extends R> responseClass) |
Modifier and Type | Method and Description |
---|---|
protected T |
add(java.lang.String name,
java.lang.Object val) |
java.lang.String |
getContentType() |
java.lang.String |
getFileName() |
java.lang.String |
getMethod() |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters() |
java.lang.reflect.Type |
getResponseType() |
int |
getTimeoutSeconds() |
boolean |
isMultipart() |
protected final T extends BaseRequest thisAsT
public BaseRequest(java.lang.Class<? extends R> responseClass)
protected T add(java.lang.String name, java.lang.Object val)
public java.lang.String getMethod()
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
public java.lang.reflect.Type getResponseType()
public boolean isMultipart()
public java.lang.String getFileName()
public java.lang.String getContentType()
public int getTimeoutSeconds()