- Adapter - Class in org.restlet.client.engine.adapter
-
Converter between high-level and low-level HTTP calls.
- Adapter(Context) - Constructor for class org.restlet.client.engine.adapter.Adapter
-
Constructor.
- add(String) - Method in class org.restlet.client.engine.util.CaseInsensitiveHashSet
-
- addCharacterSets(String, ClientInfo) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Parses character set preferences from a header.
- addEncodings(String, ClientInfo) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Parses encoding preferences from a header.
- addEntityHeaders(Representation, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
- addExtensionHeaders(Series<Header>, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Adds extension headers if they are non-standard headers.
- addGeneralHeaders(Message, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
- addHeader(String, String, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Adds a header to the given list.
- addLanguages(String, ClientInfo) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Adds language preferences from a header.
- addMediaTypes(String, ClientInfo) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Parses media type preferences from a header.
- addNotModifiedEntityHeaders(Representation, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Adds the entity headers based on the
Representation
to the
Series
when a 304 (Not Modified)
status is returned.
- addParameters(Series<Parameter>) - Method in class org.restlet.client.engine.util.FormReader
-
Adds the parameters into a given series.
- addPatches(String, ClientInfo) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Parses patch preferences from a header.
- addRequestHeaders(Request, Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
- addValues(Header, Collection<CacheDirective>) - Static method in class org.restlet.client.engine.header.CacheDirectiveReader
-
Adds values to the given collection.
- addValues(Header, Collection<Dimension>) - Static method in class org.restlet.client.engine.header.DimensionReader
-
Adds values to the given collection.
- addValues(Collection<V>) - Method in class org.restlet.client.engine.header.HeaderReader
-
Adds values to the given list.
- addValues(Header, Collection<Method>) - Static method in class org.restlet.client.engine.header.MethodReader
-
Adds values to the given collection.
- addValues(Header, Collection<RecipientInfo>) - Static method in class org.restlet.client.engine.header.RecipientInfoReader
-
Adds values to the given collection.
- addValues(Header, Collection<String>) - Static method in class org.restlet.client.engine.header.StringReader
-
Adds values to the given collection.
- addValues(Header, Collection<Tag>) - Static method in class org.restlet.client.engine.header.TagReader
-
Adds values to the given collection.
- addValues(Header, Collection<Warning>) - Static method in class org.restlet.client.engine.header.WarningReader
-
Adds values to the given collection.
- after(Date, Date) - Static method in class org.restlet.client.engine.util.DateUtils
-
Compares two date with a precision of one second.
- append(CacheDirective) - Method in class org.restlet.client.engine.header.CacheDirectiveWriter
-
- append(ChallengeRequest) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
- append(CookieSetting) - Method in class org.restlet.client.engine.header.CookieSettingWriter
-
- append(Cookie) - Method in class org.restlet.client.engine.header.CookieWriter
-
- append(List<Cookie>) - Method in class org.restlet.client.engine.header.CookieWriter
-
Appends a list of cookies as an HTTP header.
- append(Collection<Dimension>) - Method in class org.restlet.client.engine.header.DimensionWriter
-
Appends a collection of dimensions as a header.
- append(Dimension) - Method in class org.restlet.client.engine.header.DimensionWriter
-
- append(Disposition) - Method in class org.restlet.client.engine.header.DispositionWriter
-
- append(char) - Method in class org.restlet.client.engine.header.HeaderWriter
-
- append(char[]) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends an array of characters.
- append(CharSequence) - Method in class org.restlet.client.engine.header.HeaderWriter
-
- append(Collection<V>) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a collection of values.
- append(int) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends an integer.
- append(long) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a long.
- append(V) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a value.
- append(M) - Method in class org.restlet.client.engine.header.MetadataWriter
-
- append(Method) - Method in class org.restlet.client.engine.header.MethodWriter
-
- append(Preference<?>) - Method in class org.restlet.client.engine.header.PreferenceWriter
-
- append(List<Range>) - Method in class org.restlet.client.engine.header.RangeWriter
-
Formats ranges
as a Range header value
- append(Range) - Method in class org.restlet.client.engine.header.RangeWriter
-
- append(RecipientInfo) - Method in class org.restlet.client.engine.header.RecipientInfoWriter
-
- append(String) - Method in class org.restlet.client.engine.header.StringWriter
-
- append(Tag) - Method in class org.restlet.client.engine.header.TagWriter
-
- append(Warning) - Method in class org.restlet.client.engine.header.WarningWriter
-
- appendChallengeParameter(Parameter) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a new challenge parameter, prefixed with a comma.
- appendChallengeParameter(String) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendChallengeParameter(String, String) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendChallengeParameterSeparator() - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a comma as a separator if the first parameter has already been
written.
- appendComment(String) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a string as an HTTP comment, surrounded by parenthesis and with
quoted pairs if needed.
- appendExtension(NamedValue<String>) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Formats and appends a parameter as an extension.
- appendExtension(String, String) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends an extension.
- appendParameterSeparator() - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a semicolon as a parameter separator.
- appendProduct(String, String) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a product description.
- appendQuality(float) - Method in class org.restlet.client.engine.header.PreferenceWriter
-
Formats a quality value.
- appendQuotedChallengeParameter(Parameter) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendQuotedChallengeParameter(String, String) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendQuotedPair(char) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a quoted character, prefixing it with a backslash.
- appendQuotedString(String) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a quoted string.
- appendSpace() - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a space character.
- appendToken(String) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a token.
- appendUriEncoded(CharSequence, CharacterSet) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Formats and appends a source string as an URI encoded string.
- appendValue(String, int) - Method in class org.restlet.client.engine.header.CookieSettingWriter
-
Appends a source string as an HTTP comment.
- appendValue(String, int) - Method in class org.restlet.client.engine.header.CookieWriter
-
Appends a source string as an HTTP comment.
- appendValueSeparator() - Method in class org.restlet.client.engine.header.HeaderWriter
-
Appends a comma as a value separator.
- ATTRIBUTE_HEADERS - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- ATTRIBUTE_HTTPS_KEY_SIZE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- ATTRIBUTE_HTTPS_SSL_SESSION_ID - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- ATTRIBUTE_VERSION - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- available() - Method in class org.restlet.client.engine.io.StringInputStream
-
- CACHE_MAX_AGE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_MAX_STALE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_MIN_FRESH - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_MUST_REVALIDATE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_NO_CACHE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_NO_STORE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_NO_TRANSFORM - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_ONLY_IF_CACHED - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_PRIVATE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_PROXY_MUST_REVALIDATE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_PUBLIC - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CACHE_SHARED_MAX_AGE - Static variable in class org.restlet.client.engine.header.HeaderConstants
-
- CacheDirectiveReader - Class in org.restlet.client.engine.header
-
Cache directive header reader.
- CacheDirectiveReader(String) - Constructor for class org.restlet.client.engine.header.CacheDirectiveReader
-
Constructor.
- CacheDirectiveSeries - Class in org.restlet.client.engine.util
-
CacheDirective series.
- CacheDirectiveSeries() - Constructor for class org.restlet.client.engine.util.CacheDirectiveSeries
-
Constructor.
- CacheDirectiveSeries(List<CacheDirective>) - Constructor for class org.restlet.client.engine.util.CacheDirectiveSeries
-
Constructor.
- CacheDirectiveWriter - Class in org.restlet.client.engine.header
-
Cache directive header writer.
- CacheDirectiveWriter() - Constructor for class org.restlet.client.engine.header.CacheDirectiveWriter
-
- Call - Class in org.restlet.client.engine.adapter
-
Low-level call for the HTTP connectors.
- Call() - Constructor for class org.restlet.client.engine.adapter.Call
-
Constructor.
- canAdd(Encoding, Collection<Encoding>) - Method in class org.restlet.client.engine.header.EncodingReader
-
- canAdd(V, Collection<V>) - Method in class org.restlet.client.engine.header.HeaderReader
-
Indicates if the value can be added the the list.
- canWrite(Encoding) - Method in class org.restlet.client.engine.header.EncodingWriter
-
- canWrite(V) - Method in class org.restlet.client.engine.header.HeaderWriter
-
Indicates if the value can be written to the header.
- CaseInsensitiveHashSet - Class in org.restlet.client.engine.util
-
Set implementation that is case insensitive.
- CaseInsensitiveHashSet(Collection<? extends String>) - Constructor for class org.restlet.client.engine.util.CaseInsensitiveHashSet
-
Constructor initializing the set with the given collection.
- ChallengeRequestReader - Class in org.restlet.client.engine.header
-
Challenge request header reader.
- ChallengeRequestReader(String) - Constructor for class org.restlet.client.engine.header.ChallengeRequestReader
-
Constructor.
- ChallengeWriter - Class in org.restlet.client.engine.header
-
Authentication challenge header writer.
- ChallengeWriter() - Constructor for class org.restlet.client.engine.header.ChallengeWriter
-
Constructor.
- clear() - Static method in class org.restlet.client.engine.Engine
-
Clears the current Restlet Engine altogether.
- ClientAdapter - Class in org.restlet.client.engine.adapter
-
Converter of high-level uniform calls into low-level HTTP client calls.
- ClientAdapter(Context) - Constructor for class org.restlet.client.engine.adapter.ClientAdapter
-
Constructor.
- ClientCall - Class in org.restlet.client.engine.adapter
-
Low-level HTTP client call.
- ClientCall(HttpClientHelper, String, String) - Constructor for class org.restlet.client.engine.adapter.ClientCall
-
Constructor setting the request address to the local host.
- ClientHelper - Class in org.restlet.client.engine.connector
-
Client connector helper.
- ClientHelper(Client) - Constructor for class org.restlet.client.engine.connector.ClientHelper
-
Constructor.
- clone() - Method in class org.restlet.client.engine.util.ImmutableDate
- close() - Method in class org.restlet.client.engine.io.StringInputStream
-
- commit(ClientCall, Request, Response) - Method in class org.restlet.client.engine.adapter.ClientAdapter
-
Commits the changes to a handled HTTP client call back into the original
uniform call.
- ConnectorHelper<T extends Connector> - Class in org.restlet.client.engine.connector
-
Base connector helper.
- ConnectorHelper(T) - Constructor for class org.restlet.client.engine.connector.ConnectorHelper
-
Constructor.
- contains(String) - Method in class org.restlet.client.engine.util.CaseInsensitiveHashSet
-
Verify containment by ignoring case.
- contains(Object) - Method in class org.restlet.client.engine.util.CaseInsensitiveHashSet
-
- ContentType - Class in org.restlet.client.engine.header
-
Association of a media type, a character set and modifiers.
- ContentType(MediaType, CharacterSet) - Constructor for class org.restlet.client.engine.header.ContentType
-
Constructor.
- ContentType(Representation) - Constructor for class org.restlet.client.engine.header.ContentType
-
Constructor.
- ContentType(String) - Constructor for class org.restlet.client.engine.header.ContentType
-
Constructor.
- ContentTypeReader - Class in org.restlet.client.engine.header
-
Content type header reader.
- ContentTypeReader(String) - Constructor for class org.restlet.client.engine.header.ContentTypeReader
-
Constructor.
- CookieReader - Class in org.restlet.client.engine.header
-
Cookie header reader.
- CookieReader(String) - Constructor for class org.restlet.client.engine.header.CookieReader
-
Constructor.
- CookieSeries - Class in org.restlet.client.engine.util
-
Cookie series.
- CookieSeries() - Constructor for class org.restlet.client.engine.util.CookieSeries
-
Constructor.
- CookieSeries(List<Cookie>) - Constructor for class org.restlet.client.engine.util.CookieSeries
-
Constructor.
- CookieSettingReader - Class in org.restlet.client.engine.header
-
Cookie setting header reader.
- CookieSettingReader(String) - Constructor for class org.restlet.client.engine.header.CookieSettingReader
-
Constructor.
- CookieSettingSeries - Class in org.restlet.client.engine.util
-
Cookie setting series.
- CookieSettingSeries() - Constructor for class org.restlet.client.engine.util.CookieSettingSeries
-
Constructor.
- CookieSettingSeries(List<CookieSetting>) - Constructor for class org.restlet.client.engine.util.CookieSettingSeries
-
Constructor.
- CookieSettingWriter - Class in org.restlet.client.engine.header
-
Cookie setting header writer.
- CookieSettingWriter() - Constructor for class org.restlet.client.engine.header.CookieSettingWriter
-
- CookieWriter - Class in org.restlet.client.engine.header
-
Cookie header writer.
- CookieWriter() - Constructor for class org.restlet.client.engine.header.CookieWriter
-
- copyExtensionHeaders(Series<Header>, Message) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Copies extension headers into a request or a response.
- copyResponseTransportHeaders(Series<Header>, Response) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Copies headers into a response.
- copySubList(List<T>, int, int) - Static method in class org.restlet.client.engine.util.ListUtils
-
Unlike List.subList(), which returns a live view of a set of List
elements, this method returns a new copy of the list.
- create(Request) - Method in class org.restlet.client.engine.adapter.GwtHttpClientHelper
-
Creates a low-level HTTP client call from a high-level uniform call.
- create(Request) - Method in class org.restlet.client.engine.adapter.HttpClientHelper
-
Creates a low-level HTTP client call from a high-level request.
- create(CharSequence, CharSequence, boolean, CharacterSet) - Static method in class org.restlet.client.engine.util.FormUtils
-
Creates a parameter.
- createEntry(String, String) - Method in class org.restlet.client.engine.util.CacheDirectiveSeries
-
- createEntry(String, String) - Method in class org.restlet.client.engine.util.CookieSeries
-
- createEntry(String, String) - Method in class org.restlet.client.engine.util.CookieSettingSeries
-
- createEntry(String, String) - Method in class org.restlet.client.engine.util.HeaderSeries
-
- createEntry(String, String) - Method in class org.restlet.client.engine.util.ParameterSeries
-
- createHelper(Client, String) - Method in class org.restlet.client.engine.Engine
-
Creates a new helper for a given client connector.
- createParameter(String) - Method in class org.restlet.client.engine.header.HeaderReader
-
Creates a new parameter with a null value.
- createParameter(String, String) - Method in class org.restlet.client.engine.header.HeaderReader
-
Creates a new parameter.
- createPreference(CharSequence, Series<Parameter>) - Method in class org.restlet.client.engine.header.PreferenceReader
-
Creates a new preference.
- createSeries(List<CacheDirective>) - Method in class org.restlet.client.engine.util.CacheDirectiveSeries
-
- createSeries(List<Cookie>) - Method in class org.restlet.client.engine.util.CookieSeries
-
- createSeries(List<CookieSetting>) - Method in class org.restlet.client.engine.util.CookieSettingSeries
-
- createSeries(List<Header>) - Method in class org.restlet.client.engine.util.HeaderSeries
-
- createSeries(List<Parameter>) - Method in class org.restlet.client.engine.util.ParameterSeries
-
- createStreamReader(String) - Method in class org.restlet.client.engine.resource.GwtClientProxy
-
Creates an object stream reader.
- createStreamWriter() - Method in class org.restlet.client.engine.resource.GwtClientProxy
-
Creates an object stream writer.
- CURRENT - Static variable in enum org.restlet.client.engine.Edition
-
The current engine edition.
- getAdapter() - Method in class org.restlet.client.engine.adapter.HttpClientHelper
-
Returns the adapter from uniform calls to HTTP calls.
- getAnonymousLogger() - Static method in class org.restlet.client.engine.Engine
-
Returns an anonymous logger.
- getAnonymousLogger() - Method in class org.restlet.client.engine.log.LoggerFacade
-
Returns an anonymous logger.
- getAttributes() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the map of attributes exchanged between the API and the Engine
via this helper.
- getAvailableSize(Representation) - Static method in class org.restlet.client.engine.io.IoUtils
-
Returns the size effectively available.
- getCharacterSet() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the character set.
- getCharacterSet() - Method in class org.restlet.client.engine.header.ContentType
-
Returns the character set.
- getClientAddress() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the client address.
- getClientPort() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the client port.
- getClientResource() - Method in class org.restlet.client.engine.resource.GwtClientProxy
-
Returns the wrapped client resource.
- getCode() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the code of the status.
- getContactEmail() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the email address of the administrator to contact in case of
error.
- getContentLength() - Method in class org.restlet.client.engine.adapter.ClientCall
-
- getContentLength(Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
- getContext() - Method in class org.restlet.client.engine.adapter.Adapter
-
Returns the context.
- getContext() - Method in class org.restlet.client.engine.connector.ConnectorHelper
-
Returns the helped Restlet context.
- getContext() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the helped Restlet context.
- getCookies(List<Cookie>, Map<String, Cookie>) - Static method in class org.restlet.client.engine.header.CookieWriter
-
Gets the cookies whose name is a key in the given map.
- getDescription() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the description of the status.
- getEncoding() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the encoding.
- getFirstParameter(Representation, String) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the first parameter with the given name.
- getFirstParameter(String, String, CharacterSet, char, boolean) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the first parameter with the given name.
- getFullName() - Method in enum org.restlet.client.engine.Edition
-
Returns the full size name of the edition.
- getHelped() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the helped Restlet.
- getHelpedParameters() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the helped Restlet parameters.
- getHelper() - Method in class org.restlet.client.engine.adapter.ClientCall
-
Returns the HTTP client helper.
- getHelper() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Returns the HTTP client helper.
- getHomeRef() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the home URI to propose in case of error.
- getHostDomain() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the host domain.
- getHostPort() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the host port.
- getInstance() - Static method in class org.restlet.client.engine.Engine
-
Returns the registered Restlet engine.
- getLanguage() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the language.
- getLocalAddress() - Static method in class org.restlet.client.engine.adapter.ClientCall
-
Returns the local IP address or 127.0.0.1 if the resolution fails.
- getLogger() - Method in class org.restlet.client.engine.adapter.Adapter
-
Returns the logger.
- getLogger() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the logger.
- getLogger(Class<?>) - Static method in class org.restlet.client.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(Class<?>, String) - Static method in class org.restlet.client.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(Object, String) - Static method in class org.restlet.client.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(String) - Static method in class org.restlet.client.engine.Engine
-
Returns a logger based on the given logger name.
- getLogger(Class<?>) - Method in class org.restlet.client.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(Class<?>, String) - Method in class org.restlet.client.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(Object, String) - Method in class org.restlet.client.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(String) - Method in class org.restlet.client.engine.log.LoggerFacade
-
Returns a logger based on the given logger name.
- getLogger() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the helped Restlet logger.
- getLoggerFacade() - Method in class org.restlet.client.engine.Engine
-
Returns the logger facade to use.
- getMediaType() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the media type.
- getMediaType() - Method in class org.restlet.client.engine.header.ContentType
-
Returns the media type.
- getMediumName() - Method in enum org.restlet.client.engine.Edition
-
Returns the medium size name of the edition.
- getMetadata() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the metadata.
- getMetadataService() - Method in class org.restlet.client.engine.RestletHelper
-
Returns the metadata service.
- getMethod() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the request method.
- getName() - Method in class org.restlet.client.engine.application.MetadataExtension
-
Returns the extension name.
- getParameter(Representation, String) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the parameters with the given name.
- getParameter(String, String, CharacterSet, char, boolean) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the parameters with the given name.
- getParameters(Representation, Map<String, Object>) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the parameters whose name is a key in the given map.
- getParameters(String, Map<String, Object>, CharacterSet, char, boolean) - Static method in class org.restlet.client.engine.util.FormUtils
-
Reads the parameters whose name is a key in the given map.
- getProtocol() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the exact protocol (HTTP or HTTPS).
- getProtocols() - Method in class org.restlet.client.engine.connector.ConnectorHelper
-
Returns the protocols simultaneously supported.
- getReader(InputStream, CharacterSet) - Static method in class org.restlet.client.engine.io.IoUtils
-
Returns a reader from an input stream and a character set.
- getReasonPhrase() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the reason phrase.
- getReasonPhrase() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Returns the response reason phrase.
- getReasonPhrase() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the short description of the status.
- getRegisteredClients() - Method in class org.restlet.client.engine.Engine
-
Returns the list of available client connectors.
- getRegisteredProtocols() - Method in class org.restlet.client.engine.Engine
-
Returns the list of available protocol connectors.
- getRepresentation(InputStream) - Method in class org.restlet.client.engine.adapter.Call
-
Returns the representation wrapping the given stream.
- getRequestBuilder() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Returns the GWT request builder.
- getRequestEntityString() - Method in class org.restlet.client.engine.adapter.ClientCall
-
Returns the request entity string if it exists.
- getRequestEntityString() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
- getRequestHeaders() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the modifiable list of request headers.
- getRequestUri() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the URI on the request line (most like a relative reference, but
not necessarily).
- getResponse() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Returns the GWT response.
- getResponseEntity(Response) - Method in class org.restlet.client.engine.adapter.ClientCall
-
Returns the response entity if available.
- getResponseEntityStream(long) - Method in class org.restlet.client.engine.adapter.ClientCall
-
Returns the response entity stream if it exists.
- getResponseEntityStream(long) - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
- getResponseHeaders() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the modifiable list of server headers.
- getResponseHeaders() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Returns the modifiable list of response headers.
- getServerAddress() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the response address.
- getServerAddress() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
- getServerPort() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the server port.
- getShortName() - Method in enum org.restlet.client.engine.Edition
-
Returns the short size name of the edition.
- getSocketConnectTimeoutMs() - Method in class org.restlet.client.engine.adapter.HttpClientHelper
-
Returns the connection timeout.
- getStatusCode() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the status code.
- getStatusCode() - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
- getText() - Method in class org.restlet.client.engine.io.StringInputStream
-
Returns the text to stream.
- getUri() - Method in class org.restlet.client.engine.application.StatusInfo
-
Returns the URI of the specification describing the status.
- getVersion() - Method in class org.restlet.client.engine.adapter.Call
-
Returns the protocol version used.
- GwtClientCall - Class in org.restlet.client.engine.adapter
-
HTTP client connector call based on GWT's HTTP module.
- GwtClientCall(GwtHttpClientHelper, String, String, boolean) - Constructor for class org.restlet.client.engine.adapter.GwtClientCall
-
Constructor.
- GwtClientProxy - Class in org.restlet.client.engine.resource
-
Base class for resource proxies generated via deferred binding.
- GwtClientProxy() - Constructor for class org.restlet.client.engine.resource.GwtClientProxy
-
Default constructor.
- GwtClientProxy(String) - Constructor for class org.restlet.client.engine.resource.GwtClientProxy
-
Constructor.
- GwtClientProxy(String, String, Serializer) - Constructor for class org.restlet.client.engine.resource.GwtClientProxy
-
Constructor.
- GwtHttpClientHelper - Class in org.restlet.client.engine.adapter
-
HTTP client connector using the GWT's HTTP module.
- GwtHttpClientHelper(Client) - Constructor for class org.restlet.client.engine.adapter.GwtHttpClientHelper
-
Constructor.
- ImmutableDate - Class in org.restlet.client.engine.util
-
Class acting as an immutable date class based on the Date
class.
- ImmutableDate(Date) - Constructor for class org.restlet.client.engine.util.ImmutableDate
-
Private constructor.
- IoUtils - Class in org.restlet.client.engine.io
-
IO manipulation utilities.
- isAlpha(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is alphabetical (a-z or A-Z).
- isAsciiChar(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is in ASCII range.
- isBroken(Throwable) - Static method in class org.restlet.client.engine.adapter.Call
-
Returns true if the given exception is caused by a broken connection.
- isCarriageReturn(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a carriage return.
- isChunkedEncoding(Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the entity is chunked.
- isClientKeepAlive() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the client wants a persistent connection.
- isClientKeepAlive() - Method in class org.restlet.client.engine.adapter.ClientCall
-
- isComma(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a comma, the character used as header
value separator.
- isCommentText(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a comment text.
- isConfidential() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the confidentiality of the call is ensured (ex: via SSL).
- isConnectionClose(Series<Header>) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the connection must be closed.
- isControlChar(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a control character.
- isDigit(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a digit (0-9).
- isDoubleQuote(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a double quote.
- isFirstChallengeParameter() - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Indicates if the first comma-separated value is written.
- isHorizontalTab(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is an horizontal tab.
- isKeepAlive() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if both the client and the server want a persistent connection.
- isLatin1Char(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is in ISO Latin 1 (8859-1) range.
- isLinearWhiteSpace(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a value separator.
- isLineFeed(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a line feed.
- isLowerCase(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is lower case (a-z).
- isNullOrEmpty(String) - Static method in class org.restlet.client.engine.util.StringUtils
-
Returns true
if the given string is null or is the empty string.
- isParameterFound(Parameter, MediaType) - Static method in class org.restlet.client.engine.util.FormUtils
-
Indicates if the searched parameter is specified in the given media
range.
- isQuoteCharacter(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character marks the start of a quoted pair.
- isQuotedText(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a quoted text.
- isRequestChunked() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the request entity is chunked.
- isResponseChunked() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the response entity is chunked.
- isSemiColon(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a semicolon, the character used as
header parameter separator.
- isSeparator(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a separator.
- isServerKeepAlive() - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the server wants a persistent connection.
- isServerKeepAlive() - Method in class org.restlet.client.engine.adapter.ClientCall
-
- isSpace(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a space.
- isText(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is textual (ISO Latin 1 and not a
control character).
- isToken(CharSequence) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the token is valid.
- isTokenChar(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is a token character (text and not a
separator).
- isUpperCase(int) - Static method in class org.restlet.client.engine.header.HeaderUtils
-
Indicates if the given character is upper case (A-Z).
- isValidQuality(float) - Static method in class org.restlet.client.engine.header.PreferenceWriter
-
Indicates if the quality value is valid.
- RangeReader - Class in org.restlet.client.engine.header
-
Range header reader.
- RangeWriter - Class in org.restlet.client.engine.header
-
Range header writer.
- RangeWriter() - Constructor for class org.restlet.client.engine.header.RangeWriter
-
- read(String) - Static method in class org.restlet.client.engine.header.CookieReader
-
Parses the given String to a Cookie
- read(String) - Static method in class org.restlet.client.engine.header.CookieSettingReader
-
Parses the given String to a CookieSetting
- read() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next character.
- read(String) - Static method in class org.restlet.client.engine.header.ProductReader
-
Parses the given user agent String to a list of Product instances.
- read(String) - Static method in class org.restlet.client.engine.header.RangeReader
-
Parse the Range header and returns the list of corresponding Range
objects.
- read() - Method in class org.restlet.client.engine.io.StringInputStream
-
Reads the next character in the source text.
- read(char[]) - Method in class org.restlet.client.engine.io.StringInputStream
-
- read(char[], int, int) - Method in class org.restlet.client.engine.io.StringInputStream
-
- read() - Method in class org.restlet.client.engine.util.FormReader
-
Reads all the parameters.
- readActualNamedValue() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads a parameter value which is either a token or a quoted string.
- readCharacterSet(String) - Static method in class org.restlet.client.engine.header.ContentType
-
Parses the given content type header and returns the character set.
- readComment() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next comment.
- readDate(String, boolean) - Static method in class org.restlet.client.engine.header.HeaderReader
-
Parses a date string.
- readDigits() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next digits.
- readFirstParameter(String) - Method in class org.restlet.client.engine.util.FormReader
-
Reads the first parameter with the given name.
- readHeader(CharSequence) - Static method in class org.restlet.client.engine.header.HeaderReader
-
Read a header.
- readHeader(InputStream, StringBuilder) - Static method in class org.restlet.client.engine.header.HeaderReader
-
Read a header.
- readMediaType(String) - Static method in class org.restlet.client.engine.header.ContentType
-
Parses the given content type header and returns the media type.
- readNamedValue(Class<NV>) - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next pair as a parameter.
- readNextParameter() - Method in class org.restlet.client.engine.util.FormReader
-
Reads the next parameter available or null.
- readParameter() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next pair as a parameter.
- readParameter(String) - Method in class org.restlet.client.engine.util.FormReader
-
Reads the parameters with the given name.
- readParameters(Map<String, Object>) - Method in class org.restlet.client.engine.util.FormReader
-
Reads the parameters whose name is a key in the given map.
- readQuality(String) - Static method in class org.restlet.client.engine.header.PreferenceReader
-
Parses a quality value.
- readQuotedString() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next quoted string.
- readRawText() - Method in class org.restlet.client.engine.header.HeaderReader
-
Read the next text until a space separator is reached.
- readRawValue() - Method in class org.restlet.client.engine.header.HeaderReader
-
Read the next header value of a multi-value header.
- readResponseHeaders(ClientCall, Response) - Method in class org.restlet.client.engine.adapter.ClientAdapter
-
Reads the response headers of a handled HTTP client call to update the
original uniform call.
- readToken() - Method in class org.restlet.client.engine.header.HeaderReader
-
Reads the next token.
- readValue() - Method in class org.restlet.client.engine.header.CacheDirectiveReader
-
- readValue() - Method in class org.restlet.client.engine.header.ChallengeRequestReader
-
- readValue() - Method in class org.restlet.client.engine.header.ContentTypeReader
-
- readValue() - Method in class org.restlet.client.engine.header.CookieReader
-
- readValue() - Method in class org.restlet.client.engine.header.CookieSettingReader
-
- readValue() - Method in class org.restlet.client.engine.header.DimensionReader
-
- readValue() - Method in class org.restlet.client.engine.header.DispositionReader
-
- readValue() - Method in class org.restlet.client.engine.header.EncodingReader
-
- readValue() - Method in class org.restlet.client.engine.header.HeaderReader
-
Read the next value.
- readValue() - Method in class org.restlet.client.engine.header.LanguageReader
-
- readValue() - Method in class org.restlet.client.engine.header.MethodReader
-
- readValue() - Method in class org.restlet.client.engine.header.PreferenceReader
-
Read the next preference.
- readValue() - Method in class org.restlet.client.engine.header.RecipientInfoReader
-
- readValue() - Method in class org.restlet.client.engine.header.StringReader
-
- readValue() - Method in class org.restlet.client.engine.header.TagReader
-
- readValue() - Method in class org.restlet.client.engine.header.TokenReader
-
- readValue() - Method in class org.restlet.client.engine.header.WarningReader
-
- readValues() - Method in class org.restlet.client.engine.header.HeaderReader
-
Returns a new list with all values added.
- RecipientInfoReader - Class in org.restlet.client.engine.header
-
Recipient info header reader.
- RecipientInfoReader(String) - Constructor for class org.restlet.client.engine.header.RecipientInfoReader
-
Constructor.
- RecipientInfoWriter - Class in org.restlet.client.engine.header
-
Recipient info header writer.
- RecipientInfoWriter() - Constructor for class org.restlet.client.engine.header.RecipientInfoWriter
-
- register() - Static method in class org.restlet.client.engine.Engine
-
Registers a new Restlet Engine.
- register(boolean) - Static method in class org.restlet.client.engine.Engine
-
Registers a new Restlet Engine.
- registerDefaultConnectors() - Method in class org.restlet.client.engine.Engine
-
Registers the default client and server connectors.
- registerDefaultProtocols() - Method in class org.restlet.client.engine.Engine
-
Registers the default protocols.
- registerMethods() - Method in class org.restlet.client.engine.connector.HttpProtocolHelper
-
- registerMethods() - Method in class org.restlet.client.engine.connector.ProtocolHelper
-
Register all supported methods.
- registerMethods() - Method in class org.restlet.client.engine.connector.WebDavProtocolHelper
-
- RELEASE_NUMBER - Static variable in class org.restlet.client.engine.Engine
-
Release number.
- reset() - Method in class org.restlet.client.engine.header.HeaderReader
-
Repositions this stream to the position at the time the mark
method was last called on this input stream.
- RestletHelper<T extends Restlet> - Class in org.restlet.client.engine
-
Delegate used by API classes to get support from the implementation classes.
- RestletHelper(T) - Constructor for class org.restlet.client.engine.RestletHelper
-
Constructor.
- sendRequest(Request, Response, Uniform) - Method in class org.restlet.client.engine.adapter.ClientCall
-
Sends the request to the client.
- sendRequest(Request, Response, Uniform) - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
- setAdapter(ClientAdapter) - Method in class org.restlet.client.engine.adapter.HttpClientHelper
-
Sets the adapter from uniform calls to HTTP calls.
- setClientAddress(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the client address.
- setClientPort(int) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the client port.
- setCode(int) - Method in class org.restlet.client.engine.application.StatusInfo
-
Sets the code of the status.
- setConfidential(boolean) - Method in class org.restlet.client.engine.adapter.Call
-
Indicates if the confidentiality of the call is ensured (ex: via SSL).
- setContactEmail(String) - Method in class org.restlet.client.engine.application.StatusInfo
-
Sets the email address of the administrator to contact in case of error.
- setDate(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- setDescription(String) - Method in class org.restlet.client.engine.application.StatusInfo
-
Sets the description of the status.
- setFirstChallengeParameter(boolean) - Method in class org.restlet.client.engine.header.ChallengeWriter
-
Indicates if the first comma-separated value is written.
- setHelped(T) - Method in class org.restlet.client.engine.RestletHelper
-
Sets the helped Restlet.
- setHomeRef(String) - Method in class org.restlet.client.engine.application.StatusInfo
-
Sets the home URI to propose in case of error.
- setHostDomain(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the host domain name.
- setHostPort(int) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the host port.
- setHours(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- setLoggerFacade(LoggerFacade) - Method in class org.restlet.client.engine.Engine
-
Sets the logger facade to use.
- setMethod(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the request method.
- setMinutes(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- setMonth(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- setProtocol(Protocol) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the exact protocol used (HTTP or HTTPS).
- setReasonPhrase(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the reason phrase.
- setReasonPhrase(String) - Method in class org.restlet.client.engine.application.StatusInfo
-
Sets the short description of the status.
- setRegisteredClients(List<ConnectorHelper<Client>>) - Method in class org.restlet.client.engine.Engine
-
Sets the list of available client helpers.
- setRegisteredProtocols(List<ProtocolHelper>) - Method in class org.restlet.client.engine.Engine
-
Sets the list of available protocol helpers.
- setRequestUri(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the full request URI.
- setResponse(Response) - Method in class org.restlet.client.engine.adapter.GwtClientCall
-
Sets the GWT response.
- setSeconds(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- setServerAddress(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the response address.
- setServerPort(int) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the server port.
- setStatusCode(int) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the status code.
- setTime(long) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- SetUtils - Class in org.restlet.client.engine.util
-
Utilities for manipulation of Set
.
- SetUtils() - Constructor for class org.restlet.client.engine.util.SetUtils
-
- setVersion(String) - Method in class org.restlet.client.engine.adapter.Call
-
Sets the protocol version used.
- setYear(int) - Method in class org.restlet.client.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an
UnsupportedOperationException exception.
- shouldRequestBeChunked(Request) - Method in class org.restlet.client.engine.adapter.ClientCall
-
Indicates if the request entity should be chunked.
- skipParameterSeparator() - Method in class org.restlet.client.engine.header.HeaderReader
-
Skips the next parameter separator (semi-colon) including leading and
trailing spaces.
- skipSpaces() - Method in class org.restlet.client.engine.header.HeaderReader
-
Skips the next spaces.
- skipValueSeparator() - Method in class org.restlet.client.engine.header.HeaderReader
-
Skips the next value separator (comma) including leading and trailing
spaces.
- start() - Method in class org.restlet.client.engine.connector.ConnectorHelper
-
- start() - Method in class org.restlet.client.engine.RestletHelper
-
Start callback.
- StatusInfo - Class in org.restlet.client.engine.application
-
- StatusInfo() - Constructor for class org.restlet.client.engine.application.StatusInfo
-
Empty Constructor
- StatusInfo(int, String, String) - Constructor for class org.restlet.client.engine.application.StatusInfo
-
Constructor.
- StatusInfo(int, String, String, String, String, String) - Constructor for class org.restlet.client.engine.application.StatusInfo
-
Constructor.
- StatusInfo(Status) - Constructor for class org.restlet.client.engine.application.StatusInfo
-
Constructor.
- StatusInfo(Status, String, String) - Constructor for class org.restlet.client.engine.application.StatusInfo
-
Constructor.
- stop() - Method in class org.restlet.client.engine.connector.ConnectorHelper
-
- stop() - Method in class org.restlet.client.engine.RestletHelper
-
Stop callback.
- StringInputStream - Class in org.restlet.client.engine.io
-
Input stream in which the bytes read are supplied by the contents of a string
based on the default character set.
- StringInputStream() - Constructor for class org.restlet.client.engine.io.StringInputStream
-
Constructor.
- StringInputStream(String) - Constructor for class org.restlet.client.engine.io.StringInputStream
-
Constructor.
- StringReader - Class in org.restlet.client.engine.header
-
String header reader.
- StringReader(String) - Constructor for class org.restlet.client.engine.header.StringReader
-
Constructor.
- StringUtils - Class in org.restlet.client.engine.util
-
String manipulation utilities.
- StringWriter - Class in org.restlet.client.engine.header
-
String header writer.
- StringWriter() - Constructor for class org.restlet.client.engine.header.StringWriter
-
- strip(String, char) - Static method in class org.restlet.client.engine.util.StringUtils
-
Strips a delimiter character from both ends of the source string.
- strip(String, char, boolean, boolean) - Static method in class org.restlet.client.engine.util.StringUtils
-
Strips a delimiter character from a source string.
- SystemUtils - Class in org.restlet.client.engine.util
-
System utilities.