public class JsonUnmarshallerContext
extends java.lang.Object
Constructor and Description |
---|
JsonUnmarshallerContext(AwsJsonReader reader)
Constructor.
|
JsonUnmarshallerContext(AwsJsonReader reader,
HttpResponse httpResponse)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeader(java.lang.String header)
Returns the value of the header with the specified name from the
response, or null if not present.
|
HttpResponse |
getHttpResponse() |
AwsJsonReader |
getReader() |
public JsonUnmarshallerContext(AwsJsonReader reader)
reader
- the AwsJsonReader.public JsonUnmarshallerContext(AwsJsonReader reader, HttpResponse httpResponse)
reader
- the AwsJsonReader.httpResponse
- the HTTP response.public AwsJsonReader getReader()
public java.lang.String getHeader(java.lang.String header)
header
- The name of the header to lookup.public HttpResponse getHttpResponse()