Class RestResponse<T>

  • Type Parameters:
    T - type of response entity

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

      • RestResponse

        public RestResponse()
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • setStatusCode

        public void setStatusCode​(int statusCode)
      • getHeaders

        public javax.ws.rs.core.MultivaluedMap<String,​Object> getHeaders()
      • setHeaders

        public void setHeaders​(javax.ws.rs.core.MultivaluedMap<String,​Object> headers)
      • getEntity

        public T getEntity()
      • setEntity

        public void setEntity​(T entity)