A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort() - Method in class org.restlet.engine.adapter.HttpRequest
- abort() - Method in class org.restlet.engine.adapter.ServerCall
-
Ask the connector to abort the related network connection, for example immediately closing the socket.
- abort() - Method in class org.restlet.engine.connector.HttpExchangeCall
- AccessLogFileHandler - Class in org.restlet.engine.log
-
Log file handler that uses the
AccessLogFormatter
by default. - AccessLogFileHandler() - Constructor for class org.restlet.engine.log.AccessLogFileHandler
-
Constructor.
- AccessLogFileHandler(String) - Constructor for class org.restlet.engine.log.AccessLogFileHandler
-
Constructor.
- AccessLogFileHandler(String, boolean) - Constructor for class org.restlet.engine.log.AccessLogFileHandler
-
Constructor.
- AccessLogFileHandler(String, int, int) - Constructor for class org.restlet.engine.log.AccessLogFileHandler
-
Constructor.
- AccessLogFileHandler(String, int, int, boolean) - Constructor for class org.restlet.engine.log.AccessLogFileHandler
-
Constructor.
- AccessLogFormatter - Class in org.restlet.engine.log
-
Log record formatter which simply outputs the message on a new line.
- AccessLogFormatter() - Constructor for class org.restlet.engine.log.AccessLogFormatter
- Adapter - Class in org.restlet.engine.adapter
-
Converter between high-level and low-level HTTP calls.
- Adapter(Context) - Constructor for class org.restlet.engine.adapter.Adapter
-
Constructor.
- add(String) - Method in class org.restlet.engine.util.CaseInsensitiveHashSet
- addCharacterSets(String, ClientInfo) - Static method in class org.restlet.engine.header.PreferenceReader
-
Parses character set preferences from a header.
- addCorsResponseHeaders(Request, Response) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Adds CORS headers to the given response.
- addEncodings(String, ClientInfo) - Static method in class org.restlet.engine.header.PreferenceReader
-
Parses encoding preferences from a header.
- addEntityHeaders(HttpResponse) - Method in class org.restlet.engine.adapter.ServerAdapter
-
Adds the entity headers for the handled uniform call.
- addEntityHeaders(Representation, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds the entity headers based on the
Representation
to theSeries
. - addExtensionHeaders(Series<Header>, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds extension headers if they are non-standard headers.
- addGeneralHeaders(Message, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds the general headers from the
Message
to theSeries
. - addHeader(String, String, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds a header to the given list.
- addHeader(Request, String, String) - Static method in class org.restlet.engine.adapter.HttpRequest
-
Deprecated.Use
Message.getHeaders()
directly instead. - addHeader(Response, String, String) - Static method in class org.restlet.engine.adapter.HttpResponse
-
Adds a new header to the given request.
- addInboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Adds a new inbound filter to the chain.
- addLanguages(String, ClientInfo) - Static method in class org.restlet.engine.header.PreferenceReader
-
Adds language preferences from a header.
- addMediaTypes(String, ClientInfo) - Static method in class org.restlet.engine.header.PreferenceReader
-
Parses media type preferences from a header.
- addNotModifiedEntityHeaders(Representation, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds the entity headers based on the
Representation
to theSeries
when a 304 (Not Modified) status is returned. - addObjectClass(List<Class<?>>, Class<?>) - Method in class org.restlet.engine.converter.ConverterHelper
-
Adds an object class to the given list.
- addOutboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Adds a new outbound filter to the chain.
- addParameters(Series<Parameter>) - Method in class org.restlet.engine.util.FormReader
-
Adds the parameters into a given series.
- addPatches(String, ClientInfo) - Static method in class org.restlet.engine.header.PreferenceReader
-
Parses patch preferences from a header.
- addRequestHeaders(Request, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds the headers based on the
Request
to the givenSeries
. - addResponseHeaders(HttpResponse) - Method in class org.restlet.engine.adapter.ServerAdapter
-
Adds the response headers for the handled uniform call.
- addResponseHeaders(Response, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Adds the headers based on the
Response
to the givenSeries
. - addValues(String, ClientInfo) - Static method in class org.restlet.engine.header.ExpectationReader
-
Adds values to the given collection.
- addValues(Collection<V>) - Method in class org.restlet.engine.header.HeaderReader
-
Adds values to the given list.
- addValues(Header, Collection<String>) - Static method in class org.restlet.engine.header.StringReader
-
Adds values to the given collection.
- addValues(Header, Collection<CacheDirective>) - Static method in class org.restlet.engine.header.CacheDirectiveReader
-
Adds values to the given collection.
- addValues(Header, Collection<Dimension>) - Static method in class org.restlet.engine.header.DimensionReader
-
Adds values to the given collection.
- addValues(Header, Collection<Method>) - Static method in class org.restlet.engine.header.MethodReader
-
Adds values to the given collection.
- addValues(Header, Collection<RecipientInfo>) - Static method in class org.restlet.engine.header.RecipientInfoReader
-
Adds values to the given collection.
- addValues(Header, Collection<Tag>) - Static method in class org.restlet.engine.header.TagReader
-
Adds values to the given collection.
- addValues(Header, Collection<Warning>) - Static method in class org.restlet.engine.header.WarningReader
-
Adds values to the given collection.
- addVariant(List<VariantInfo>, VariantInfo) - Method in class org.restlet.engine.converter.ConverterHelper
-
Adds a variant to the given list.
- addVariants(Class<?>, Variant, List<VariantInfo>) - Method in class org.restlet.engine.converter.ConverterHelper
-
Returns the list of variants that can be converted from a given object class.
- after(Date, Date) - Static method in class org.restlet.engine.util.DateUtils
-
Compares two date with a precision of one second.
- afterHandle(Request, Response) - Method in class org.restlet.engine.application.CorsFilter
-
Add CORS headers to response
- afterHandle(Request, Response) - Method in class org.restlet.engine.application.Decoder
-
Allows filtering after its handling by the target Restlet.
- afterHandle(Request, Response) - Method in class org.restlet.engine.application.Encoder
-
Allows filtering after its handling by the target Restlet.
- afterHandle(Request, Response) - Method in class org.restlet.engine.application.RangeFilter
- afterHandle(Request, Response) - Method in class org.restlet.engine.application.StatusFilter
-
Allows filtering after its handling by the target Restlet.
- afterHandle(Request, Response) - Method in class org.restlet.engine.log.LogFilter
-
Allows filtering after processing by the next Restlet.
- afterHandle(Request, Response) - Method in class org.restlet.engine.util.TemplateDispatcher
-
If the response entity comes back with no identifier, automatically set the request's resource reference's identifier.
- allowAllRequestedHeaders - Variable in class org.restlet.engine.application.CorsFilter
-
If true, copies the value of 'Access-Control-Request-Headers' request header into the 'Access-Control-Allow-Headers' response header.
- allowAllRequestedHeaders - Variable in class org.restlet.engine.application.CorsResponseHelper
-
If true, copies the value of 'Access-Control-Request-Headers' request header into the 'Access-Control-Allow-Headers' response header.
- allowedCredentials - Variable in class org.restlet.engine.application.CorsResponseHelper
-
If true, add 'Access-Control-Allow-Credentials' header.
- allowedHeaders - Variable in class org.restlet.engine.application.CorsResponseHelper
-
The value of 'Access-Control-Allow-Headers' response header.
- allowedOrigins - Variable in class org.restlet.engine.application.CorsResponseHelper
-
The value of 'Access-Control-Allow-Origin' header.
- AlphabeticalComparator - Class in org.restlet.engine.util
-
Allows to sort the list of references set by the resource.
- AlphabeticalComparator() - Constructor for class org.restlet.engine.util.AlphabeticalComparator
- AlphaNumericComparator - Class in org.restlet.engine.util
-
Optimized public-domain implementation of a Java alphanumeric sort.
- AlphaNumericComparator() - Constructor for class org.restlet.engine.util.AlphaNumericComparator
- ANDROID - org.restlet.engine.Edition
-
Android mobile OS, Google App Engine, Google Web Toolkit, JEE, JSE, OSGI.
- AnnotationInfo - Class in org.restlet.engine.resource
-
Descriptor for Restlet annotations.
- AnnotationInfo(Class<?>, Method, String) - Constructor for class org.restlet.engine.resource.AnnotationInfo
-
Constructor.
- AnnotationInfo(Class<?>, String) - Constructor for class org.restlet.engine.resource.AnnotationInfo
-
Constructor.
- AnnotationUtils - Class in org.restlet.engine.resource
-
Utilities to manipulate Restlet annotations.
- AnnotationUtils() - Constructor for class org.restlet.engine.resource.AnnotationUtils
-
Protected constructor.
- annotationValue - Variable in class org.restlet.engine.resource.AnnotationInfo
-
The raw annotation value.
- anyNull(Object...) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Indicates if any of the objects is null.
- append(char) - Method in class org.restlet.engine.header.HeaderWriter
- append(char[]) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends an array of characters.
- append(int) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends an integer.
- append(long) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a long.
- append(CharSequence) - Method in class org.restlet.engine.header.HeaderWriter
- append(String) - Method in class org.restlet.engine.header.StringWriter
- append(Collection<Dimension>) - Method in class org.restlet.engine.header.DimensionWriter
-
Appends a collection of dimensions as a header.
- append(Collection<V>) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a collection of values.
- append(List<Cookie>) - Method in class org.restlet.engine.header.CookieWriter
-
Appends a list of cookies as an HTTP header.
- append(List<Range>) - Method in class org.restlet.engine.header.RangeWriter
-
Formats
ranges
as a Range header value - append(M) - Method in class org.restlet.engine.header.MetadataWriter
- append(CacheDirective) - Method in class org.restlet.engine.header.CacheDirectiveWriter
- append(ChallengeRequest) - Method in class org.restlet.engine.header.ChallengeWriter
- append(Cookie) - Method in class org.restlet.engine.header.CookieWriter
- append(CookieSetting) - Method in class org.restlet.engine.header.CookieSettingWriter
- append(Dimension) - Method in class org.restlet.engine.header.DimensionWriter
- append(Disposition) - Method in class org.restlet.engine.header.DispositionWriter
- append(Expectation) - Method in class org.restlet.engine.header.ExpectationWriter
- append(Method) - Method in class org.restlet.engine.header.MethodWriter
- append(Preference<?>) - Method in class org.restlet.engine.header.PreferenceWriter
- append(Range) - Method in class org.restlet.engine.header.RangeWriter
- append(RecipientInfo) - Method in class org.restlet.engine.header.RecipientInfoWriter
- append(Tag) - Method in class org.restlet.engine.header.TagWriter
- append(Warning) - Method in class org.restlet.engine.header.WarningWriter
- append(V) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a value.
- appendChallengeParameter(String) - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendChallengeParameter(String, String) - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendChallengeParameter(Parameter) - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a new challenge parameter, prefixed with a comma.
- appendChallengeParameterSeparator() - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a comma as a separator if the first parameter has already been written.
- appendComment(String) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a string as an HTTP comment, surrounded by parenthesis and with quoted pairs if needed.
- appendExtension(String, String) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends an extension.
- appendExtension(NamedValue<String>) - Method in class org.restlet.engine.header.HeaderWriter
-
Formats and appends a parameter as an extension.
- appendParameterSeparator() - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a semicolon as a parameter separator.
- appendProduct(String, String) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a product description.
- appendQuality(float) - Method in class org.restlet.engine.header.PreferenceWriter
-
Formats a quality value.
If the quality is invalid, an IllegalArgumentException is thrown. - appendQuotedChallengeParameter(String, String) - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendQuotedChallengeParameter(Parameter) - Method in class org.restlet.engine.header.ChallengeWriter
-
Appends a new parameter, prefixed with a comma.
- appendQuotedPair(char) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a quoted character, prefixing it with a backslash.
- appendQuotedString(String) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a quoted string.
- appendSpace() - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a space character.
- appendToken(String) - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a token.
- appendUriEncoded(CharSequence, CharacterSet) - Method in class org.restlet.engine.header.HeaderWriter
-
Formats and appends a source string as an URI encoded string.
- appendValue(String, int) - Method in class org.restlet.engine.header.CookieSettingWriter
-
Appends a source string as an HTTP comment.
- appendValue(String, int) - Method in class org.restlet.engine.header.CookieWriter
-
Appends a source string as an HTTP comment.
- appendValueSeparator() - Method in class org.restlet.engine.header.HeaderWriter
-
Appends a comma as a value separator.
- ApplicationHelper - Class in org.restlet.engine.application
-
Application implementation.
- ApplicationHelper(Application) - Constructor for class org.restlet.engine.application.ApplicationHelper
-
Constructor.
- attach(String, Restlet) - Method in class org.restlet.engine.component.InternalRouter
- attach(Restlet) - Method in class org.restlet.engine.component.InternalRouter
- attachDefault(Restlet) - Method in class org.restlet.engine.component.InternalRouter
- ATTRIBUTE_HEADERS - Static variable in class org.restlet.engine.header.HeaderConstants
- ATTRIBUTE_HTTPS_KEY_SIZE - Static variable in class org.restlet.engine.header.HeaderConstants
- ATTRIBUTE_HTTPS_SSL_SESSION_ID - Static variable in class org.restlet.engine.header.HeaderConstants
- ATTRIBUTE_VERSION - Static variable in class org.restlet.engine.header.HeaderConstants
- AuthenticatorHelper - Class in org.restlet.engine.security
-
Base class for authentication helpers.
- AuthenticatorHelper(ChallengeScheme, boolean, boolean) - Constructor for class org.restlet.engine.security.AuthenticatorHelper
-
Constructor.
- AuthenticatorUtils - Class in org.restlet.engine.security
-
Authentication utilities.
- available() - Method in class org.restlet.engine.io.RangeInputStream
- available() - Method in class org.restlet.engine.io.ReaderInputStream
- awaitTermination(long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
B
- BeanInfoUtils - Class in org.restlet.engine.util
-
Utilities to get the
BeanInfo
of a class. - BeanInfoUtils() - Constructor for class org.restlet.engine.util.BeanInfoUtils
- before(Date, Date) - Static method in class org.restlet.engine.util.DateUtils
-
Compares two date with a precision of one second.
- beforeHandle(Request, Response) - Method in class org.restlet.engine.application.CorsFilter
-
Skip the call to the server resource if the
CorsFilter.skippingResourceForCorsOptions
is true and if the current request use the OPTIONS method and is a CORS request. - beforeHandle(Request, Response) - Method in class org.restlet.engine.application.Decoder
-
Allows filtering before its handling by the target Restlet.
- beforeHandle(Request, Response) - Method in class org.restlet.engine.application.Encoder
-
Allows filtering before its handling by the target Restlet.
- beforeHandle(Request, Response) - Method in class org.restlet.engine.application.TunnelFilter
- beforeHandle(Request, Response) - Method in class org.restlet.engine.component.ComponentServerDispatcher
- beforeHandle(Request, Response) - Method in class org.restlet.engine.component.HostRoute
-
Allows filtering before processing by the next Restlet.
- beforeHandle(Request, Response) - Method in class org.restlet.engine.log.LogFilter
-
Allows filtering before processing by the next Restlet.
- beforeHandle(Request, Response) - Method in class org.restlet.engine.util.TemplateDispatcher
-
Handles the call after resolving any URI template on the request's target resource reference.
- BlockableChannel - Interface in org.restlet.engine.io
-
NIO channel that can indicate if it is blocking or non blocking.
- BUFFER_SIZE - Static variable in class org.restlet.engine.io.IoUtils
-
The size to use when instantiating buffered items such as instances of the
BufferedReader
class.
C
- CACHE_MAX_AGE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_MAX_STALE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_MIN_FRESH - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_MUST_REVALIDATE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_NO_CACHE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_NO_STORE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_NO_TRANSFORM - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_ONLY_IF_CACHED - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_PRIVATE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_PROXY_MUST_REVALIDATE - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_PUBLIC - Static variable in class org.restlet.engine.header.HeaderConstants
- CACHE_SHARED_MAX_AGE - Static variable in class org.restlet.engine.header.HeaderConstants
- CacheDirectiveReader - Class in org.restlet.engine.header
-
Cache directive header reader.
- CacheDirectiveReader(String) - Constructor for class org.restlet.engine.header.CacheDirectiveReader
-
Constructor.
- CacheDirectiveWriter - Class in org.restlet.engine.header
-
Cache directive header writer.
- CacheDirectiveWriter() - Constructor for class org.restlet.engine.header.CacheDirectiveWriter
- Call - Class in org.restlet.engine.adapter
-
Low-level call for the HTTP connectors.
- Call() - Constructor for class org.restlet.engine.adapter.Call
-
Constructor.
- CallResolver - Class in org.restlet.engine.util
-
Resolves variable values based on a request and a response.
- CallResolver(Request, Response) - Constructor for class org.restlet.engine.util.CallResolver
-
Constructor.
- canAdd(Encoding, Collection<Encoding>) - Method in class org.restlet.engine.header.EncodingReader
- canAdd(T, List<T>) - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns true if the metadata can be added.
- canAdd(V, Collection<V>) - Method in class org.restlet.engine.header.HeaderReader
-
Indicates if the value can be added the the list.
- canDecode(Representation) - Method in class org.restlet.engine.application.Decoder
-
Indicates if a representation can be decoded.
- canEncode() - Method in class org.restlet.engine.application.EncodeRepresentation
-
Indicates if the encoding can happen.
- canWrite(Encoding) - Method in class org.restlet.engine.header.EncodingWriter
- canWrite(V) - Method in class org.restlet.engine.header.HeaderWriter
-
Indicates if the value can be written to the header.
- CaseInsensitiveHashSet - Class in org.restlet.engine.util
-
Set implementation that is case insensitive.
- CaseInsensitiveHashSet(Collection<? extends String>) - Constructor for class org.restlet.engine.util.CaseInsensitiveHashSet
-
Constructor initializing the set with the given collection.
- ChallengeRequestReader - Class in org.restlet.engine.header
-
Challenge request header reader.
- ChallengeRequestReader(String) - Constructor for class org.restlet.engine.header.ChallengeRequestReader
-
Constructor.
- ChallengeWriter - Class in org.restlet.engine.header
-
Authentication challenge header writer.
- ChallengeWriter() - Constructor for class org.restlet.engine.header.ChallengeWriter
-
Constructor.
- checkExtensionsConsistency(File) - Method in class org.restlet.engine.local.FileClientHelper
-
Check that all extensions of the file correspond to a known metadata.
- checkin(T) - Method in class org.restlet.engine.util.Pool
-
Checks in an object into the pool.
- checkout() - Method in class org.restlet.engine.util.Pool
-
Checks out an object from the pool.
- ChildClientDispatcher - Class in org.restlet.engine.util
-
Client dispatcher for a component child.
- ChildClientDispatcher(ChildContext) - Constructor for class org.restlet.engine.util.ChildClientDispatcher
-
Constructor.
- ChildContext - Class in org.restlet.engine.util
-
Context based on a parent component's context but dedicated to a child Restlet, typically to an application.
- ChildContext(Context) - Constructor for class org.restlet.engine.util.ChildContext
-
Constructor.
- ClapClientHelper - Class in org.restlet.engine.local
-
Connector to the resources accessed via class loaders.
- ClapClientHelper(Client) - Constructor for class org.restlet.engine.local.ClapClientHelper
-
Constructor.
- clear() - Method in class org.restlet.engine.CompositeHelper
-
Clears the chain.
- clear() - Static method in class org.restlet.engine.Engine
-
Clears the current Restlet Engine altogether.
- clear() - Method in class org.restlet.engine.util.Pool
-
Clears the store of reusable objects.
- clear(T) - Method in class org.restlet.engine.util.Pool
-
Clears the given object when it is checked in the pool.
- clearCache() - Method in class org.restlet.engine.resource.AnnotationUtils
-
Clears the annotation descriptors cache.
- clearThreadLocalVariables() - Static method in class org.restlet.engine.Engine
-
Clears the thread local variables set by the Restlet API and engine.
- ClientAdapter - Class in org.restlet.engine.adapter
-
Converter of high-level uniform calls into low-level HTTP client calls.
- ClientAdapter(Context) - Constructor for class org.restlet.engine.adapter.ClientAdapter
-
Constructor.
- ClientCall - Class in org.restlet.engine.adapter
-
Low-level HTTP client call.
- ClientCall(HttpClientHelper, String, String) - Constructor for class org.restlet.engine.adapter.ClientCall
-
Constructor setting the request address to the local host.
- ClientHelper - Class in org.restlet.engine.connector
-
Client connector helper.
- ClientHelper(Client) - Constructor for class org.restlet.engine.connector.ClientHelper
-
Constructor.
- ClientInvocationHandler<T> - Class in org.restlet.engine.resource
-
Reflection proxy invocation handler created for the
ClientResource.wrap(Class)
and related methods. - ClientInvocationHandler(ClientResource, Class<? extends T>) - Constructor for class org.restlet.engine.resource.ClientInvocationHandler
-
Constructor.
- ClientInvocationHandler(ClientResource, Class<? extends T>, AnnotationUtils) - Constructor for class org.restlet.engine.resource.ClientInvocationHandler
-
Constructor.
- ClientRoute - Class in org.restlet.engine.component
-
Router scorer based on a target client connector.
- ClientRoute(Router, Client) - Constructor for class org.restlet.engine.component.ClientRoute
-
Constructor.
- ClientRouter - Class in org.restlet.engine.component
-
Router that collects calls from all applications and dispatches them to the appropriate client connectors.
- ClientRouter(Component) - Constructor for class org.restlet.engine.component.ClientRouter
-
Constructor.
- clone() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
This class is likely to contain sensitive information; cloning is therefore not allowed.
- clone() - Method in class org.restlet.engine.util.ImmutableDate
- close() - Method in class org.restlet.engine.io.InputStreamChannel
-
Closes the underlying input stream.
- close() - Method in class org.restlet.engine.io.ReaderInputStream
-
Closes the wrapped reader.
- close() - Method in class org.restlet.engine.io.UnclosableInputStream
- close() - Method in class org.restlet.engine.io.UnclosableOutputStream
- close() - Method in class org.restlet.engine.io.WriterOutputStream
- commit(ClientCall, Request, Response) - Method in class org.restlet.engine.adapter.ClientAdapter
-
Commits the changes to a handled HTTP client call back into the original uniform call.
- commit(HttpResponse) - Method in class org.restlet.engine.adapter.ServerAdapter
-
Commits the changes to a handled uniform call back into the original HTTP call.
- compare(String, String) - Method in class org.restlet.engine.util.AlphabeticalComparator
-
Compares two strings.
- compare(String, String) - Method in class org.restlet.engine.util.AlphaNumericComparator
- compare(Reference, Reference) - Method in class org.restlet.engine.util.AlphabeticalComparator
-
Compares two references.
- complete() - Method in class org.restlet.engine.adapter.ServerCall
-
Complete the response
- ComponentClientDispatcher - Class in org.restlet.engine.component
-
Component client dispatcher.
- ComponentClientDispatcher(ComponentContext) - Constructor for class org.restlet.engine.component.ComponentClientDispatcher
-
Constructor.
- ComponentContext - Class in org.restlet.engine.component
-
Context allowing access to the component's connectors.
- ComponentContext(ComponentHelper) - Constructor for class org.restlet.engine.component.ComponentContext
-
Constructor.
- ComponentHelper - Class in org.restlet.engine.component
-
Component helper.
- ComponentHelper(Component) - Constructor for class org.restlet.engine.component.ComponentHelper
-
Constructor.
- ComponentServerDispatcher - Class in org.restlet.engine.component
-
Component server dispatcher.
- ComponentServerDispatcher(ComponentContext) - Constructor for class org.restlet.engine.component.ComponentServerDispatcher
-
Constructor.
- ComponentXmlParser - Class in org.restlet.engine.component
-
Deprecated.Use XML support in the Spring extension instead.
- ComponentXmlParser(Component, Representation) - Constructor for class org.restlet.engine.component.ComponentXmlParser
-
Deprecated.Constructor.
- CompositeHelper<T extends org.restlet.Restlet> - Class in org.restlet.engine
-
Chain helper serving as base class for Application and Component helpers.
- CompositeHelper(T) - Constructor for class org.restlet.engine.CompositeHelper
-
Constructor.
- configureLog() - Static method in class org.restlet.engine.Engine
-
Updates the global log configuration of the JVM programmatically.
- ConnectorHelper<T extends org.restlet.Connector> - Class in org.restlet.engine.connector
-
Base connector helper.
- ConnectorHelper(T) - Constructor for class org.restlet.engine.connector.ConnectorHelper
-
Constructor.
- Conneg - Class in org.restlet.engine.application
-
Content negotiation algorithm.
- Conneg(Request, MetadataService) - Constructor for class org.restlet.engine.application.Conneg
-
Constructor.
- contains(Object) - Method in class org.restlet.engine.util.CaseInsensitiveHashSet
- contains(String) - Method in class org.restlet.engine.util.CaseInsensitiveHashSet
-
Verify containment by ignoring case.
- ContentType - Class in org.restlet.engine.header
-
Association of a media type, a character set and modifiers.
- ContentType(String) - Constructor for class org.restlet.engine.header.ContentType
-
Constructor.
- ContentType(MediaType, CharacterSet) - Constructor for class org.restlet.engine.header.ContentType
-
Constructor.
- ContentType(Representation) - Constructor for class org.restlet.engine.header.ContentType
-
Constructor.
- ContentTypeReader - Class in org.restlet.engine.header
-
Content type header reader.
- ContentTypeReader(String) - Constructor for class org.restlet.engine.header.ContentTypeReader
-
Constructor.
- ContextualRunnable - Class in org.restlet.engine.util
-
Runnable
That allows to define the context class loader. - ContextualRunnable() - Constructor for class org.restlet.engine.util.ContextualRunnable
-
Constructor.
- ConverterHelper - Class in org.restlet.engine.converter
-
Converter between Representations and regular Java objects.
- ConverterHelper() - Constructor for class org.restlet.engine.converter.ConverterHelper
- ConverterUtils - Class in org.restlet.engine.converter
-
Utilities for the converter service.
- CookieReader - Class in org.restlet.engine.header
-
Cookie header reader.
- CookieReader(String) - Constructor for class org.restlet.engine.header.CookieReader
-
Constructor.
- CookieSettingReader - Class in org.restlet.engine.header
-
Cookie setting header reader.
- CookieSettingReader(String) - Constructor for class org.restlet.engine.header.CookieSettingReader
-
Constructor.
- CookieSettingWriter - Class in org.restlet.engine.header
-
Cookie setting header writer.
- CookieSettingWriter() - Constructor for class org.restlet.engine.header.CookieSettingWriter
- CookieWriter - Class in org.restlet.engine.header
-
Cookie header writer.
- CookieWriter() - Constructor for class org.restlet.engine.header.CookieWriter
- copy(InputStream, OutputStream) - Static method in class org.restlet.engine.io.IoUtils
-
Copies an input stream to an output stream.
- copy(InputStream, RandomAccessFile) - Static method in class org.restlet.engine.io.IoUtils
-
Copies an input stream to a random access file.
- copy(Reader, Writer) - Static method in class org.restlet.engine.io.IoUtils
-
Copies characters from a reader to a writer.
- copy(ReadableByteChannel, WritableByteChannel) - Static method in class org.restlet.engine.io.IoUtils
-
Writes a readable channel to a writable channel.
- copyExtensionHeaders(Series<Header>, Message) - Static method in class org.restlet.engine.header.HeaderUtils
-
Copies extension headers into a request or a response.
- copyResponseTransportHeaders(Series<Header>, Response) - Static method in class org.restlet.engine.header.HeaderUtils
-
Copies headers into a response.
- copySubList(List<T>, int, int) - Static method in class org.restlet.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.
- CorsFilter - Class in org.restlet.engine.application
-
Filter that helps support CORS requests.
- CorsFilter() - Constructor for class org.restlet.engine.application.CorsFilter
-
Constructor.
- CorsFilter(Context) - Constructor for class org.restlet.engine.application.CorsFilter
-
Constructor.
- CorsFilter(Context, Restlet) - Constructor for class org.restlet.engine.application.CorsFilter
-
Constructor.
- CorsResponseHelper - Class in org.restlet.engine.application
-
Helps to generate response CORS headers.
The CORS specification defines a subset of methods qualified as simple HEAD, GET and POST. - CorsResponseHelper() - Constructor for class org.restlet.engine.application.CorsResponseHelper
- create(CharSequence, CharSequence, boolean, CharacterSet) - Static method in class org.restlet.engine.util.FormUtils
-
Creates a parameter.
- create(Request) - Method in class org.restlet.engine.adapter.HttpClientHelper
-
Creates a low-level HTTP client call from a high-level request.
- create(Request) - Method in class org.restlet.engine.connector.HttpClientHelper
-
Creates a low-level HTTP client call from a high-level uniform call.
- createChildContext() - Method in class org.restlet.engine.component.ComponentContext
- createClassLoader() - Method in class org.restlet.engine.Engine
-
Creates a new class loader.
- createFinder(Class<? extends ServerResource>) - Method in class org.restlet.engine.component.InternalRouter
- createHelper(Client, String) - Method in class org.restlet.engine.Engine
-
Creates a new helper for a given client connector.
- createHelper(Server, String) - Method in class org.restlet.engine.Engine
-
Creates a new helper for a given server connector.
- createObject() - Method in class org.restlet.engine.util.Pool
-
Creates a new reusable object.
- createParameter(String) - Method in class org.restlet.engine.header.HeaderReader
-
Creates a new parameter with a null value.
- createParameter(String, String) - Method in class org.restlet.engine.header.HeaderReader
-
Creates a new parameter.
- createPreference(CharSequence, Series<Parameter>) - Method in class org.restlet.engine.header.PreferenceReader
-
Creates a new preference.
- createReference(String, String, String, String) - Method in class org.restlet.engine.local.EntityClientHelper
-
Generate a Reference for a variant name (which is URL decoded) and handle the translation between the incoming requested path (which is URL encoded).
- createRoute(String, Restlet, int) - Method in class org.restlet.engine.component.InternalRouter
- createServerSocket() - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- createServerSocket(int) - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- createServerSocket(int, int) - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- createServerSocket(int, int, InetAddress) - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- createSocket() - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSocket(String, int) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSocket(String, int, InetAddress, int) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSocket(InetAddress, int) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSocket(InetAddress, int, InetAddress, int) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSocket(Socket, String, int, boolean) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- createSslContext() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Creates a configured and initialized SSLContext from the values set via the various setters of this class.
- createSslContext() - Method in class org.restlet.engine.ssl.SslContextFactory
-
Creates a configured and initialized SSLContext.
- createStore() - Method in class org.restlet.engine.util.Pool
-
Creates the store of reusable objects.
- createThreadPool() - Method in class org.restlet.engine.connector.NetServerHelper
-
Creates the handler service.
- createThreadWithLocalVariables(Runnable, String) - Static method in class org.restlet.engine.Engine
-
Creates a new standalone thread with local Restlet thread variable properly set.
- createWrapper(SSLContext) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Creates a new
SSLContext
wrapper. - CURRENT - Static variable in enum org.restlet.engine.Edition
-
The current engine edition.
D
- DateUtils - Class in org.restlet.engine.util
-
Date manipulation utilities.
- DateWriter - Class in org.restlet.engine.header
-
Date header writer.
- DateWriter() - Constructor for class org.restlet.engine.header.DateWriter
- decode(Representation) - Method in class org.restlet.engine.application.Decoder
-
Decodes a given representation if its encodings are supported by NRE.
- Decoder - Class in org.restlet.engine.application
-
Filter uncompressing entities.
- Decoder(Context) - Constructor for class org.restlet.engine.application.Decoder
-
Constructor to only decode request entities before handling.
- Decoder(Context, boolean, boolean) - Constructor for class org.restlet.engine.application.Decoder
-
Constructor.
- DecodeRepresentation - Class in org.restlet.engine.application
-
Representation that decodes a wrapped representation if its encoding is supported.
- DecodeRepresentation(Representation) - Constructor for class org.restlet.engine.application.DecodeRepresentation
-
Constructor.
- DefaultAccessLogFormatter - Class in org.restlet.engine.log
-
Access log record formatter which writes a header describing the default log format.
- DefaultAccessLogFormatter() - Constructor for class org.restlet.engine.log.DefaultAccessLogFormatter
- DefaultConverter - Class in org.restlet.engine.converter
-
Converter for the built-in Representation classes.
- DefaultConverter() - Constructor for class org.restlet.engine.converter.DefaultConverter
- DefaultSaxHandler - Class in org.restlet.engine.util
-
A Utility class which extends the provided
DefaultHandler
and implements theLSResourceResolver
interface. - DefaultSaxHandler() - Constructor for class org.restlet.engine.util.DefaultSaxHandler
-
Trivial constructor.
- DefaultSslContext - Class in org.restlet.engine.ssl
-
Default SSL context that delegates calls to
WrapperSslContextSpi
- DefaultSslContext(DefaultSslContextFactory, SSLContext) - Constructor for class org.restlet.engine.ssl.DefaultSslContext
-
Constructor.
- DefaultSslContextFactory - Class in org.restlet.engine.ssl
-
This
SslContextFactory
makes it possible to configure most basic options when building an SSLContext. - DefaultSslContextFactory() - Constructor for class org.restlet.engine.ssl.DefaultSslContextFactory
- delete() - Method in class org.restlet.engine.local.DirectoryServerResource
- delete(File) - Static method in class org.restlet.engine.io.IoUtils
-
Deletes an individual file or an empty directory.
- delete(File, boolean) - Static method in class org.restlet.engine.io.IoUtils
-
Deletes an individual file or a directory.
- delete(File, boolean, boolean) - Static method in class org.restlet.engine.io.IoUtils
-
Deletes an individual file or a directory.
- DESCRIPTOR - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_AUTHENTICATOR - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_AUTHENTICATOR_PATH - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_CLIENT - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_CLIENT_PATH - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_CONVERTER - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_CONVERTER_PATH - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_PROTOCOL - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_PROTOCOL_PATH - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_SERVER - Static variable in class org.restlet.engine.Engine
- DESCRIPTOR_SERVER_PATH - Static variable in class org.restlet.engine.Engine
- DimensionReader - Class in org.restlet.engine.header
-
Dimension header reader.
- DimensionReader(String) - Constructor for class org.restlet.engine.header.DimensionReader
-
Constructor.
- DimensionWriter - Class in org.restlet.engine.header
-
Dimension header writer.
- DimensionWriter() - Constructor for class org.restlet.engine.header.DimensionWriter
- DirectoryServerResource - Class in org.restlet.engine.local
-
Resource supported by a set of context representations (from file system, class loaders and webapp context).
- DirectoryServerResource() - Constructor for class org.restlet.engine.local.DirectoryServerResource
- DispositionReader - Class in org.restlet.engine.header
-
Disposition header reader.
- DispositionReader(String) - Constructor for class org.restlet.engine.header.DispositionReader
-
Constructor.
- DispositionWriter - Class in org.restlet.engine.header
-
Disposition header writer.
- DispositionWriter() - Constructor for class org.restlet.engine.header.DispositionWriter
- doHandle(Request, Response) - Method in class org.restlet.engine.application.StatusFilter
-
Handles the call by distributing it to the next Restlet.
- doHandle(Request, Response) - Method in class org.restlet.engine.component.ComponentClientDispatcher
- doHandle(Request, Response) - Method in class org.restlet.engine.component.ComponentServerDispatcher
- doHandle(Request, Response) - Method in class org.restlet.engine.util.ChildClientDispatcher
-
Transmits the call to the parent component except if the call is internal as denoted by the
Protocol.RIAP
protocol and targets this child application. - doInit() - Method in class org.restlet.engine.local.DirectoryServerResource
-
This initialization method aims at answering the following questions:
does this request target a directory? does this request target a directory, with an index file? should this request be redirected (target is a directory with no trailing "/")? does this request target a file?
The following constraints must be taken into account:
the underlying helper may not support content negotiation and be able to return the list of possible variants of the target file (e.g.
E
- Edition - Enum in org.restlet.engine
-
Enumeration of Restlet editions.
- encode(ClientInfo, Representation) - Method in class org.restlet.engine.application.Encoder
-
Encodes a given representation if an encoding is supported by the client.
- Encoder - Class in org.restlet.engine.application
-
Filter compressing entities.
- Encoder(Context, boolean, boolean, EncoderService) - Constructor for class org.restlet.engine.application.Encoder
-
Constructor.
- EncodeRepresentation - Class in org.restlet.engine.application
-
Content that encodes a wrapped content.
- EncodeRepresentation(Encoding, Representation) - Constructor for class org.restlet.engine.application.EncodeRepresentation
-
Constructor.
- EncodingReader - Class in org.restlet.engine.header
-
Encoding header reader.
- EncodingReader(String) - Constructor for class org.restlet.engine.header.EncodingReader
-
Constructor.
- EncodingWriter - Class in org.restlet.engine.header
-
Encoding header writer.
- EncodingWriter() - Constructor for class org.restlet.engine.header.EncodingWriter
- Engine - Class in org.restlet.engine
-
Engine supporting the Restlet API.
- Engine() - Constructor for class org.restlet.engine.Engine
-
Constructor that will automatically attempt to discover connectors.
- Engine(boolean) - Constructor for class org.restlet.engine.Engine
-
Constructor.
- EngineClassLoader - Class in org.restlet.engine.util
-
Flexible engine class loader.
- EngineClassLoader(Engine) - Constructor for class org.restlet.engine.util.EngineClassLoader
-
Constructor.
- engineCreateSSLEngine() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineCreateSSLEngine(String, int) - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineGetClientSessionContext() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineGetServerSessionContext() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineGetServerSocketFactory() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineGetSocketFactory() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- engineInit(KeyManager[], TrustManager[], SecureRandom) - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
- Entity - Class in org.restlet.engine.local
-
Represents a local entity, for example a regular file or a directory.
- Entity(MetadataService) - Constructor for class org.restlet.engine.local.Entity
-
Constructor.
- EntityClientHelper - Class in org.restlet.engine.local
-
Connector to the local entities.
- EntityClientHelper(Client) - Constructor for class org.restlet.engine.local.EntityClientHelper
-
Constructor.
- entry - Variable in class org.restlet.engine.local.ZipEntryEntity
-
The Zip entry.
- entry - Variable in class org.restlet.engine.local.ZipEntryRepresentation
-
The Zip entry.
- equals(Object) - Method in class org.restlet.engine.resource.AnnotationInfo
-
Indicates if the current variant is equal to the given object.
- equals(Object) - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Indicates if the current object is equal to the given object.
- equals(Object) - Method in class org.restlet.engine.resource.ThrowableAnnotationInfo
-
Indicates if the current object is equal to the given object.
- equals(Object) - Method in class org.restlet.engine.resource.VariantInfo
-
Indicates if the current variant is equal to the given variant.
- equals(Date, Date) - Static method in class org.restlet.engine.util.DateUtils
-
Compares two date with a precision of one second.
- error(SAXParseException) - Method in class org.restlet.engine.util.DefaultSaxHandler
- execute(Runnable) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- exhaust(InputStream) - Static method in class org.restlet.engine.io.IoUtils
-
Exhaust the content of the representation by reading it and silently discarding anything read.
- exists() - Method in class org.restlet.engine.local.Entity
-
Indicates if the entity does exist.
- exists() - Method in class org.restlet.engine.local.FileEntity
- exists() - Method in class org.restlet.engine.local.ZipEntryEntity
- EXPECT_CONTINUE - Static variable in class org.restlet.engine.header.HeaderConstants
- ExpectationReader - Class in org.restlet.engine.header
-
Expectation header reader.
- ExpectationReader(String) - Constructor for class org.restlet.engine.header.ExpectationReader
-
Constructor.
- ExpectationWriter - Class in org.restlet.engine.header
-
Expectation header writer.
- ExpectationWriter() - Constructor for class org.restlet.engine.header.ExpectationWriter
- exposedHeaders - Variable in class org.restlet.engine.application.CorsResponseHelper
-
The value of 'Access-Control-Expose-Headers' response header.
- extractEntityHeaders(Iterable<Header>, Representation) - Static method in class org.restlet.engine.header.HeaderUtils
-
Extracts entity headers and updates a given representation or create an empty one when at least one entity header is present.
- extractKeySize(String) - Static method in class org.restlet.engine.ssl.SslUtils
-
Extract the SSL key size of a given cipher suite.
- extractMediaParams(Series<Parameter>) - Method in class org.restlet.engine.header.PreferenceReader
-
Extract the media parameters.
- extractQuality(Series<Parameter>) - Method in class org.restlet.engine.header.PreferenceReader
-
Extract the quality value.
F
- fatalError(SAXParseException) - Method in class org.restlet.engine.util.DefaultSaxHandler
- FileClientHelper - Class in org.restlet.engine.local
-
Connector to the file resources accessible.
- FileClientHelper(Client) - Constructor for class org.restlet.engine.local.FileClientHelper
-
Constructor.
- FileEntity - Class in org.restlet.engine.local
-
Local entity based on a regular
File
. - FileEntity(File, MetadataService) - Constructor for class org.restlet.engine.local.FileEntity
-
Constructor.
- findClass(String) - Method in class org.restlet.engine.util.EngineClassLoader
- findHelper() - Method in class org.restlet.engine.Engine
-
Finds the converter helper supporting the given conversion.
- findHelper(ChallengeScheme, boolean, boolean) - Method in class org.restlet.engine.Engine
-
Finds the authenticator helper supporting the given scheme.
- findResource(String) - Method in class org.restlet.engine.util.EngineClassLoader
- findResources(String) - Method in class org.restlet.engine.util.EngineClassLoader
- firstLower(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns the string with the first character capitalized.
- firstUpper(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns the string with the first character capitalized.
- FlexibleConneg - Class in org.restlet.engine.application
-
Content negotiation algorithm that flexibly interprets the content negotiation preferences to try to always return a variant even if the client preferences don't exactly match.
- FlexibleConneg(Request, MetadataService) - Constructor for class org.restlet.engine.application.FlexibleConneg
-
Constructor.
- flush() - Method in class org.restlet.engine.io.WriterOutputStream
- flushBuffers() - Method in class org.restlet.engine.adapter.HttpRequest
- flushBuffers() - Method in class org.restlet.engine.adapter.ServerCall
-
Flushes the buffers onto the network so that for example you can force headers to be written before the entity is becoming available.
- flushBuffers() - Method in class org.restlet.engine.connector.HttpExchangeCall
- format(Date) - Static method in class org.restlet.engine.util.DateUtils
-
Formats a Date in the default HTTP format (RFC 1123).
- format(Date, String) - Static method in class org.restlet.engine.util.DateUtils
-
Formats a Date according to the given format.
- format(Date, StringBuffer, FieldPosition) - Method in class org.restlet.engine.util.InternetDateFormat
- format(Date, List<String>) - Static method in class org.restlet.engine.util.DateUtils
-
Formats a Date according to the first format in the array.
- format(LogRecord) - Method in class org.restlet.engine.log.AccessLogFormatter
- format(LogRecord) - Method in class org.restlet.engine.log.SimplerFormatter
-
Format the given LogRecord.
- format(LogRecord) - Method in class org.restlet.engine.log.SimplestFormatter
-
Format the given LogRecord.
- format(Reference, boolean, Request) - Static method in class org.restlet.engine.util.ReferenceUtils
-
Returns the request URI.
- FORMAT_ASC_TIME - Static variable in class org.restlet.engine.util.DateUtils
-
Obsoleted HTTP date format (ANSI C asctime() format).
- FORMAT_ISO_8601 - Static variable in class org.restlet.engine.util.DateUtils
-
AWS date format (ISO 8601).
- FORMAT_RFC_1036 - Static variable in class org.restlet.engine.util.DateUtils
-
Obsoleted HTTP date format (RFC 1036).
- FORMAT_RFC_1123 - Static variable in class org.restlet.engine.util.DateUtils
-
Preferred HTTP date format (RFC 1123).
- FORMAT_RFC_3339 - Static variable in class org.restlet.engine.util.DateUtils
-
W3C date format (RFC 3339).
- FORMAT_RFC_822 - Static variable in class org.restlet.engine.util.DateUtils
-
Common date format (RFC 822).
- formatAuthenticationInfo(AuthenticationInfo) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Formats an authentication information as a HTTP header value.
- formatNonceCount(int) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Formats a given nonce count as a HTTP header value.
- formatRequest(ChallengeRequest, Response, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Formats a challenge request as a HTTP header value.
- formatRequest(ChallengeWriter, ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Formats a challenge request as raw credentials.
- formatRequest(ChallengeWriter, ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
- formatResponse(ChallengeResponse, Request, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Formats a challenge response as a HTTP header value.
- formatResponse(ChallengeWriter, ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Formats a challenge response as raw credentials.
- formatResponse(ChallengeWriter, ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
- formatResponse(ChallengeWriter, ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.SmtpPlainHelper
- FormReader - Class in org.restlet.engine.util
-
Form reader.
- FormReader(String, char) - Constructor for class org.restlet.engine.util.FormReader
-
Constructor.
- FormReader(String, CharacterSet, char) - Constructor for class org.restlet.engine.util.FormReader
-
Constructor.
- FormReader(String, CharacterSet, char, boolean) - Constructor for class org.restlet.engine.util.FormReader
-
Constructor.
- FormReader(Representation) - Constructor for class org.restlet.engine.util.FormReader
-
Constructor.
In case the representation does not define a character set, the UTF-8 character set is used. - FormReader(Representation, boolean) - Constructor for class org.restlet.engine.util.FormReader
-
Constructor.
In case the representation does not define a character set, the UTF-8 character set is used. - FormUtils - Class in org.restlet.engine.util
-
Representation of a Web form containing submitted parameters.
- FtpClientHelper - Class in org.restlet.engine.connector
-
FTP client connector using the
URLConnection
. - FtpClientHelper(Client) - Constructor for class org.restlet.engine.connector.FtpClientHelper
-
Constructor.
G
- GAE - org.restlet.engine.Edition
- get() - Method in class org.restlet.engine.local.DirectoryServerResource
- getAccessControlRequestHeaders() - Method in class org.restlet.engine.adapter.HttpRequest
- getAccessControlRequestMethod() - Method in class org.restlet.engine.adapter.HttpRequest
- getAdapter() - Method in class org.restlet.engine.adapter.HttpClientHelper
-
Returns the adapter from uniform calls to HTTP calls.
- getAdapter() - Method in class org.restlet.engine.adapter.HttpServerHelper
-
Returns the adapter from HTTP calls to uniform calls.
- getAddress() - Method in class org.restlet.engine.connector.NetServerHelper
-
Returns the socket address this server is listening to.
- getAllowedHeaders() - Method in class org.restlet.engine.application.CorsFilter
-
Returns the modifiable set of headers allowed by the actual request on the current resource.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Allow-Headers" header. - getAllowedHeaders() - Method in class org.restlet.engine.application.CorsResponseHelper
-
Returns the modifiable set of headers allowed by the actual request on the current resource.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Allow-Headers" header. - getAllowedOrigins() - Method in class org.restlet.engine.application.CorsFilter
-
Returns the URI an origin server allows for the requested resource.
- getAllowedOrigins() - Method in class org.restlet.engine.application.CorsResponseHelper
-
Returns the URI an origin server allows for the requested resource.
- getAnnotationInfo() - Method in class org.restlet.engine.resource.VariantInfo
-
Returns the optional annotation descriptor.
- getAnnotations() - Method in class org.restlet.engine.resource.ClientInvocationHandler
-
Returns the annotations of the resource interface.
- getAnnotations(Class<?>) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the annotation descriptors for the given resource class.
- getAnnotations(Class<?>, Method) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the annotation descriptors for the given resource class.
- getAnnotationUtils() - Method in class org.restlet.engine.resource.ClientInvocationHandler
-
Returns the associated annotation utils.
- getAnnotationValue() - Method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the raw annotation value.
- getAnonymousLogger() - Static method in class org.restlet.engine.Engine
-
Returns an anonymous logger.
- getAnonymousLogger() - Method in class org.restlet.engine.log.LoggerFacade
-
Returns an anonymous logger.
- getAsciiBytes(String) - Static method in class org.restlet.engine.util.StringUtils
-
Encodes the given String into a sequence of bytes using the Ascii character set.
- getAttributes() - Method in class org.restlet.engine.RestletHelper
-
Returns the map of attributes exchanged between the API and the Engine via this helper.
- getAvailableSize() - Method in class org.restlet.engine.application.DecodeRepresentation
- getAvailableSize() - Method in class org.restlet.engine.application.EncodeRepresentation
-
Returns the available size in bytes of the encoded representation if known, UNKNOWN_SIZE (-1) otherwise.
- getAvailableSize() - Method in class org.restlet.engine.application.RangeRepresentation
- getAvailableSize(Representation) - Static method in class org.restlet.engine.io.IoUtils
-
Returns the size effectively available.
- getBaseName() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns the local base name of the file.
- getBaseName() - Method in class org.restlet.engine.local.Entity
-
Return the base name of this entity that is to say the longest part of the name without known extensions (beginning from the left).
- getBaseName(String, MetadataService) - Static method in class org.restlet.engine.local.Entity
-
Return the base name that is to say the longest part of a given name without known extensions (beginning from the left).
- getBeanInfo(Class<?>) - Static method in class org.restlet.engine.util.BeanInfoUtils
-
Get a BeanInfo from cache or create it.
- getBestClassName(Class<?>) - Static method in class org.restlet.engine.log.LogUtils
-
Return the best class name.
- getBestEncoding(ClientInfo) - Method in class org.restlet.engine.application.Encoder
-
Returns the best supported encoding for a given client.
- getBestHelper(Object, Variant, Resource) - Static method in class org.restlet.engine.converter.ConverterUtils
-
Returns the best converter helper matching the given parameters.
- getBestHelper(Representation, Class<T>, Resource) - Static method in class org.restlet.engine.converter.ConverterUtils
-
Returns the best converter helper matching the given parameters.
- getCacheDirectives() - Method in class org.restlet.engine.adapter.HttpRequest
- getCalendar() - Method in class org.restlet.engine.util.InternetDateFormat
-
Gets the Calendar object wrapped by this InternetDateFormat object.
- getCertificates() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the chain of client SSL certificates, if available and accessible.
- getChallengeResponse() - Method in class org.restlet.engine.adapter.HttpRequest
- getChallengeScheme() - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Returns the supported challenge scheme.
- getChannel() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Returns a readable byte channel.
- getChannel() - Method in class org.restlet.engine.application.EncodeRepresentation
-
Returns a readable byte channel.
- getChannel() - Method in class org.restlet.engine.application.RangeRepresentation
- getChannel(InputStream) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a readable byte channel based on a given input stream.
- getChannel(OutputStream) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a writable byte channel based on a given output stream.
- getChannel(Representation) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a readable byte channel based on the given representation's content and its write(WritableByteChannel) method.
- getCharacterSet() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the character set.
- getCharacterSet() - Method in class org.restlet.engine.header.ContentType
-
Returns the character set.
- getCharacterSetPrefs() - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns the enriched list of character set preferences.
- getCharacterSetPrefs() - Method in class org.restlet.engine.application.StrictConneg
-
Returns the enriched list of character set preferences.
- getChild() - Method in class org.restlet.engine.util.ChildContext
-
Returns the child.
- getChildren() - Method in class org.restlet.engine.local.Entity
-
Returns the list of contained entities if the current entity is a directory, null otherwise.
- getChildren() - Method in class org.restlet.engine.local.FileEntity
- getChildren() - Method in class org.restlet.engine.local.ZipEntryEntity
- getChunkLength() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Returns the chunk-length when using chunked encoding streaming mode for response entities.
- getCipherSuite() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the SSL Cipher Suite, if available and accessible.
- getClassLoader() - Method in class org.restlet.engine.Engine
-
Returns the class loader.
- getClient() - Method in class org.restlet.engine.component.ClientRoute
-
Returns the target client.
- getClientAddress() - Method in class org.restlet.engine.adapter.Call
-
Returns the client address.
Corresponds to the IP address of the requesting client. - getClientAddress() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getClientDispatcher() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns a client dispatcher.
- getClientInfo() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the client-specific information.
- getClientPort() - Method in class org.restlet.engine.adapter.Call
-
Returns the client port.
Corresponds to the TCP/IP port of the requesting client. - getClientPort() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getClientResource() - Method in class org.restlet.engine.resource.ClientInvocationHandler
-
Returns the associated client resource.
- getClientRouter() - Method in class org.restlet.engine.component.ComponentHelper
-
Returns the internal client router.
- getCode() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the code of the status.
- getComponentHelper() - Method in class org.restlet.engine.component.ComponentContext
-
Returns the component helper.
- getConditions() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the condition data applying to this call.
- getConnection() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the connection.
- getConnectorService() - Static method in class org.restlet.engine.connector.ConnectorHelper
-
Returns the connector service associated to a request.
- getContactEmail() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the email address of the administrator to contact in case of error.
- getContentLength() - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the content length of the request entity if know,
Representation.UNKNOWN_SIZE
otherwise. - getContentLength() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the content length of the request entity if know,
Representation.UNKNOWN_SIZE
otherwise. - getContentLength(Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Returns the content length of the request entity if know,
Representation.UNKNOWN_SIZE
otherwise. - getContext() - Method in class org.restlet.engine.adapter.Adapter
-
Returns the context.
- getContext() - Method in class org.restlet.engine.connector.ConnectorHelper
-
Returns the helped Restlet context.
- getContext() - Method in class org.restlet.engine.RestletHelper
-
Returns the helped Restlet context.
- getContextClassLoader() - Method in class org.restlet.engine.util.ContextualRunnable
-
Returns the runnable's context class loader.
- getContextFactory() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
-
Returns the parent SSL context factory.
- getContextFactory() - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
-
Returns the parent SSL context factory.
- getContextFactory() - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
-
Returns the parent SSL context factory.
- getCookies() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the cookies provided by the client.
- getCookies(List<Cookie>, Map<String, Cookie>) - Static method in class org.restlet.engine.header.CookieWriter
-
Gets the cookies whose name is a key in the given map.
- getCorsResponseHelper() - Method in class org.restlet.engine.application.CorsFilter
-
Returns a lazy-initialized instance of
CorsResponseHelper
. - getDate() - Method in class org.restlet.engine.util.InternetDateFormat
-
Gets the value of this InternetDateFormat object as a Date object.
- getDefaultAllowedMethods() - Method in class org.restlet.engine.application.CorsFilter
-
Returns the list of methods allowed by default, used when
CorsFilter.skippingResourceForCorsOptions
is turned on. - getDefaultCipherSuites() - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- getDefaultCipherSuites() - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- getDefaultLanguage() - Method in class org.restlet.engine.local.LocalClientHelper
-
Returns the default language.
- getDescription() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the description of the status.
- getDirectory() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns the parent directory handler.
- getDirectoryContent() - Method in class org.restlet.engine.local.DirectoryServerResource
-
If the resource is a directory, this returns its content.
- getDirectoryUri() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns the context's directory URI (file, clap URI).
- getDisabledCipherSuites() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the whitespace-separated list of disabled cipher suites.
- getDisabledProtocols() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the whitespace-separated list of disabled SSL protocols.
- getEnabledCipherSuites() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the whitespace-separated list of enabled cipher suites.
- getEnabledProtocols() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the whitespace-separated list of enabled SSL protocols.
- getEncoderService() - Method in class org.restlet.engine.application.Encoder
-
Returns the parent encoder service.
- getEncoding() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the encoding.
- getEncodingPrefs() - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns the enriched list of encoding preferences.
- getEncodingPrefs() - Method in class org.restlet.engine.application.StrictConneg
-
Returns the enriched list of encoding preferences.
- getEncodings() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Returns the encodings applied to the entity.
- getEncodings() - Method in class org.restlet.engine.application.EncodeRepresentation
-
Returns the applied encodings.
- getEngine() - Method in class org.restlet.engine.util.EngineClassLoader
-
Returns the parent Restlet engine.
- getEnrichedPreferences(List<Preference<T>>, T, T) - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns an enriched list of preferences.
- getEntity() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the representation provided by the client.
- getEntity(String) - Method in class org.restlet.engine.local.EntityClientHelper
-
Returns a local entity for the given path.
- getEntity(String) - Method in class org.restlet.engine.local.FileClientHelper
- getExposedHeaders() - Method in class org.restlet.engine.application.CorsFilter
-
Returns a modifiable whitelist of headers an origin server allows for the requested resource.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Expose-Headers" header. - getExposedHeaders() - Method in class org.restlet.engine.application.CorsResponseHelper
-
Returns a modifiable whitelist of headers an origin server allows for the requested resource.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Expose-Headers" header. - getExtensions() - Method in class org.restlet.engine.local.Entity
-
Returns the list of known extensions.
- getExtensions(String, MetadataService) - Static method in class org.restlet.engine.local.Entity
-
Returns the list of known extensions taken from a given entity name.
- getExtensions(Variant, MetadataService) - Static method in class org.restlet.engine.local.Entity
-
Returns the list of known extensions taken from a given variant.
- getFile() - Method in class org.restlet.engine.local.FileEntity
-
Returns the underlying regular file.
- getFirstInboundFilter() - Method in class org.restlet.engine.CompositeHelper
-
Returns the first inbound filter.
- getFirstOutboundFilter() - Method in class org.restlet.engine.CompositeHelper
-
Returns the first outbound filter.
- getFirstParameter(String, String, CharacterSet, char, boolean) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the first parameter with the given name.
- getFirstParameter(Representation, String) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the first parameter with the given name.
- getFullName() - Method in enum org.restlet.engine.Edition
-
Returns the full size name of the edition.
- getHead(Handler) - Method in class org.restlet.engine.log.DefaultAccessLogFormatter
- getHelped() - Method in class org.restlet.engine.RestletHelper
-
Returns the helped Restlet.
- getHelpedParameters() - Method in class org.restlet.engine.RestletHelper
-
Returns the helped Restlet parameters.
- getHelper() - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the HTTP client helper.
- getHelper() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the HTTP client helper.
- getHomeRef() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the home URI to propose in case of error.
- getHostDomain() - Method in class org.restlet.engine.adapter.Call
-
Returns the host domain.
- getHostDomain() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the host domain name.
- getHostnameVerifier() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Returns the hostname verifier by looking up the "hostnameVerifier" attribute of the client's context.
- getHostPort() - Method in class org.restlet.engine.adapter.Call
-
Returns the host port.
- getHostPort() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the host port.
- getHostType() - Method in class org.restlet.engine.log.IdentClient
-
Returns the remote host type.
- getHttpCall() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the low-level HTTP call.
- getHttpCall() - Method in class org.restlet.engine.adapter.HttpResponse
-
Returns the low-level HTTP call.
- getInboundNext() - Method in class org.restlet.engine.CompositeHelper
-
Returns the next Restlet in the inbound chain.
- getInput() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the input part of the annotation value.
- getInputScore() - Method in class org.restlet.engine.resource.VariantInfo
-
Returns the affinity between this variant and an incoming representation.
- getInputStream() - Method in class org.restlet.engine.io.InputStreamChannel
-
Returns the underlying input stream.
- getInputStream() - Method in class org.restlet.engine.io.PipeStream
-
Returns a new input stream that can read from the pipe.
- getInstance() - Static method in class org.restlet.engine.Engine
-
Returns the registered Restlet engine.
- getInstance() - Static method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the current instance of AnnotationUtils.
- getJavaActualType(Class<?>, Type) - Method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the actual type for a given generic type.
- getJavaActualType(Class<?>, String) - Static method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the actual type for a given generic type name.
- getJavaActualType(Type, String) - Static method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the actual type for a given generic type name.
- getJavaClass() - Method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the resource interface value.
- getJavaInputTypes() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the input types of the Java method.
- getJavaMajorVersion() - Static method in class org.restlet.engine.util.SystemUtils
-
Parses the "java.version" system property and returns the first digit of the version number of the Java Runtime Environment (e.g.
- getJavaMethod() - Method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the annotated Java method.
- getJavaMinorVersion() - Static method in class org.restlet.engine.util.SystemUtils
-
Parses the "java.version" system property and returns the second digit of the version number of the Java Runtime Environment (e.g.
- getJavaOutputType() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the output type of the Java method.
- getJavaUpdateVersion() - Static method in class org.restlet.engine.util.SystemUtils
-
Parses the "java.version" system property and returns the update release number of the Java Runtime Environment (e.g.
- getKeyManagerAlgorithm() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the name of the KeyManager algorithm.
- getKeyStoreKeyPassword() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the password for the key in the keystore (as a String).
- getKeyStorePassword() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the password for the keystore (as a String).
- getKeyStorePath() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the path to the KeyStore file.
- getKeyStoreProvider() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the name of the keystore provider.
- getKeyStoreType() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the keyStore type of the keystore.
- getLanguage() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the language.
- getLanguagePrefs() - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns the enriched list of language preferences.
- getLanguagePrefs() - Method in class org.restlet.engine.application.StrictConneg
-
Returns the enriched list of language preferences.
- getLastInboundFilter() - Method in class org.restlet.engine.CompositeHelper
-
Returns the last inbound filter.
- getLastOutboundFilter() - Method in class org.restlet.engine.CompositeHelper
-
Returns the last outbound filter.
- getLatin1Bytes(String) - Static method in class org.restlet.engine.util.StringUtils
-
Encodes the given String into a sequence of bytes using the Latin1 character set.
- getLocalAddress() - Static method in class org.restlet.engine.adapter.ClientCall
-
Returns the local IP address or 127.0.0.1 if the resolution fails.
- getLogFormatter() - Static method in class org.restlet.engine.Engine
-
Returns the general log formatter.
- getLogger() - Method in class org.restlet.engine.adapter.Adapter
-
Returns the logger.
- getLogger() - Method in class org.restlet.engine.adapter.Call
-
Returns the logger.
- getLogger() - Method in class org.restlet.engine.RestletHelper
-
Returns the helped Restlet logger.
- getLogger() - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Returns the context's logger.
- getLogger(Class<?>) - Static method in class org.restlet.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(Class<?>) - Method in class org.restlet.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(Class<?>, String) - Static method in class org.restlet.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(Class<?>, String) - Method in class org.restlet.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(Object, String) - Static method in class org.restlet.engine.Engine
-
Returns a logger based on the class name of the given object.
- getLogger(Object, String) - Method in class org.restlet.engine.log.LoggerFacade
-
Returns a logger based on the class name of the given object.
- getLogger(String) - Static method in class org.restlet.engine.Engine
-
Returns a logger based on the given logger name.
- getLogger(String) - Method in class org.restlet.engine.log.LoggerFacade
-
Returns a logger based on the given logger name.
- getLoggerFacade() - Method in class org.restlet.engine.Engine
-
Returns the logger facade to use.
- getLoggerName(String, Object) - Static method in class org.restlet.engine.log.LogUtils
-
Returns a non-null logger name.
- getLogLevel() - Static method in class org.restlet.engine.Engine
-
Returns the general log level.
- getMaxAge() - Method in class org.restlet.engine.application.CorsFilter
-
Indicates how long (in seconds) the results of a preflight request can be cached in a preflight result cache.
In case of a negative value, the results of a preflight request is not meant to be cached.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Max-Age" header. - getMaxAge() - Method in class org.restlet.engine.application.CorsResponseHelper
-
Indicates how long (in seconds) the results of a preflight request can be cached in a preflight result cache.
In case of a negative value, the results of a preflight request is not meant to be cached.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Max-Age" header. - getMaxQueued() - Method in class org.restlet.engine.connector.NetServerHelper
-
Returns the maximum number of calls that can be queued if there aren't any worker thread available to service them.
- getMaxThreadIdleTimeMs() - Method in class org.restlet.engine.connector.NetServerHelper
-
Returns the time for an idle thread to wait for an operation before being collected.
- getMaxThreads() - Method in class org.restlet.engine.connector.NetServerHelper
-
Returns the maximum threads that will service requests.
- getMediaType() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the media type.
- getMediaType() - Method in class org.restlet.engine.header.ContentType
-
Returns the media type.
- getMediaTypePrefs() - Method in class org.restlet.engine.application.FlexibleConneg
-
Returns the enriched list of media type preferences.
- getMediaTypePrefs() - Method in class org.restlet.engine.application.StrictConneg
-
Returns the enriched list of media type preferences.
- getMediumName() - Method in enum org.restlet.engine.Edition
-
Returns the medium size name of the edition.
- getMetadata() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the metadata.
- getMetadataService() - Method in class org.restlet.engine.application.TunnelFilter
-
Returns the metadata service of the parent application.
- getMetadataService() - Method in class org.restlet.engine.local.Entity
-
Returns the metadata service to use.
- getMetadataService() - Method in class org.restlet.engine.RestletHelper
-
Returns the metadata service.
- getMethod() - Method in class org.restlet.engine.adapter.Call
-
Returns the request method.
- getMethod() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getMethodAnnotation(List<AnnotationInfo>, Method) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the first annotation descriptor matching the given Java method.
- getMethodAnnotation(List<AnnotationInfo>, Method, Form, Representation, MetadataService, ConverterService) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the first annotation descriptor matching the given Restlet method.
- getMinThreads() - Method in class org.restlet.engine.connector.NetServerHelper
-
Returns the minimum threads waiting to service requests.
- getName() - Method in class org.restlet.engine.application.MetadataExtension
-
Returns the extension name.
- getName() - Method in class org.restlet.engine.local.Entity
-
Returns the name.
- getName() - Method in class org.restlet.engine.local.FileEntity
- getName() - Method in class org.restlet.engine.local.ZipEntryEntity
- getNext(Request, Response) - Method in class org.restlet.engine.component.ClientRouter
- getObjectClasses(Variant) - Method in class org.restlet.engine.converter.ConverterHelper
-
Returns the list of object classes that can be converted from a given variant.
- getObjectClasses(Variant) - Method in class org.restlet.engine.converter.DefaultConverter
- getObjectClasses(Variant) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- getOriginalRef(Reference, Series<Header>) - Static method in class org.restlet.engine.util.ReferenceUtils
-
Returns the original reference especially by detecting potential proxy forwardings.
- getOutboundNext() - Method in class org.restlet.engine.CompositeHelper
-
Returns the next Restlet in the outbound chain.
- getOutput() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the output part of the annotation value.
- getOutputStream() - Method in class org.restlet.engine.io.PipeStream
-
Returns a new output stream that can write into the pipe.
- getParameter(String, String, CharacterSet, char, boolean) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the parameters with the given name.
If multiple values are found, a list is returned created. - getParameter(Representation, String) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the parameters with the given name.
If multiple values are found, a list is returned created. - getParameters(String, Map<String, Object>, CharacterSet, char, boolean) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the parameters whose name is a key in the given map.
If a matching parameter is found, its value is put in the map.
If multiple values are found, a list is created and set in the map. - getParameters(Representation, Map<String, Object>) - Static method in class org.restlet.engine.util.FormUtils
-
Reads the parameters whose name is a key in the given map.
If a matching parameter is found, its value is put in the map.
If multiple values are found, a list is created and set in the map. - getParent() - Method in class org.restlet.engine.local.Entity
-
Returns the parent directory (if any).
- getParent() - Method in class org.restlet.engine.local.FileEntity
- getParent() - Method in class org.restlet.engine.local.ZipEntryEntity
- getParentContext() - Method in class org.restlet.engine.util.ChildContext
-
Returns the parent context.
- getPreferredVariant(List<? extends Variant>) - Method in class org.restlet.engine.application.Conneg
-
Returns the best variant representation for a given resource according the the client preferences.
A default language is provided in case the variants don't match the client preferences. - getProtocol() - Method in class org.restlet.engine.adapter.Call
-
Returns the exact protocol (HTTP or HTTPS).
- getProtocol() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the secure socket protocol name, "TLS" by default.
- getProtocols() - Method in class org.restlet.engine.connector.ConnectorHelper
-
Returns the protocols simultaneously supported.
- getProxyChallengeResponse() - Method in class org.restlet.engine.adapter.HttpRequest
- getQuery() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the optional query part of the annotation value.
- getRange() - Method in class org.restlet.engine.application.RangeRepresentation
-
Returns the range specific to this wrapper.
- getRanges() - Method in class org.restlet.engine.adapter.HttpRequest
- getRangeService() - Method in class org.restlet.engine.application.RangeFilter
-
Returns the Range service of the parent application.
- getReader() - Method in class org.restlet.engine.application.DecodeRepresentation
- getReader() - Method in class org.restlet.engine.application.EncodeRepresentation
- getReader() - Method in class org.restlet.engine.application.RangeRepresentation
- getReader(InputStream, CharacterSet) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a reader from an input stream and a character set.
- getReader(WriterRepresentation) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a reader from a writer representation.Internally, it uses a writer thread and a pipe stream.
- getReadTimeout() - Method in class org.restlet.engine.connector.FtpClientHelper
-
Returns the read timeout value.
- getReadTimeout() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Returns the read timeout value.
- getReasonPhrase() - Method in class org.restlet.engine.adapter.Call
-
Returns the reason phrase.
- getReasonPhrase() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the short description of the status.
- getReasonPhrase() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the response reason phrase.
- getRecipientsInfo() - Method in class org.restlet.engine.adapter.HttpRequest
- getReencodedVariantEntityName(String, String) - Method in class org.restlet.engine.local.EntityClientHelper
-
Percent-encodes the given percent-decoded variant name of a resource whose percent-encoded name is given.
- getReferrerRef() - Method in class org.restlet.engine.adapter.HttpRequest
-
Returns the referrer reference if available.
- getRegisteredAuthenticators() - Method in class org.restlet.engine.Engine
-
Returns the list of available authentication helpers.
- getRegisteredClients() - Method in class org.restlet.engine.Engine
-
Returns the list of available client connectors.
- getRegisteredConverters() - Method in class org.restlet.engine.Engine
-
Returns the list of available converters.
- getRegisteredProtocols() - Method in class org.restlet.engine.Engine
-
Returns the list of available protocol connectors.
- getRegisteredServers() - Method in class org.restlet.engine.Engine
-
Returns the list of available server connectors.
- getRegistration() - Method in interface org.restlet.engine.io.SelectionChannel
-
Returns the NIO registration.
- getRepresentation(InputStream) - Method in class org.restlet.engine.adapter.Call
-
Returns the representation wrapping the given stream.
- getRepresentation(InputStream) - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getRepresentation(String, MediaType) - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns a representation of the resource at the target URI.
- getRepresentation(ReadableByteChannel) - Method in class org.restlet.engine.adapter.Call
-
Returns the representation wrapping the given channel.
- getRepresentation(MediaType, int) - Method in class org.restlet.engine.local.Entity
-
Returns a representation of this local entity.
- getRepresentation(MediaType, int) - Method in class org.restlet.engine.local.FileEntity
- getRepresentation(MediaType, int) - Method in class org.restlet.engine.local.ZipEntryEntity
- getRequest() - Method in class org.restlet.engine.application.Conneg
-
Returns the request including client preferences.
- getRequest(Method, Object[]) - Method in class org.restlet.engine.resource.ClientInvocationHandler
-
Allows for child classes to modify the request.
- getRequestEntity() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the request entity if available.
- getRequestEntityChannel() - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the request entity channel if it exists.
- getRequestEntityChannel() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getRequestEntityStream() - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the request entity stream if it exists.
- getRequestEntityStream() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getRequestEntityStream(long) - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the request entity stream if it exists.
- getRequestEntityStream(long) - Method in class org.restlet.engine.connector.HttpExchangeCall
- getRequestHeaders() - Method in class org.restlet.engine.adapter.Call
-
Returns the modifiable list of request headers.
- getRequestHeaders() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getRequestHeadStream() - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the request head stream if it exists.
- getRequestHeadStream() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the request head stream if it exists.
- getRequestHeadStream() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getRequestHeadStream() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getRequestStream() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the request entity stream if it exists.
- getRequestUri() - Method in class org.restlet.engine.adapter.Call
-
Returns the URI on the request line (most like a relative reference, but not necessarily).
- getRequestUri() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getRequestVariants(MetadataService, ConverterService) - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns a list of request variants based on the annotation value.
- getResource(String) - Static method in class org.restlet.engine.Engine
-
Returns the classloader resource for a given name/path.
- getResources(String) - Method in class org.restlet.engine.util.EngineClassLoader
- getResponseEntity(Response) - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the response entity if available.
- getResponseEntityChannel(long) - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the response channel if it exists.
- getResponseEntityChannel(long) - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getResponseEntityStream() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the response entity stream if it exists.
- getResponseEntityStream() - Method in class org.restlet.engine.connector.HttpExchangeCall
- getResponseEntityStream(long) - Method in class org.restlet.engine.adapter.ClientCall
-
Returns the response entity stream if it exists.
- getResponseEntityStream(long) - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- getResponseHeaders() - Method in class org.restlet.engine.adapter.Call
-
Returns the modifiable list of server headers.
- getResponseHeaders() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the modifiable list of response headers.
- getResponseVariants(MetadataService, ConverterService) - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns a list of response variants based on the annotation value.
- getRestletLogLevel() - Static method in class org.restlet.engine.Engine
-
Returns the Restlet log level.
- getRestletMethod() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Returns the matching Restlet method.
- getRestletMethod(Annotation, Annotation) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns an instance of
Method
according to the given annotations. - getSecureRandomAlgorithm() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the name of the SecureRandom algorithm.
- getSelectedCipherSuites(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the selected cipher suites.
- getSelectedSslProtocols(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the selected SSL protocols.
- getSelector() - Static method in class org.restlet.engine.io.SelectorFactory
-
Get an exclusive
Selector
. - getServerAddress() - Method in class org.restlet.engine.adapter.Call
-
Returns the response address.
Corresponds to the IP address of the responding server. - getServerAddress() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the response address.
Corresponds to the IP address of the responding server. - getServerInfo() - Method in class org.restlet.engine.adapter.HttpResponse
-
Returns the server-specific information.
- getServerPort() - Method in class org.restlet.engine.adapter.Call
-
Returns the server port.
- getServerRouter() - Method in class org.restlet.engine.component.ComponentHelper
-
Returns the internal host router.
- getShortName() - Method in enum org.restlet.engine.Edition
-
Returns the short size name of the edition.
- getSize() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Returns the size in bytes of the decoded representation if known, UNKNOWN_SIZE (-1) otherwise.
- getSize() - Method in class org.restlet.engine.application.EncodeRepresentation
-
Returns the size in bytes of the encoded representation if known, UNKNOWN_SIZE (-1) otherwise.
- getSocketConnectTimeoutMs() - Method in class org.restlet.engine.adapter.HttpClientHelper
-
Returns the connection timeout.
- getSocketConnectTimeoutMs() - Method in class org.restlet.engine.connector.FtpClientHelper
-
Returns the connection timeout.
- getSource() - Method in class org.restlet.engine.security.RoleMapping
- getSslContextFactory(RestletHelper<?>) - Static method in class org.restlet.engine.ssl.SslUtils
-
Returns the SSL context factory.
- getSslKeySize() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the SSL key size, if available and accessible.
- getSslSessionId() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the SSL session ID, in hexadecimal encoding, if available and accessible.
- getSslSessionIdBytes() - Method in class org.restlet.engine.adapter.ServerCall
-
Returns the SSL session ID, as a byte array, if available and accessible in that format (to be used by getSslSessionId).
- getStatus() - Method in class org.restlet.engine.resource.ThrowableAnnotationInfo
-
Returns the status parsed from the annotation value.
- getStatusCode() - Method in class org.restlet.engine.adapter.Call
-
Returns the status code.
- getStatusCode() - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Returns the response status code.
- getStatusLabel(StatusInfo) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
-
Returns the status information to display in the default representation.
- getStatusService() - Method in class org.restlet.engine.application.StatusFilter
-
Returns the helped status service.
- getStore() - Method in class org.restlet.engine.util.Pool
-
Returns the store containing the reusable objects.
- getStream() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Returns a stream with the representation's content.
- getStream() - Method in class org.restlet.engine.application.EncodeRepresentation
- getStream() - Method in class org.restlet.engine.application.RangeRepresentation
- getStream() - Method in class org.restlet.engine.local.ZipEntryRepresentation
- getStream(Reader, CharacterSet) - Static method in class org.restlet.engine.io.IoUtils
-
Returns an input stream based on a given character reader.
- getStream(Writer, CharacterSet) - Static method in class org.restlet.engine.io.IoUtils
-
Returns an output stream based on a given writer.
- getStream(ReadableByteChannel) - Static method in class org.restlet.engine.io.IoUtils
-
Returns an input stream based on a given readable byte channel.
- getStream(WritableByteChannel) - Static method in class org.restlet.engine.io.IoUtils
-
Returns an output stream based on a given writable byte channel.
- getStream(Representation) - Static method in class org.restlet.engine.io.IoUtils
-
Returns an input stream based on the given representation's content and its write(OutputStream) method.
- getSupportedCipherSuites() - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
- getSupportedCipherSuites() - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
- getSupportedEncodings() - Static method in class org.restlet.engine.application.DecodeRepresentation
-
Returns the list of supported encodings.
- getSupportedEncodings() - Method in class org.restlet.engine.application.Encoder
-
Returns the list of supported encodings.
- getSupportedEncodings() - Static method in class org.restlet.engine.application.EncodeRepresentation
-
Returns the list of supported encodings.
- getTarget() - Method in class org.restlet.engine.security.RoleMapping
- getTargetUri() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns the context's target URI (file, clap URI).
- getTemporaryExtension() - Method in class org.restlet.engine.local.FileClientHelper
-
Returns the name of the extension to use to store the temporary content while uploading content via the PUT method.
- getText() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Converts the representation to a string value.
- getText() - Method in class org.restlet.engine.application.EncodeRepresentation
- getText() - Method in class org.restlet.engine.application.RangeRepresentation
- getText(Representation) - Static method in class org.restlet.engine.io.IoUtils
-
Converts the representation to a string value.
- getThrowableAnnotationInfo(Class<?>) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the status annotation descriptor if present or null.
- getThrowableAnnotationInfo(Method, int) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the
Throwable
class matching the given error code if present or null. - getThrowableClass(Method, int) - Method in class org.restlet.engine.resource.AnnotationUtils
-
Returns the
Throwable
class matching the given error code if present or null. - getTime() - Method in class org.restlet.engine.util.InternetDateFormat
-
Gets the value of this InternetDateFormat object as millisecond time value.
- getTimeToLive() - Method in class org.restlet.engine.local.LocalClientHelper
-
Returns the time to live for a file representation before it expires (in seconds).
- getTrustManagerAlgorithm() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the name of the TrustManager algorithm.
- getTrustStorePassword() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the password for the trust store keystore.
- getTrustStorePath() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the path to the trust store (keystore) file.
- getTrustStoreProvider() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the name of the trust store (keystore) provider.
- getTrustStoreType() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Returns the KeyStore type of the trust store.
- getTunnelService() - Method in class org.restlet.engine.application.TunnelFilter
-
Returns the tunnel service of the parent application.
- getTypeClass(Type) - Static method in class org.restlet.engine.resource.AnnotationInfo
-
Returns the underlying class for a type or null.
- getUri() - Method in class org.restlet.engine.application.StatusInfo
-
Returns the URI of the specification describing the status.
- getUserClassLoader() - Method in class org.restlet.engine.Engine
-
Returns the class loader specified by the user and that should be used in priority.
- getUserIdentifier() - Method in class org.restlet.engine.log.IdentClient
-
Returns the user identifier.
- getUserPrincipal() - Method in class org.restlet.engine.adapter.Call
-
Returns the user principal.
- getVariant() - Method in class org.restlet.engine.local.Entity
-
Returns a variant corresponding to the extensions of this entity.
- getVariants() - Method in class org.restlet.engine.local.DirectoryServerResource
- getVariants(Class<?>) - Method in class org.restlet.engine.converter.ConverterHelper
-
Returns the list of variants that can be converted from a given object class.
- getVariants(Class<?>) - Method in class org.restlet.engine.converter.DefaultConverter
- getVariants(Class<?>) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- getVariants(Class<?>, Variant) - Method in class org.restlet.engine.converter.ConverterHelper
-
Returns the list of variants that can be converted from a given object class by a specific converter helper.
- getVariants(Class<?>, Variant) - Static method in class org.restlet.engine.converter.ConverterUtils
-
Returns the list of variants that can be converted from a given object class.
- getVariants(Method) - Method in class org.restlet.engine.local.DirectoryServerResource
-
Returns the list of variants for the given method.
- getVersion() - Method in class org.restlet.engine.adapter.Call
-
Returns the protocol version used.
- getVirtualHost() - Method in class org.restlet.engine.component.HostRoute
-
Returns the target virtual host.
- getWarnings() - Method in class org.restlet.engine.adapter.HttpRequest
- getWrapped() - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
-
Returns the wrapped executor service.
- getWrappedContext() - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
-
Returns the wrapped SSL context.
- getWrappedSocketFactory() - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
-
Returns the wrapped SSL server socket factory.
- getWrappedSocketFactory() - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
-
Returns the wrapped SSL socket factory.
- getWriter(OutputStream, CharacterSet) - Static method in class org.restlet.engine.io.IoUtils
-
Returns a writer to the given output stream, using the given character set for encoding to bytes.
- GWT - org.restlet.engine.Edition
H
- handle() - Method in class org.restlet.engine.local.DirectoryServerResource
- handle(ServerCall) - Method in class org.restlet.engine.adapter.HttpServerHelper
-
Handles the connector call.
- handle(Request, Response) - Method in class org.restlet.engine.adapter.HttpClientHelper
- handle(Request, Response) - Method in class org.restlet.engine.application.ApplicationHelper
-
In addition to the default behavior, it saves the current application instance into the current thread.
- handle(Request, Response) - Method in class org.restlet.engine.CompositeHelper
- handle(Request, Response) - Method in class org.restlet.engine.connector.FtpClientHelper
- handle(Request, Response) - Method in class org.restlet.engine.connector.ServerHelper
-
Handles a call by invoking the helped Server's
Server.handle(Request, Response)
method. - handle(Request, Response) - Method in class org.restlet.engine.local.LocalClientHelper
-
Handles a call.
- handle(Request, Response) - Method in class org.restlet.engine.local.RiapClientHelper
-
Handles a call.
- handle(Request, Response) - Method in class org.restlet.engine.RestletHelper
-
Handles a call.
- handleClassLoader(Request, Response, ClassLoader) - Method in class org.restlet.engine.local.ClapClientHelper
-
Handles a call with a given class loader.
- handleEntityGet(Request, Response, Entity) - Method in class org.restlet.engine.local.EntityClientHelper
-
Handles a GET call.
- handleFile(Request, Response, String) - Method in class org.restlet.engine.local.FileClientHelper
- handleFileDelete(Response, File) - Method in class org.restlet.engine.local.FileClientHelper
-
Handles a DELETE call for the FILE protocol.
- handleFilePut(Request, Response, String, File) - Method in class org.restlet.engine.local.FileClientHelper
-
Handles a PUT call for the FILE protocol.
- handleGet(Request, Response, File, String, MetadataService) - Method in class org.restlet.engine.local.ZipClientHelper
-
Handles a GET call.
- handleLocal(Request, Response, String) - Method in class org.restlet.engine.local.ClapClientHelper
- handleLocal(Request, Response, String) - Method in class org.restlet.engine.local.EntityClientHelper
- handleLocal(Request, Response, String) - Method in class org.restlet.engine.local.FileClientHelper
- handleLocal(Request, Response, String) - Method in class org.restlet.engine.local.LocalClientHelper
-
Handles a local call.
- handleLocal(Request, Response, String) - Method in class org.restlet.engine.local.ZipClientHelper
-
Handles a call for a local entity.
- handlePut(Request, Response, File, String) - Method in class org.restlet.engine.local.ZipClientHelper
-
Handles a PUT call.
- hashCode() - Method in class org.restlet.engine.resource.AnnotationInfo
- hashCode() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
- hashCode() - Method in class org.restlet.engine.resource.ThrowableAnnotationInfo
- hashCode() - Method in class org.restlet.engine.resource.VariantInfo
- hashCode(Object...) - Static method in class org.restlet.engine.util.SystemUtils
-
Computes the hash code of a set of objects.
- HEADER_ACCEPT - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCEPT_CHARSET - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCEPT_ENCODING - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCEPT_LANGUAGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCEPT_PATCH - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCEPT_RANGES - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_ALLOW_METHODS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_MAX_AGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ACCESS_CONTROL_REQUEST_METHOD - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_AGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ALLOW - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_AUTHENTICATION_INFO - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_AUTHORIZATION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CACHE_CONTROL - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONNECTION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_DISPOSITION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_ENCODING - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_LANGUAGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_LENGTH - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_LOCATION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_MD5 - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_RANGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_CONTENT_TYPE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_COOKIE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_DATE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ETAG - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_EXPECT - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_EXPIRES - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_FROM - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_HOST - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_IF_MATCH - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_IF_MODIFIED_SINCE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_IF_NONE_MATCH - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_IF_RANGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_IF_UNMODIFIED_SINCE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_LAST_MODIFIED - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_LOCATION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_MAX_FORWARDS - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_ORIGIN - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_PRAGMA - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_PROXY_AUTHENTICATE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_PROXY_AUTHORIZATION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_RANGE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_REFERRER - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_RETRY_AFTER - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_SERVER - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_SET_COOKIE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_SET_COOKIE2 - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_SLUG - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_TRAILER - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_TRANSFER_ENCODING - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_TRANSFER_EXTENSION - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_UPGRADE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_USER_AGENT - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_VARY - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_VIA - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_WARNING - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_WWW_AUTHENTICATE - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_X_FORWARDED_FOR - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_X_FORWARDED_PORT - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_X_FORWARDED_PROTO - Static variable in class org.restlet.engine.header.HeaderConstants
- HEADER_X_HTTP_METHOD_OVERRIDE - Static variable in class org.restlet.engine.header.HeaderConstants
- HeaderConstants - Class in org.restlet.engine.header
-
Constants related to the HTTP protocol.
- HeaderConstants() - Constructor for class org.restlet.engine.header.HeaderConstants
- HeaderReader<V> - Class in org.restlet.engine.header
-
HTTP-style header reader.
- HeaderReader(String) - Constructor for class org.restlet.engine.header.HeaderReader
-
Constructor.
- HeaderUtils - Class in org.restlet.engine.header
-
HTTP-style header utilities.
- HeaderWriter<V> - Class in org.restlet.engine.header
-
HTTP-style header writer.
- HeaderWriter() - Constructor for class org.restlet.engine.header.HeaderWriter
- Helper - Class in org.restlet.engine
-
Abstract marker class parent of all engine helpers.
- Helper() - Constructor for class org.restlet.engine.Helper
- HostRoute - Class in org.restlet.engine.component
-
Route based on a target VirtualHost.
- HostRoute(Router, VirtualHost) - Constructor for class org.restlet.engine.component.HostRoute
-
Constructor.
- htmlEscape(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns the given
String
according to the HTML 4.0 encoding rules. - htmlUnescape(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns the given
String
decoded according to the HTML 4.0 decoding rules. - HttpBasicHelper - Class in org.restlet.engine.security
-
Implements the HTTP BASIC authentication.
- HttpBasicHelper() - Constructor for class org.restlet.engine.security.HttpBasicHelper
-
Constructor.
- HttpClientHelper - Class in org.restlet.engine.adapter
-
Base HTTP client connector.
- HttpClientHelper - Class in org.restlet.engine.connector
-
HTTP client connector using the
HttpUrlConnectionCall
. - HttpClientHelper(Client) - Constructor for class org.restlet.engine.adapter.HttpClientHelper
-
Constructor.
- HttpClientHelper(Client) - Constructor for class org.restlet.engine.connector.HttpClientHelper
-
Constructor.
- HttpExchangeCall - Class in org.restlet.engine.connector
-
Call that is used by the Basic HTTP server.
- HttpExchangeCall(Server, HttpExchange) - Constructor for class org.restlet.engine.connector.HttpExchangeCall
-
Constructor.
- HttpExchangeCall(Server, HttpExchange, boolean) - Constructor for class org.restlet.engine.connector.HttpExchangeCall
-
Constructor.
- HttpProtocolHelper - Class in org.restlet.engine.connector
-
Protocol helper for the HTTP protocol.
- HttpProtocolHelper() - Constructor for class org.restlet.engine.connector.HttpProtocolHelper
- HttpRequest - Class in org.restlet.engine.adapter
-
Request wrapper for server HTTP calls.
- HttpRequest(Context, ServerCall) - Constructor for class org.restlet.engine.adapter.HttpRequest
-
Constructor.
- HttpResponse - Class in org.restlet.engine.adapter
-
Response wrapper for server HTTP calls.
- HttpResponse(ServerCall, Request) - Constructor for class org.restlet.engine.adapter.HttpResponse
-
Constructor.
- HttpServerHelper - Class in org.restlet.engine.adapter
-
Base HTTP server connector.
- HttpServerHelper - Class in org.restlet.engine.connector
-
Internal HTTP server connector.
- HttpServerHelper() - Constructor for class org.restlet.engine.adapter.HttpServerHelper
-
Default constructor.
- HttpServerHelper(Server) - Constructor for class org.restlet.engine.adapter.HttpServerHelper
-
Constructor.
- HttpServerHelper(Server) - Constructor for class org.restlet.engine.connector.HttpServerHelper
-
Constructor.
- HttpsServerHelper - Class in org.restlet.engine.connector
-
Internal HTTPS server connector.
- HttpsServerHelper(Server) - Constructor for class org.restlet.engine.connector.HttpsServerHelper
-
Constructor.
- HttpUrlConnectionCall - Class in org.restlet.engine.connector
-
HTTP client connector call based on JDK's java.net.HttpURLConnection class.
- HttpUrlConnectionCall(HttpClientHelper, String, String, boolean) - Constructor for class org.restlet.engine.connector.HttpUrlConnectionCall
-
Constructor.
I
- IdentClient - Class in org.restlet.engine.log
-
Simple IDENT client.
- IdentClient(String, int, int) - Constructor for class org.restlet.engine.log.IdentClient
-
Constructor.
- ImmutableDate - Class in org.restlet.engine.util
-
Class acting as an immutable date class based on the
Date
class. - ImmutableDate(Date) - Constructor for class org.restlet.engine.util.ImmutableDate
-
Private constructor.
- init() - Method in class org.restlet.engine.log.AccessLogFileHandler
-
Initialization code common to all constructors.
- init(Series<Parameter>) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the following options according to parameters that may have been set up directly in the HttpsClientHelper or HttpsServerHelper parameters.
- init(Series<Parameter>) - Method in class org.restlet.engine.ssl.SslContextFactory
-
Initialize the factory with the given connector parameters.
- initEngine(SSLEngine) - Method in class org.restlet.engine.ssl.WrapperSslContextSpi
-
Initializes the SSL engine with additional parameters from the SSL context factory.
- initSslServerSocket(SSLServerSocket) - Method in class org.restlet.engine.ssl.WrapperSslServerSocketFactory
-
Initializes the SSL server socket.
- initSslSocket(SSLSocket) - Method in class org.restlet.engine.ssl.WrapperSslSocketFactory
-
Initializes the SSL socket.
- InputStreamChannel - Class in org.restlet.engine.io
-
Readable byte channel wrapping an input stream.
- InputStreamChannel(InputStream) - Constructor for class org.restlet.engine.io.InputStreamChannel
-
Constructor.
- instance - Static variable in class org.restlet.engine.local.RiapServerHelper
-
The unique registered helper.
- InternalRouter - Class in org.restlet.engine.component
-
Provides the behavior of the internal router of a Component.
- InternalRouter(Context) - Constructor for class org.restlet.engine.component.InternalRouter
-
Constructor.
- InternetDateFormat - Class in org.restlet.engine.util
-
This class handles Internet date/time strings in accordance with RFC 3339.
- InternetDateFormat() - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object set to the current time using the UTC (Z) time zone.
- InternetDateFormat(long) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object initialized from a millisecond time value using the UTC (Z) time zone.
- InternetDateFormat(long, TimeZone) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object initialized from a millisecond time value using the specified time zone.
- InternetDateFormat(String) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object by parsing an RFC 3339 date/time string.
- InternetDateFormat(Calendar) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object initialized from a Calendar object.
- InternetDateFormat(Date) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object initialized from a Date object using the UTC (Z) time zone.
- InternetDateFormat(Date, TimeZone) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object initialized from a Date object using the specified time zone.
- InternetDateFormat(TimeZone) - Constructor for class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object set to the current time using the specified time zone.
- invoke(Object, Method, Object[]) - Method in class org.restlet.engine.resource.ClientInvocationHandler
-
Effectively invokes a Java method on the given proxy object.
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- IoUtils - Class in org.restlet.engine.io
-
IO manipulation utilities.
- isAllowAllRequestedHeaders() - Method in class org.restlet.engine.application.CorsFilter
-
If true, indicates that the value of 'Access-Control-Request-Headers' request header will be copied into the 'Access-Control-Allow-Headers' response header.
- isAllowAllRequestedHeaders() - Method in class org.restlet.engine.application.CorsResponseHelper
-
If true, indicates that the value of 'Access-Control-Request-Headers' request header will be copied into the 'Access-Control-Allow-Headers' response header.
- isAllowedCredentials() - Method in class org.restlet.engine.application.CorsFilter
-
If true, adds 'Access-Control-Allow-Credentials' header.
- isAllowedCredentials() - Method in class org.restlet.engine.application.CorsResponseHelper
-
If true, adds 'Access-Control-Allow-Credentials' header.
- isAllowUserInteraction() - Method in class org.restlet.engine.connector.FtpClientHelper
-
Indicates if this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog.
- isAllowUserInteraction() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Indicates if this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog.
- isAlpha(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is alphabetical (a-z or A-Z).
- isAsciiChar(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is in ASCII range.
- isBlocking() - Method in interface org.restlet.engine.io.BlockableChannel
-
Indicates if the channel is likely to block upon IO operations.
- isBlocking() - Method in class org.restlet.engine.io.InputStreamChannel
-
True if the underlying input stream is able to indicate available bytes upfront.
- isBlocking(Channel) - Static method in class org.restlet.engine.io.IoUtils
-
Indicates if the channel is in blocking mode.
- isBroken(Throwable) - Static method in class org.restlet.engine.adapter.Call
-
Returns true if the given exception is caused by a broken connection.
- isCarriageReturn(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a carriage return.
- isChunkedEncoding(Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the entity is chunked.
- isClientKeepAlive() - Method in class org.restlet.engine.adapter.Call
-
Indicates if the client wants a persistent connection.
- isClientKeepAlive() - Method in class org.restlet.engine.adapter.ClientCall
- isClientKeepAlive() - Method in class org.restlet.engine.adapter.ServerCall
- isClientSide() - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Indicates if client side authentication is supported.
- isComma(int) - Static method in class org.restlet.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.engine.header.HeaderUtils
-
Indicates if the given character is a comment text.
- isCompatible(Method, Form, Representation, MetadataService, ConverterService) - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Indicates if the annotated method described is compatible with the given parameters.
- isCompatible(Variant) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
-
Indicates if the given variant is compatible with the media types supported by this converter.
- isCompatibleRequestEntity(Representation, MetadataService, ConverterService) - Method in class org.restlet.engine.resource.MethodAnnotationInfo
-
Indicates if the given request entity is compatible with the annotated method described.
- isConfidential() - Method in class org.restlet.engine.adapter.Call
-
Indicates if the confidentiality of the call is ensured (ex: via SSL).
- isConfidential() - Method in class org.restlet.engine.connector.NetServerHelper
-
Indicates if this service is acting in HTTP or HTTPS mode.
- isConnectionBroken(Throwable) - Method in class org.restlet.engine.adapter.Call
-
Returns true if the given exception is caused by a broken connection.
- isConnectionClose(Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the connection must be closed.
- isControlChar(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a control character.
- isCorsRequest(Request) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Returns true if the request is a CORS request.
- isDecoding() - Method in class org.restlet.engine.application.DecodeRepresentation
-
Indicates if the decoding can happen.
- isDecodingRequest() - Method in class org.restlet.engine.application.Decoder
-
Indicates if the request entity should be decoded.
- isDecodingResponse() - Method in class org.restlet.engine.application.Decoder
-
Indicates if the response entity should be decoded.
- isDigit(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a digit (0-9).
- isDirectory() - Method in class org.restlet.engine.local.Entity
-
Indicates if the entity is a directory.
- isDirectory() - Method in class org.restlet.engine.local.FileEntity
- isDirectory() - Method in class org.restlet.engine.local.ZipEntryEntity
- isDirectoryTarget() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Indicates if the target resource is a directory.
- isDoubleQuote(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a double quote.
- isEncodingRequest() - Method in class org.restlet.engine.application.Encoder
-
Indicates if the request entity should be encoded.
- isEncodingResponse() - Method in class org.restlet.engine.application.Encoder
-
Indicates if the response entity should be encoded.
- isFileTarget() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Indicates if the target resource is a file.
- isFirstChallengeParameter() - Method in class org.restlet.engine.header.ChallengeWriter
-
Indicates if the first comma-separated value is written.
- isFollowRedirects() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Indicates if the protocol will automatically follow redirects.
- isHorizontalTab(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is an horizontal tab.
- isKeepAlive() - Method in class org.restlet.engine.adapter.Call
-
Indicates if both the client and the server want a persistent connection.
- isLatin1Char(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is in ISO Latin 1 (8859-1) range.
- isLinearWhiteSpace(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a value separator.
- isLineFeed(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a line feed.
- isLowerCase(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is lower case (a-z).
- isNeedClientAuthentication() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Indicates if we require client certificate authentication.
- isNormal() - Method in class org.restlet.engine.local.Entity
-
Indicates if the entity is a normal entity, especially if it is not a directory.
- isNormal() - Method in class org.restlet.engine.local.FileEntity
- isNormal() - Method in class org.restlet.engine.local.ZipEntryEntity
- isNotDigit(char) - Method in class org.restlet.engine.util.AlphaNumericComparator
-
Indicates if the character is a digit.
- isNullOrEmpty(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns
true
if the given string is null or is the empty string. - isOpen() - Method in class org.restlet.engine.io.InputStreamChannel
-
Indicates if the channel and its underlying stream are open.
- isOverwriting() - Method in class org.restlet.engine.application.StatusFilter
-
Indicates if existing representations should be overwritten.
- isParameterFound(Parameter, MediaType) - Static method in class org.restlet.engine.util.FormUtils
-
Indicates if the searched parameter is specified in the given media range.
- isQuoteCharacter(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character marks the start of a quoted pair.
- isQuotedText(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a quoted text.
- isRequestChunked() - Method in class org.restlet.engine.adapter.Call
-
Indicates if the request entity is chunked.
- isResponseChunked() - Method in class org.restlet.engine.adapter.Call
-
Indicates if the response entity is chunked.
- isResumeUpload() - Method in class org.restlet.engine.local.FileClientHelper
-
Indicates if a failed upload can be resumed.
- isSemiColon(int) - Static method in class org.restlet.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.engine.header.HeaderUtils
-
Indicates if the given character is a separator.
- isSerializable() - Method in class org.restlet.engine.resource.ThrowableAnnotationInfo
-
Returns the serialize indicator parsed from the annotation value.
- isServerKeepAlive() - Method in class org.restlet.engine.adapter.Call
-
Indicates if the server wants a persistent connection.
- isServerKeepAlive() - Method in class org.restlet.engine.adapter.ClientCall
- isServerKeepAlive() - Method in class org.restlet.engine.adapter.ServerCall
- isServerSide() - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Indicates if server side authentication is supported.
- isShutdown() - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- isSkippingResourceForCorsOptions() - Method in class org.restlet.engine.application.CorsFilter
-
If true, the filter does not call the server resource for OPTIONS method of CORS request and set Access-Control-Allow-Methods header with
CorsFilter.defaultAllowedMethods
. - isSpace(int) - Static method in class org.restlet.engine.header.HeaderUtils
-
Indicates if the given character is a space.
- isTerminated() - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- isText(int) - Static method in class org.restlet.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.engine.header.HeaderUtils
-
Indicates if the token is valid.
Only contains valid token characters. - isTokenChar(int) - Static method in class org.restlet.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.engine.header.HeaderUtils
-
Indicates if the given character is upper case (A-Z).
- isUseCaches() - Method in class org.restlet.engine.connector.FtpClientHelper
-
Indicates if the protocol is allowed to use caching whenever it can.
- isUseCaches() - Method in class org.restlet.engine.connector.HttpClientHelper
-
Indicates if the protocol is allowed to use caching whenever it can.
- isValidQuality(float) - Static method in class org.restlet.engine.header.PreferenceWriter
-
Indicates if the quality value is valid.
- isWantClientAuthentication() - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Indicates if we would like client certificate authentication.
- isWindows() - Static method in class org.restlet.engine.util.SystemUtils
-
Indicates if the current operating system is in the Windows family.
J
- javaClass - Variable in class org.restlet.engine.resource.AnnotationInfo
-
The class that hosts the annotated Java method.
- javaMethod - Variable in class org.restlet.engine.resource.AnnotationInfo
-
The annotated Java method.
- javaMethodImpl - Variable in class org.restlet.engine.resource.AnnotationInfo
-
The upper implementation of the annotated Java method.
- JEE - org.restlet.engine.Edition
- JSE - org.restlet.engine.Edition
K
- keepExtensionHeadersOnly(Message) - Static method in class org.restlet.engine.header.HeaderUtils
-
Remove the headers that are mapped to the framework's API from the given message's list of headers.
L
- LanguageReader - Class in org.restlet.engine.header
-
Language header reader.
- LanguageReader(String) - Constructor for class org.restlet.engine.header.LanguageReader
-
Constructor.
- LanguageWriter - Class in org.restlet.engine.header
-
Language header writer.
- LanguageWriter() - Constructor for class org.restlet.engine.header.LanguageWriter
- ListUtils - Class in org.restlet.engine.util
-
Emulate List functions missing from GWT port of List
- ListUtils() - Constructor for class org.restlet.engine.util.ListUtils
- loadClass(String) - Static method in class org.restlet.engine.Engine
-
Returns the class object for the given name using the engine classloader.
- LocalClientHelper - Class in org.restlet.engine.local
-
Connector to the local resources accessible via file system, class loaders and similar mechanisms.
- LocalClientHelper(Client) - Constructor for class org.restlet.engine.local.LocalClientHelper
-
Constructor.
- LogFilter - Class in org.restlet.engine.log
-
Filter logging all calls after their handling by the target Restlet.
- LogFilter(Context, LogService) - Constructor for class org.restlet.engine.log.LogFilter
-
Constructor.
- LoggerFacade - Class in org.restlet.engine.log
-
Logger facade to the underlying logging framework used by the Restlet Framework.
- LoggerFacade() - Constructor for class org.restlet.engine.log.LoggerFacade
- LoggingThreadFactory - Class in org.restlet.engine.log
-
Thread factory that logs uncaught exceptions thrown by the created threads.
- LoggingThreadFactory(Logger) - Constructor for class org.restlet.engine.log.LoggingThreadFactory
-
Constructor.
- LoggingThreadFactory(Logger, boolean) - Constructor for class org.restlet.engine.log.LoggingThreadFactory
-
Constructor.
- logRoute(Route) - Method in class org.restlet.engine.component.ClientRouter
- logRoute(Route) - Method in class org.restlet.engine.component.ServerRouter
- logService - Variable in class org.restlet.engine.log.LogFilter
-
The log service.
- LogUtils - Class in org.restlet.engine.log
-
Logging related utility methods.
M
- MAJOR_NUMBER - Static variable in class org.restlet.engine.Engine
-
Major version number.
- MapResolver - Class in org.restlet.engine.util
-
Resolves variable values based on a map.
- MapResolver(Map<String, ?>) - Constructor for class org.restlet.engine.util.MapResolver
-
Constructor.
- mark() - Method in class org.restlet.engine.header.HeaderReader
-
Marks the current position in this reader.
- mark(int) - Method in class org.restlet.engine.io.RangeInputStream
- MAX_ATTEMPTS - Static variable in class org.restlet.engine.io.SelectorFactory
-
The number of attempts to find an available selector.
- MAX_SELECTORS - Static variable in class org.restlet.engine.io.SelectorFactory
-
The maximum number of
Selector
to create. - maxAge - Variable in class org.restlet.engine.application.CorsResponseHelper
-
The value of 'Access-Control-Max-Age' response header.
- MetadataExtension - Class in org.restlet.engine.application
-
Associates an extension name and a metadata.
- MetadataExtension(String, Metadata) - Constructor for class org.restlet.engine.application.MetadataExtension
-
Constructor.
- MetadataWriter<M extends org.restlet.data.Metadata> - Class in org.restlet.engine.header
-
Metadata header writer.
- MetadataWriter() - Constructor for class org.restlet.engine.header.MetadataWriter
- Method - Annotation Type in org.restlet.engine.connector
-
Meta annotation to declare method annotations.
- MethodAnnotationInfo - Class in org.restlet.engine.resource
-
Descriptor for method annotations.
- MethodAnnotationInfo(Class<?>, Method, Method, String) - Constructor for class org.restlet.engine.resource.MethodAnnotationInfo
-
Constructor.
- MethodReader - Class in org.restlet.engine.header
-
Method header reader.
- MethodReader(String) - Constructor for class org.restlet.engine.header.MethodReader
-
Constructor.
- MethodWriter - Class in org.restlet.engine.header
-
Method header writer.
- MethodWriter() - Constructor for class org.restlet.engine.header.MethodWriter
- MINOR_NUMBER - Static variable in class org.restlet.engine.Engine
-
Minor version number.
N
- NbChannelInputStream - Class in org.restlet.engine.io
-
Input stream connected to a non-blocking readable channel.
- NbChannelInputStream(ReadableByteChannel) - Constructor for class org.restlet.engine.io.NbChannelInputStream
-
Constructor.
- NbChannelOutputStream - Class in org.restlet.engine.io
-
Output stream connected to a non-blocking writable channel.
- NbChannelOutputStream(WritableByteChannel) - Constructor for class org.restlet.engine.io.NbChannelOutputStream
-
Constructor.
- NetServerHelper - Class in org.restlet.engine.connector
-
Abstract Internal web server connector based on com.sun.net.httpserver package.
- NetServerHelper(Server) - Constructor for class org.restlet.engine.connector.NetServerHelper
-
Constructor.
- newHashSet(E...) - Static method in class org.restlet.engine.util.SetUtils
-
Returns a new
HashSet
with the given elements - newThread(Runnable) - Method in class org.restlet.engine.log.LoggingThreadFactory
-
Creates a new thread.
- now() - Static method in class org.restlet.engine.util.InternetDateFormat
-
Returns the current date and time as an RFC 3339 date/time string using the UTC (Z) time zone.
- now(TimeZone) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Returns the current date and time as an RFC 3339 date/time string using the specified time zone.
- nullToEmpty(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns the given string if it is non-null; the empty string otherwise.
O
- onWokeup(SelectionRegistration) - Method in interface org.restlet.engine.io.WakeupListener
-
Callback method invoked when the selection registration wants to wake up the NIO selector.
- org.restlet.engine - package org.restlet.engine
-
Implementation of Restlet API.
- org.restlet.engine.adapter - package org.restlet.engine.adapter
-
Adapters between low-level HTTP calls and high-level Restlet Request and Response objects.
- org.restlet.engine.application - package org.restlet.engine.application
-
Supports Restlet applications.
- org.restlet.engine.component - package org.restlet.engine.component
-
Supports Restlet components.
- org.restlet.engine.connector - package org.restlet.engine.connector
-
Integration with Java URLConnection class.
- org.restlet.engine.converter - package org.restlet.engine.converter
-
Supports the converter service.
- org.restlet.engine.header - package org.restlet.engine.header
-
Supports HTTP header parsing and formatting.
- org.restlet.engine.io - package org.restlet.engine.io
-
Supports input and output work.
- org.restlet.engine.local - package org.restlet.engine.local
-
Supports local connectors and resources.
- org.restlet.engine.log - package org.restlet.engine.log
-
Supports the log service.
- org.restlet.engine.resource - package org.restlet.engine.resource
-
Supports resources.
- org.restlet.engine.security - package org.restlet.engine.security
-
Supports security.
- org.restlet.engine.ssl - package org.restlet.engine.ssl
-
Support SSL and TLS.
- org.restlet.engine.util - package org.restlet.engine.util
-
General utilities.
- OSGI - org.restlet.engine.Edition
P
- parse() - Method in class org.restlet.engine.component.ComponentXmlParser
-
Deprecated.Parse a configuration file and update the component's configuration.
- parse(String) - Static method in class org.restlet.engine.util.DateUtils
-
Parses a formatted date into a Date object using the default HTTP format (RFC 1123).
- parse(String) - Method in class org.restlet.engine.util.InternetDateFormat
- parse(String, ParsePosition) - Method in class org.restlet.engine.util.InternetDateFormat
- parse(String, List<String>) - Static method in class org.restlet.engine.util.DateUtils
-
Parses a formatted date into a Date object.
- parse(Form, String, CharacterSet, boolean, char) - Static method in class org.restlet.engine.util.FormUtils
-
Parses a parameters string into a given form.
- parse(Form, Representation, boolean) - Static method in class org.restlet.engine.util.FormUtils
-
Parses a post into a given form.
- parseAuthenticationInfo(String) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Parses the "Authentication-Info" header.
- parseCalendar(String) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Parses an RFC 3339 date/time string to a Calendar object.
- parseDate(String) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Parses an RFC 3339 date/time string to a Date object.
- parseRequest(ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Parses an authenticate header into a challenge request.
- parseRequest(ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
- parseRequest(Response, String, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Parses an authenticate header into a list of challenge request.
- parseResponse(ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Parses an authorization header into a challenge response.
- parseResponse(ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
- parseResponse(Request, String, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Parses an authorization header into a challenge response.
- parseTime(String) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Parses an RFC 3339 date/time string to a millisecond time value.
- peek() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next character without moving the reader index.
- PipeStream - Class in org.restlet.engine.io
-
Pipe stream that pipes output streams into input streams.
- PipeStream() - Constructor for class org.restlet.engine.io.PipeStream
-
Constructor.
- Pool<T> - Class in org.restlet.engine.util
-
Generic object pool.
- Pool() - Constructor for class org.restlet.engine.util.Pool
-
Default constructor.
- Pool(int) - Constructor for class org.restlet.engine.util.Pool
-
Constructor.
- preCreate(int) - Method in class org.restlet.engine.util.Pool
-
Pre-creates the initial objects using the
Pool.createObject()
method and check them in the pool using thePool.checkin(Object)
method. - PreferenceReader<T extends org.restlet.data.Metadata> - Class in org.restlet.engine.header
-
Preference header reader.
- PreferenceReader(int, String) - Constructor for class org.restlet.engine.header.PreferenceReader
-
Constructor.
- PreferenceWriter - Class in org.restlet.engine.header
-
Preference header writer.
- PreferenceWriter() - Constructor for class org.restlet.engine.header.PreferenceWriter
- preventUpperDirectoryAccess() - Method in class org.restlet.engine.local.DirectoryServerResource
-
Prevent the client from accessing resources in upper directories
- ProductReader - Class in org.restlet.engine.header
-
User agent header reader.
- ProductWriter - Class in org.restlet.engine.header
-
User agent header writer.
- ProductWriter() - Constructor for class org.restlet.engine.header.ProductWriter
- ProtocolHelper - Class in org.restlet.engine.connector
-
Protocol helper.
- ProtocolHelper() - Constructor for class org.restlet.engine.connector.ProtocolHelper
-
Constructor.
- put(Representation) - Method in class org.restlet.engine.local.DirectoryServerResource
R
- RangeFilter - Class in org.restlet.engine.application
-
Filter that is in charge to check the responses to requests for partial content.
- RangeFilter(Context) - Constructor for class org.restlet.engine.application.RangeFilter
-
Constructor.
- RangeInputStream - Class in org.restlet.engine.io
-
Filters an input stream to expose only a given range.
- RangeInputStream(InputStream, long, Range) - Constructor for class org.restlet.engine.io.RangeInputStream
-
Constructs a stream exposing only a range of a given source stream.
- RangeReader - Class in org.restlet.engine.header
-
Range header reader.
- RangeRepresentation - Class in org.restlet.engine.application
-
Representation that exposes only a range of the content of a wrapped representation.
- RangeRepresentation(Representation) - Constructor for class org.restlet.engine.application.RangeRepresentation
-
Constructor.
- RangeRepresentation(Representation, Range) - Constructor for class org.restlet.engine.application.RangeRepresentation
-
Constructor.
- RangeWriter - Class in org.restlet.engine.header
-
Range header writer.
- RangeWriter() - Constructor for class org.restlet.engine.header.RangeWriter
- read() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next character.
- read() - Method in class org.restlet.engine.io.NbChannelInputStream
- read() - Method in class org.restlet.engine.io.RangeInputStream
- read() - Method in class org.restlet.engine.io.ReaderInputStream
- read() - Method in class org.restlet.engine.util.FormReader
-
Reads all the parameters.
- read(byte[], int, int) - Method in class org.restlet.engine.io.NbChannelInputStream
- read(byte[], int, int) - Method in class org.restlet.engine.io.RangeInputStream
- read(byte[], int, int) - Method in class org.restlet.engine.io.ReaderInputStream
- read(String) - Static method in class org.restlet.engine.header.CookieReader
-
Parses the given String to a Cookie
- read(String) - Static method in class org.restlet.engine.header.CookieSettingReader
-
Parses the given String to a CookieSetting
- read(String) - Static method in class org.restlet.engine.header.ProductReader
-
Parses the given user agent String to a list of Product instances.
- read(String) - Static method in class org.restlet.engine.header.RangeReader
-
Parse the Range header and returns the list of corresponding Range objects.
- read(ByteBuffer) - Method in class org.restlet.engine.io.InputStreamChannel
-
Reads bytes from the underlying stream to the target buffer.
- ReadableSelectionChannel - Interface in org.restlet.engine.io
-
Readable byte channel that is based on a selectable channel.
- readActualNamedValue() - Method in class org.restlet.engine.header.HeaderReader
-
Reads a parameter value which is either a token or a quoted string.
- readCharacterSet(String) - Static method in class org.restlet.engine.header.ContentType
-
Parses the given content type header and returns the character set.
- readComment() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next comment.
- readDate(String, boolean) - Static method in class org.restlet.engine.header.HeaderReader
-
Parses a date string.
- readDigits() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next digits.
- ReaderInputStream - Class in org.restlet.engine.io
-
Input stream based on a reader.
- ReaderInputStream(Reader) - Constructor for class org.restlet.engine.io.ReaderInputStream
-
Constructor.
- ReaderInputStream(Reader, CharacterSet) - Constructor for class org.restlet.engine.io.ReaderInputStream
-
Constructor.
- readFirstParameter(String) - Method in class org.restlet.engine.util.FormReader
-
Reads the first parameter with the given name.
- readHeader(InputStream, StringBuilder) - Static method in class org.restlet.engine.header.HeaderReader
-
Read a header.
- readHeader(CharSequence) - Static method in class org.restlet.engine.header.HeaderReader
-
Read a header.
- readMediaType(String) - Static method in class org.restlet.engine.header.ContentType
-
Parses the given content type header and returns the media type.
- readNamedValue(Class<NV>) - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next pair as a parameter.
- readNextParameter() - Method in class org.restlet.engine.util.FormReader
-
Reads the next parameter available or null.
- readParameter() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next pair as a parameter.
- readParameter(String) - Method in class org.restlet.engine.util.FormReader
-
Reads the parameters with the given name.
- readParameters(Map<String, Object>) - Method in class org.restlet.engine.util.FormReader
-
Reads the parameters whose name is a key in the given map.
- readQuality(String) - Static method in class org.restlet.engine.header.PreferenceReader
-
Parses a quality value.
If the quality is invalid, an IllegalArgumentException is thrown. - readQuotedString() - Method in class org.restlet.engine.header.HeaderReader
-
Reads the next quoted string.
- readRawText() - Method in class org.restlet.engine.header.HeaderReader
-
Read the next text until a space separator is reached.
- readRawValue() - Method in class org.restlet.engine.header.HeaderReader
-
Read the next header value of a multi-value header.
- readRequestHead(InputStream) - Method in class org.restlet.engine.adapter.ServerCall
-
Reads the HTTP request head (request line and headers).
- readResponseHeaders(ClientCall, Response) - Method in class org.restlet.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.engine.header.HeaderReader
-
Reads the next token.
- readValue() - Method in class org.restlet.engine.header.CacheDirectiveReader
- readValue() - Method in class org.restlet.engine.header.ChallengeRequestReader
- readValue() - Method in class org.restlet.engine.header.ContentTypeReader
- readValue() - Method in class org.restlet.engine.header.CookieReader
- readValue() - Method in class org.restlet.engine.header.CookieSettingReader
- readValue() - Method in class org.restlet.engine.header.DimensionReader
- readValue() - Method in class org.restlet.engine.header.DispositionReader
- readValue() - Method in class org.restlet.engine.header.EncodingReader
- readValue() - Method in class org.restlet.engine.header.ExpectationReader
- readValue() - Method in class org.restlet.engine.header.HeaderReader
-
Read the next value.
- readValue() - Method in class org.restlet.engine.header.LanguageReader
- readValue() - Method in class org.restlet.engine.header.MethodReader
- readValue() - Method in class org.restlet.engine.header.PreferenceReader
-
Read the next preference.
- readValue() - Method in class org.restlet.engine.header.RecipientInfoReader
- readValue() - Method in class org.restlet.engine.header.StringReader
- readValue() - Method in class org.restlet.engine.header.TagReader
- readValue() - Method in class org.restlet.engine.header.TokenReader
- readValue() - Method in class org.restlet.engine.header.WarningReader
- readValues() - Method in class org.restlet.engine.header.HeaderReader
-
Returns a new list with all values added.
- RecipientInfoReader - Class in org.restlet.engine.header
-
Recipient info header reader.
- RecipientInfoReader(String) - Constructor for class org.restlet.engine.header.RecipientInfoReader
-
Constructor.
- RecipientInfoWriter - Class in org.restlet.engine.header
-
Recipient info header writer.
- RecipientInfoWriter() - Constructor for class org.restlet.engine.header.RecipientInfoWriter
- ReferenceUtils - Class in org.restlet.engine.util
-
Utilities related to URI references.
- register() - Static method in class org.restlet.engine.Engine
-
Registers a new Restlet Engine.
- register(boolean) - Static method in class org.restlet.engine.Engine
-
Registers a new Restlet Engine.
- registerDefaultAuthentications() - Method in class org.restlet.engine.Engine
-
Registers the default authentication helpers.
- registerDefaultConnectors() - Method in class org.restlet.engine.Engine
-
Registers the default client and server connectors.
- registerDefaultConverters() - Method in class org.restlet.engine.Engine
-
Registers the default converters.
- registerDefaultProtocols() - Method in class org.restlet.engine.Engine
-
Registers the default protocols.
- registerHelper(ClassLoader, String, List, Class) - Method in class org.restlet.engine.Engine
-
Registers a helper.
- registerHelpers(ClassLoader, URL, List<?>, Class<?>) - Method in class org.restlet.engine.Engine
-
Registers a helper.
- registerHelpers(String, List<?>, Class<?>) - Method in class org.restlet.engine.Engine
-
Registers a list of helpers.
- registerMethods() - Method in class org.restlet.engine.connector.HttpProtocolHelper
- registerMethods() - Method in class org.restlet.engine.connector.ProtocolHelper
-
Register all supported methods.
- registerMethods() - Method in class org.restlet.engine.connector.WebDavProtocolHelper
- registerUrlFactory() - Method in class org.restlet.engine.Engine
-
Registers a factory that is used by the URL class to create the
URLConnection
instances when theURL.openConnection()
orURL.openStream()
methods are invoked. - release() - Method in class org.restlet.engine.local.ZipEntryRepresentation
- release(Selector, SelectionKey) - Static method in class org.restlet.engine.io.IoUtils
-
Release the selection key, working around for bug #6403933.
- RELEASE_NUMBER - Static variable in class org.restlet.engine.Engine
-
Release number.
- reset() - Method in class org.restlet.engine.header.HeaderReader
-
Repositions this stream to the position at the time the
mark
method was last called on this input stream. - resolve(String) - Method in class org.restlet.engine.util.CallResolver
- resolve(String) - Method in class org.restlet.engine.util.MapResolver
- resolveEntity(String, String) - Method in class org.restlet.engine.util.DefaultSaxHandler
- resolveResource(String, String, String, String, String) - Method in class org.restlet.engine.util.DefaultSaxHandler
-
Allow the application to resolve external resources.
- RestletHelper<T extends org.restlet.Restlet> - Class in org.restlet.engine
-
Delegate used by API classes to get support from the implementation classes.
- RestletHelper(T) - Constructor for class org.restlet.engine.RestletHelper
-
Constructor.
- returnSelector(Selector) - Static method in class org.restlet.engine.io.SelectorFactory
-
Returns the
Selector
to the cache. - RiapClientHelper - Class in org.restlet.engine.local
-
Client connector for RIAP calls.
- RiapClientHelper(Client) - Constructor for class org.restlet.engine.local.RiapClientHelper
-
Constructor.
- RiapServerHelper - Class in org.restlet.engine.local
-
Server connector handling RIAP calls.
- RiapServerHelper(Server) - Constructor for class org.restlet.engine.local.RiapServerHelper
-
Constructor.
- RoleMapping - Class in org.restlet.engine.security
-
Mapping from an organization or a user or a group to a role.
- RoleMapping() - Constructor for class org.restlet.engine.security.RoleMapping
-
Default constructor.
- RoleMapping(Object, Role) - Constructor for class org.restlet.engine.security.RoleMapping
-
Constructor.
S
- schedule(Runnable, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- schedule(Callable<V>, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- score(Object, Variant, Resource) - Method in class org.restlet.engine.converter.ConverterHelper
-
Scores the affinity of this helper with the source class.
- score(Object, Variant, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
- score(Object, Variant, Resource) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- score(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.ConverterHelper
-
Scores the affinity of this helper with the source class.
- score(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
- score(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- score(Request, Response) - Method in class org.restlet.engine.component.ClientRoute
-
Returns the score for a given call (between 0 and 1.0).
- score(Request, Response) - Method in class org.restlet.engine.component.HostRoute
-
Returns the score for a given call (between 0 and 1.0).
- scoreAnnotation(MethodAnnotationInfo) - Method in class org.restlet.engine.application.StrictConneg
-
Scores the annotation descriptor.
- scoreCharacterSet(CharacterSet) - Method in class org.restlet.engine.application.StrictConneg
-
Scores a character set relatively to enriched client preferences.
- scoreEncodings(List<Encoding>) - Method in class org.restlet.engine.application.StrictConneg
-
Scores encodings relatively to enriched client preferences.
- scoreLanguages(List<Language>) - Method in class org.restlet.engine.application.StrictConneg
-
Scores languages relatively to enriched client preferences.
- scoreMediaType(MediaType) - Method in class org.restlet.engine.application.StrictConneg
-
Scores a media type relatively to enriched client preferences.
- scoreMetadata(List<T>, List<Preference<T>>) - Method in class org.restlet.engine.application.StrictConneg
-
Scores a list of metadata relatively to enriched client preferences.
- scoreMetadata(T, List<Preference<T>>) - Method in class org.restlet.engine.application.StrictConneg
-
Scores a metadata relatively to enriched client preferences.
- scoreVariant(Variant) - Method in class org.restlet.engine.application.Conneg
-
Scores a variant relatively to enriched client preferences.
- scoreVariant(Variant) - Method in class org.restlet.engine.application.StrictConneg
-
Scores a variant relatively to enriched client preferences.
- SelectionChannel - Interface in org.restlet.engine.io
-
NIO channel that is based on a selectable channel.
- SelectorFactory - Class in org.restlet.engine.io
-
Factory used to dispatch/share
Selector
. - SelectorFactory() - Constructor for class org.restlet.engine.io.SelectorFactory
- sendRequest(Request) - Method in class org.restlet.engine.adapter.ClientCall
-
Sends the request to the client.
- sendRequest(Request) - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
-
Sends the request to the client.
- sendRequest(Request, Response, Uniform) - Method in class org.restlet.engine.adapter.ClientCall
-
Sends the request to the client.
- sendRequest(Request, Response, Uniform) - Method in class org.restlet.engine.connector.HttpUrlConnectionCall
- sendResponse(Response) - Method in class org.restlet.engine.adapter.ServerCall
-
Sends the response back to the client.
- ServerAdapter - Class in org.restlet.engine.adapter
-
Converter of low-level HTTP server calls into high-level uniform calls.
- ServerAdapter(Context) - Constructor for class org.restlet.engine.adapter.ServerAdapter
-
Constructor.
- ServerCall - Class in org.restlet.engine.adapter
-
Abstract HTTP server connector call.
- ServerCall(String, int) - Constructor for class org.restlet.engine.adapter.ServerCall
-
Constructor.
- ServerCall(Server) - Constructor for class org.restlet.engine.adapter.ServerCall
-
Constructor.
- ServerHelper - Class in org.restlet.engine.connector
-
Server connector helper.
- ServerHelper(Server) - Constructor for class org.restlet.engine.connector.ServerHelper
-
Constructor.
- ServerRouter - Class in org.restlet.engine.component
-
Router that collects calls from all server connectors and dispatches them to the appropriate host routers.
- ServerRouter(Component) - Constructor for class org.restlet.engine.component.ServerRouter
-
Constructor.
- setAccessControlRequestHeaders(Set<String>) - Method in class org.restlet.engine.adapter.HttpRequest
- setAccessControlRequestMethod(Method) - Method in class org.restlet.engine.adapter.HttpRequest
- setAdapter(ClientAdapter) - Method in class org.restlet.engine.adapter.HttpClientHelper
-
Sets the adapter from uniform calls to HTTP calls.
- setAdapter(ServerAdapter) - Method in class org.restlet.engine.adapter.HttpServerHelper
-
Sets the adapter from HTTP calls to uniform calls.
- setAddress(InetSocketAddress) - Method in class org.restlet.engine.connector.NetServerHelper
-
Sets the socket address this server is listening to.
- setAllowAllRequestedHeaders(boolean) - Method in class org.restlet.engine.application.CorsResponseHelper
-
If true, copies the value of 'Access-Control-Request-Headers' request header into the 'Access-Control-Allow-Headers' response header.
- setAllowedCredentials(boolean) - Method in class org.restlet.engine.application.CorsFilter
-
If true, adds 'Access-Control-Allow-Credentials' header.
- setAllowedCredentials(boolean) - Method in class org.restlet.engine.application.CorsResponseHelper
-
If true, adds 'Access-Control-Allow-Credentials' header.
- setAllowedHeaders(Set<String>) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the value of the 'Access-Control-Allow-Headers' response header.
- setAllowedHeaders(Set<String>) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Sets the value of the 'Access-Control-Allow-Headers' response header.
- setAllowedOrigins(Set<String>) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the value of 'Access-Control-Allow-Origin' header.
- setAllowedOrigins(Set<String>) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Sets the value of 'Access-Control-Allow-Origin' header.
- setAllowingAllRequestedHeaders(boolean) - Method in class org.restlet.engine.application.CorsFilter
-
If true, copies the value of 'Access-Control-Request-Headers' request header into the 'Access-Control-Allow-Headers' response header.
- setChallengeResponse(ChallengeResponse) - Method in class org.restlet.engine.adapter.HttpRequest
- setChallengeScheme(ChallengeScheme) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Sets the supported challenge scheme.
- setChild(Restlet) - Method in class org.restlet.engine.util.ChildContext
-
Sets the child.
- setClassLoader(ClassLoader) - Method in class org.restlet.engine.Engine
-
Sets the engine class loader.
- setClientAddress(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the client address.
- setClientPort(int) - Method in class org.restlet.engine.adapter.Call
-
Sets the client port.
- setClientSide(boolean) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Indicates if client side authentication is supported.
- setCode(int) - Method in class org.restlet.engine.application.StatusInfo
-
Sets the code of the status.
- setComponentHelper(ComponentHelper) - Method in class org.restlet.engine.component.ComponentContext
-
Sets the component helper.
- setConfidential(boolean) - Method in class org.restlet.engine.adapter.Call
-
Indicates if the confidentiality of the call is ensured (ex: via SSL).
- setConfidential(boolean) - Method in class org.restlet.engine.connector.NetServerHelper
-
Indicates if this service is acting in HTTP or HTTPS mode.
- setContactEmail(String) - Method in class org.restlet.engine.application.StatusInfo
-
Sets the email address of the administrator to contact in case of error.
- setContext(Context) - Method in class org.restlet.engine.application.ApplicationHelper
-
Sets the context.
- setContextClassLoader(ClassLoader) - Method in class org.restlet.engine.util.ContextualRunnable
-
Sets the runnable's context class loader.
- setDate(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setDefaultAllowedMethods(Set<Method>) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the list of methods allowed by default, used when
CorsFilter.skippingResourceForCorsOptions
is turned on. - setDescription(String) - Method in class org.restlet.engine.application.StatusInfo
-
Sets the description of the status.
- setDisabledCipherSuites(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the whitespace-separated list of disabled cipher suites.
- setDisabledProtocols(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the whitespace-separated list of disabled SSL protocols.
- setEnabledCipherSuites(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the whitespace-separated list of enabled cipher suites.
- setEnabledProtocols(String[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the standard name of the protocols to use when creating the SSL sockets or engines.
- setEntity(Representation) - Method in class org.restlet.engine.adapter.HttpRequest
- setEphemeralPort(int) - Method in class org.restlet.engine.connector.ServerHelper
-
Sets the ephemeral port in the attributes map if necessary.
- setEphemeralPort(ServerSocket) - Method in class org.restlet.engine.connector.ServerHelper
-
Sets the ephemeral port in the attributes map if necessary.
- setExposedHeaders(Set<String>) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the value of 'Access-Control-Expose-Headers' response header.
- setExposedHeaders(Set<String>) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Sets the value of 'Access-Control-Expose-Headers' response header.
- setFirstChallengeParameter(boolean) - Method in class org.restlet.engine.header.ChallengeWriter
-
Indicates if the first comma-separated value is written.
- setFirstInboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Sets the first inbound filter.
- setFirstOutboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Sets the first outbound filter.
- setHelped(T) - Method in class org.restlet.engine.RestletHelper
-
Sets the helped Restlet.
- setHomeRef(String) - Method in class org.restlet.engine.application.StatusInfo
-
Sets the home URI to propose in case of error.
- setHostDomain(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the host domain name.
- setHostPort(int) - Method in class org.restlet.engine.adapter.Call
-
Sets the host port.
- setHours(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setInboundNext(Restlet) - Method in class org.restlet.engine.CompositeHelper
-
Sets the next Restlet after the inbound chain.
- setInputScore(float) - Method in class org.restlet.engine.resource.VariantInfo
-
Sets the affinity between this variant and an incoming representation.
- setKeyManagerAlgorithm(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the KeyManager algorithm.
- setKeyStoreKeyPassword(char[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the password of the key in the keystore.
- setKeyStoreKeyPassword(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the password of the key in the keystore.
- setKeyStorePassword(char[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the keystore password.
- setKeyStorePassword(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the keystore password.
- setKeyStorePath(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the path to the keystore file.
- setKeyStoreProvider(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the name of the keystore provider.
- setKeyStoreType(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the KeyStore type of the keystore.
- setLastInboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Sets the last inbound filter.
- setLastOutboundFilter(Filter) - Method in class org.restlet.engine.CompositeHelper
-
Sets the last outbound filter.
- setLogFormatter(Class<? extends Formatter>) - Static method in class org.restlet.engine.Engine
-
Sets the general log formatter.
- setLoggerFacade(LoggerFacade) - Method in class org.restlet.engine.Engine
-
Sets the logger facade to use.
- setLogLevel(Level) - Static method in class org.restlet.engine.Engine
-
Sets the general log level.
- setMaxAge(int) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the value of 'Access-Control-Max-Age' response header.
In case of negative value, the header is not set. - setMaxAge(int) - Method in class org.restlet.engine.application.CorsResponseHelper
-
Sets the value of 'Access-Control-Max-Age' response header.
In case of negative value, the header is not set. - setMethod(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the request method.
- setMinutes(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setMonth(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setNeedClientAuthentication(boolean) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Indicates if we require client certificate authentication.
- setNext(Client) - Method in class org.restlet.engine.component.ClientRoute
-
Sets the next client.
- setNext(VirtualHost) - Method in class org.restlet.engine.component.HostRoute
-
Sets the next virtual host.
- setOutboundNext(Restlet) - Method in class org.restlet.engine.CompositeHelper
-
Sets the next Restlet after the outbound chain.
- setOverwriting(boolean) - Method in class org.restlet.engine.application.StatusFilter
-
Indicates if existing representations should be overwritten.
- setProtocol(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the secure socket protocol name, "TLS" by default.
- setProtocol(Protocol) - Method in class org.restlet.engine.adapter.Call
-
Sets the exact protocol used (HTTP or HTTPS).
- setProxyChallengeResponse(ChallengeResponse) - Method in class org.restlet.engine.adapter.HttpRequest
- setRange(Range) - Method in class org.restlet.engine.application.RangeRepresentation
-
Sets the range specific to this wrapper.
- setReasonPhrase(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the reason phrase.
- setReasonPhrase(String) - Method in class org.restlet.engine.application.StatusInfo
-
Sets the short description of the status.
- setRecipientsInfo(List<RecipientInfo>) - Method in class org.restlet.engine.adapter.HttpRequest
- setRegisteredAuthenticators(List<AuthenticatorHelper>) - Method in class org.restlet.engine.Engine
-
Sets the list of available authentication helpers.
- setRegisteredClients(List<ConnectorHelper<Client>>) - Method in class org.restlet.engine.Engine
-
Sets the list of available client helpers.
- setRegisteredConverters(List<ConverterHelper>) - Method in class org.restlet.engine.Engine
-
Sets the list of available converter helpers.
- setRegisteredProtocols(List<ProtocolHelper>) - Method in class org.restlet.engine.Engine
-
Sets the list of available protocol helpers.
- setRegisteredServers(List<ConnectorHelper<Server>>) - Method in class org.restlet.engine.Engine
-
Sets the list of available server helpers.
- setRequestUri(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the full request URI.
- setRestletLogLevel(Level) - Static method in class org.restlet.engine.Engine
-
Sets the Restlet log level.
- setSeconds(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setSecureRandomAlgorithm(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the SecureRandom algorithm.
- setServerAddress(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the response address.
Corresponds to the IP address of the responding server. - setServerPort(int) - Method in class org.restlet.engine.adapter.Call
-
Sets the server port.
- setServerRouter(ServerRouter) - Method in class org.restlet.engine.component.ComponentHelper
-
Sets the internal server router.
- setServerSide(boolean) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Indicates if server side authentication is supported.
- setSkippingResourceForCorsOptions(boolean) - Method in class org.restlet.engine.application.CorsFilter
-
Sets the value of skipResourceForCorsOptions field.
- setSource(Object) - Method in class org.restlet.engine.security.RoleMapping
- setStatusCode(int) - Method in class org.restlet.engine.adapter.Call
-
Sets the status code.
- setStatusService(StatusService) - Method in class org.restlet.engine.application.StatusFilter
-
Sets the helped status service.
- setTarget(Role) - Method in class org.restlet.engine.security.RoleMapping
- setTargetUri(String) - Method in class org.restlet.engine.local.DirectoryServerResource
-
Sets the context's target URI (file, clap URI).
- setTime(long) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- setTrustManagerAlgorithm(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the TrustManager algorithm.
- setTrustStorePassword(char[]) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the password of the trust store KeyStore.
- setTrustStorePassword(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the password of the trust store KeyStore.
- setTrustStorePath(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the path to the trust store KeyStore.
- setTrustStoreProvider(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the name of the trust store provider.
- setTrustStoreType(String) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Sets the KeyStore type of the trust store.
- setUserClassLoader(ClassLoader) - Method in class org.restlet.engine.Engine
-
Sets the user class loader that should used in priority.
- setUserPrincipal(Principal) - Method in class org.restlet.engine.adapter.Call
-
Sets the user principal.
- SetUtils - Class in org.restlet.engine.util
-
Utilities for manipulation of
Set
. - SetUtils() - Constructor for class org.restlet.engine.util.SetUtils
- setVersion(String) - Method in class org.restlet.engine.adapter.Call
-
Sets the protocol version used.
- setWantClientAuthentication(boolean) - Method in class org.restlet.engine.ssl.DefaultSslContextFactory
-
Indicates if we would like client certificate authentication.
- setWarnings(List<Warning>) - Method in class org.restlet.engine.adapter.HttpRequest
- setYear(int) - Method in class org.restlet.engine.util.ImmutableDate
-
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
- shouldRequestBeChunked(Request) - Method in class org.restlet.engine.adapter.ClientCall
-
Indicates if the request entity should be chunked.
- shouldResponseBeChunked(Response) - Method in class org.restlet.engine.adapter.ServerCall
-
Indicates if the response should be chunked because its length is unknown.
- shutdown() - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- shutdownNow() - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- SimplerFormatter - Class in org.restlet.engine.log
-
Special log formatter that displays the level, the logger name and the actual message.
- SimplerFormatter() - Constructor for class org.restlet.engine.log.SimplerFormatter
- SimplestFormatter - Class in org.restlet.engine.log
-
Special log formatter that displays the actual message only.
- SimplestFormatter() - Constructor for class org.restlet.engine.log.SimplestFormatter
- skipParameterSeparator() - Method in class org.restlet.engine.header.HeaderReader
-
Skips the next parameter separator (semi-colon) including leading and trailing spaces.
- skippedEntity(String) - Method in class org.restlet.engine.util.DefaultSaxHandler
- skipSpaces() - Method in class org.restlet.engine.header.HeaderReader
-
Skips the next spaces.
- skipValueSeparator() - Method in class org.restlet.engine.header.HeaderReader
-
Skips the next value separator (comma) including leading and trailing spaces.
- SmtpPlainHelper - Class in org.restlet.engine.security
-
Implements the SMTP PLAIN authentication.
- SmtpPlainHelper() - Constructor for class org.restlet.engine.security.SmtpPlainHelper
-
Constructor.
- splitAndTrim(String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns an list of trimmed token splitted with the split character ",".
- splitAndTrim(String, String) - Static method in class org.restlet.engine.util.StringUtils
-
Returns an list of trimmed token splitted with the split character.
- SslContextFactory - Class in org.restlet.engine.ssl
-
This is an abstract factory that produces configured and initialized instances of SSLContext.
- SslContextFactory() - Constructor for class org.restlet.engine.ssl.SslContextFactory
- SslUtils - Class in org.restlet.engine.ssl
-
Various HTTPS utilities.
- start() - Method in class org.restlet.engine.application.ApplicationHelper
-
Start hook.
- start() - Method in class org.restlet.engine.component.ClientRouter
-
Starts the Restlet.
- start() - Method in class org.restlet.engine.component.ComponentHelper
- start() - Method in class org.restlet.engine.component.ServerRouter
-
Starts the Restlet.
- start() - Method in class org.restlet.engine.connector.ConnectorHelper
- start() - Method in class org.restlet.engine.connector.FtpClientHelper
- start() - Method in class org.restlet.engine.connector.HttpClientHelper
- start() - Method in class org.restlet.engine.connector.HttpServerHelper
- start() - Method in class org.restlet.engine.connector.HttpsServerHelper
-
Starts the Restlet.
- start() - Method in class org.restlet.engine.connector.NetServerHelper
- start() - Method in class org.restlet.engine.RestletHelper
-
Start callback.
- StatusFilter - Class in org.restlet.engine.application
-
Filter associating a response entity based on the status.
- StatusFilter(Context, boolean) - Constructor for class org.restlet.engine.application.StatusFilter
-
Constructor.
- StatusFilter(Context, StatusService) - Constructor for class org.restlet.engine.application.StatusFilter
-
Constructor from a status service.
- StatusInfo - Class in org.restlet.engine.application
-
Representation of a
Status
. - StatusInfo() - Constructor for class org.restlet.engine.application.StatusInfo
-
Empty Constructor
- StatusInfo(int, String, String) - Constructor for class org.restlet.engine.application.StatusInfo
-
Constructor.
- StatusInfo(int, String, String, String, String, String) - Constructor for class org.restlet.engine.application.StatusInfo
-
Constructor.
- StatusInfo(Status) - Constructor for class org.restlet.engine.application.StatusInfo
-
Constructor.
- StatusInfo(Status, String, String) - Constructor for class org.restlet.engine.application.StatusInfo
-
Constructor.
- StatusInfoHtmlConverter - Class in org.restlet.engine.converter
-
Converter for the
StatusInfo
class. - StatusInfoHtmlConverter() - Constructor for class org.restlet.engine.converter.StatusInfoHtmlConverter
- stop() - Method in class org.restlet.engine.application.ApplicationHelper
- stop() - Method in class org.restlet.engine.component.ComponentHelper
- stop() - Method in class org.restlet.engine.component.ServerRouter
- stop() - Method in class org.restlet.engine.connector.ConnectorHelper
- stop() - Method in class org.restlet.engine.connector.FtpClientHelper
- stop() - Method in class org.restlet.engine.connector.HttpClientHelper
- stop() - Method in class org.restlet.engine.connector.HttpServerHelper
- stop() - Method in class org.restlet.engine.connector.HttpsServerHelper
- stop() - Method in class org.restlet.engine.connector.NetServerHelper
- stop() - Method in class org.restlet.engine.connector.ServerHelper
- stop() - Method in class org.restlet.engine.RestletHelper
-
Stop callback.
- StrictConneg - Class in org.restlet.engine.application
-
Content negotiation algorithm that strictly interprets the content negotiation preferences.
- StrictConneg(Request, MetadataService) - Constructor for class org.restlet.engine.application.StrictConneg
-
Constructor.
- StringReader - Class in org.restlet.engine.header
-
String header reader.
- StringReader(String) - Constructor for class org.restlet.engine.header.StringReader
-
Constructor.
- StringUtils - Class in org.restlet.engine.util
-
String manipulation utilities.
- StringWriter - Class in org.restlet.engine.header
-
String header writer.
- StringWriter() - Constructor for class org.restlet.engine.header.StringWriter
- strip(String, char) - Static method in class org.restlet.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.engine.util.StringUtils
-
Strips a delimiter character from a source string.
- submit(Runnable) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- submit(Runnable, T) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- submit(Callable<T>) - Method in class org.restlet.engine.util.WrapperScheduledExecutorService
- SystemUtils - Class in org.restlet.engine.util
-
System utilities.
T
- TagReader - Class in org.restlet.engine.header
-
Tag header reader.
- TagReader(String) - Constructor for class org.restlet.engine.header.TagReader
-
Constructor.
- TagWriter - Class in org.restlet.engine.header
-
Tag header writer.
- TagWriter() - Constructor for class org.restlet.engine.header.TagWriter
- TemplateDispatcher - Class in org.restlet.engine.util
-
Filter that resolves URI templates in the target resource URI reference using the request attributes.
- TemplateDispatcher() - Constructor for class org.restlet.engine.util.TemplateDispatcher
- ThrowableAnnotationInfo - Class in org.restlet.engine.resource
-
Descriptor for status annotations.
- ThrowableAnnotationInfo(Class<?>, int, boolean) - Constructor for class org.restlet.engine.resource.ThrowableAnnotationInfo
-
Constructor.
- TIMEOUT - Static variable in class org.restlet.engine.io.SelectorFactory
-
The timeout before we exit.
- TIMEOUT_MS - Static variable in class org.restlet.engine.io.IoUtils
-
The number of milliseconds after which IO operation will time out.
- toByteArray(char[]) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a char array into a byte array using the default character set.
- toByteArray(char[], String) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a char array into a byte array using the provided character set.
- toCharArray(byte[]) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a byte array into a character array using the default character set.
- toCharArray(byte[], String) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a byte array into a character array using the default character set.
- toHexString(byte[]) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a byte array into an hexadecimal string.
- toHtml(StatusInfo) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
-
Returns a representation for the given status.
In order to customize the default representation, this method can be overridden. - TokenReader - Class in org.restlet.engine.header
-
Token header reader.
- TokenReader(String) - Constructor for class org.restlet.engine.header.TokenReader
-
Constructor.
- toObject(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.ConverterHelper
-
Converts a Representation into a regular Java object.
- toObject(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
- toObject(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- toRepresentation(Object, Variant, Resource) - Method in class org.restlet.engine.converter.ConverterHelper
-
Converts a regular Java object into a Representation.
- toRepresentation(Object, Variant, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
- toRepresentation(Object, Variant, Resource) - Method in class org.restlet.engine.converter.StatusInfoHtmlConverter
- toRequest(ServerCall) - Method in class org.restlet.engine.adapter.ServerAdapter
-
Converts a low-level HTTP call into a high-level uniform request.
- toSpecific(HttpClientHelper, Request) - Method in class org.restlet.engine.adapter.ClientAdapter
-
Converts a low-level HTTP call into a high-level uniform call.
- toString() - Method in class org.restlet.engine.header.ContentType
- toString() - Method in class org.restlet.engine.resource.AnnotationInfo
- toString() - Method in class org.restlet.engine.resource.MethodAnnotationInfo
- toString() - Method in class org.restlet.engine.resource.ThrowableAnnotationInfo
- toString() - Method in class org.restlet.engine.util.InternetDateFormat
-
Converts this InternetDateFormat object to an RFC 3339 date/time string.
- toString(long) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Converts the specified millisecond time value to an RFC 3339 date/time string using the UTC (Z) time zone.
- toString(long, TimeZone) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Converts the specified millisecond time value to an RFC 3339 date/time string using the specified time zone.
- toString(InputStream) - Static method in class org.restlet.engine.io.IoUtils
-
Converts an input stream to a string.
As this method uses the InputStreamReader class, the default character set is used for decoding the input stream. - toString(InputStream, CharacterSet) - Static method in class org.restlet.engine.io.IoUtils
-
Converts an input stream to a string using the specified character set for decoding the input stream.
- toString(Reader) - Static method in class org.restlet.engine.io.IoUtils
-
Converts a reader to a string.
- toString(Calendar) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Converts the specified Calendar object to an RFC 3339 date/time string.
- toString(Date) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Converts the specified Date object to an RFC 3339 date/time string using the UTC (Z) time zone.
- toString(Date, TimeZone) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Converts the specified Date object to an RFC 3339 date/time string using the specified time zone.
- TunnelFilter - Class in org.restlet.engine.application
-
Filter tunneling browser calls into full REST calls.
- TunnelFilter(Context) - Constructor for class org.restlet.engine.application.TunnelFilter
-
Constructor.
- TYPE_CHARACTER_SET - Static variable in class org.restlet.engine.header.PreferenceReader
- TYPE_ENCODING - Static variable in class org.restlet.engine.header.PreferenceReader
- TYPE_LANGUAGE - Static variable in class org.restlet.engine.header.PreferenceReader
- TYPE_MEDIA_TYPE - Static variable in class org.restlet.engine.header.PreferenceReader
- TYPE_PATCH - Static variable in class org.restlet.engine.header.PreferenceReader
U
- UnclosableInputStream - Class in org.restlet.engine.io
-
InputStream decorator to trap
close()
calls so that the underlying stream is not closed. - UnclosableInputStream(InputStream) - Constructor for class org.restlet.engine.io.UnclosableInputStream
-
Constructor.
- UnclosableOutputStream - Class in org.restlet.engine.io
-
OutputStream decorator to trap close() calls so that the decorated stream does not get closed.
- UnclosableOutputStream(OutputStream) - Constructor for class org.restlet.engine.io.UnclosableOutputStream
-
Constructor.
- unmodifiable(Date) - Static method in class org.restlet.engine.util.DateUtils
-
Returns an immutable version of a given date.
- unread() - Method in class org.restlet.engine.header.HeaderReader
-
Unreads the last character.
- update() - Method in class org.restlet.engine.application.ApplicationHelper
- update() - Method in class org.restlet.engine.component.ComponentHelper
-
Set the new server router that will compute the new routes when the first request will be received (automatic start).
- update() - Method in class org.restlet.engine.connector.ConnectorHelper
- update() - Method in class org.restlet.engine.RestletHelper
-
Update callback with less impact than a
RestletHelper.stop()
followed by aRestletHelper.start()
. - update(String, Representation) - Static method in class org.restlet.engine.header.RangeReader
-
Parse the Content-Range header value and update the given representation.
- update(ChallengeResponse, Request, Response) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Updates a
ChallengeResponse
object according to given request and response. - update(Reference, Request) - Static method in class org.restlet.engine.util.ReferenceUtils
-
Returns the request URI.
- updateMetadata(String, Variant, boolean, MetadataService) - Static method in class org.restlet.engine.local.Entity
-
Updates some variant metadata based on a given entry name with extensions.
- updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.engine.converter.ConverterHelper
-
Updates the preferences of the given
ClientInfo
object with conversion capabilities for the given entity class. - updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.engine.converter.DefaultConverter
- updatePreferences(List<Preference<MediaType>>, MediaType, float) - Method in class org.restlet.engine.converter.ConverterHelper
-
Updates the preferences of the given
ClientInfo
object with conversion capabilities for the given entity class. - updateReference(Reference, ChallengeResponse, Request) - Method in class org.restlet.engine.security.AuthenticatorHelper
-
Optionally updates the request with a challenge response before sending it.
- updateReference(Reference, ChallengeResponse, Request) - Static method in class org.restlet.engine.security.AuthenticatorUtils
-
Optionally updates the request with a challenge response before sending it.
- updateResponse(Response, Status, ClientCall) - Method in class org.restlet.engine.adapter.ClientAdapter
-
Updates the response with information from the lower-level HTTP client call.
- UTC - Static variable in class org.restlet.engine.util.InternetDateFormat
-
A time zone with zero offset and no DST.
V
- value() - Method in annotation type org.restlet.engine.connector.Method
-
Method name identified by the underlying annotation.
- valueOf(long) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object from the specified millisecond time value using the UTC (Z) time zone.
- valueOf(long, TimeZone) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object from the specified millisecond time value using the specified time zone.
- valueOf(String) - Static method in enum org.restlet.engine.Edition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object by parsing an RFC 3339 date/time string.
- valueOf(Date) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object from the specified Date object using the UTC (Z) time zone.
- valueOf(Date, TimeZone) - Static method in class org.restlet.engine.util.InternetDateFormat
-
Creates a new InternetDateFormat object from the specified Date object using the specified time zone.
- values() - Static method in enum org.restlet.engine.Edition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VariantInfo - Class in org.restlet.engine.resource
-
Variant that is declared by an annotated Java method.
- VariantInfo(MediaType) - Constructor for class org.restlet.engine.resource.VariantInfo
-
Constructor.
- VariantInfo(MediaType, MethodAnnotationInfo) - Constructor for class org.restlet.engine.resource.VariantInfo
-
Constructor.
- VariantInfo(Variant, MethodAnnotationInfo) - Constructor for class org.restlet.engine.resource.VariantInfo
-
Constructor.
- VERSION - Static variable in class org.restlet.engine.Engine
-
Complete version.
- VERSION_HEADER - Static variable in class org.restlet.engine.Engine
-
Complete version header.
W
- WakeupListener - Interface in org.restlet.engine.io
-
Callback interface when a NIO selection occurs on the selectable object.
- warning(SAXParseException) - Method in class org.restlet.engine.util.DefaultSaxHandler
- WarningReader - Class in org.restlet.engine.header
-
Warning header reader.
- WarningReader(String) - Constructor for class org.restlet.engine.header.WarningReader
-
Constructor.
- WarningWriter - Class in org.restlet.engine.header
-
Warning header writer.
- WarningWriter() - Constructor for class org.restlet.engine.header.WarningWriter
- WebDavProtocolHelper - Class in org.restlet.engine.connector
-
Protocol helper for the WEBDAV protocol.
- WebDavProtocolHelper() - Constructor for class org.restlet.engine.connector.WebDavProtocolHelper
- WrapperScheduledExecutorService - Class in org.restlet.engine.util
-
Wrapper of a
ScheduledExecutorService
instance, to prevent manipulation of the actual service. - WrapperScheduledExecutorService(ScheduledExecutorService) - Constructor for class org.restlet.engine.util.WrapperScheduledExecutorService
-
Constructor.
- WrapperSslContextSpi - Class in org.restlet.engine.ssl
-
Default SSL context SPI capable or setting additional properties on the created SSL engines and socket factories.
- WrapperSslContextSpi(DefaultSslContextFactory, SSLContext) - Constructor for class org.restlet.engine.ssl.WrapperSslContextSpi
-
Constructor.
- WrapperSslServerSocketFactory - Class in org.restlet.engine.ssl
-
SSL server socket factory that wraps the default one to do extra initialization.
- WrapperSslServerSocketFactory(DefaultSslContextFactory, SSLServerSocketFactory) - Constructor for class org.restlet.engine.ssl.WrapperSslServerSocketFactory
-
Constructor.
- WrapperSslSocketFactory - Class in org.restlet.engine.ssl
-
SSL socket factory that wraps the default one to do extra initialization.
- WrapperSslSocketFactory(DefaultSslContextFactory, SSLSocketFactory) - Constructor for class org.restlet.engine.ssl.WrapperSslSocketFactory
-
Constructor.
- write(byte[], int, int) - Method in class org.restlet.engine.io.NbChannelOutputStream
- write(byte[], int, int) - Method in class org.restlet.engine.io.WriterOutputStream
- write(int) - Method in class org.restlet.engine.io.NbChannelOutputStream
- write(int) - Method in class org.restlet.engine.io.WriterOutputStream
- write(OutputStream) - Method in class org.restlet.engine.application.DecodeRepresentation
-
Writes the representation to a byte stream.
- write(OutputStream) - Method in class org.restlet.engine.application.EncodeRepresentation
- write(OutputStream) - Method in class org.restlet.engine.application.RangeRepresentation
- write(OutputStream) - Method in class org.restlet.engine.local.ZipEntryRepresentation
- write(Writer) - Method in class org.restlet.engine.application.EncodeRepresentation
- write(Writer) - Method in class org.restlet.engine.application.RangeRepresentation
- write(WritableByteChannel) - Method in class org.restlet.engine.application.DecodeRepresentation
-
Writes the representation to a byte channel.
- write(WritableByteChannel) - Method in class org.restlet.engine.application.EncodeRepresentation
- write(WritableByteChannel) - Method in class org.restlet.engine.application.RangeRepresentation
- write(Collection<Dimension>) - Static method in class org.restlet.engine.header.DimensionWriter
-
Creates a vary header from the given dimensions.
- write(Date) - Static method in class org.restlet.engine.header.DateWriter
-
Writes a date header.
- write(Date, boolean) - Static method in class org.restlet.engine.header.DateWriter
-
Writes a date header.
- write(List) - Static method in class org.restlet.engine.header.PreferenceWriter
-
Writes a list of preferences with a comma separator.
- write(List<CacheDirective>) - Static method in class org.restlet.engine.header.CacheDirectiveWriter
-
Writes a list of cache directives with a comma separator.
- write(List<Cookie>) - Static method in class org.restlet.engine.header.CookieWriter
-
Writes a cookie.
- write(List<CookieSetting>) - Static method in class org.restlet.engine.header.CookieSettingWriter
-
Writes a list of cookie settings.
- write(List<Encoding>) - Static method in class org.restlet.engine.header.EncodingWriter
-
Writes a list of encodings.
- write(List<Expectation>) - Static method in class org.restlet.engine.header.ExpectationWriter
-
Writes a list of expectations with a comma separator.
- write(List<Language>) - Static method in class org.restlet.engine.header.LanguageWriter
-
Writes a list of languages.
- write(List<Product>) - Static method in class org.restlet.engine.header.ProductWriter
-
Formats the given List of Products to a String.
- write(List<Range>) - Static method in class org.restlet.engine.header.RangeWriter
-
Formats
ranges
as a Range header value - write(List<RecipientInfo>) - Static method in class org.restlet.engine.header.RecipientInfoWriter
-
Creates a via header from the given recipients info.
- write(List<Tag>) - Static method in class org.restlet.engine.header.TagWriter
-
Writes a list of tags.
- write(List<Warning>) - Static method in class org.restlet.engine.header.WarningWriter
-
Writes a warning.
- write(Set<String>) - Static method in class org.restlet.engine.header.StringWriter
-
Writes a set of values with a comma separator.
- write(Set<Method>) - Static method in class org.restlet.engine.header.MethodWriter
-
Writes a set of methods with a comma separator.
- write(Cookie) - Static method in class org.restlet.engine.header.CookieWriter
-
Writes a cookie.
- write(CookieSetting) - Static method in class org.restlet.engine.header.CookieSettingWriter
-
Writes a cookie setting.
- write(Disposition) - Static method in class org.restlet.engine.header.DispositionWriter
-
Formats a disposition.
- write(Range, long) - Static method in class org.restlet.engine.header.RangeWriter
-
Formats
range
as a Content-Range header value. - write(Tag) - Static method in class org.restlet.engine.header.TagWriter
-
Writes a tag.
- writeCRLF(OutputStream) - Static method in class org.restlet.engine.header.HeaderUtils
-
Writes a new line.
- writeHeader(MediaType, CharacterSet) - Static method in class org.restlet.engine.header.ContentType
-
Writes the HTTP "Content-Type" header.
- writeHeader(Representation) - Static method in class org.restlet.engine.header.ContentType
-
Writes the HTTP "Content-Type" header.
- writeHeaderLine(Header, OutputStream) - Static method in class org.restlet.engine.header.HeaderUtils
-
Writes a header line.
- writeResponseBody(Representation, OutputStream) - Method in class org.restlet.engine.adapter.ServerCall
-
Effectively writes the response body.
- writeResponseHead(Response) - Method in class org.restlet.engine.adapter.ServerCall
-
Writes the response status line and headers.
- writeResponseHead(Response) - Method in class org.restlet.engine.connector.HttpExchangeCall
- writeResponseHead(Response, OutputStream) - Method in class org.restlet.engine.adapter.ServerCall
-
Writes the response head to the given output stream.
- WriterOutputStream - Class in org.restlet.engine.io
-
Output stream wrapping a character writer.
- WriterOutputStream(Writer, CharacterSet) - Constructor for class org.restlet.engine.io.WriterOutputStream
-
Constructor.
Z
- ZipClientHelper - Class in org.restlet.engine.local
-
ZIP and JAR client connector.
- ZipClientHelper(Client) - Constructor for class org.restlet.engine.local.ZipClientHelper
-
Constructor.
- ZipEntryEntity - Class in org.restlet.engine.local
-
Local entity based on an entry in a Zip archive.
- ZipEntryEntity(ZipFile, String, MetadataService) - Constructor for class org.restlet.engine.local.ZipEntryEntity
-
Constructor.
- ZipEntryEntity(ZipFile, ZipEntry, MetadataService) - Constructor for class org.restlet.engine.local.ZipEntryEntity
-
Constructor.
- ZipEntryRepresentation - Class in org.restlet.engine.local
-
An entry in a Zip/JAR file.
- ZipEntryRepresentation(MediaType, ZipFile, ZipEntry) - Constructor for class org.restlet.engine.local.ZipEntryRepresentation
-
Deprecated.
- ZipEntryRepresentation(MediaType, ZipFile, ZipEntry, int) - Constructor for class org.restlet.engine.local.ZipEntryRepresentation
-
Constructor.
- zipFile - Variable in class org.restlet.engine.local.ZipEntryEntity
-
The Zip file.
- zipFile - Variable in class org.restlet.engine.local.ZipEntryRepresentation
-
The Zip file.
All Classes All Packages