com.softlayer.api.ResponseHandlerWithHeaders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api;
/**
* A version of {@link ResponseHandler} that, if used, will have {@link #setLastResponseTotalItemCount(Integer)}
* invoked after the response to set the total items count from the header.
*/
public abstract class ResponseHandlerWithHeaders implements ResponseHandler {
private Integer lastResponseTotalItemCount;
public Integer getLastResponseTotalItemCount() {
return lastResponseTotalItemCount;
}
public void setLastResponseTotalItemCount(Integer lastResponseTotalItemCount) {
this.lastResponseTotalItemCount = lastResponseTotalItemCount;
}
}