Class AbortedResponse
- java.lang.Object
-
- javax.ws.rs.core.Response
-
- org.jboss.resteasy.specimpl.BuiltResponse
-
- org.jboss.resteasy.client.jaxrs.internal.ClientResponse
-
- org.jboss.resteasy.client.jaxrs.internal.AbortedResponse
-
public class AbortedResponse extends ClientResponse
- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.InputStreamis-
Fields inherited from class org.jboss.resteasy.client.jaxrs.internal.ClientResponse
bufferedEntity, configuration, properties
-
Fields inherited from class org.jboss.resteasy.specimpl.BuiltResponse
annotations, entity, entityClass, genericType, isClosed, metadata, processor, status
-
-
Constructor Summary
Constructors Constructor Description AbortedResponse(ClientConfiguration configuration, javax.ws.rs.core.Response response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.InputStreamgetInputStream()<T> TreadEntity(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] anns)Added for RESTEASY-1540.voidreleaseConnection()release underlying connection but do not closeprotected voidsetInputStream(java.io.InputStream is)-
Methods inherited from class org.jboss.resteasy.client.jaxrs.internal.ClientResponse
abortIfClosed, bufferEntity, close, finalize, getEntity, getEntityStream, getHeaderValueProcessor, getProperties, hasEntity, noReleaseConnection, readFrom, setClientConfiguration, setHeaders, setProperties
-
Methods inherited from class org.jboss.resteasy.specimpl.BuiltResponse
addMethodAnnotations, getAllowedMethods, getAnnotations, getCookies, getDate, getEntityClass, getEntityTag, getGenericType, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinkHeaders, getLinks, getLocation, getMediaType, getMetadata, getStatus, getStatusInfo, getStringHeaders, hasLink, isClosed, readEntity, readEntity, readEntity, readEntity, setAnnotations, setEntity, setEntityClass, setGenericType, setMetadata, setStatus, toHeaderString
-
-
-
-
Constructor Detail
-
AbortedResponse
public AbortedResponse(ClientConfiguration configuration, javax.ws.rs.core.Response response)
-
-
Method Detail
-
getInputStream
protected java.io.InputStream getInputStream()
- Specified by:
getInputStreamin classClientResponse
-
setInputStream
protected void setInputStream(java.io.InputStream is)
- Specified by:
setInputStreamin classClientResponse
-
releaseConnection
public void releaseConnection()
Description copied from class:ClientResponserelease underlying connection but do not close- Specified by:
releaseConnectionin classClientResponse
-
readEntity
public <T> T readEntity(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] anns)Added for RESTEASY-1540.- Overrides:
readEntityin classClientResponse
-
-