Class CloseableClientResponse

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.jersey.api.client.ClientResponse

        com.sun.jersey.api.client.ClientResponse.Status
    • Field Summary

      • Fields inherited from class com.sun.jersey.api.client.ClientResponse

        dateDelegate, entityTagDelegate
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseableClientResponse​(javax.ws.rs.core.Response.StatusType statusType, com.sun.jersey.core.header.InBoundHeaders headers, InputStream entity, com.sun.jersey.spi.MessageBodyWorkers workers)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected static com.sun.jersey.core.header.InBoundHeaders getResponseHeaders​(com.sun.jersey.api.client.ClientResponse response)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static CloseableClientResponse of​(com.sun.jersey.api.client.ClientResponse response)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Makes the given ClientResponse AutoCloseable by wrapping it in a CloseableClientResponse.
      • Methods inherited from class com.sun.jersey.api.client.ClientResponse

        bufferEntity, close, getAllow, getClient, getClientResponseStatus, getCookies, getEntity, getEntity, getEntityInputStream, getEntityTag, getHeaders, getLanguage, getLastModified, getLength, getLinks, getLocation, getMetadata, getProperties, getResponseDate, getResponseStatus, getStatus, getStatusInfo, getType, hasEntity, setEntityInputStream, setResponseStatus, setStatus, setStatus, toString
    • Constructor Detail

      • CloseableClientResponse

        public CloseableClientResponse​(javax.ws.rs.core.Response.StatusType statusType,
                                       com.sun.jersey.core.header.InBoundHeaders headers,
                                       InputStream entity,
                                       com.sun.jersey.spi.MessageBodyWorkers workers)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getResponseHeaders

        protected static com.sun.jersey.core.header.InBoundHeaders getResponseHeaders​(com.sun.jersey.api.client.ClientResponse response)
        Deprecated, for removal: This API element is subject to removal in a future version.