RestfulResponse
API
RestfulResponse.java
class RestfulResponse<T> {
RestfulResponse<JsonRepresentation> of(Response response)
RestfulResponse<T> ofT(Response response)
HttpStatusCode getStatus()
T getEntity()
V getHeader(Header<V> header)
RestfulResponse<Q> wraps(Class<Q> cls) (1)
String toString()
}
1 | wraps(Class)
Convenience that recasts this response as wrapping some other representation. |