public class HttpResponse extends Response
| Constructor and Description |
|---|
HttpResponse(ServerCall httpCall,
Request request)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addHeader(Response response,
java.lang.String headerName,
java.lang.String headerValue)
Adds a new header to the given request.
|
Series<Parameter> |
getHeaders()
Returns the HTTP headers.
|
ServerCall |
getHttpCall()
Returns the low-level HTTP call.
|
ServerInfo |
getServerInfo()
Returns the server-specific information.
|
abort, commit, getAge, getAllowedMethods, getAuthenticationInfo, getChallengeRequests, getCookieSettings, getCurrent, getDimensions, getLocationRef, getProxyChallengeRequests, getRequest, getRetryAfter, getStatus, isAutoCommitting, isCommitted, isConfidential, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAge, setAllowedMethods, setAuthenticationInfo, setAutoCommitting, setChallengeRequest, setChallengeRequests, setCommitted, setCookieSettings, setCurrent, setDimensions, setLocationRef, setLocationRef, setProxyChallengeRequests, setRequest, setRetryAfter, setServerInfo, setStatus, setStatus, setStatus, setStatus, toStringgetAttributes, getCacheDirectives, getDate, getEntity, getEntityAsForm, getEntityAsText, getOnSent, getRecipientsInfo, getWarnings, isEntityAvailable, release, setAttributes, setCacheDirectives, setDate, setEntity, setEntity, setOnSent, setRecipientsInfo, setWarningspublic HttpResponse(ServerCall httpCall, Request request)
httpCall - The low-level HTTP server call.request - The associated high-level request.public static void addHeader(Response response, java.lang.String headerName, java.lang.String headerValue)
response - The response to update.headerName - The header name to add.headerValue - The header value to add.public Series<Parameter> getHeaders()
public ServerCall getHttpCall()
public ServerInfo getServerInfo()
getServerInfo in class ResponseCopyright © 2005-2012. All Rights Reserved.