Modifier and Type | Method and Description |
---|---|
Series<Header> |
Message.getHeaders()
Returns the series of lower-level HTTP headers.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
Call.getRequestHeaders()
Returns the modifiable list of request headers.
|
Series<Header> |
Call.getResponseHeaders()
Returns the modifiable list of server headers.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
HttpExchangeCall.getRequestHeaders() |
Series<Header> |
HttpUrlConnectionCall.getResponseHeaders()
Returns the modifiable list of response headers.
|
Modifier and Type | Method and Description |
---|---|
static Header |
HeaderReader.readHeader(CharSequence header)
Read a header.
|
static Header |
HeaderReader.readHeader(InputStream is,
StringBuilder sb)
Read a header.
|
Modifier and Type | Method and Description |
---|---|
static void |
CacheDirectiveReader.addValues(Header header,
Collection<CacheDirective> collection)
Adds values to the given collection.
|
static void |
DimensionReader.addValues(Header header,
Collection<Dimension> collection)
Adds values to the given collection.
|
static void |
MethodReader.addValues(Header header,
Collection<Method> collection)
Adds values to the given collection.
|
static void |
RecipientInfoReader.addValues(Header header,
Collection<RecipientInfo> collection)
Adds values to the given collection.
|
static void |
StringReader.addValues(Header header,
Collection<String> collection)
Adds values to the given collection.
|
static void |
WarningReader.addValues(Header header,
Collection<Warning> collection)
Adds values to the given collection.
|
static void |
HeaderUtils.writeHeaderLine(Header header,
OutputStream os)
Writes a header line.
|
Modifier and Type | Method and Description |
---|---|
static void |
HeaderUtils.addEntityHeaders(Representation entity,
Series<Header> headers)
Adds the entity headers based on the
Representation to the
Series . |
static void |
HeaderUtils.addExtensionHeaders(Series<Header> existingHeaders,
Series<Header> additionalHeaders)
Adds extension headers if they are non-standard headers.
|
static void |
HeaderUtils.addExtensionHeaders(Series<Header> existingHeaders,
Series<Header> additionalHeaders)
Adds extension headers if they are non-standard headers.
|
static void |
HeaderUtils.addGeneralHeaders(Message message,
Series<Header> headers)
|
static void |
HeaderUtils.addHeader(String headerName,
String headerValue,
Series<Header> headers)
Adds a header to the given list.
|
static void |
HeaderUtils.addNotModifiedEntityHeaders(Representation entity,
Series<Header> headers)
Adds the entity headers based on the
Representation to the
Series when a 304 (Not Modified) status is returned. |
static void |
HeaderUtils.addRequestHeaders(Request request,
Series<Header> headers)
|
static void |
HeaderUtils.addResponseHeaders(Response response,
Series<Header> headers)
|
static void |
HeaderUtils.copyExtensionHeaders(Series<Header> headers,
Response response)
Copies extension headers into a response.
|
static void |
HeaderUtils.copyResponseTransportHeaders(Series<Header> headers,
Response response)
Copies headers into a response.
|
static Representation |
HeaderUtils.extractEntityHeaders(Iterable<Header> headers,
Representation representation)
Extracts entity headers and updates a given representation or create an
empty one when at least one entity header is present.
|
static long |
HeaderUtils.getContentLength(Series<Header> headers)
Returns the content length of the request entity if know,
Representation.UNKNOWN_SIZE otherwise. |
static boolean |
HeaderUtils.isChunkedEncoding(Series<Header> headers)
Indicates if the entity is chunked.
|
static boolean |
HeaderUtils.isConnectionClose(Series<Header> headers)
Indicates if the connection must be closed.
|
Modifier and Type | Method and Description |
---|---|
static String |
AuthenticatorUtils.formatRequest(ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders)
Formats a challenge request as a HTTP header value.
|
void |
HttpBasicHelper.formatRequest(ChallengeWriter cw,
ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders) |
void |
AuthenticatorHelper.formatRequest(ChallengeWriter cw,
ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders)
Formats a challenge request as raw credentials.
|
static String |
AuthenticatorUtils.formatResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Formats a challenge response as a HTTP header value.
|
void |
HttpBasicHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
AuthenticatorHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Formats a challenge response as raw credentials.
|
void |
SmtpPlainHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
HttpBasicHelper.parseRequest(ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders) |
void |
AuthenticatorHelper.parseRequest(ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders)
Parses an authenticate header into a challenge request.
|
static List<ChallengeRequest> |
AuthenticatorUtils.parseRequest(Response response,
String header,
Series<Header> httpHeaders)
Parses an authenticate header into a list of challenge request.
|
void |
HttpBasicHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
AuthenticatorHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Parses an authorization header into a challenge response.
|
static ChallengeResponse |
AuthenticatorUtils.parseResponse(Request request,
String header,
Series<Header> httpHeaders)
Parses an authorization header into a challenge response.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpDigestHelper.formatRequest(ChallengeWriter cw,
ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders) |
void |
HttpAzureSharedKeyLiteHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
HttpAwsS3Helper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
HttpDigestHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
HttpAzureSharedKeyHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
static String |
AwsUtils.getCanonicalizedAmzHeaders(Series<Header> requestHeaders)
Returns the canonicalized AMZ headers.
|
static String |
AwsUtils.getS3Signature(Request request,
Series<Header> headers,
char[] secret)
Returns the AWS S3 authentication compatible signature for the given
request and secret.
|
static String |
AwsUtils.getS3StringToSign(Request request,
Series<Header> headers)
Returns the S3 string to sign.
|
void |
HttpDigestHelper.parseRequest(ChallengeRequest challenge,
Response response,
Series<Header> httpHeaders) |
void |
HttpDigestHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
Modifier and Type | Method and Description |
---|---|
Series<Header> |
HttpMethodCall.getResponseHeaders()
Deprecated.
Returns the modifiable list of response headers.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
InboundRequest.getHeaders()
Returns the headers.
|
Series<Header> |
HttpInboundRequest.getHeaders() |
Modifier and Type | Method and Description |
---|---|
void |
InboundRequest.setHeaders(Series<Header> headers)
Put the headers in the request's attributes map.
|
void |
HttpInboundRequest.setHeaders(Series<Header> headers) |
Modifier and Type | Method and Description |
---|---|
protected Header |
InboundWay.readHeader()
Read a message header.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
Way.getHeaders()
Returns the response headers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OutboundWay.addEntityHeaders(Representation entity,
Series<Header> headers)
Adds the entity headers for the given response.
|
protected void |
OutboundWay.addGeneralHeaders(Series<Header> headers)
|
protected abstract void |
OutboundWay.addHeaders(Series<Header> headers)
Add all the headers, including the general, the message specific and the
entity headers.
|
protected void |
ServerOutboundWay.addHeaders(Series<Header> headers) |
protected void |
ClientOutboundWay.addHeaders(Series<Header> headers) |
protected void |
ClientOutboundWay.addRequestHeaders(Series<Header> headers)
Adds the request headers.
|
protected void |
ServerOutboundWay.addResponseHeaders(Series<Header> headers)
Adds the response headers.
|
protected void |
ClientInboundWay.copyResponseTransportHeaders(Series<Header> headers,
Response response)
Copies headers into a response.
|
protected Representation |
InboundWay.createEntity(Series<Header> headers)
Returns the message entity if available.
|
protected void |
Way.setHeaders(Series<Header> headers)
Sets the response headers to be written.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
ServletCall.getRequestHeaders()
Returns the list of request headers.
|
Modifier and Type | Method and Description |
---|---|
static void |
SipRecipientInfoReader.addValues(Header header,
Collection<SipRecipientInfo> collection)
Deprecated.
Adds values to the given collection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SipClientOutboundWay.addGeneralHeaders(Series<Header> headers)
Deprecated.
|
protected void |
SipClientOutboundWay.addRequestHeaders(Series<Header> headers)
Deprecated.
|
protected void |
SipServerOutboundWay.addResponseHeaders(Series<Header> headers)
Deprecated.
|
protected void |
SipClientInboundWay.copyResponseTransportHeaders(Series<Header> headers,
Response response)
Deprecated.
|
void |
SipInboundRequest.setHeaders(Series<Header> headers)
Deprecated.
Put the headers in the request's attributes map.
|
Modifier and Type | Method and Description |
---|---|
Series<Header> |
XdbServletCall.getRequestHeaders()
Deprecated.
|
Copyright © 2005–2018. All rights reserved.