Package com.softlayer.api
Class ResponseHandlerWithHeaders<T>
java.lang.Object
com.softlayer.api.ResponseHandlerWithHeaders<T>
- All Implemented Interfaces:
ResponseHandler<T>
public abstract class ResponseHandlerWithHeaders<T> extends Object implements ResponseHandler<T>
A version of
ResponseHandler
that, if used, will have setLastResponseTotalItemCount(Integer)
invoked after the response to set the total items count from the header.-
Constructor Summary
Constructors Constructor Description ResponseHandlerWithHeaders()
-
Method Summary
Modifier and Type Method Description Integer
getLastResponseTotalItemCount()
void
setLastResponseTotalItemCount(Integer lastResponseTotalItemCount)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softlayer.api.ResponseHandler
onError, onSuccess
-
Constructor Details
-
ResponseHandlerWithHeaders
public ResponseHandlerWithHeaders()
-
-
Method Details
-
getLastResponseTotalItemCount
-
setLastResponseTotalItemCount
-