All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.ResponseHandlerWithHeaders Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy