Uses of Class
org.restlet.engine.header.Header

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 New advanced internal HTTP connector. 
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 Header
protected  Header InboundWay.readHeader()
          Read a message header.
 

Methods in org.restlet.engine.connector that return types with arguments of type Header
 Series<Header> HttpInboundRequest.getHeaders()
           
 Series<Header> InboundRequest.getHeaders()
          Returns the headers.
 Series<Header> Way.getHeaders()
          Returns the response headers.
 

Method parameters in org.restlet.engine.connector with type arguments of type Header
protected  void OutboundWay.addEntityHeaders(Representation entity, Series<Header> headers)
          Adds the entity headers for the given response.
protected  void OutboundWay.addGeneralHeaders(Series<Header> headers)
          Adds the general headers from the Message to the Series.
protected abstract  void OutboundWay.addHeaders(Series<Header> headers)
          Add all the headers, including the general, the message specific and the entity headers.
protected  void ClientOutboundWay.addHeaders(Series<Header> headers)
           
protected  void ServerOutboundWay.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.
 void HttpInboundRequest.setHeaders(Series<Header> headers)
           
 void InboundRequest.setHeaders(Series<Header> headers)
          Put the headers in the request's attributes map.
protected  void Way.setHeaders(Series<Header> headers)
          Sets the response headers to be written.
 

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.
 



Copyright © 2005-2013 Restlet.