public class CustomSmsResponseRequest extends java.lang.Object implements Request<CustomSmsResponseResponse>
Request.HttpMethodCONTENT_ENCODING_GZIP, CONTENT_TYPE_JSON, CONTENT_TYPE_TEXT_CSV, UA_VERSION_CSV, UA_VERSION_JSON| Modifier and Type | Method and Description |
|---|---|
boolean |
bearerTokenAuthRequired() |
boolean |
canUseBearerTokenAuth() |
ContentType |
getContentType() |
Request.HttpMethod |
getHttpMethod() |
java.lang.String |
getRequestBody() |
java.util.Map<java.lang.String,java.lang.String> |
getRequestHeaders() |
ResponseParser<CustomSmsResponseResponse> |
getResponseParser() |
java.net.URI |
getUri(java.net.URI baseUri) |
static CustomSmsResponseRequest |
newRequest(CustomSmsResponseMmsPayload mmsPayload) |
static CustomSmsResponseRequest |
newRequest(CustomSmsResponseSmsPayload smsPayload) |
public static CustomSmsResponseRequest newRequest(CustomSmsResponseSmsPayload smsPayload)
public static CustomSmsResponseRequest newRequest(CustomSmsResponseMmsPayload mmsPayload)
public Request.HttpMethod getHttpMethod()
getHttpMethod in interface Request<CustomSmsResponseResponse>public java.lang.String getRequestBody()
getRequestBody in interface Request<CustomSmsResponseResponse>public ContentType getContentType()
getContentType in interface Request<CustomSmsResponseResponse>public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
getRequestHeaders in interface Request<CustomSmsResponseResponse>public java.net.URI getUri(java.net.URI baseUri)
throws java.net.URISyntaxException
getUri in interface Request<CustomSmsResponseResponse>java.net.URISyntaxExceptionpublic ResponseParser<CustomSmsResponseResponse> getResponseParser()
getResponseParser in interface Request<CustomSmsResponseResponse>public boolean bearerTokenAuthRequired()
bearerTokenAuthRequired in interface Request<CustomSmsResponseResponse>public boolean canUseBearerTokenAuth()
canUseBearerTokenAuth in interface Request<CustomSmsResponseResponse>