public interface HttpClientResponse extends HttpResponse
HttpClientResponse
being the response as consumed by the
client.HeaderFieldsAccessor.HeaderFieldsBuilder<T extends HeaderFields<?,?>,B extends HeaderFieldsAccessor.HeaderFieldsBuilder<T,B>>, HeaderFieldsAccessor.HeaderFieldsMutator<T extends HeaderFields<?,?>>, HeaderFieldsAccessor.HeaderFieldsProperty<T extends HeaderFields<?,?>>
Modifier and Type | Method and Description |
---|---|
<RES> RES |
getResponse(Class<RES> aResponseType)
Retrieves the object representing the response body.
|
getHeaderFields
<RES> RES getResponse(Class<RES> aResponseType) throws BadResponseException
aResponseType
- The type of which the response is expected to be.org.refcodes.exception.UnmarshalException
- thrown in case the response cannot be
converted to the given type.BadResponseException
Copyright © 2016. All rights reserved.