Package org.jboss.resteasy.core
Class ServerResponse
java.lang.Object
jakarta.ws.rs.core.Response
org.jboss.resteasy.specimpl.AbstractBuiltResponse
org.jboss.resteasy.specimpl.BuiltResponse
org.jboss.resteasy.core.ServerResponse
- All Implemented Interfaces:
AutoCloseable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.resteasy.specimpl.AbstractBuiltResponse
AbstractBuiltResponse.InputStreamWrapper<T extends BuiltResponse>
Nested classes/interfaces inherited from class jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response.ResponseBuilder, jakarta.ws.rs.core.Response.Status, jakarta.ws.rs.core.Response.StatusType
-
Field Summary
Fields inherited from class org.jboss.resteasy.specimpl.AbstractBuiltResponse
annotations, bufferedEntity, entity, entityClass, genericType, is, isClosed, metadata, processor, reason, status, streamFullyRead, streamRead
-
Constructor Summary
ConstructorDescriptionServerResponse
(Object entity, int status, Headers<Object> metadata) ServerResponse
(BuiltResponse response) -
Method Summary
Modifier and TypeMethodDescription<T> T
readEntity
(Class<T> type, Type genericType, Annotation[] anns) Methods inherited from class org.jboss.resteasy.specimpl.BuiltResponse
bufferEntity, getEntityStream, getInputStream, readFrom, releaseConnection, releaseConnection, setInputStream
Methods inherited from class org.jboss.resteasy.specimpl.AbstractBuiltResponse
abortIfClosed, addMethodAnnotations, close, getAllowedMethods, getAnnotations, getCookies, getDate, getEntity, getEntityClass, getEntityTag, getGenericType, getHeaderString, getHeaderValueProcessor, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getMetadata, getReasonPhrase, getStatus, getStatusInfo, getStringHeaders, hasEntity, hasLink, isClosed, readEntity, readEntity, readEntity, readEntity, resetEntity, setAnnotations, setEntity, setEntityClass, setGenericType, setMetadata, setReasonPhrase, setStatus, setStreamFullyRead, setStreamRead, toHeaderString
Methods inherited from class jakarta.ws.rs.core.Response
accepted, accepted, created, fromResponse, getHeaders, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, status, temporaryRedirect
-
Constructor Details
-
ServerResponse
public ServerResponse() -
ServerResponse
-
ServerResponse
-
-
Method Details
-
readEntity
- Overrides:
readEntity
in classBuiltResponse
-