public class ServerResponse extends BuiltResponse
AbstractBuiltResponse.InputStreamWrapper<T extends BuiltResponse>
Response.ResponseBuilder, Response.Status, Response.StatusType
annotations, bufferedEntity, entity, entityClass, genericType, is, isClosed, metadata, processor, reason, status, streamFullyRead, streamRead
Constructor and Description |
---|
ServerResponse() |
ServerResponse(BuiltResponse response) |
ServerResponse(Object entity,
int status,
Headers<Object> metadata) |
Modifier and Type | Method and Description |
---|---|
<T> T |
readEntity(Class<T> type,
Type genericType,
Annotation[] anns) |
bufferEntity, getEntityStream, getInputStream, readFrom, releaseConnection, releaseConnection, setInputStream
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
accepted, accepted, created, fromResponse, getHeaders, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, status, temporaryRedirect
public ServerResponse()
public ServerResponse(BuiltResponse response)
public <T> T readEntity(Class<T> type, Type genericType, Annotation[] anns)
readEntity
in class BuiltResponse
Copyright © 2021 JBoss by Red Hat. All rights reserved.