Uses of Class
org.restlet.data.Header
Packages that use Header
Package
Description
Core classes of the Restlet API.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Integration with Java URLConnection class.
Supports HTTP header parsing and formatting.
Supports security.
General utilities.
-
Uses of Header in org.restlet
Methods in org.restlet that return types with arguments of type HeaderModifier and TypeMethodDescriptionMessage.getHeaders()Returns the series of lower-level HTTP headers. -
Uses of Header in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return types with arguments of type HeaderModifier and TypeMethodDescriptionCall.getRequestHeaders()Returns the modifiable list of request headers.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 HeaderModifier and TypeMethodDescriptionHttpExchangeCall.getRequestHeaders()Deprecated.HttpUrlConnectionCall.getResponseHeaders()Deprecated.Returns the modifiable list of response headers. -
Uses of Header in org.restlet.engine.header
Methods in org.restlet.engine.header that return HeaderModifier and TypeMethodDescriptionstatic HeaderHeaderReader.readHeader(InputStream is, StringBuilder sb) Read a header.static HeaderHeaderReader.readHeader(CharSequence header) Read a header.Methods in org.restlet.engine.header with parameters of type HeaderModifier and TypeMethodDescriptionstatic voidCacheDirectiveReader.addValues(Header header, Collection<CacheDirective> collection) Adds values to the given collection.static voidDimensionReader.addValues(Header header, Collection<Dimension> collection) Adds values to the given collection.static voidMethodReader.addValues(Header header, Collection<Method> collection) Adds values to the given collection.static voidRecipientInfoReader.addValues(Header header, Collection<RecipientInfo> collection) Adds values to the given collection.static voidStringReader.addValues(Header header, Collection<String> collection) Adds values to the given collection.static voidTagReader.addValues(Header header, Collection<Tag> collection) Adds values to the given collection.static voidWarningReader.addValues(Header header, Collection<Warning> collection) Adds values to the given collection.static voidHeaderUtils.writeHeaderLine(Header header, OutputStream os) Writes a header line.Method parameters in org.restlet.engine.header with type arguments of type HeaderModifier and TypeMethodDescriptionstatic 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 voidAdds 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(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 HeaderModifier and TypeMethodDescriptionvoidAuthenticatorHelper.formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders) Formats a challenge request as raw credentials.static StringAuthenticatorUtils.formatRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders) Formats a challenge request as an 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 StringAuthenticatorUtils.formatResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders) Formats a challenge response as an HTTP header value.voidHttpBasicHelper.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 List<ChallengeRequest>AuthenticatorUtils.parseRequest(Response response, String header, Series<Header> httpHeaders) Parses an WWW-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, 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 HeaderModifier and TypeMethodDescriptionstatic ReferenceReferenceUtils.getOriginalRef(Reference resourceRef, Series<Header> headers) Returns the original reference especially by detecting potential proxy forwardings.