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 AbstractBuiltResponse
AbstractBuiltResponse.InputStreamWrapper<T>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 AbstractBuiltResponse
annotations, bufferedEntity, entity, entityClass, genericType, is, isClosed, metadata, processor, reason, status, streamFullyRead, streamRead -
Constructor Summary
ConstructorsConstructorDescriptionServerResponse(Object entity, int status, Headers<Object> metadata) ServerResponse(BuiltResponse response) -
Method Summary
Modifier and TypeMethodDescription<T> TreadEntity(Class<T> type, Type genericType, Annotation[] anns) Methods inherited from class BuiltResponse
bufferEntity, getEntityStream, getInputStream, readFrom, releaseConnection, releaseConnection, setInputStreamMethods inherited from class 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, toHeaderStringMethods 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:
readEntityin classBuiltResponse
-