public class AbortedResponse extends ClientResponse
Response.ResponseBuilder, Response.Status, Response.StatusType
Modifier and Type | Field and Description |
---|---|
protected InputStream |
is |
bufferedEntity, configuration, properties
annotations, entity, entityClass, genericType, isClosed, metadata, processor, status
Constructor and Description |
---|
AbortedResponse(ClientConfiguration configuration,
Response response) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
getInputStream() |
<T> T |
readEntity(Class<T> type,
Type genericType,
Annotation[] anns)
Added for RESTEASY-1540.
|
void |
releaseConnection()
release underlying connection but do not close
|
protected void |
setInputStream(InputStream is) |
abortIfClosed, bufferEntity, close, finalize, getEntity, getEntityStream, getHeaderValueProcessor, getProperties, hasEntity, noReleaseConnection, readFrom, setClientConfiguration, setHeaders, setProperties
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
accepted, accepted, created, fromResponse, getHeaders, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, temporaryRedirect
protected InputStream is
public AbortedResponse(ClientConfiguration configuration, Response response)
protected InputStream getInputStream()
getInputStream
in class ClientResponse
protected void setInputStream(InputStream is)
setInputStream
in class ClientResponse
public void releaseConnection()
ClientResponse
releaseConnection
in class ClientResponse
public <T> T readEntity(Class<T> type, Type genericType, Annotation[] anns)
readEntity
in class ClientResponse
Copyright © 2017 JBoss by Red Hat. All rights reserved.