Uses of Class
org.restlet.data.Header
-
Packages that use Header Package Description org.restlet Core classes of the API.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.org.restlet.engine.util General utilities.org.restlet.ext.crypto.internal org.restlet.ext.httpclient.internal org.restlet.ext.jaxrs.internal.util org.restlet.ext.jetty.internal org.restlet.ext.nio.internal.request org.restlet.ext.nio.internal.way org.restlet.ext.wadl Support the WADL specification. -
-
Uses of Header in org.restlet
Methods in org.restlet that return types with arguments of type Header Modifier and Type Method Description Series<Header>Message. getHeaders()Returns the series of lower-level HTTP headers. -
Uses of Header in org.restlet.engine.adapter
Fields in org.restlet.engine.adapter with type parameters of type Header Modifier and Type Field Description private Series<Header>Call. requestHeadersThe request headers.private Series<Header>Call. responseHeadersThe response headers.Methods in org.restlet.engine.adapter that return types with arguments of type Header Modifier and Type Method Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description static HeaderHeaderReader. readHeader(java.io.InputStream is, java.lang.StringBuilder sb)Read a header.static HeaderHeaderReader. readHeader(java.lang.CharSequence header)Read a header.Methods in org.restlet.engine.header with parameters of type Header Modifier and Type Method Description static voidCacheDirectiveReader. addValues(Header header, java.util.Collection<CacheDirective> collection)Adds values to the given collection.static voidDimensionReader. addValues(Header header, java.util.Collection<Dimension> collection)Adds values to the given collection.static voidMethodReader. addValues(Header header, java.util.Collection<Method> collection)Adds values to the given collection.static voidRecipientInfoReader. addValues(Header header, java.util.Collection<RecipientInfo> collection)Adds values to the given collection.static voidStringReader. addValues(Header header, java.util.Collection<java.lang.String> collection)Adds values to the given collection.static voidTagReader. addValues(Header header, java.util.Collection<Tag> collection)Adds values to the given collection.static voidWarningReader. addValues(Header header, java.util.Collection<Warning> collection)Adds values to the given collection.static voidHeaderUtils. writeHeaderLine(Header header, java.io.OutputStream os)Writes a header line.Method parameters in org.restlet.engine.header with type arguments of type Header Modifier and Type Method Description static voidHeaderUtils. addEntityHeaders(Representation entity, Series<Header> headers)Adds the entity headers based on theRepresentationto theSeries.static voidHeaderUtils. addExtensionHeaders(Series<Header> existingHeaders, Series<Header> additionalHeaders)Adds extension headers if they are non-standard headers.static voidHeaderUtils. addGeneralHeaders(Message message, Series<Header> headers)static voidHeaderUtils. addHeader(java.lang.String headerName, java.lang.String headerValue, Series<Header> headers)Adds a header to the given list.static voidHeaderUtils. addNotModifiedEntityHeaders(Representation entity, Series<Header> headers)Adds the entity headers based on theRepresentationto theSerieswhen a 304 (Not Modified) status is returned.static voidHeaderUtils. addRequestHeaders(Request request, Series<Header> headers)static voidHeaderUtils. addResponseHeaders(Response response, Series<Header> headers)static voidHeaderUtils. copyExtensionHeaders(Series<Header> headers, Message message)Copies extension headers into a request or a response.static voidHeaderUtils. copyResponseTransportHeaders(Series<Header> headers, Response response)Copies headers into a response.static RepresentationHeaderUtils. extractEntityHeaders(java.lang.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 longHeaderUtils. getContentLength(Series<Header> headers)Returns the content length of the request entity if know,Representation.UNKNOWN_SIZEotherwise.static booleanHeaderUtils. isChunkedEncoding(Series<Header> headers)Indicates if the entity is chunked.static booleanHeaderUtils. 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 Modifier and Type Method Description voidAuthenticatorHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Formats a challenge request as raw credentials.static java.lang.StringAuthenticatorUtils. formatRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Formats a challenge request as a HTTP header value.voidHttpBasicHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)voidAuthenticatorHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Formats a challenge response as raw credentials.static java.lang.StringAuthenticatorUtils. formatResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Formats a challenge response as a HTTP header value.voidHttpBasicHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidSmtpPlainHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidAuthenticatorHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Parses an authenticate header into a challenge request.static java.util.List<ChallengeRequest>AuthenticatorUtils. parseRequest(Response response, java.lang.String header, Series<Header> httpHeaders)Parses an authenticate header into a list of challenge request.voidHttpBasicHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)voidAuthenticatorHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Parses an authorization header into a challenge response.static ChallengeResponseAuthenticatorUtils. parseResponse(Request request, java.lang.String header, Series<Header> httpHeaders)Parses an authorization header into a challenge response.voidHttpBasicHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders) -
Uses of Header in org.restlet.engine.util
Method parameters in org.restlet.engine.util with type arguments of type Header Modifier and Type Method Description static ReferenceReferenceUtils. getOriginalRef(Reference resourceRef, Series<Header> headers)Returns the original reference especially by detecting potential proxy forwardings. -
Uses of Header in org.restlet.ext.crypto.internal
Method parameters in org.restlet.ext.crypto.internal with type arguments of type Header Modifier and Type Method Description voidHttpDigestHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)voidHttpAwsS3Helper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpAzureSharedKeyHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpAzureSharedKeyLiteHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpDigestHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)static java.lang.StringAwsUtils. getCanonicalizedAmzHeaders(Series<Header> requestHeaders)Returns the canonicalized AMZ headers.private static java.lang.StringHttpAzureSharedKeyHelper. getCanonicalizedAzureHeaders(Series<Header> requestHeaders)Returns the canonicalized Azure headers.static java.lang.StringAwsUtils. getS3Signature(Request request, Series<Header> headers, char[] secret)Returns the AWS S3 authentication compatible signature for the given request and secret.static java.lang.StringAwsUtils. getS3StringToSign(Request request, Series<Header> headers)Returns the S3 string to sign.voidHttpDigestHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)voidHttpDigestHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders) -
Uses of Header in org.restlet.ext.httpclient.internal
Methods in org.restlet.ext.httpclient.internal that return types with arguments of type Header Modifier and Type Method Description Series<Header>HttpMethodCall. getResponseHeaders()Returns the modifiable list of response headers. -
Uses of Header in org.restlet.ext.jaxrs.internal.util
Fields in org.restlet.ext.jaxrs.internal.util with type parameters of type Header Modifier and Type Field Description private Series<Header>WrappedRequestForHttpHeaders. headersDeprecated.may be null, f content was not already copied from theWrappedRequestForHttpHeaders.restletResponse.Methods in org.restlet.ext.jaxrs.internal.util that return types with arguments of type Header Modifier and Type Method Description static Series<Header>Util. copyResponseHeaders(Response restletResponse)Deprecated.private Series<Header>WrappedRequestForHttpHeaders. getHeaders()Deprecated.gets the Restlet headers.static Series<Header>Util. getHttpHeaders(Request request)Deprecated.static Series<Header>Util. getHttpHeaders(Response response)Deprecated. -
Uses of Header in org.restlet.ext.jetty.internal
Methods in org.restlet.ext.jetty.internal that return types with arguments of type Header Modifier and Type Method Description Series<Header>JettyServerCall. getRequestHeaders()Returns the list of request headers.Series<Header>JettyClientCall. getResponseHeaders()Returns the modifiable list of response headers. -
Uses of Header in org.restlet.ext.nio.internal.request
Methods in org.restlet.ext.nio.internal.request that return types with arguments of type Header Modifier and Type Method Description Series<Header>HttpInboundRequest. getHeaders()Deprecated.Series<Header>InboundRequest. getHeaders()Deprecated.Returns the headers.Method parameters in org.restlet.ext.nio.internal.request with type arguments of type Header Modifier and Type Method Description voidHttpInboundRequest. setHeaders(Series<Header> headers)Deprecated.voidInboundRequest. setHeaders(Series<Header> headers)Deprecated.Put the headers in the request's attributes map. -
Uses of Header in org.restlet.ext.nio.internal.way
Fields in org.restlet.ext.nio.internal.way with type parameters of type Header Modifier and Type Field Description private Series<Header>Way. headersDeprecated.The message headers.Methods in org.restlet.ext.nio.internal.way that return Header Modifier and Type Method Description protected HeaderInboundWay. readHeader()Deprecated.Read a message header.Methods in org.restlet.ext.nio.internal.way that return types with arguments of type Header Modifier and Type Method Description Series<Header>Way. getHeaders()Deprecated.Returns the response headers.Method parameters in org.restlet.ext.nio.internal.way with type arguments of type Header Modifier and Type Method Description protected voidOutboundWay. addEntityHeaders(Representation entity, Series<Header> headers)Deprecated.Adds the entity headers for the given response.protected voidOutboundWay. addGeneralHeaders(Series<Header> headers)Deprecated.protected voidClientOutboundWay. addHeaders(Series<Header> headers)Deprecated.protected abstract voidOutboundWay. addHeaders(Series<Header> headers)Deprecated.Add all the headers, including the general, the message specific and the entity headers.protected voidServerOutboundWay. addHeaders(Series<Header> headers)Deprecated.protected voidClientOutboundWay. addRequestHeaders(Series<Header> headers)Deprecated.Adds the request headers.protected voidServerOutboundWay. addResponseHeaders(Series<Header> headers)Deprecated.Adds the response headers.protected voidClientInboundWay. copyResponseTransportHeaders(Series<Header> headers, Response response)Deprecated.Copies headers into a response.protected RepresentationInboundWay. createEntity(Series<Header> headers)Deprecated.Returns the message entity if available.protected voidWay. setHeaders(Series<Header> headers)Deprecated.Sets the response headers to be written. -
Uses of Header in org.restlet.ext.wadl
Methods in org.restlet.ext.wadl that return types with arguments of type Header Modifier and Type Method Description private Series<Header>WadlServerResource. getHeaders()Deprecated.Returns the set of headers as a collection ofParameterobjects.
-