public static class FullJsonResponseHandler.JsonResponse<T> extends Object
Constructor and Description |
---|
FullJsonResponseHandler.JsonResponse(int statusCode,
String statusMessage,
com.google.common.collect.ListMultimap<String,String> headers,
byte[] responseBytes) |
FullJsonResponseHandler.JsonResponse(int statusCode,
String statusMessage,
com.google.common.collect.ListMultimap<String,String> headers,
JsonCodec<T> jsonCodec,
byte[] jsonBytes) |
Modifier and Type | Method and Description |
---|---|
IllegalArgumentException |
getException() |
String |
getHeader(String name) |
com.google.common.collect.ListMultimap<String,String> |
getHeaders() |
String |
getJson() |
byte[] |
getJsonBytes() |
String |
getResponseBody() |
byte[] |
getResponseBytes() |
int |
getStatusCode() |
String |
getStatusMessage() |
T |
getValue() |
boolean |
hasValue() |
String |
toString() |
public FullJsonResponseHandler.JsonResponse(int statusCode, String statusMessage, com.google.common.collect.ListMultimap<String,String> headers, byte[] responseBytes)
public int getStatusCode()
public String getStatusMessage()
public boolean hasValue()
public T getValue()
public byte[] getResponseBytes()
public String getResponseBody()
public byte[] getJsonBytes()
public String getJson()
public IllegalArgumentException getException()
Copyright © 2010-2014 Airlift. All Rights Reserved.