Package org.nuxeo.jaxrs.test
Class CloseableClientResponse
- java.lang.Object
- 
- com.sun.jersey.api.client.ClientResponse
- 
- org.nuxeo.jaxrs.test.CloseableClientResponse
 
 
- 
- All Implemented Interfaces:
- AutoCloseable
 
 @Deprecated(since="2023.13", forRemoval=true) public class CloseableClientResponse extends com.sun.jersey.api.client.ClientResponse implements AutoCloseable Deprecated, for removal: This API element is subject to removal in a future version.since 2023.13, useHttpClientTestRuleinsteadWraps aClientResponseto make itÂAutoCloseable.- Since:
- 9.3
 
- 
- 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static com.sun.jersey.core.header.InBoundHeadersgetResponseHeaders(com.sun.jersey.api.client.ClientResponse response)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableClientResponseof(com.sun.jersey.api.client.ClientResponse response)Deprecated, for removal: This API element is subject to removal in a future version.- 
Methods inherited from class com.sun.jersey.api.client.ClientResponsebufferEntity, 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
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Constructor Detail- 
CloseableClientResponsepublic 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- 
ofpublic static CloseableClientResponse of(com.sun.jersey.api.client.ClientResponse response) Deprecated, for removal: This API element is subject to removal in a future version.
 - 
getResponseHeadersprotected 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.
 
- 
 
-