Uses of Class
org.restlet.util.Series
Packages that use Series
Package
Description
Core classes of the Restlet API.
Information exchanged by components.
Implementation of 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.
Support SSL and TLS.
General utilities.
Client and server resource classes.
Classes related to security.
Various utility classes.
-
Uses of Series in org.restlet
Methods in org.restlet that return SeriesModifier and TypeMethodDescriptionRequest.getCookies()Returns the modifiable series of cookies provided by the client.Response.getCookieSettings()Returns the modifiable series of cookie settings provided by the server.Message.getHeaders()Returns the series of lower-level HTTP headers.Context.getParameters()Returns the modifiable series of parameters.Methods in org.restlet with parameters of type SeriesModifier and TypeMethodDescriptionvoidRequest.setCookies(Series<Cookie> cookies) Sets the modifiable series of cookies provided by the client.voidResponse.setCookieSettings(Series<CookieSetting> cookieSettings) Sets the modifiable series of cookie settings provided by the server.voidContext.setParameters(Series<Parameter> parameters) Sets the modifiable series of parameters. -
Uses of Series in org.restlet.data
Subclasses of Series in org.restlet.dataModifier and TypeClassDescriptionclassForm which is a specialized modifiable list of parameters.Methods in org.restlet.data that return SeriesModifier and TypeMethodDescriptionParameter.createSeries()Creates a series that includes the current parameter as the initial entry.ChallengeMessage.getParameters()Returns the modifiable series of scheme parameters.Disposition.getParameters()Returns the list of disposition parameters.MediaType.getParameters()Returns the unmodifiable list of parameters corresponding to subtype modifiers.Preference.getParameters()Returns the modifiable list of parameters.Methods in org.restlet.data with parameters of type SeriesModifier and TypeMethodDescriptionvoidChallengeMessage.setParameters(Series<Parameter> parameters) Sets the parameters.voidDisposition.setParameters(Series<Parameter> parameters) Sets the list of disposition parameters.voidPreference.setParameters(Series<Parameter> parameters) Sets the modifiable list of parameters.Constructors in org.restlet.data with parameters of type SeriesModifierConstructorDescriptionChallengeMessage(ChallengeScheme scheme, String realm, Series<Parameter> parameters) Constructor.ChallengeMessage(ChallengeScheme scheme, String realm, Series<Parameter> parameters, String digestAlgorithm, String opaque, String serverNonce) Constructor.ChallengeMessage(ChallengeScheme scheme, Series<Parameter> parameters) Constructor.ChallengeResponse(ChallengeScheme scheme, String identifier, char[] secret, Series<Parameter> parameters) Constructor.ChallengeResponse(ChallengeScheme scheme, String identifier, Series<Parameter> parameters) Constructor.ChallengeResponse(ChallengeScheme scheme, Series<Parameter> parameters, String identifier, char[] secret, String secretAlgorithm, String realm, String quality, Reference digestRef, String digestAlgorithm, String opaque, String clientNonce, String serverNonce, int serverNonceCount, long timeIssued) Constructor.Disposition(String type, Series<Parameter> parameters) Constructor.Constructor.Constructor.Constructor that clones an original media type by extracting its parent media type then adding a new set of parameters.Preference(T metadata, float quality, Series<Parameter> parameters) Constructor. -
Uses of Series in org.restlet.engine
Methods in org.restlet.engine that return SeriesModifier and TypeMethodDescriptionRestletHelper.getHelpedParameters()Returns the helped Restlet parameters. -
Uses of Series in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return SeriesModifier and TypeMethodDescriptionHttpRequest.getCookies()Returns the cookies provided by the client.Call.getRequestHeaders()Returns the modifiable list of request headers.Call.getResponseHeaders()Returns the modifiable list of server headers. -
Uses of Series in org.restlet.engine.connector
Methods in org.restlet.engine.connector that return SeriesModifier and TypeMethodDescriptionHttpExchangeCall.getRequestHeaders()Deprecated.HttpUrlConnectionCall.getResponseHeaders()Deprecated.Returns the modifiable list of response headers. -
Uses of Series in org.restlet.engine.header
Methods in org.restlet.engine.header that return SeriesModifier and TypeMethodDescriptionPreferenceReader.extractMediaParams(Series<Parameter> parameters) Extract the media parameters.Methods in org.restlet.engine.header with parameters of type SeriesModifier 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.protected Preference<T>PreferenceReader.createPreference(CharSequence metadata, Series<Parameter> parameters) Creates a new preference.PreferenceReader.extractMediaParams(Series<Parameter> parameters) Extract the media parameters.protected floatPreferenceReader.extractQuality(Series<Parameter> parameters) Extract the quality value.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 Series in org.restlet.engine.security
Methods in org.restlet.engine.security with parameters of type SeriesModifier 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 Series in org.restlet.engine.ssl
Methods in org.restlet.engine.ssl with parameters of type SeriesModifier and TypeMethodDescriptionvoidSets the following options according to parameters that may have been set up directly in the HttpsClientHelper or HttpsServerHelper parameters.abstract voidInitialize the factory with the given connector parameters. -
Uses of Series in org.restlet.engine.util
Methods in org.restlet.engine.util with parameters of type SeriesModifier and TypeMethodDescriptionvoidFormReader.addParameters(Series<Parameter> parameters) Adds the parameters into a given series.static ReferenceReferenceUtils.getOriginalRef(Reference resourceRef, Series<Header> headers) Returns the original reference especially by detecting potential proxy forwardings. -
Uses of Series in org.restlet.resource
Methods in org.restlet.resource that return SeriesModifier and TypeMethodDescriptionResource.getCookies()Returns the modifiable series of cookies provided by the client.Resource.getCookieSettings()Returns the modifiable series of cookie settings provided by the server.Methods in org.restlet.resource with parameters of type SeriesModifier and TypeMethodDescriptionvoidClientResource.setCookies(Series<Cookie> cookies) Sets the cookies provided by the client.voidServerResource.setCookieSettings(Series<CookieSetting> cookieSettings) Sets the cookie settings provided by the server. -
Uses of Series in org.restlet.security
Methods in org.restlet.security that return SeriesModifier and TypeMethodDescriptionRealm.getParameters()Returns the modifiable series of parameters.Methods in org.restlet.security with parameters of type SeriesModifier and TypeMethodDescriptionvoidRealm.setParameters(Series<Parameter> parameters) Sets the modifiable series of parameters. -
Uses of Series in org.restlet.util
Methods in org.restlet.util that return SeriesModifier and TypeMethodDescriptionWrapperRequest.getCookies()Returns the cookies provided by the client.WrapperResponse.getCookieSettings()Returns the cookie settings provided by the server.Series.subList(int fromIndex, int toIndex) Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.Returns a list of all the values associated to the parameter name.Returns a list of all the values associated to the parameter name.static Series<? extends NamedValue>Series.unmodifiableSeries(Series<? extends NamedValue> series) Returns an unmodifiable view of the specified series.Methods in org.restlet.util with parameters of type SeriesModifier and TypeMethodDescriptionvoidWrapperRequest.setCookies(Series<Cookie> cookies) voidWrapperResponse.setCookieSettings(Series<CookieSetting> cookieSettings) static Series<? extends NamedValue>Series.unmodifiableSeries(Series<? extends NamedValue> series) Returns an unmodifiable view of the specified series.