|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Header | |
---|---|
org.restlet.client.engine.adapter | Adapters between low-level HTTP calls and high-level Restlet Request and Response objects. |
org.restlet.client.engine.header | Supports HTTP header parsing and formatting. |
org.restlet.client.engine.util | General utilities. |
Uses of Header in org.restlet.client.engine.adapter |
---|
Methods in org.restlet.client.engine.adapter that return types with arguments of type Header | |
---|---|
Series<Header> |
Call.getRequestHeaders()
Returns the modifiable list of request headers. |
Series<Header> |
GwtClientCall.getResponseHeaders()
Returns the modifiable list of response headers. |
Series<Header> |
Call.getResponseHeaders()
Returns the modifiable list of server headers. |
Uses of Header in org.restlet.client.engine.header |
---|
Methods in org.restlet.client.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.client.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. |
Method parameters in org.restlet.client.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.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.client.engine.util |
---|
Methods in org.restlet.client.engine.util that return Header | |
---|---|
Header |
HeaderSeries.createEntry(String name,
String value)
|
Methods in org.restlet.client.engine.util that return types with arguments of type Header | |
---|---|
Series<Header> |
HeaderSeries.createSeries(List<Header> delegate)
|
Method parameters in org.restlet.client.engine.util with type arguments of type Header | |
---|---|
Series<Header> |
HeaderSeries.createSeries(List<Header> delegate)
|
Constructor parameters in org.restlet.client.engine.util with type arguments of type Header | |
---|---|
HeaderSeries(List<Header> delegate)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |