Class RestResponse<T>

java.lang.Object
com.labs64.netlicensing.provider.RestResponse<T>
Type Parameters:
T - type of response entity

public class RestResponse<T> extends Object
Contains info about response together with response entity.
  • Constructor Details

    • RestResponse

      public RestResponse()
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • setStatusCode

      public void setStatusCode(int statusCode)
    • getHeaders

      public Map<String,List<String>> getHeaders()
    • setHeaders

      public void setHeaders(Map<String,List<String>> headers)
    • getEntity

      public T getEntity()
    • setEntity

      public void setEntity(T entity)