public interface Head<T> extends SphereRequest<T>
Modifier and Type | Method and Description |
---|---|
T |
deserialize(HttpResponse httpResponse)
Takes an http response and maps it into a Java object of type T.
|
canDeserialize, httpRequestIntent
T deserialize(HttpResponse httpResponse)
SphereRequest
SphereRequest.canDeserialize(HttpResponse)
if the response can be consumed.deserialize
in interface SphereRequest<T>
httpResponse
- the http response of the API