|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Header | |
|---|---|
| org.restlet.engine.adapter | Adapters between low-level HTTP calls and high-level Restlet Request and Response objects. |
| org.restlet.engine.connector | Integration with Java URLConnection class. |
| org.restlet.engine.header | Supports HTTP header parsing and formatting. |
| org.restlet.engine.security | Supports security. |
| Uses of Header in org.restlet.engine.adapter |
|---|
| Methods in org.restlet.engine.adapter that return types with arguments of type Header | |
|---|---|
Series<Header> |
HttpResponse.getHeaders()
Returns the HTTP headers. |
Series<Header> |
HttpRequest.getHeaders()
Returns the HTTP headers. |
Series<Header> |
Call.getRequestHeaders()
Returns the modifiable list of request headers. |
Series<Header> |
Call.getResponseHeaders()
Returns the modifiable list of server headers. |
| Uses of Header in org.restlet.engine.connector |
|---|
| Methods in org.restlet.engine.connector that return types with arguments of type Header | |
|---|---|
Series<Header> |
HttpExchangeCall.getRequestHeaders()
|
Series<Header> |
HttpUrlConnectionCall.getResponseHeaders()
Returns the modifiable list of response headers. |
| Uses of Header in org.restlet.engine.header |
|---|
| Methods in org.restlet.engine.header that return Header | |
|---|---|
static Header |
HeaderReader.readHeader(CharSequence header)
Read a header. |
static Header |
HeaderReader.readHeader(InputStream is,
StringBuilder sb)
Read a header. |
| Methods in org.restlet.engine.header with parameters of type Header | |
|---|---|
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 |
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. |
| Method parameters in org.restlet.engine.header with type arguments of type Header | |
|---|---|
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)
Adds the general headers from the Message to the Series. |
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)
Adds the headers based on the Request to the given Series
. |
static void |
HeaderUtils.addResponseHeaders(Response response,
Series<Header> headers)
Adds the headers based on the Response to the given
Series. |
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. |
| Uses of Header in org.restlet.engine.security |
|---|
| Method parameters in org.restlet.engine.security with type arguments of type Header | |
|---|---|
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 |
SmtpPlainHelper.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 |
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||