T - the type of the result of the commandpublic abstract class CommandImpl<T> extends Base implements Command<T>
| Modifier | Constructor and Description |
|---|---|
protected |
CommandImpl() |
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(HttpResponse httpResponse)
Takes an http response and maps it into a Java object of type T.
|
protected abstract com.fasterxml.jackson.databind.JavaType |
jacksonJavaType() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcanDeserialize, httpRequestIntentpublic T deserialize(HttpResponse httpResponse)
SphereRequestSphereRequest.canDeserialize(HttpResponse) if the response can be consumed.deserialize in interface SphereRequest<T>httpResponse - the http response of the APIprotected abstract com.fasterxml.jackson.databind.JavaType jacksonJavaType()