public class Request
extends java.lang.Object
Constructor and Description |
---|
Request(<any> queryParams,
<any> headers,
java.lang.String httpMethod) |
Request(<any> queryParams,
<any> headers,
java.lang.String httpMethod,
byte[] entityBytes,
MediaType entityMediaType) |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String param,
java.lang.String value) |
void |
clearParams() |
static Request |
create(MultivaluedHashMap initialParams,
MultivaluedHashMap headers,
MultivaluedHashMap mutableParams,
java.lang.String httpMethod,
byte[] entityBytes,
MediaType entityMediaType) |
byte[] |
getEntityBytes() |
MediaType |
getEntityMediaType() |
java.lang.String |
getFirstFieldValue(java.lang.String param) |
java.lang.String |
getFirstParam(java.lang.String param) |
<any> |
getHeaders() |
java.lang.String |
getHttpMethod() |
<any> |
getInitialParams() |
java.util.Collection<java.lang.String> |
getParam(java.lang.String param) |
<any> |
getParams() |
boolean |
hasParam(java.lang.String param) |
void |
putAll(<any> params) |
void |
putParams(java.lang.String param,
java.util.List<java.lang.String> values) |
void |
putSingleParam(java.lang.String param,
java.lang.String value) |
void |
putSingleParamIfAbsent(java.lang.String param,
java.lang.String value) |
java.util.Collection<java.lang.String> |
removeParam(java.lang.String param) |
public Request(<any> queryParams, <any> headers, java.lang.String httpMethod)
public Request(<any> queryParams, <any> headers, java.lang.String httpMethod, byte[] entityBytes, MediaType entityMediaType)
public static Request create(MultivaluedHashMap initialParams, MultivaluedHashMap headers, MultivaluedHashMap mutableParams, java.lang.String httpMethod, byte[] entityBytes, MediaType entityMediaType)
public void addParam(java.lang.String param, java.lang.String value)
public void putSingleParam(java.lang.String param, java.lang.String value)
public void putSingleParamIfAbsent(java.lang.String param, java.lang.String value)
public void putParams(java.lang.String param, java.util.List<java.lang.String> values)
public void putAll(<any> params)
public void clearParams()
public boolean hasParam(java.lang.String param)
public java.util.Collection<java.lang.String> getParam(java.lang.String param)
public java.lang.String getFirstParam(java.lang.String param)
public java.util.Collection<java.lang.String> removeParam(java.lang.String param)
public java.lang.String getFirstFieldValue(java.lang.String param)
public <any> getParams()
public java.lang.String getHttpMethod()
public <any> getInitialParams()
public byte[] getEntityBytes()
public MediaType getEntityMediaType()
public <any> getHeaders()