@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpContext extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the HTTP context to use for the test authorizer request.
Constructor and Description |
---|
HttpContext() |
Modifier and Type | Method and Description |
---|---|
HttpContext |
addHeadersEntry(String key,
String value)
Add a single Headers entry
|
HttpContext |
clearHeadersEntries()
Removes all the entries added into Headers.
|
HttpContext |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getHeaders()
The header keys and values in an HTTP authorization request.
|
String |
getQueryString()
The query string keys and values in an HTTP authorization request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeaders(Map<String,String> headers)
The header keys and values in an HTTP authorization request.
|
void |
setQueryString(String queryString)
The query string keys and values in an HTTP authorization request.
|
String |
toString()
Returns a string representation of this object.
|
HttpContext |
withHeaders(Map<String,String> headers)
The header keys and values in an HTTP authorization request.
|
HttpContext |
withQueryString(String queryString)
The query string keys and values in an HTTP authorization request.
|
public Map<String,String> getHeaders()
The header keys and values in an HTTP authorization request.
public void setHeaders(Map<String,String> headers)
The header keys and values in an HTTP authorization request.
headers
- The header keys and values in an HTTP authorization request.public HttpContext withHeaders(Map<String,String> headers)
The header keys and values in an HTTP authorization request.
headers
- The header keys and values in an HTTP authorization request.public HttpContext addHeadersEntry(String key, String value)
public HttpContext clearHeadersEntries()
public void setQueryString(String queryString)
The query string keys and values in an HTTP authorization request.
queryString
- The query string keys and values in an HTTP authorization request.public String getQueryString()
The query string keys and values in an HTTP authorization request.
public HttpContext withQueryString(String queryString)
The query string keys and values in an HTTP authorization request.
queryString
- The query string keys and values in an HTTP authorization request.public String toString()
toString
in class Object
Object.toString()
public HttpContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.