A B C D E F G H I L M N O P R S T U V W Z

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.HttpInboundRequest
 
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.
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>) - Method in class org.restlet.engine.connector.OutboundWay
Adds the entity headers for the given response.
addEntityHeaders(Representation, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds the entity headers based on the Representation to the Series.
addExtensionHeaders(Series<Header>, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds extension headers if they are non-standard headers.
addGeneralHeaders(Series<Header>) - Method in class org.restlet.engine.connector.OutboundWay
Adds the general headers from the Message to the Series.
addGeneralHeaders(Message, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds the general headers from the Message to the Series.
addHeader(Request, String, String) - Static method in class org.restlet.engine.adapter.HttpRequest
Adds a new header to the given request.
addHeader(Response, String, String) - Static method in class org.restlet.engine.adapter.HttpResponse
Adds a new header to the given request.
addHeader(Request, String, String) - Static method in class org.restlet.engine.connector.HttpInboundRequest
Adds a new header to the given request.
addHeader(String, String, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds a header to the given list.
addHeaders(Series<Header>) - Method in class org.restlet.engine.connector.ClientOutboundWay
 
addHeaders(Series<Header>) - Method in class org.restlet.engine.connector.OutboundWay
Add all the headers, including the general, the message specific and the entity headers.
addHeaders(Series<Header>) - Method in class org.restlet.engine.connector.ServerOutboundWay
 
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 the Series 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.
addOutboundMessage(Response) - Method in class org.restlet.engine.connector.ConnectionHelper
Add the outbound message to the queue and wake up the IO controller.
addParameters(Series<Parameter>) - Method in class org.restlet.engine.util.FormReader
Adds the parameters into a given series.
addRequestHeaders(Series<Header>) - Method in class org.restlet.engine.connector.ClientOutboundWay
Adds the request headers.
addRequestHeaders(Request, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds the headers based on the Request to the given Series .
addResponseHeaders(HttpResponse) - Method in class org.restlet.engine.adapter.ServerAdapter
Adds the response headers for the handled uniform call.
addResponseHeaders(Series<Header>) - Method in class org.restlet.engine.connector.ServerOutboundWay
Adds the response headers.
addResponseHeaders(Response, Series<Header>) - Static method in class org.restlet.engine.header.HeaderUtils
Adds the headers based on the Response to the given Series.
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(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<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<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.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.TemplateDispatcher
If the response entity comes back with no identifier, automatically set the request's resource reference's identifier.
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
 
AnnotationInfo - Class in org.restlet.engine.resource
Descriptor for method annotations.
AnnotationInfo(Class<?>, Method, Method, String) - Constructor for class org.restlet.engine.resource.AnnotationInfo
Constructor.
AnnotationUtils - Class in org.restlet.engine.resource
Utilities to manipulate Restlet annotations.
anyNull(Object...) - Static method in class org.restlet.engine.security.AuthenticatorUtils
Indicates if any of the objects is null.
append(CacheDirective) - Method in class org.restlet.engine.header.CacheDirectiveWriter
 
append(ChallengeRequest) - Method in class org.restlet.engine.header.ChallengeWriter
 
append(CookieSetting) - Method in class org.restlet.engine.header.CookieSettingWriter
 
append(Cookie) - Method in class org.restlet.engine.header.CookieWriter
 
append(List<Cookie>) - Method in class org.restlet.engine.header.CookieWriter
Appends a list of cookies as an HTTP header.
append(Collection<Dimension>) - Method in class org.restlet.engine.header.DimensionWriter
Appends a collection of dimensions as a header.
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(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(CharSequence) - Method in class org.restlet.engine.header.HeaderWriter
 
append(Collection<V>) - Method in class org.restlet.engine.header.HeaderWriter
Appends a collection of values.
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(V) - Method in class org.restlet.engine.header.HeaderWriter
Appends a value.
append(M) - Method in class org.restlet.engine.header.MetadataWriter
 
append(Method) - Method in class org.restlet.engine.header.MethodWriter
 
append(Preference<?>) - Method in class org.restlet.engine.header.PreferenceWriter
 
append(List<Range>) - Method in class org.restlet.engine.header.RangeWriter
Format ranges as a Range header value
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
 
appendChallengeParameter(Parameter) - Method in class org.restlet.engine.header.ChallengeWriter
Appends a new challenge parameter, prefixed with a comma.
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.
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(NamedValue<String>) - Method in class org.restlet.engine.header.HeaderWriter
Formats and appends a parameter as an extension.
appendExtension(String, String) - Method in class org.restlet.engine.header.HeaderWriter
Appends 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(Parameter) - Method in class org.restlet.engine.header.ChallengeWriter
Appends a new parameter, prefixed with a comma.
appendQuotedChallengeParameter(String, String) - 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(Restlet) - Method in class org.restlet.engine.component.InternalRouter
 
attach(String, 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_CIPHER_SUITE - Static variable in class org.restlet.engine.header.HeaderConstants
Deprecated. Use ClientInfo.getCipherSuite() instead.
ATTRIBUTE_HTTPS_CLIENT_CERTIFICATES - Static variable in class org.restlet.engine.header.HeaderConstants
Deprecated. Use ClientInfo.getCertificates() instead.
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
 
await() - Method in class org.restlet.engine.connector.ServerConnectionController
Awaits for the controller to be effectively started.

B

Base64 - Class in org.restlet.engine.util
Minimal but fast Base64 codec.
Base64() - Constructor for class org.restlet.engine.util.Base64
 
BaseHelper<T extends Connector> - Class in org.restlet.engine.connector
Base connector helper.
BaseHelper(T, boolean) - Constructor for class org.restlet.engine.connector.BaseHelper
Constructor.
before(Date, Date) - Static method in class org.restlet.engine.util.DateUtils
Compares two date with a precision of one second.
beforeDrain() - Method in class org.restlet.engine.io.Buffer
Ensure that the buffer is ready to be drained, flipping it if necessary only.
beforeFill() - Method in class org.restlet.engine.io.Buffer
Ensure that the buffer is ready to be filled, flipping it if necessary only.
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.TemplateDispatcher
Handles the call after resolving any URI template on the request's target resource reference.
BioUtils - Class in org.restlet.engine.io
Basic IO manipulation utilities.
BlockableChannel - Interface in org.restlet.engine.io
NIO channel that can indicate if it is blocking or non blocking.
Buffer - Class in org.restlet.engine.io
Wrapper around a byte buffer and its state.
Buffer(ByteBuffer) - Constructor for class org.restlet.engine.io.Buffer
Constructor.
Buffer(ByteBuffer, BufferState) - Constructor for class org.restlet.engine.io.Buffer
Constructor.
Buffer(int) - Constructor for class org.restlet.engine.io.Buffer
Constructor.
Buffer(int, boolean) - Constructor for class org.restlet.engine.io.Buffer
Constructor.
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.
BufferedSelectionChannel<T extends SelectionChannel> - Class in org.restlet.engine.io
Byte channel wrapping a byte buffer.
BufferedSelectionChannel(Buffer, T, WakeupListener) - Constructor for class org.restlet.engine.io.BufferedSelectionChannel
Constructor.
BufferingRepresentation - Class in org.restlet.engine.io
Representation capable of buffering the wrapped representation.
BufferingRepresentation(Representation) - Constructor for class org.restlet.engine.io.BufferingRepresentation
Constructor.
BufferProcessor - Interface in org.restlet.engine.io
Interface called back when IO buffer draining or filling can actually be done.
BufferState - Enum in org.restlet.engine.io
Enumeration of buffer and builder states.

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(T, List<T>) - Method in class org.restlet.engine.application.FlexibleConneg
Returns true if the metadata can be added.
canAdd(Encoding, Collection<Encoding>) - Method in class org.restlet.engine.header.EncodingReader
 
canAdd(V, Collection<V>) - Method in class org.restlet.engine.header.HeaderReader
Indicates if the value can be added the the list.
canCompact() - Method in class org.restlet.engine.io.Buffer
Indicates if a compacting operation can be beneficial.
canDecode(Representation) - Method in class org.restlet.engine.application.Decoder
Indicates if a representation can be decoded.
canDrain() - Method in class org.restlet.engine.io.Buffer
Indicates if more bytes can be drained.
canEncode() - Method in class org.restlet.engine.application.EncodeRepresentation
Indicates if the encoding can happen.
canFill() - Method in class org.restlet.engine.io.Buffer
Indicates if more bytes can be filled in.
canHandle(Connection<Server>, Response) - Method in class org.restlet.engine.connector.HttpServerHelper
 
canHandle(Connection<Server>, Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
Indicates if the connection can handle the given response at this point in time.
canLoop(Buffer, Object...) - Method in class org.restlet.engine.connector.Way
Indicates if the processing loop can continue.
canLoop(Buffer, Object...) - Method in class org.restlet.engine.io.BufferedSelectionChannel
Indicates if the processing loop can continue.
canLoop(Buffer, Object...) - Method in interface org.restlet.engine.io.BufferProcessor
Indicates if the processing loop can continue.
canLoop(Buffer, Object...) - Method in class org.restlet.engine.io.NbChannelInputStream
Indicates if the processing loop can continue.
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.
capacity() - Method in class org.restlet.engine.io.Buffer
Returns the maximum capacity of this buffer.
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(Connection<?>) - Method in class org.restlet.engine.connector.ConnectionHelper
Checks in the connection back into the pool.
checkin(T) - Method in class org.restlet.engine.util.Pool
Checks in an object into the pool.
checkout(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.ConnectionHelper
Checks out a connection associated to the given socket from 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.
ChunkState - Enum in org.restlet.engine.io
Enumeration of the chunk decoding IO states.
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() - Method in class org.restlet.engine.connector.Connection
Clears the connection so it can be reused.
clear(Connection<T>) - Method in class org.restlet.engine.connector.ConnectionPool
 
clear() - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
clear() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
clear() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
clear() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
clear() - Method in class org.restlet.engine.connector.InboundWay
 
clear() - Method in class org.restlet.engine.connector.OutboundWay
 
clear() - Method in class org.restlet.engine.connector.Way
Recycles the way so it can be reused.
clear() - Static method in class org.restlet.engine.Engine
Clears the current Restlet Engine altogether.
clear() - Method in class org.restlet.engine.io.Buffer
Recycles the buffer so it can be reused.
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() - Static method in class org.restlet.engine.resource.AnnotationUtils
Clears the annotation descriptors cache.
clearLineBuilder() - Method in class org.restlet.engine.connector.Way
Clears the line builder and adjust its state.
clearLineBuilder() - Method in class org.restlet.engine.io.ReadableChunkedChannel
Clears the line builder and adjust its state.
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.
ClientConnectionHelper - Class in org.restlet.engine.connector
Base client helper based on NIO non blocking sockets.
ClientConnectionHelper(Client) - Constructor for class org.restlet.engine.connector.ClientConnectionHelper
Constructor.
ClientHelper - Class in org.restlet.engine
Client connector helper.
ClientHelper(Client) - Constructor for class org.restlet.engine.ClientHelper
Constructor.
ClientInboundWay - Class in org.restlet.engine.connector
Client-side inbound way.
ClientInboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.ClientInboundWay
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.
ClientOutboundWay - Class in org.restlet.engine.connector
Client-side outbound way.
ClientOutboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.ClientOutboundWay
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.
clientSide - Variable in class org.restlet.engine.connector.BaseHelper
Indicates if it is helping a client connector.
clone() - Method in class org.restlet.engine.util.ImmutableDate
close(boolean) - Method in class org.restlet.engine.connector.Connection
Closes the connection.
close() - Method in class org.restlet.engine.io.BufferedSelectionChannel
 
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.WrapperChannel
Delegates to the wrapped channel.
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.
commit(Response) - Method in class org.restlet.engine.connector.Connection
Asks the server connector to immediately commit the given response associated to this request, making it ready to be sent back to the client.
commit(Response) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
compact() - Method in class org.restlet.engine.io.Buffer
Compacts the bytes to be drained at the beginning of the buffer.
compare(Reference, Reference) - Method in class org.restlet.engine.util.AlphabeticalComparator
Compares two references.
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
 
complete() - Method in class org.restlet.engine.adapter.ServerCall
Complete the response
CompletionListener - Interface in org.restlet.engine.io
Listener called back upon IO completion.
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
Parser for component XML configuration.
ComponentXmlParser(Component, Representation) - Constructor for class org.restlet.engine.component.ComponentXmlParser
Constructor.
CompositeHelper<T extends 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.
configure(Socket) - Method in class org.restlet.engine.connector.ConnectionHelper
Configures a given socket based on the helper parameters.
configureLog() - Static method in class org.restlet.engine.Engine
Updates the global log configuration of the JVM programmatically.
Connection<T extends Connector> - Class in org.restlet.engine.connector
A network connection though which messages are exchanged by connectors.
Connection(ConnectionHelper<T>, SocketChannel, ConnectionController, InetSocketAddress, int, int) - Constructor for class org.restlet.engine.connector.Connection
Constructor.
ConnectionController - Class in org.restlet.engine.connector
Controls the IO work of parent connector helper and manages its connections.
ConnectionController(ConnectionHelper<?>) - Constructor for class org.restlet.engine.connector.ConnectionController
Constructor.
ConnectionHelper<T extends Connector> - Class in org.restlet.engine.connector
Connector helper using network connections.
ConnectionHelper(T, boolean) - Constructor for class org.restlet.engine.connector.ConnectionHelper
Constructor.
ConnectionPool<T extends Connector> - Class in org.restlet.engine.connector
A connection pool to prevent to recreation of heavy byte buffers.
ConnectionPool(ConnectionHelper<T>, int) - Constructor for class org.restlet.engine.connector.ConnectionPool
Constructor.
ConnectionState - Enum in org.restlet.engine.connector
Enumeration of the states of a connection.
CONNECTOR_LATCH - Static variable in class org.restlet.engine.connector.ClientConnectionHelper
 
ConnectorHelper<T extends Connector> - Class in org.restlet.engine
Base connector helper.
ConnectorHelper(T) - Constructor for class org.restlet.engine.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(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(MediaType, CharacterSet) - Constructor for class org.restlet.engine.header.ContentType
Constructor.
ContentType(Representation) - Constructor for class org.restlet.engine.header.ContentType
Constructor.
ContentType(String) - 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.
control() - Method in class org.restlet.engine.connector.BaseHelper
Controls the helper for inbound or outbound messages to handle.
controlConnection(Connection<?>) - Method in class org.restlet.engine.connector.ConnectionController
Controls a given connection for messages to read or write.
controlConnections() - Method in class org.restlet.engine.connector.ConnectionController
Controls all helper connections.
controller - Variable in class org.restlet.engine.connector.BaseHelper
The controller task.
Controller - Class in org.restlet.engine.connector
Controls the IO work of parent connector helper.
Controller(ConnectionHelper<?>) - Constructor for class org.restlet.engine.connector.Controller
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.
CookieSeries - Class in org.restlet.engine.util
Deprecated. Use Series directly
CookieSeries() - Constructor for class org.restlet.engine.util.CookieSeries
Deprecated. Constructor.
CookieSeries(List<Cookie>) - Constructor for class org.restlet.engine.util.CookieSeries
Deprecated. Constructor.
CookieSettingReader - Class in org.restlet.engine.header
Cookie setting header reader.
CookieSettingReader(String) - Constructor for class org.restlet.engine.header.CookieSettingReader
Constructor.
CookieSettingSeries - Class in org.restlet.engine.util
Deprecated. Use Series directly
CookieSettingSeries() - Constructor for class org.restlet.engine.util.CookieSettingSeries
Deprecated. Constructor.
CookieSettingSeries(List<CookieSetting>) - Constructor for class org.restlet.engine.util.CookieSettingSeries
Deprecated. 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.BioUtils
Copies an input stream to an output stream.
copy(InputStream, RandomAccessFile) - Static method in class org.restlet.engine.io.BioUtils
Copies an input stream to a random access file.
copy(Reader, Writer) - Static method in class org.restlet.engine.io.BioUtils
Copies characters from a reader to a writer.
copy(ByteBuffer, ByteBuffer, long) - Static method in class org.restlet.engine.io.NioUtils
Writes the source buffer to the target buffer, up to a maximum number of bytes.
copy(FileChannel, WritableByteChannel) - Static method in class org.restlet.engine.io.NioUtils
Writes the representation to a byte channel.
copy(ReadableByteChannel, OutputStream) - Static method in class org.restlet.engine.io.NioUtils
Writes a NIO readable channel to a BIO output stream.
copy(ReadableByteChannel, WritableByteChannel) - Static method in class org.restlet.engine.io.NioUtils
Writes a readable channel to a writable channel.
copyExtensionHeaders(Series<Header>, Response) - Static method in class org.restlet.engine.header.HeaderUtils
Copies extension headers into a response.
copyResponseTransportHeaders(Series<Header>, Response) - Method in class org.restlet.engine.connector.ClientInboundWay
Copies headers into 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.
couldDrain(Buffer, Object...) - Method in class org.restlet.engine.connector.Way
Indicates if the buffer could be drained again.
couldDrain() - Method in class org.restlet.engine.io.Buffer
Indicates if bytes could be drained by flipping the buffer.
couldDrain(Buffer, Object...) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Indicates if the buffer could be drained again.
couldDrain(Buffer, Object...) - Method in class org.restlet.engine.io.WritableBufferedChannel
Indicates if the buffer could be drained again.
couldFill(Buffer, Object...) - Method in class org.restlet.engine.connector.Way
Indicates if the buffer could be filled again.
couldFill() - Method in class org.restlet.engine.io.Buffer
Indicates if more bytes could be filled in.
couldFill(Buffer, Object...) - Method in interface org.restlet.engine.io.BufferProcessor
Indicates if the buffer could be filled again.
couldFill(Buffer, Object...) - Method in class org.restlet.engine.io.NbChannelInputStream
Indicates if the buffer could be filled again.
couldFill(Buffer, Object...) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Indicates if the buffer could be filled again.
couldFill(Buffer, Object...) - Method in class org.restlet.engine.io.WritableBufferedChannel
Indicates if the buffer could be filled again.
create(Request) - Method in class org.restlet.engine.adapter.HttpClientHelper
Creates a low-level HTTP client call from a high-level request.
create(CharSequence, CharSequence, boolean, CharacterSet) - Static method in class org.restlet.engine.util.FormUtils
Creates a parameter.
createChildContext() - Method in class org.restlet.engine.component.ComponentContext
 
createClassLoader() - Method in class org.restlet.engine.Engine
Creates a new class loader.
createConnection(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
createConnection(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.ConnectionHelper
Creates a connection associated to the given socket.
createConnection(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
createConnectionPool() - Method in class org.restlet.engine.connector.ConnectionHelper
Creates the connection pool.
createController() - Method in class org.restlet.engine.connector.BaseHelper
Creates a new controller.
createController() - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
createController() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
createControllerService() - Method in class org.restlet.engine.connector.BaseHelper
Creates the connector controller service.
createEntity(Series<Header>) - Method in class org.restlet.engine.connector.InboundWay
Returns the message entity if available.
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.
createInboundWay(Connection<T>, int) - Method in class org.restlet.engine.connector.ConnectionHelper
Creates an inbound way for the given connection.
createInboundWay(Connection<Client>, int) - Method in class org.restlet.engine.connector.HttpClientHelper
 
createInboundWay(Connection<Server>, int) - Method in class org.restlet.engine.connector.HttpServerHelper
 
createObject() - Method in class org.restlet.engine.connector.ConnectionPool
 
createObject() - Method in class org.restlet.engine.util.Pool
Creates a new reusable object.
createOutboundWay(Connection<T>, int) - Method in class org.restlet.engine.connector.ConnectionHelper
Creates an outbound way for the given connection.
createOutboundWay(Connection<Client>, int) - Method in class org.restlet.engine.connector.HttpClientHelper
 
createOutboundWay(Connection<Server>, int) - Method in class org.restlet.engine.connector.HttpServerHelper
 
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.
createReadableSelectionChannel() - Method in class org.restlet.engine.connector.Connection
Creates a new readable channel.
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).
createRequest() - Method in class org.restlet.engine.connector.BaseHelper
Creates the request object.
createRequest(Connection<Server>, String, String, String) - Method in class org.restlet.engine.connector.HttpServerHelper
 
createRequest(Connection<Server>, String, String, String) - Method in class org.restlet.engine.connector.ServerConnectionHelper
Creates a new request.
createResponse(Status) - Method in class org.restlet.engine.connector.ClientInboundWay
Creates a response object for the given status.
createResponse(Status) - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
createResponse(Request) - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
createResponse(Request) - Method in class org.restlet.engine.connector.ServerInboundWay
Creates a response object for the given request.
createRoute(String, Restlet, int) - Method in class org.restlet.engine.component.InternalRouter
 
createSelector() - Method in class org.restlet.engine.connector.ConnectionController
Creates a new NIO selector.
createServerSocketChannel() - Method in class org.restlet.engine.connector.ServerConnectionHelper
Create a server socket channel and bind it to the given address
createSocketAddress() - Method in class org.restlet.engine.connector.ServerConnectionHelper
Creates a socket address to listen on.
createSocketChannel(boolean, InetSocketAddress) - Method in class org.restlet.engine.connector.ClientConnectionHelper
Creates the socket that will be used to send the request and get the response.
createSocketChannel(boolean, String, int) - Method in class org.restlet.engine.connector.ClientConnectionHelper
Creates the socket channel that will be used to send the request and get the response.
createStatus(int) - Method in class org.restlet.engine.connector.ClientInboundWay
Returns the status corresponding to a given status code.
createStore() - Method in class org.restlet.engine.util.Pool
Creates the store of reusable objects.
createThreadWithLocalVariables(Runnable, String) - Static method in class org.restlet.engine.Engine
Creates a new standalone thread with local Restlet thread variable properly set.
createWorkerService() - Method in class org.restlet.engine.connector.BaseHelper
Creates the handler service.
createWritableSelectionChannel() - Method in class org.restlet.engine.connector.Connection
Creates a new writable channel.
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.
decode(char[]) - Static method in class org.restlet.engine.util.Base64
Decodes base64 characters into bytes.
decode(String) - Static method in class org.restlet.engine.util.Base64
Decodes a base64 string into bytes.
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 the LSResourceResolver interface.
DefaultSaxHandler() - Constructor for class org.restlet.engine.util.DefaultSaxHandler
Trivial constructor.
delete(File) - Static method in class org.restlet.engine.io.BioUtils
Deletes an individual file or an empty directory.
delete(File, boolean) - Static method in class org.restlet.engine.io.BioUtils
Deletes an individual file or a directory.
delete(File, boolean, boolean) - Static method in class org.restlet.engine.io.BioUtils
Deletes an individual file or a directory.
delete() - Method in class org.restlet.engine.local.DirectoryServerResource
 
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
 
doFinishStop() - Method in class org.restlet.engine.connector.BaseHelper
Finish stopping the helper.
doFinishStop() - Method in class org.restlet.engine.connector.ConnectionHelper
 
doGracefulStop() - Method in class org.restlet.engine.connector.BaseHelper
Do a graceful stop first.
doGracefulStop() - Method in class org.restlet.engine.connector.ConnectionHelper
 
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.
doHandleInbound(Response) - Method in class org.restlet.engine.connector.BaseHelper
Effectively handles an inbound message.
doHandleInbound(Response) - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
doHandleInbound(Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
doHandleOutbound(Response) - Method in class org.restlet.engine.connector.BaseHelper
Effectively handles an outbound message.
doHandleOutbound(Response) - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
doHandleOutbound(Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
doInit() - Method in class org.restlet.engine.connector.ConnectionController
 
doInit() - Method in class org.restlet.engine.connector.Controller
Initializes the controller before entering the control loop.
doInit() - Method in class org.restlet.engine.connector.ServerConnectionController
 
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.
doRelease() - Method in class org.restlet.engine.connector.ConnectionController
 
doRelease() - Method in class org.restlet.engine.connector.Controller
Method called-back with the controller stops running.
doRun(long) - Method in class org.restlet.engine.connector.ConnectionController
 
doRun(long) - Method in class org.restlet.engine.connector.Controller
Do the actual controller work.
drain() - Method in class org.restlet.engine.io.Buffer
Drains the next byte in the buffer and returns it as an integer.
drain(byte[], int, int) - Method in class org.restlet.engine.io.Buffer
Drains the buffer into a byte array.
drain(ByteBuffer) - Method in class org.restlet.engine.io.Buffer
Drains the byte buffer by copying as many bytes as possible to the target buffer, with no modification.
drain(ByteBuffer, long) - Method in class org.restlet.engine.io.Buffer
Drains the byte buffer by copying as many bytes as possible to the target buffer, with no modification.
drain(StringBuilder, BufferState) - Method in class org.restlet.engine.io.Buffer
Drains the buffer into a line builder (start line or header line).
drain(WritableByteChannel) - Method in class org.restlet.engine.io.Buffer
Drains the byte buffer by attempting to write as much as possible on the given channel.

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.
encode(byte[], boolean) - Static method in class org.restlet.engine.util.Base64
Encodes an entire byte array into a Base64 string, with optional newlines after every 76 characters.
encode(byte[], int, int, boolean) - Static method in class org.restlet.engine.util.Base64
Encodes specified bytes into a Base64 string, with optional newlines after every 76 characters.
encode(char[], boolean) - Static method in class org.restlet.engine.util.Base64
Encodes an entire chars array into a Base64 string, with optional newlines after every 76 characters.
encode(char[], String, boolean) - Static method in class org.restlet.engine.util.Base64
Encodes an entire chars array into a Base64 string, with optional newlines after every 76 characters.
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.
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.
EntityType - Enum in org.restlet.engine.connector
Enumeration of entity IO types.
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.header.Header
equals(Object) - Method in class org.restlet.engine.resource.AnnotationInfo
Indicates if the current variant is equal to the given variant.
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.connector.BaseHelper
Executes the next task in a separate thread provided by the worker service, only if the worker service isn't busy.
exhaust(InputStream) - Static method in class org.restlet.engine.io.BioUtils
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
 
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.
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.
fill(byte[]) - Method in class org.restlet.engine.io.Buffer
Fills the byte buffer by copying as many bytes as possible from the source buffer, with no modification.
fill(ByteBuffer) - Method in class org.restlet.engine.io.Buffer
Fills the byte buffer by copying as many bytes as possible from the source buffer, with no modification.
fill(ByteBuffer, long) - Method in class org.restlet.engine.io.Buffer
Fills the byte buffer by copying as many bytes as possible from the source buffer, with no modification.
fill(ReadableByteChannel) - Method in class org.restlet.engine.io.Buffer
Refills the byte buffer.
fill(String) - Method in class org.restlet.engine.io.Buffer
Fills the byte buffer by copying as many bytes as possible from the source string, using the default platform encoding.
fillLine() - Method in class org.restlet.engine.connector.InboundWay
Read the current message line (start line or header line).
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
 
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.
flip() - Method in class org.restlet.engine.io.Buffer
Flip from draining to filling or the other way around.
flush() - Method in class org.restlet.engine.io.WriterOutputStream
 
flushBuffer() - Method in class org.restlet.engine.connector.OutboundWay
Flush buffers onto the network.
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(Date) - Static method in class org.restlet.engine.util.DateUtils
Formats a Date in the default HTTP format (RFC 1123).
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(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(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(ChallengeWriter, ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
Formats a challenge request as raw credentials.
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.HttpBasicHelper
 
formatResponse(ChallengeWriter, ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
Formats a challenge response as raw credentials.
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.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(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.
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.
FormUtils - Class in org.restlet.engine.util
Representation of a Web form containing submitted parameters.

G

get() - Method in class org.restlet.engine.local.DirectoryServerResource
 
getActualMessage() - Method in class org.restlet.engine.connector.ClientInboundWay
 
getActualMessage() - Method in class org.restlet.engine.connector.ClientOutboundWay
 
getActualMessage() - Method in class org.restlet.engine.connector.ServerInboundWay
 
getActualMessage() - Method in class org.restlet.engine.connector.ServerOutboundWay
 
getActualMessage() - Method in class org.restlet.engine.connector.Way
Returns the actual message, request or response.
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.Connection
Returns the socket IP address.
getAnnotation(List<AnnotationInfo>, Method) - Static method in class org.restlet.engine.resource.AnnotationUtils
Returns the first annotation descriptor matching the given Java method.
getAnnotation(List<AnnotationInfo>, Method, Form, Representation, MetadataService, ConverterService) - Static method in class org.restlet.engine.resource.AnnotationUtils
Returns the first annotation descriptor matching the given Restlet method.
getAnnotationInfo() - Method in class org.restlet.engine.resource.VariantInfo
Returns the optional annotation descriptor.
getAnnotations(Class<?>) - Static method in class org.restlet.engine.resource.AnnotationUtils
Returns the annotation descriptors for the given resource class.
getAnnotations(Class<?>, Method) - Static method in class org.restlet.engine.resource.AnnotationUtils
Returns the annotation descriptors for the given resource class.
getAnnotations() - Method in class org.restlet.engine.resource.ClientInvocationHandler
Returns the annotations of the resource interface.
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.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.BioUtils
Returns the size effectively available.
getAvailableSize() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getAvailableSize() - Method in class org.restlet.engine.io.ReadableSizedChannel
Returns the remaining size that should be read from the source channel.
getAvailableSize() - Method in class org.restlet.engine.io.ReadableSizedSelectionChannel
Returns the remaining size that should be read from the source channel.
getBaseName() - Method in class org.restlet.engine.local.DirectoryServerResource
Returns the local base name of the file.
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).
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).
getBestClassName(Class<?>) - Static method in class org.restlet.engine.log.LogUtils
Return the best class name.
getBestConnection(Request) - Method in class org.restlet.engine.connector.ClientConnectionHelper
Tries to reuse an existing connection for the given request, or creates a new one.
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.
getBuffer() - Method in class org.restlet.engine.connector.Way
Returns the IO buffer.
getBuffer() - Method in class org.restlet.engine.io.BufferedSelectionChannel
Returns the source buffer.
getBuffer() - Method in class org.restlet.engine.io.BufferingRepresentation
Returns the buffered content as an array of bytes.
getBuffer() - Method in class org.restlet.engine.io.NbChannelInputStream
Returns the internal byte buffer.
getBuilderIndex() - Method in class org.restlet.engine.connector.InboundWay
Returns the line builder index.
getBytes() - Method in class org.restlet.engine.io.Buffer
Returns the byte buffer.
getCacheDirectives() - Method in class org.restlet.engine.adapter.HttpRequest
 
getCacheDirectives() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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
 
getChallengeResponse() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getChannel(InputStream) - Static method in class org.restlet.engine.io.NioUtils
Returns a readable byte channel based on a given input stream.
getChannel(OutputStream) - Static method in class org.restlet.engine.io.NioUtils
Returns a writable byte channel based on a given output stream.
getChannel(Representation) - Static method in class org.restlet.engine.io.NioUtils
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
 
getChunkState() - Method in class org.restlet.engine.io.ReadableChunkedChannel
Returns the chunk state.
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.
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.
getClientInfo() - Method in class org.restlet.engine.connector.HttpInboundRequest
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.
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.
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.
getConditions() - Method in class org.restlet.engine.connector.HttpInboundRequest
Returns the condition data applying to this call.
getConnection() - Method in class org.restlet.engine.connector.ClientInboundWay
 
getConnection() - Method in class org.restlet.engine.connector.ClientOutboundWay
 
getConnection() - Method in class org.restlet.engine.connector.HttpInboundRequest
Returns the related connection.
getConnection() - Method in interface org.restlet.engine.connector.InboundRequest
Returns the related connection.
getConnection() - Method in class org.restlet.engine.connector.ServerInboundWay
 
getConnection() - Method in class org.restlet.engine.connector.ServerOutboundWay
 
getConnection() - Method in class org.restlet.engine.connector.Way
Returns the parent connection.
getConnectionPool() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the connection pool.
getConnections() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the set of active connections.
getConnectorService() - Static method in class org.restlet.engine.ConnectorHelper
Returns the connector service associated to a request.
getContactEmail() - Method in class org.restlet.engine.application.StatusFilter
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.ConnectorHelper
Returns the helped Restlet context.
getContext() - Method in class org.restlet.engine.RestletHelper
Returns the helped Restlet context.
getController() - Method in class org.restlet.engine.connector.BaseHelper
Returns the controller task.
getController() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
getControllerSleepTimeMs() - Method in class org.restlet.engine.connector.BaseHelper
Returns the time for the controller thread to sleep between each control.
getCookies() - Method in class org.restlet.engine.adapter.HttpRequest
Returns the cookies provided by the client.
getCookies() - Method in class org.restlet.engine.connector.HttpInboundRequest
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.
getDate() - Method in class org.restlet.engine.util.InternetDateFormat
Gets the value of this InternetDateFormat object as a Date object.
getDefaultLanguage() - Method in class org.restlet.engine.local.LocalClientHelper
Returns the default language.
getDefaultRepresentation(Status, Request, Response) - Method in class org.restlet.engine.application.StatusFilter
Returns a representation for the given status.
In order to customize the default representation, this method can be overridden.
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).
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
 
getEntityChannel() - Method in class org.restlet.engine.connector.OutboundWay
Returns the entity as a NIO readable byte channel.
getEntityChannelType() - Method in class org.restlet.engine.connector.OutboundWay
Returns the type of the entity channel.
getEntityFileChannel() - Method in class org.restlet.engine.connector.OutboundWay
Returns the entity as a NIO file channel.
getEntityInterestOps() - Method in class org.restlet.engine.connector.OutboundWay
Registers interest of this way for socket NIO operations.
getEntityRegistration() - Method in class org.restlet.engine.connector.InboundWay
Returns the NIO selection registration of the entity.
getEntitySelectableChannel() - Method in class org.restlet.engine.connector.OutboundWay
Returns the entity as a NIO non-blocking selectable channel.
getEntitySelectionKey() - Method in class org.restlet.engine.connector.OutboundWay
Returns the entity's NIO selection key holding the link between the entity to be written and the way.
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.
getExtensions() - Method in class org.restlet.engine.local.Entity
Returns the list of known extensions.
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(Representation, String) - Static method in class org.restlet.engine.util.FormUtils
Reads the first parameter with the given name.
getFirstParameter(String, String, CharacterSet, char, boolean) - 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
 
getHeaderIndex() - Method in class org.restlet.engine.connector.OutboundWay
Returns the header index.
getHeaders() - Method in class org.restlet.engine.adapter.HttpRequest
Returns the HTTP headers.
getHeaders() - Method in class org.restlet.engine.adapter.HttpResponse
Returns the HTTP headers.
getHeaders() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
getHeaders() - Method in interface org.restlet.engine.connector.InboundRequest
Returns the headers.
getHeaders() - Method in class org.restlet.engine.connector.Way
Returns the response headers.
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.ClientInboundWay
 
getHelper() - Method in class org.restlet.engine.connector.Connection
Returns the parent connector helper.
getHelper() - Method in class org.restlet.engine.connector.Controller
Returns the parent connector helper.
getHelper() - Method in class org.restlet.engine.connector.ServerConnectionController
Returns the parent server helper.
getHelper() - Method in class org.restlet.engine.connector.ServerInboundWay
 
getHelper() - Method in class org.restlet.engine.connector.Way
Returns the parent connector helper.
getHomeRef() - Method in class org.restlet.engine.application.StatusFilter
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.
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.
getInboundBufferSize() - Method in class org.restlet.engine.connector.BaseHelper
Returns the size of the content buffer for receiving messages.
getInboundBufferSize() - Method in class org.restlet.engine.connector.Connection
Returns the size of the content buffer for receiving messages.
getInboundMessages() - Method in class org.restlet.engine.connector.BaseHelper
Returns the queue of inbound messages pending for handling.
getInboundNext() - Method in class org.restlet.engine.CompositeHelper
Returns the next Restlet in the inbound chain.
getInboundWay() - Method in class org.restlet.engine.connector.Connection
Returns the inbound way.
getInitialConnections() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the initial number of connections pre-created in the connections pool.
getInput() - Method in class org.restlet.engine.resource.AnnotationInfo
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.
getInterestOperations() - Method in class org.restlet.engine.connector.ClientInboundWay
 
getInterestOperations() - Method in class org.restlet.engine.connector.InboundWay
 
getInterestOperations() - Method in class org.restlet.engine.connector.OutboundWay
 
getInterestOperations() - Method in class org.restlet.engine.connector.Way
Returns the operations of interest.
getIoState() - Method in class org.restlet.engine.connector.Way
Returns the IO state.
getJavaInputTypes() - Method in class org.restlet.engine.resource.AnnotationInfo
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.AnnotationInfo
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.
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.
getLastActivity() - Method in class org.restlet.engine.connector.Connection
Returns the timestamp of the last IO activity.
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.
getLineBuilder() - Method in class org.restlet.engine.connector.Way
Returns the line builder.
getLineBuilder() - Method in class org.restlet.engine.io.ReadableChunkedChannel
Returns the line builder to parse chunk size or trailer.
getLineBuilderState() - Method in class org.restlet.engine.connector.Way
Returns the line builder state.
getLineBuilderState() - Method in class org.restlet.engine.io.ReadableChunkedChannel
Returns the line builder state.
getLoadScore() - Method in class org.restlet.engine.connector.Connection
Returns a score representing the connection load and that could be compared with other connections of the same parent connector.
getLoadScore() - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
getLoadScore() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
getLoadScore() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
getLoadScore() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
getLoadScore() - Method in class org.restlet.engine.connector.Way
Returns a score representing the way load and that could be compared with other ways of the same parent connection.
getLocalAddress() - Static method in class org.restlet.engine.adapter.ClientCall
Returns the local IP address or 127.0.0.1 if the resolution fails.
getLock() - Method in class org.restlet.engine.io.Buffer
Returns the lock on which multiple thread can synchronize to ensure safe access to the underlying byte buffer which isn't thread safe.
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.connector.Connection
Returns the logger.
getLogger() - Method in class org.restlet.engine.connector.Way
Returns the 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<?>, String) - Static method in class org.restlet.engine.Engine
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(String) - Static method in class org.restlet.engine.Engine
Returns a logger based on the given logger name.
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) - Method in class org.restlet.engine.log.LoggerFacade
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) - Method in class org.restlet.engine.log.LoggerFacade
Returns a logger based on the given logger name.
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.
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.
getLowThreads() - Method in class org.restlet.engine.connector.BaseHelper
Returns the number of threads for the overload state.
getMaxConnectionsPerHost() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the maximum concurrent connections per host (IP address).
getMaxIoIdleTimeMs() - Method in class org.restlet.engine.connector.BaseHelper
Returns the time for an idle IO connection or request to wait for an operation before being closed.
getMaxIoIdleTimeMs() - Method in class org.restlet.engine.connector.Connection
Returns the time for an idle IO connection to wait for an operation before being closed.
getMaxQueued() - Method in class org.restlet.engine.connector.BaseHelper
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.BaseHelper
Returns the time for an idle thread to wait for an operation before being collected.
getMaxThreads() - Method in class org.restlet.engine.connector.BaseHelper
Returns the maximum threads that will service requests.
getMaxTotalConnections() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the maximum number of concurrent connections allowed.
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.
getMessage() - Method in class org.restlet.engine.connector.Way
Returns the current message processed.
getMessages() - Method in class org.restlet.engine.connector.HttpClientInboundWay
Returns the queue of messages.
getMessages() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
Returns the queue of messages.
getMessages() - Method in class org.restlet.engine.connector.HttpServerInboundWay
Returns the queue of messages.
getMessages() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
Returns the queue of messages.
getMessageState() - Method in class org.restlet.engine.connector.Way
Returns the message state.
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.
getMinThreads() - Method in class org.restlet.engine.connector.BaseHelper
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.header.Header
Returns the 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
 
getNewRegistrations() - Method in class org.restlet.engine.connector.ConnectionController
Returns the queue of new selection registrations.
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
 
getOutboundBufferSize() - Method in class org.restlet.engine.connector.BaseHelper
Returns the size of the content buffer for sending responses.
getOutboundBufferSize() - Method in class org.restlet.engine.connector.Connection
Returns the size of the content buffer for sending responses.
getOutboundMessages() - Method in class org.restlet.engine.connector.BaseHelper
Returns the queue of outbound messages pending for handling.
getOutboundNext() - Method in class org.restlet.engine.CompositeHelper
Returns the next Restlet in the outbound chain.
getOutboundWay() - Method in class org.restlet.engine.connector.Connection
Returns the outbound way.
getOutput() - Method in class org.restlet.engine.resource.AnnotationInfo
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(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.
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.
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.
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.
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.
getPort() - Method in class org.restlet.engine.connector.Connection
Returns the socket port.
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).
getProtocols() - Method in class org.restlet.engine.ConnectorHelper
Returns the protocols simultaneously supported.
getProxyChallengeResponse() - Method in class org.restlet.engine.adapter.HttpRequest
 
getProxyChallengeResponse() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
getProxyHost() - Method in class org.restlet.engine.connector.ClientConnectionHelper
Returns the host name of the HTTP proxy, if specified.
getProxyPort() - Method in class org.restlet.engine.connector.ClientConnectionHelper
Returns the port of the HTTP proxy, if specified, 3128 otherwise.
getQuery() - Method in class org.restlet.engine.resource.AnnotationInfo
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
 
getRanges() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
getRangeService() - Method in class org.restlet.engine.application.RangeFilter
Returns the Range service of the parent application.
getReadableSelectionChannel() - Method in class org.restlet.engine.connector.Connection
Returns the underlying socket channel as a readable selection channel.
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.BioUtils
Returns a reader from an input stream and a character set.
getReader(WriterRepresentation) - Static method in class org.restlet.engine.io.BioUtils
Returns a reader from a writer representation.Internally, it uses a writer thread and a pipe stream.
getReader() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getReasonPhrase() - Method in class org.restlet.engine.adapter.Call
Returns the reason phrase.
getRecipientsInfo() - Method in class org.restlet.engine.adapter.HttpRequest
 
getRecipientsInfo() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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.
getReferrerRef() - Method in class org.restlet.engine.connector.HttpInboundRequest
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 class org.restlet.engine.connector.Connection
Returns the socket's NIO registration holding the link between the SocketChannel and the Connection.
getRegistration() - Method in class org.restlet.engine.connector.Way
Returns the socket's NIO registration holding the link between the channel and the connection.
getRegistration() - Method in interface org.restlet.engine.io.SelectionChannel
Returns the NIO registration.
getRegistration() - Method in class org.restlet.engine.io.WrapperSelectionChannel
Returns the NIO registration.
getRegistration() - Method in class org.restlet.engine.io.WrapperSocketChannel
Returns the NIO registration.
getRemainingChunkSize() - Method in class org.restlet.engine.io.ReadableChunkedChannel
Returns the remaining chunk size that should be read from the source channel.
getRepresentation(InputStream) - Method in class org.restlet.engine.adapter.Call
Returns the representation wrapping the given stream.
getRepresentation(ReadableByteChannel) - Method in class org.restlet.engine.adapter.Call
Returns the representation wrapping the given channel.
getRepresentation(Status, Request, Response) - Method in class org.restlet.engine.application.StatusFilter
Returns a representation for the given status.
In order to customize the default representation, this method can be overridden.
getRepresentation(String, MediaType) - Method in class org.restlet.engine.local.DirectoryServerResource
Returns a representation of the resource at the target URI.
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(Response) - Method in class org.restlet.engine.connector.BaseHelper
Returns the parent request of this response.
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.
getRequestEntityStream() - Method in class org.restlet.engine.adapter.ClientCall
Returns the request entity stream if it exists.
getRequestEntityStream(long) - Method in class org.restlet.engine.adapter.ServerCall
Returns the request entity stream if it exists.
getRequestHeaders() - Method in class org.restlet.engine.adapter.Call
Returns the modifiable list of request headers.
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.
getRequestUri() - Method in class org.restlet.engine.adapter.Call
Returns the URI on the request line (most like a relative reference, but not necessarily).
getRequestVariants(MetadataService, ConverterService) - Method in class org.restlet.engine.resource.AnnotationInfo
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.
getResourceClass() - Method in class org.restlet.engine.resource.AnnotationInfo
Returns the resource interface value.
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.
getResponseEntityStream(long) - Method in class org.restlet.engine.adapter.ClientCall
Returns the response entity stream if it exists.
getResponseEntityStream() - Method in class org.restlet.engine.adapter.ServerCall
Returns the response entity stream if it exists.
getResponseHeaders() - Method in class org.restlet.engine.adapter.Call
Returns the modifiable list of server headers.
getResponseVariants(MetadataService, ConverterService) - Method in class org.restlet.engine.resource.AnnotationInfo
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.AnnotationInfo
Returns the matching Restlet method.
getSelector() - Method in class org.restlet.engine.connector.ConnectionController
Returns the NIO selector.
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.
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.
getServerSocketChannel() - Method in class org.restlet.engine.connector.ServerConnectionHelper
Returns the server socket channel.
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.
getSize() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getSocket() - Method in class org.restlet.engine.connector.Connection
Returns the underlying socket.
getSocketAddress(Request) - Method in class org.restlet.engine.connector.ClientConnectionHelper
Returns an IP socket address representing the target host domain and port for a given request.
getSocketAddress() - Method in class org.restlet.engine.connector.Connection
Returns the socket address.
getSocketChannel() - Method in class org.restlet.engine.connector.Connection
Returns the underlying NIO socket channel.
getSocketConnectTimeoutMs() - Method in class org.restlet.engine.ClientHelper
Returns the connection timeout.
getSocketConnectTimeoutMs() - Method in class org.restlet.engine.connector.ClientConnectionHelper
Returns the socket connection timeout.
getSocketLingerTimeMs() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the time to block when a socket close is requested or -1 to not block at all.
getSocketReceiveBufferSize() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the hinted size of the underlying TCP buffers used by the platform for inbound network I/O.
getSocketSendBufferSize() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the hinted size of the underlying TCP buffers used by the platform for outbound network I/O.
getSocketTrafficClass() - Method in class org.restlet.engine.connector.ConnectionHelper
Returns the type of service to set in IP packets.
getSource() - Method in class org.restlet.engine.security.RoleMapping
 
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).
getState() - Method in class org.restlet.engine.connector.Connection
Returns the state of the connection.
getState() - Method in class org.restlet.engine.io.Buffer
Returns the byte buffer IO state.
getStatus(Throwable, Request, Response) - Method in class org.restlet.engine.application.StatusFilter
Returns a status for a given exception or error.
getStatusCode() - Method in class org.restlet.engine.adapter.Call
Returns the status code.
getStatusInfo(Status) - Method in class org.restlet.engine.application.StatusFilter
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(Writer, CharacterSet) - Static method in class org.restlet.engine.io.BioUtils
Returns an output stream based on a given writer.
getStream(Reader, CharacterSet) - Static method in class org.restlet.engine.io.BioUtils
Returns an input stream based on a given character reader.
getStream(Representation) - Static method in class org.restlet.engine.io.BioUtils
Returns an input stream based on the given representation's content and its write(OutputStream) method.
getStream() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getStream(ReadableByteChannel) - Static method in class org.restlet.engine.io.NioUtils
Returns an input stream based on a given readable byte channel.
getStream(WritableByteChannel) - Static method in class org.restlet.engine.io.NioUtils
Returns an output stream based on a given writable byte channel.
getStream() - Method in class org.restlet.engine.local.ZipEntryRepresentation
 
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.BioUtils
Converts the representation to a string value.
getText() - Method in class org.restlet.engine.io.BufferingRepresentation
 
getThrottleTimeMs() - Method in class org.restlet.engine.connector.BaseHelper
Returns the time to wait between socket write operations in milliseconds.
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).
getTraceStream() - Method in class org.restlet.engine.connector.BaseHelper
Returns the trace output stream to use if tracing is enabled.
getTraceStream() - Method in class org.restlet.engine.io.TraceChannel
Returns the trace output stream to use if tracing is enabled.
getTransport() - Method in class org.restlet.engine.connector.BaseHelper
Returns the transport protocol.
getTunnelService() - Method in class org.restlet.engine.application.TunnelFilter
Returns the tunnel service of the parent application.
getUpdatedRegistrations() - Method in class org.restlet.engine.connector.ConnectionController
Returns the queue of updated selection registrations.
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.
getUserPrincipal() - Method in class org.restlet.engine.connector.HttpInboundRequest
Returns the associated user principal.
getValue() - Method in class org.restlet.engine.header.Header
Returns the value.
getVariant() - Method in class org.restlet.engine.local.Entity
Returns a variant corresponding to the extensions of this entity.
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<?>, 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(Class<?>) - Method in class org.restlet.engine.converter.DefaultConverter
 
getVariants() - Method in class org.restlet.engine.local.DirectoryServerResource
 
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.
getVersion(Request) - Static method in class org.restlet.engine.connector.OutboundWay
Returns the protocol version.
getVirtualHost() - Method in class org.restlet.engine.component.HostRoute
Returns the target virtual host.
getWarnings() - Method in class org.restlet.engine.adapter.HttpRequest
 
getWarnings() - Method in class org.restlet.engine.connector.HttpInboundRequest
 
getWorkerService() - Method in class org.restlet.engine.connector.BaseHelper
Returns the connection handler service.
getWorkerService() - Method in class org.restlet.engine.connector.Controller
Returns the helper's worker service.
getWrappedChannel() - Method in class org.restlet.engine.io.WrapperChannel
Returns the wrapped channel.
getWritableSelectionChannel() - Method in class org.restlet.engine.connector.Connection
Returns the underlying socket channel as a writable selection channel.
getWriter(OutputStream, CharacterSet) - Static method in class org.restlet.engine.io.BioUtils
Returns a writer to the given output stream, using the given character set for encoding to bytes.

H

handle(Request, Response) - Method in class org.restlet.engine.adapter.HttpClientHelper
 
handle(ServerCall) - Method in class org.restlet.engine.adapter.HttpServerHelper
Handles the connector call.
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.ClientConnectionHelper
 
handle(Response) - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
handle(Response) - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
handle(Response) - Method in class org.restlet.engine.connector.OutboundWay
Add a message to the outbound way.
handle(Request, Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
Handles a call by invoking the helped Server's Server.handle(Request, Response) method.
handle() - Method in class org.restlet.engine.local.DirectoryServerResource
 
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.
handle(Request, Response) - Method in class org.restlet.engine.ServerHelper
Handles a call by invoking the helped Server's Server.handle(Request, Response) method.
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.
handleInbound(Response) - Method in class org.restlet.engine.connector.BaseHelper
Handle the given inbound message.
handleInbound(Response, boolean) - Method in class org.restlet.engine.connector.BaseHelper
Handle the given inbound message.
handleInbound(Response) - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
handleInbound(Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
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.
handleOutbound(Response) - Method in class org.restlet.engine.connector.BaseHelper
Handle the given outbound message.
handleOutbound(Response, boolean) - Method in class org.restlet.engine.connector.BaseHelper
Handle the given outbound message.
handleOutbound(Response) - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
handleOutbound(Response) - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
handlePut(Request, Response, File, String) - Method in class org.restlet.engine.local.ZipClientHelper
Handles a PUT call.
hashCode() - Method in class org.restlet.engine.header.Header
hashCode(Object...) - Static method in class org.restlet.engine.util.SystemUtils
Computes the hash code of a set of objects.
hasIoInterest() - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
hasIoInterest() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
hasIoInterest() - Method in class org.restlet.engine.connector.OutboundWay
 
hasIoInterest() - Method in class org.restlet.engine.connector.ServerInboundWay
 
hasIoInterest() - Method in class org.restlet.engine.connector.Way
Indicates if we want to be selected for IO processing when the socket related socket is prepared.
hasRemaining() - Method in class org.restlet.engine.io.Buffer
Indicates if the buffer has remaining bytes to be read or written.
hasTimedOut() - Method in class org.restlet.engine.connector.Connection
Indicates if the connection has timed out.
hasWorkerThreads() - Method in class org.restlet.engine.connector.BaseHelper
Indicates if the worker service (pool of worker threads) is enabled.
Header - Class in org.restlet.engine.header
Represents an HTTP header.
Header() - Constructor for class org.restlet.engine.header.Header
Default constructor.
Header(String, String) - Constructor for class org.restlet.engine.header.Header
Constructor.
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_RANGES - 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_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_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 - Variable in class org.restlet.engine.connector.Controller
The parent connector helper.
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(Client) - Constructor for class org.restlet.engine.adapter.HttpClientHelper
Constructor.
HttpClientHelper - Class in org.restlet.engine.connector
HTTP client helper based on NIO blocking sockets.
HttpClientHelper(Client) - Constructor for class org.restlet.engine.connector.HttpClientHelper
Constructor.
HttpClientInboundWay - Class in org.restlet.engine.connector
HTTP client inbound way.
HttpClientInboundWay(Connection<Client>, int) - Constructor for class org.restlet.engine.connector.HttpClientInboundWay
Constructor.
HttpClientOutboundWay - Class in org.restlet.engine.connector
HTTP client outbound way.
HttpClientOutboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.HttpClientOutboundWay
Constructor.
HttpInboundRequest - Class in org.restlet.engine.connector
Request wrapper for server HTTP calls.
HttpInboundRequest(Context, Connection<Server>, String, String, String) - Constructor for class org.restlet.engine.connector.HttpInboundRequest
Constructor.
HttpInboundRequest(HttpInboundRequest) - Constructor for class org.restlet.engine.connector.HttpInboundRequest
Copy constructor.
HttpProtocolHelper - Class in org.restlet.engine
Protocol helper for the HTTP protocol.
HttpProtocolHelper() - Constructor for class org.restlet.engine.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() - Constructor for class org.restlet.engine.adapter.HttpServerHelper
Default constructor.
HttpServerHelper(Server) - Constructor for class org.restlet.engine.adapter.HttpServerHelper
Constructor.
HttpServerHelper - Class in org.restlet.engine.connector
HTTP server helper based on NIO blocking sockets.
HttpServerHelper(Server) - Constructor for class org.restlet.engine.connector.HttpServerHelper
Constructor.
HttpServerHelper(Server, Protocol) - Constructor for class org.restlet.engine.connector.HttpServerHelper
Constructor.
HttpServerInboundWay - Class in org.restlet.engine.connector
HTTP server inbound way.
HttpServerInboundWay(Connection<Server>, int) - Constructor for class org.restlet.engine.connector.HttpServerInboundWay
Constructor.
HttpServerOutboundWay - Class in org.restlet.engine.connector
HTTP server outbound way.
HttpServerOutboundWay(Connection<Server>, int) - Constructor for class org.restlet.engine.connector.HttpServerOutboundWay
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.
inboundMessages - Variable in class org.restlet.engine.connector.BaseHelper
The queue of inbound messages.
InboundRequest - Interface in org.restlet.engine.connector
Marker interface for inbound requests.
InboundWay - Class in org.restlet.engine.connector
A network connection way though which messages are received.
InboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.InboundWay
Constructor.
init(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.Connection
Initializes the connection and associates it to the given socket.
init() - Method in class org.restlet.engine.log.AccessLogFileHandler
Initialization code common to all constructors.
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(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(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(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.
IoState - Enum in org.restlet.engine.io
Enumeration of the connection IO states.
IoUtils - Class in org.restlet.engine.io
IO manipulation utilities.
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.
isAvailable() - Method in class org.restlet.engine.connector.Connection
Indicates if the connection is available to handle new messages.
isAvailable() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
isAvailable() - Method in class org.restlet.engine.connector.Way
Indicates if the way is available to handle new messages.
isAvailable() - Method in class org.restlet.engine.io.BufferingRepresentation
 
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.NioUtils
Indicates if the channel is in blocking mode.
isBlocking() - Method in class org.restlet.engine.io.WrapperSelectionChannel
Indicates if the wrapped channel is blocking.
isBlocking() - Method in class org.restlet.engine.io.WrapperSocketChannel
Indicates if the channel is blocking.
isBroken(Throwable) - Static method in class org.restlet.engine.adapter.Call
Returns true if the given exception is caused by a broken connection.
isBuffered() - Method in class org.restlet.engine.io.BufferingRepresentation
Indicates if the wrapped entity has been already buffered.
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.connector.BaseHelper
Indicates if it is helping a client connector.
isClientSide() - Method in class org.restlet.engine.connector.Connection
Indicates if it is a client-side connection.
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.AnnotationInfo
Indicates if the annotated method described is compatible with the given parameters.
isCompatibleRequestEntity(Representation, MetadataService, ConverterService) - Method in class org.restlet.engine.resource.AnnotationInfo
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).
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.
isControllerDaemon() - Method in class org.restlet.engine.connector.BaseHelper
Indicates if the controller thread should be a daemon (not blocking JVM exit).
isControllerDaemon() - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
isControllerDaemon() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
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).
isDirectBuffers() - Method in class org.restlet.engine.connector.BaseHelper
Indicates if direct NIO buffers should be used.
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.
isDraining() - Method in class org.restlet.engine.io.Buffer
Indicates if the buffer state has the BufferState.DRAINING value.
isEmpty() - Method in class org.restlet.engine.connector.Connection
Indicates if the connection is empty of messages and bytes.
isEmpty() - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
isEmpty() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
isEmpty() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
isEmpty() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
isEmpty() - Method in class org.restlet.engine.connector.Way
Indicates if the way is empty.
isEmpty() - Method in class org.restlet.engine.io.Buffer
Indicates if the buffer is empty in either filling or draining state.
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.
isEndDetected() - Method in class org.restlet.engine.io.ReadableSizedChannel
Indicates if the end of the channel has been detected.
isEndReached() - Method in class org.restlet.engine.io.ReadableBufferedChannel
Indicates if the end of the channel has been reached.
isFileTarget() - Method in class org.restlet.engine.local.DirectoryServerResource
Indicates if the target resource is a file.
isFilling() - Method in class org.restlet.engine.io.Buffer
Indicates if the buffer state has the BufferState.FILLING value.
isFirstChallengeParameter() - Method in class org.restlet.engine.header.ChallengeWriter
Indicates if the first comma-separated value is written.
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.
isLineReadable() - Method in class org.restlet.engine.connector.InboundWay
Indicates if the next message line is readable.
isLowerCase(int) - Static method in class org.restlet.engine.header.HeaderUtils
Indicates if the given character is lower case (a-z).
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.
isOpen() - Method in class org.restlet.engine.io.InputStreamChannel
Indicates if the channel and its underlying stream are open.
isOpen() - Method in class org.restlet.engine.io.WrapperChannel
Delegates to the wrapped channel.
isOverloaded() - Method in class org.restlet.engine.connector.Controller
Indicates if the controller is overloaded.
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.
isPersistent() - Method in class org.restlet.engine.connector.Connection
Indicates if the connection should be persisted across calls.
isPersistingConnections() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if persistent connections should be used if possible.
isPipelining() - Method in class org.restlet.engine.connector.Connection
Indicates if idempotent sequences of requests can be pipelined.
isPipeliningConnections() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if pipelining connections are supported.
isPooledConnection() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if the connection objects should be pooled to save instantiation time.
isProxying() - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
isProxying() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if the helper is going through a client proxy or is a server proxy.
isProxying() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
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.
isReady() - Method in class org.restlet.engine.connector.Connection
Indicates if at least one way is in the IoState.READY state.
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.
isReuseAddress() - Method in class org.restlet.engine.connector.ServerConnectionHelper
Indicates if the controller thread should be a daemon (not blocking JVM exit).
isRunning() - Method in class org.restlet.engine.connector.Controller
Indicates if the task is running.
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.
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.connector.BaseHelper
Indicates if it is helping a server connector.
isServerSide() - Method in class org.restlet.engine.connector.Connection
Indicates if it is a server-side connection.
isServerSide() - Method in class org.restlet.engine.security.AuthenticatorHelper
Indicates if server side authentication is supported.
isSocketKeepAlive() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if a TCP connection should be automatically kept alive after 2 hours of inactivity.
isSocketNoDelay() - Method in class org.restlet.engine.connector.ConnectionHelper
Enables Nagle's algorithm if set to false, preventing sending of small TCP packets.
isSocketOobInline() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if urgent TCP data received on the socket will be received through the socket input stream.
isSocketReuseAddress() - Method in class org.restlet.engine.connector.ConnectionHelper
Indicates if sockets can be reused right away even if they are busy (in TIME_WAIT or 2MSL wait state).
isSpace(int) - Static method in class org.restlet.engine.header.HeaderUtils
Indicates if the given character is a space.
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).
isTracing() - Method in class org.restlet.engine.connector.BaseHelper
Indicates if console tracing is enabled.
isUpperCase(int) - Static method in class org.restlet.engine.header.HeaderUtils
Indicates if the given character is upper case (A-Z).
isValidQuality(float) - Static method in class org.restlet.engine.header.PreferenceWriter
Indicates if the quality value is valid.
isWindows() - Static method in class org.restlet.engine.util.SystemUtils
Indicates if the current operating system is in the Windows family.
isWorkerServiceOverloaded() - Method in class org.restlet.engine.connector.BaseHelper
Indicates if the worker service is busy.

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.
MessageState - Enum in org.restlet.engine.connector
Enumeration of the states of the HTTP reading or writing.
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 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
Meta annotation to declare method annotations.
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.
newThread(Runnable) - Method in class org.restlet.engine.log.LoggingThreadFactory
Creates a new thread.
NioUtils - Class in org.restlet.engine.io
Utility methods for NIO processing.
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.

O

onActivity() - Method in class org.restlet.engine.connector.Connection
Notifies the connection that a new activity has been detected and that it should be kept alive.
onClosed() - Method in class org.restlet.engine.connector.Way
Callback method invoked when the parent connection is ready to be closed.
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.connector.InboundWay
 
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.connector.OutboundWay
 
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.connector.Way
Drains the byte buffer by writing available bytes to the socket channel.
onDrain(Buffer, int, Object...) - Method in interface org.restlet.engine.io.BufferProcessor
Drains the byte buffer.
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.io.NbChannelInputStream
Drains the byte buffer by returning available bytes as InputStream bytes.
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Drains the byte buffer.
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.io.ReadableChunkedChannel
Drains the byte buffer.
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.io.ReadableSizedSelectionChannel
 
onDrain(Buffer, int, Object...) - Method in class org.restlet.engine.io.WritableBufferedChannel
Drains the byte buffer.
onError(String, Throwable, Status) - Method in class org.restlet.engine.connector.Connection
Called on error.
onError(Status) - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.InboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.OutboundWay
 
onError(Status) - Method in class org.restlet.engine.connector.Way
Called on error.
onFill(Buffer, Object...) - Method in class org.restlet.engine.connector.InboundWay
 
onFill(Buffer, Object...) - Method in class org.restlet.engine.connector.OutboundWay
 
onFill(Buffer, Object...) - Method in class org.restlet.engine.connector.Way
Fills the byte buffer by writing the current message.
onFill(Buffer, Object...) - Method in interface org.restlet.engine.io.BufferProcessor
Fills the byte buffer.
onFill(Buffer, Object...) - Method in class org.restlet.engine.io.NbChannelInputStream
Fills the byte buffer by reading the source channel.
onFill(Buffer, Object...) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Fills the byte buffer by writing the current message.
onFill(Buffer, Object...) - Method in class org.restlet.engine.io.WritableBufferedChannel
Fills the byte buffer by writing the current message.
onFillEof() - Method in class org.restlet.engine.connector.InboundWay
Called back when a fill operation returns with an EOF status.
onFillEof() - Method in class org.restlet.engine.connector.OutboundWay
Called back when a fill operation returns with an EOF status.
onFillEof() - Method in class org.restlet.engine.io.BufferedSelectionChannel
Called back when a fill operation returns with an EOF status.
onFillEof() - Method in interface org.restlet.engine.io.BufferProcessor
Called back when a fill operation returns with an EOF status.
onFillEof() - Method in class org.restlet.engine.io.NbChannelInputStream
Called back when a fill operation returns with an EOF status.
onHeadersCompleted() - Method in class org.restlet.engine.connector.ClientInboundWay
 
onHeadersCompleted() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
onHeadersCompleted() - Method in class org.restlet.engine.connector.InboundWay
Callback invoked when a message has been received.
onHeadersCompleted() - Method in class org.restlet.engine.connector.OutboundWay
Callback invoked when a message has been sent.
onHeadersCompleted() - Method in class org.restlet.engine.connector.ServerInboundWay
 
onHeadersCompleted() - Method in class org.restlet.engine.connector.Way
Callback method invoked when the headers of the current message have been completely received or sent.
onInboundError(Status, Response) - Method in class org.restlet.engine.connector.BaseHelper
Called on error.
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.ClientInboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.ClientOutboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.InboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.OutboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.ServerOutboundWay
 
onMessageCompleted(boolean) - Method in class org.restlet.engine.connector.Way
Callback method invoked when the current message has been completely received or sent.
onMessageCompleted(boolean) - Method in interface org.restlet.engine.io.CompletionListener
Callback invoked upon IO completion.
onMessageCompleted(boolean) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Callback invoked upon IO completion.
onOutboundError(Status, Response) - Method in class org.restlet.engine.connector.BaseHelper
Called on error.
onPostProcessing() - Method in class org.restlet.engine.connector.InboundWay
 
onPostProcessing() - Method in class org.restlet.engine.connector.OutboundWay
 
onPostProcessing() - Method in class org.restlet.engine.connector.Way
Called back after the IO processing to indicate if there is further IO interest.
onReceived(Response) - Method in class org.restlet.engine.connector.ClientInboundWay
 
onReceived(Response) - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
onReceived(Response) - Method in class org.restlet.engine.connector.InboundWay
Call back invoked when the message is received.
onReceived(Response) - Method in class org.restlet.engine.connector.ServerInboundWay
Call back invoked when the message is received.
onSelected(SelectionRegistration) - Method in class org.restlet.engine.connector.Connection
Callback method invoked when the connection has been selected for IO operations it registered interest in.
onSelected(SelectionKey) - Method in class org.restlet.engine.connector.ConnectionController
Called back when a ready key has been selected.
onSelected(SelectionKey) - Method in class org.restlet.engine.connector.ServerConnectionController
 
onSelected(SelectionRegistration) - Method in class org.restlet.engine.connector.Way
Callback method invoked when the way has been selected for IO operations it registered interest in.
onTimeOut() - Method in class org.restlet.engine.connector.Connection
Called back by the controller when an IO time out has been detected.
onTimeOut() - Method in class org.restlet.engine.connector.HttpClientInboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.HttpServerInboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.InboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.OutboundWay
 
onTimeOut() - Method in class org.restlet.engine.connector.Way
Called back by the controller when an IO time out has been detected.
onWokeup(SelectionRegistration) - Method in class org.restlet.engine.connector.ConnectionController
Invoked when one of the connections needs to wake up the controller.
onWokeup(SelectionRegistration) - Method in interface org.restlet.engine.io.WakeupListener
Callback method invoked when the selection registration wants to wake up the NIO selector.
open() - Method in class org.restlet.engine.connector.Connection
Opens the connection.
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
New advanced internal HTTP connector.
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.util - package org.restlet.engine.util
General utilities.
outboundMessages - Variable in class org.restlet.engine.connector.BaseHelper
The queue of outbound messages.
OutboundWay - Class in org.restlet.engine.connector
A network connection way though which messages are sent.
OutboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.OutboundWay
Constructor.
overloaded - Variable in class org.restlet.engine.connector.Controller
Indicates if the controller is overloaded.

P

parse() - Method in class org.restlet.engine.component.ComponentXmlParser
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, List<String>) - Static method in class org.restlet.engine.util.DateUtils
Parses a formatted date into a Date object.
parse(Form, Representation, boolean) - Static method in class org.restlet.engine.util.FormUtils
Parses a post into a given form.
parse(Form, String, CharacterSet, boolean, char) - Static method in class org.restlet.engine.util.FormUtils
Parses a parameters string into a given form.
parse(String) - Method in class org.restlet.engine.util.InternetDateFormat
 
parse(String, ParsePosition) - Method in class org.restlet.engine.util.InternetDateFormat
 
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(Response, String, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
Parses an authenticate header into a list of challenge request.
parseRequest(ChallengeRequest, Response, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
 
parseResponse(ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.AuthenticatorHelper
Parses an authorization header into a challenge response.
parseResponse(Request, String, Series<Header>) - Static method in class org.restlet.engine.security.AuthenticatorUtils
Parses an authorization header into a challenge response.
parseResponse(ChallengeResponse, Request, Series<Header>) - Method in class org.restlet.engine.security.HttpBasicHelper
 
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.
postProcess(int) - Method in class org.restlet.engine.connector.Way
Does nothing by default.
postProcess(int) - Method in class org.restlet.engine.io.BufferedSelectionChannel
Does nothing by default.
postProcess(int) - Method in interface org.restlet.engine.io.BufferProcessor
Called back after a complete processing pass.
postProcess(int) - Method in class org.restlet.engine.io.NbChannelInputStream
Does nothing by default.
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 the Pool.checkin(Object) method.
PreferenceReader<T extends 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
 
preProcess(int, Object...) - Method in class org.restlet.engine.connector.Way
Does nothing by default.
preProcess(int, Object...) - Method in class org.restlet.engine.io.BufferedSelectionChannel
Does nothing by default.
preProcess(int, Object...) - Method in interface org.restlet.engine.io.BufferProcessor
Called back before a processing pass.
preProcess(int, Object...) - Method in class org.restlet.engine.io.NbChannelInputStream
Does nothing by default.
process(BufferProcessor, int, Object...) - Method in class org.restlet.engine.io.Buffer
Processes as a loop the IO event by draining or filling the IO buffer.
processIoBuffer() - Method in class org.restlet.engine.connector.InboundWay
 
processIoBuffer() - Method in class org.restlet.engine.connector.OutboundWay
 
processIoBuffer() - Method in class org.restlet.engine.connector.Way
Processes the IO buffer by filling and draining it.
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
Protocol helper.
ProtocolHelper() - Constructor for class org.restlet.engine.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(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() - Method in class org.restlet.engine.header.HeaderReader
Reads the next character.
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.
read() - Method in class org.restlet.engine.io.NbChannelInputStream
 
read(byte[], int, int) - Method in class org.restlet.engine.io.NbChannelInputStream
 
read() - Method in class org.restlet.engine.io.RangeInputStream
 
read(byte[], int, int) - Method in class org.restlet.engine.io.RangeInputStream
 
read(ByteBuffer) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Reads some bytes and put them into the destination buffer.
read(ByteBuffer) - Method in class org.restlet.engine.io.ReadableChunkingChannel
Reads some bytes and put them into the destination buffer.
read(ByteBuffer) - Method in class org.restlet.engine.io.ReadableSizedChannel
Reads some bytes and put them into the destination buffer.
read(ByteBuffer) - Method in class org.restlet.engine.io.ReadableSocketChannel
Reads the available byte form the wrapped socket channel.
read(ByteBuffer) - Method in class org.restlet.engine.io.ReadableTraceChannel
Reads the available byte from the wrapped channel to the destination buffer while writing them to the console.
read() - Method in class org.restlet.engine.io.ReaderInputStream
 
read(byte[], int, int) - Method in class org.restlet.engine.io.ReaderInputStream
 
read() - Method in class org.restlet.engine.util.FormReader
Reads all the parameters.
ReadableBufferedChannel - Class in org.restlet.engine.io
Readable byte channel based on a source socket channel that must only be partially read.
ReadableBufferedChannel(CompletionListener, Buffer, ReadableSelectionChannel, WakeupListener) - Constructor for class org.restlet.engine.io.ReadableBufferedChannel
Constructor.
ReadableChunkedChannel - Class in org.restlet.engine.io
Readable byte channel capable of decoding chunked entities.
ReadableChunkedChannel(CompletionListener, Buffer, ReadableSelectionChannel, WakeupListener) - Constructor for class org.restlet.engine.io.ReadableChunkedChannel
Constructor.
ReadableChunkingChannel - Class in org.restlet.engine.io
Readable byte channel capable of encoding chunked entities.
ReadableChunkingChannel(ReadableByteChannel, int) - Constructor for class org.restlet.engine.io.ReadableChunkingChannel
Constructor.
ReadableSelectionChannel - Interface in org.restlet.engine.io
Readable byte channel that is based on a selectable channel.
ReadableSizedChannel - Class in org.restlet.engine.io
Readable byte channel enforcing a maximum size.
ReadableSizedChannel(ReadableByteChannel, long) - Constructor for class org.restlet.engine.io.ReadableSizedChannel
Constructor.
ReadableSizedSelectionChannel - Class in org.restlet.engine.io
Readable byte channel enforcing a maximum size and wrapping a selectable channel.
ReadableSizedSelectionChannel(CompletionListener, Buffer, ReadableSelectionChannel, long, WakeupListener) - Constructor for class org.restlet.engine.io.ReadableSizedSelectionChannel
Constructor.
ReadableSocketChannel - Class in org.restlet.engine.io
Readable byte channel based on a source socket channel that must only be partially read.
ReadableSocketChannel(SocketChannel, SelectionRegistration) - Constructor for class org.restlet.engine.io.ReadableSocketChannel
Constructor.
ReadableTraceChannel - Class in org.restlet.engine.io
Trace byte channel that sends a copy of all data on the trace output stream.
ReadableTraceChannel(ReadableSelectionChannel) - Constructor for class org.restlet.engine.io.ReadableTraceChannel
Constructor.
ReadableTraceChannel(ReadableSelectionChannel, OutputStream) - Constructor for class org.restlet.engine.io.ReadableTraceChannel
Constructor.
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() - Method in class org.restlet.engine.connector.InboundWay
Read a message header.
readHeader(CharSequence) - Static method in class org.restlet.engine.header.HeaderReader
Read a header.
readHeader(InputStream, StringBuilder) - 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.
readStartLine() - Method in class org.restlet.engine.connector.ClientInboundWay
 
readStartLine() - Method in class org.restlet.engine.connector.InboundWay
Read the start line of the current message received.
readStartLine() - Method in class org.restlet.engine.connector.ServerInboundWay
 
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.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(SelectableChannel, int, SelectionListener) - Method in class org.restlet.engine.connector.ConnectionController
Registers a selection listener with the underlying selector for the given operations and returns the registration created.
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.
registerKeys() - Method in class org.restlet.engine.connector.ConnectionController
Registers all the new selection registration requests.
registerMethods() - Method in class org.restlet.engine.HttpProtocolHelper
 
registerMethods() - Method in class org.restlet.engine.ProtocolHelper
Register all supported methods.
registerMethods() - Method in class org.restlet.engine.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 the URL.openConnection() or URL.openStream() methods are invoked.
release(Selector, SelectionKey) - Static method in class org.restlet.engine.io.NioUtils
Release the selection key, working around for bug #6403933.
release() - Method in class org.restlet.engine.local.ZipEntryRepresentation
 
RELEASE_NUMBER - Static variable in class org.restlet.engine.Engine
Release number.
remaining() - Method in class org.restlet.engine.io.Buffer
Returns the number of bytes that can be read or written in the byte buffer.
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 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.
reuse(SocketChannel, ConnectionController, InetSocketAddress) - Method in class org.restlet.engine.connector.Connection
Reuses the connection and associates it to the given socket.
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.
run() - Method in class org.restlet.engine.connector.Controller
Listens on the given server socket for incoming connections.
running - Variable in class org.restlet.engine.connector.Controller
Indicates if the task is running.

S

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).
score(Object, Variant, 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.ConverterHelper
Scores the affinity of this helper with the source class.
score(Object, Variant, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
 
score(Representation, Class<T>, Resource) - Method in class org.restlet.engine.converter.DefaultConverter
 
scoreAnnotation(AnnotationInfo) - 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.
selectKeys(long) - Method in class org.restlet.engine.connector.ConnectionController
Selects the keys ready for IO operations.
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, Response, Uniform) - Method in class org.restlet.engine.adapter.ClientCall
Sends the request to the client.
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(Server) - Constructor for class org.restlet.engine.adapter.ServerCall
Constructor.
ServerCall(String, int) - Constructor for class org.restlet.engine.adapter.ServerCall
Constructor.
ServerConnectionController - Class in org.restlet.engine.connector
Controls the IO work of parent server helper and manages its connections.
ServerConnectionController(ServerConnectionHelper) - Constructor for class org.restlet.engine.connector.ServerConnectionController
Constructor.
ServerConnectionHelper - Class in org.restlet.engine.connector
Base server helper based on NIO non blocking sockets.
ServerConnectionHelper(Server) - Constructor for class org.restlet.engine.connector.ServerConnectionHelper
Constructor.
ServerHelper - Class in org.restlet.engine
Server connector helper.
ServerHelper(Server) - Constructor for class org.restlet.engine.ServerHelper
Constructor.
ServerInboundWay - Class in org.restlet.engine.connector
Server-side inbound way.
ServerInboundWay(Connection<?>, int) - Constructor for class org.restlet.engine.connector.ServerInboundWay
Constructor.
ServerOutboundWay - Class in org.restlet.engine.connector
Server-side outbound way.
ServerOutboundWay(Connection<Server>, int) - Constructor for class org.restlet.engine.connector.ServerOutboundWay
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.
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.
setAvailableSize(long) - Method in class org.restlet.engine.io.ReadableSizedChannel
Sets the remaining size that should be read from the source channel.
setAvailableSize(long) - Method in class org.restlet.engine.io.ReadableSizedSelectionChannel
Sets the remaining size that should be read from the source channel.
setBuffer(byte[]) - Method in class org.restlet.engine.io.BufferingRepresentation
Sets the buffered content as an array of bytes.
setBuffered(boolean) - Method in class org.restlet.engine.io.BufferingRepresentation
Indicates if the wrapped entity has been already buffered.
setBuilderIndex(int) - Method in class org.restlet.engine.connector.InboundWay
Sets the line builder index.
setChallengeResponse(ChallengeResponse) - Method in class org.restlet.engine.adapter.HttpRequest
 
setChallengeResponse(ChallengeResponse) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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.
setChunkState(ChunkState) - Method in class org.restlet.engine.io.ReadableChunkedChannel
Sets the chunk state.
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.
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).
setContactEmail(String) - Method in class org.restlet.engine.application.StatusFilter
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.
setDate(int) - Method in class org.restlet.engine.util.ImmutableDate
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
setEndDetected(boolean) - Method in class org.restlet.engine.io.ReadableSizedChannel
Indicates if the end of the channel has been detected.
setEndReached(boolean) - Method in class org.restlet.engine.io.ReadableBufferedChannel
Indicates if the end of the channel has been reached.
setEntity(Representation) - Method in class org.restlet.engine.adapter.HttpRequest
 
setEntityChannel(ReadableByteChannel) - Method in class org.restlet.engine.connector.OutboundWay
Sets the entity as a NIO readable byte channel.
setEntityChannelType(EntityType) - Method in class org.restlet.engine.connector.OutboundWay
Sets the type of the entity channel.
setEntityRegistration(SelectionRegistration) - Method in class org.restlet.engine.connector.InboundWay
Sets the NIO selection registration of the entity.
setEntitySelectionKey(SelectionKey) - Method in class org.restlet.engine.connector.OutboundWay
Sets the entity's NIO selection key holding the link between the entity to be written and the way.
setEphemeralPort(int) - Method in class org.restlet.engine.connector.ServerConnectionHelper
Sets the ephemeral port in the attributes map if necessary.
setEphemeralPort(ServerSocket) - Method in class org.restlet.engine.connector.ServerConnectionHelper
Sets the ephemeral port in the attributes map if necessary.
setEphemeralPort(int) - Method in class org.restlet.engine.ServerHelper
Sets the ephemeral port in the attributes map if necessary.
setEphemeralPort(ServerSocket) - Method in class org.restlet.engine.ServerHelper
Sets the ephemeral port in the attributes map if necessary.
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.
setHeaderIndex(int) - Method in class org.restlet.engine.connector.OutboundWay
Sets the header index.
setHeaders(Series<Header>) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
setHeaders(Series<Header>) - Method in interface org.restlet.engine.connector.InboundRequest
Put the headers in the request's attributes map.
setHeaders(Series<Header>) - Method in class org.restlet.engine.connector.Way
Sets the response headers to be written.
setHelped(T) - Method in class org.restlet.engine.RestletHelper
Sets the helped Restlet.
setHomeRef(Reference) - Method in class org.restlet.engine.application.StatusFilter
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.
setInstance(Engine) - Static method in class org.restlet.engine.Engine
Deprecated. Use the Engine.register() and Engine.register(boolean) methods instead.
setIoState(IoState) - Method in class org.restlet.engine.connector.Way
Sets the IO state.
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.
setLineBuilderState(BufferState) - Method in class org.restlet.engine.connector.Way
Sets the line builder state.
setLineBuilderState(BufferState) - Method in class org.restlet.engine.io.ReadableChunkedChannel
Sets the line builder state.
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.
setMessage(Response) - Method in class org.restlet.engine.connector.Way
Sets the current message processed.
setMessageState(MessageState) - Method in class org.restlet.engine.connector.Way
Sets the message state.
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.
setName(String) - Method in class org.restlet.engine.header.Header
Sets the name.
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.
setOverloaded(boolean) - Method in class org.restlet.engine.connector.Controller
Indicates if the controller is overloaded.
setOverwriting(boolean) - Method in class org.restlet.engine.application.StatusFilter
Indicates if existing representations should be overwritten.
setPersistent(boolean) - Method in class org.restlet.engine.connector.Connection
Indicates if the connection should be persisted across calls.
setPipelining(boolean) - Method in class org.restlet.engine.connector.Connection
Indicates if idempotent sequences of requests can be pipelined.
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
 
setProxyChallengeResponse(ChallengeResponse) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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.
setRecipientsInfo(List<RecipientInfo>) - Method in class org.restlet.engine.adapter.HttpRequest
 
setRecipientsInfo(List<RecipientInfo>) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
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.
setRegistration(SelectionRegistration) - Method in class org.restlet.engine.connector.Connection
Sets the socket's NIO registration holding the link between the channel and the way.
setRegistration(SelectionRegistration) - Method in class org.restlet.engine.connector.Way
Sets the NIO selection registration holding the link between the connection and the way.
setRegistration(SelectionRegistration) - Method in class org.restlet.engine.io.WrapperSelectionChannel
Sets the NIO registration.
setRemainingChunkSize(int) - Method in class org.restlet.engine.io.ReadableChunkedChannel
Sets the remaining chunk size that should be read from the source channel.
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.
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.
setSource(Object) - Method in class org.restlet.engine.security.RoleMapping
 
setState(ConnectionState) - Method in class org.restlet.engine.connector.Connection
Sets the state of the connection.
setState(BufferState) - Method in class org.restlet.engine.io.Buffer
Sets the byte buffer IO state.
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.
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.
setValue(String) - Method in class org.restlet.engine.header.Header
Sets the value.
setVersion(String) - Method in class org.restlet.engine.adapter.Call
Sets the protocol version used.
setWarnings(List<Warning>) - Method in class org.restlet.engine.adapter.HttpRequest
 
setWarnings(List<Warning>) - Method in class org.restlet.engine.connector.HttpInboundRequest
 
setYear(int) - Method in class org.restlet.engine.util.ImmutableDate
As an ImmutableDate is immutable, this method throws an UnsupportedOperationException exception.
shouldBeChunked(Representation) - Method in class org.restlet.engine.connector.OutboundWay
Indicates if the entity should be chunked because its length is unknown.
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(Socket) - Method in class org.restlet.engine.connector.Connection
Shutdowns the socket, first its input then its output.
shutdown() - Method in class org.restlet.engine.connector.ConnectionController
 
shutdown() - Method in class org.restlet.engine.connector.Controller
Abort the controller.
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.
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.BaseHelper
 
start() - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
start() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
start() - Method in class org.restlet.engine.ConnectorHelper
 
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, String, Reference) - 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.
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.BaseHelper
 
stop() - Method in class org.restlet.engine.connector.ClientConnectionHelper
 
stop() - Method in class org.restlet.engine.connector.ServerConnectionHelper
 
stop() - Method in class org.restlet.engine.ConnectorHelper
 
stop() - Method in class org.restlet.engine.RestletHelper
Stop callback.
stop() - Method in class org.restlet.engine.ServerHelper
 
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.
StringUtils - Class in org.restlet.engine.util
String manipulation utilities.
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.
SystemUtils - Class in org.restlet.engine.util
System utilities.

T

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
Filter that resolves URI templates in the target resource URI reference using the request attributes.
TemplateDispatcher() - Constructor for class org.restlet.engine.TemplateDispatcher
 
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.BioUtils
Converts a char array into a byte array using the default character set.
toByteArray(char[], String) - Static method in class org.restlet.engine.io.BioUtils
Converts a char array into a byte array using the provided character set.
toCharArray(byte[]) - Static method in class org.restlet.engine.io.BioUtils
Converts a byte array into a character array using the default character set.
toCharArray(byte[], String) - Static method in class org.restlet.engine.io.BioUtils
Converts a byte array into a character array using the default character set.
toHexString(byte[]) - Static method in class org.restlet.engine.io.BioUtils
Converts a byte array into an hexadecimal string.
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
 
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
 
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.connector.Connection
 
toString() - Method in class org.restlet.engine.connector.Way
 
toString() - Method in class org.restlet.engine.header.ContentType
 
toString() - Method in class org.restlet.engine.header.Header
 
toString(InputStream) - Static method in class org.restlet.engine.io.BioUtils
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.BioUtils
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.BioUtils
Converts a reader to a string.
toString() - Method in class org.restlet.engine.io.Buffer
 
toString() - Method in class org.restlet.engine.io.WrapperSelectionChannel
 
toString() - Method in class org.restlet.engine.resource.AnnotationInfo
 
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.
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() - Method in class org.restlet.engine.util.InternetDateFormat
Converts this InternetDateFormat object to an RFC 3339 date/time string.
TraceChannel<T extends SelectionChannel> - Class in org.restlet.engine.io
Filter byte channel that sends a copy of all data on the trace output stream.
TraceChannel(T) - Constructor for class org.restlet.engine.io.TraceChannel
Constructor.
TraceChannel(T, OutputStream) - Constructor for class org.restlet.engine.io.TraceChannel
Constructor.
traceWorkerService() - Method in class org.restlet.engine.connector.BaseHelper
Adds traces on the worker service.
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
 

U

unblock(Response) - Method in class org.restlet.engine.connector.ClientConnectionHelper
Unblocks the thread that handles the given request/response pair.
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.ConnectorHelper
 
update(String, Representation) - Static method in class org.restlet.engine.header.RangeReader
Parse the Content-Range header value and update the given representation.
update() - Method in class org.restlet.engine.RestletHelper
Update callback with less impact than a RestletHelper.stop() followed by a RestletHelper.start().
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.
updateKeys() - Method in class org.restlet.engine.connector.ConnectionController
Updates all the selection registrations for new interest or cancellation.
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>>, 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.
updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.engine.converter.DefaultConverter
 
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.
updateState() - Method in class org.restlet.engine.connector.Connection
Updates the connection states.
updateState() - Method in class org.restlet.engine.connector.HttpClientOutboundWay
 
updateState() - Method in class org.restlet.engine.connector.HttpServerOutboundWay
 
updateState() - Method in class org.restlet.engine.connector.InboundWay
 
updateState() - Method in class org.restlet.engine.connector.OutboundWay
 
updateState() - Method in class org.restlet.engine.connector.ServerInboundWay
 
updateState() - Method in class org.restlet.engine.connector.Way
Updates the way IO and message states.
UTC - Static variable in class org.restlet.engine.util.InternetDateFormat
A time zone with zero offset and no DST.

V

valueOf(String) - Static method in enum org.restlet.engine.connector.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restlet.engine.connector.EntityType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restlet.engine.connector.MessageState
Returns the enum constant of this type with the specified name.
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 enum org.restlet.engine.io.BufferState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restlet.engine.io.ChunkState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restlet.engine.io.IoState
Returns the enum constant of this type with the specified name.
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.
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 class org.restlet.engine.util.InternetDateFormat
Creates a new InternetDateFormat object by parsing an RFC 3339 date/time string.
values() - Static method in enum org.restlet.engine.connector.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restlet.engine.connector.EntityType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restlet.engine.connector.MessageState
Returns an array containing the constants of this enum type, in the order they are declared.
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.
values() - Static method in enum org.restlet.engine.io.BufferState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restlet.engine.io.ChunkState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restlet.engine.io.IoState
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, AnnotationInfo) - Constructor for class org.restlet.engine.resource.VariantInfo
Constructor.
VariantInfo(Variant, AnnotationInfo) - 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

waitForState(SelectableChannel, int) - Static method in class org.restlet.engine.io.NioUtils
Waits for the given channel to be ready for a specific operation.
wakeup() - Method in class org.restlet.engine.connector.ConnectionController
Wakes up the controller thread if wait for an NIO selection.
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
 
Way - Class in org.restlet.engine.connector
A network connection way though which messages are exchanged.
Way(Connection<?>, int) - Constructor for class org.restlet.engine.connector.Way
Constructor.
WebDavProtocolHelper - Class in org.restlet.engine
Protocol helper for the WEBDAV protocol.
WebDavProtocolHelper() - Constructor for class org.restlet.engine.WebDavProtocolHelper
 
WrapperChannel<T extends Channel> - Class in org.restlet.engine.io
Wrapper channel.
WrapperChannel(T) - Constructor for class org.restlet.engine.io.WrapperChannel
Constructor.
WrapperSelectionChannel<T extends SelectionChannel> - Class in org.restlet.engine.io
Wrapper selection channel.
WrapperSelectionChannel(T) - Constructor for class org.restlet.engine.io.WrapperSelectionChannel
Constructor.
WrapperSelectionChannel(T, SelectionRegistration) - Constructor for class org.restlet.engine.io.WrapperSelectionChannel
Constructor.
WrapperSocketChannel - Class in org.restlet.engine.io
Readable byte channel based on a source socket channel that must only be partially read.
WrapperSocketChannel(SocketChannel, SelectionRegistration) - Constructor for class org.restlet.engine.io.WrapperSocketChannel
Constructor.
WritableBufferedChannel - Class in org.restlet.engine.io
Writable byte channel based on a target socket channel.
WritableBufferedChannel(Buffer, WritableSelectionChannel, WakeupListener) - Constructor for class org.restlet.engine.io.WritableBufferedChannel
Constructor.
WritableSelectionChannel - Interface in org.restlet.engine.io
Writable byte channel that is based on a selectable channel.
WritableSocketChannel - Class in org.restlet.engine.io
Readable byte channel based on a source socket channel that must only be partially read.
WritableSocketChannel(SocketChannel, SelectionRegistration) - Constructor for class org.restlet.engine.io.WritableSocketChannel
Constructor.
WritableTraceChannel - Class in org.restlet.engine.io
Trace byte channel that sends a copy of all data on the trace output stream.
WritableTraceChannel(WritableSelectionChannel) - Constructor for class org.restlet.engine.io.WritableTraceChannel
Constructor.
WritableTraceChannel(WritableSelectionChannel, OutputStream) - Constructor for class org.restlet.engine.io.WritableTraceChannel
Constructor.
write(OutputStream) - Method in class org.restlet.engine.application.DecodeRepresentation
Writes the representation to a byte stream.
write(WritableByteChannel) - Method in class org.restlet.engine.application.DecodeRepresentation
Writes the representation to a byte channel.
write(Writer) - Method in class org.restlet.engine.application.DecodeRepresentation
 
write(Writer) - Method in class org.restlet.engine.application.EncodeRepresentation
 
write(OutputStream) - Method in class org.restlet.engine.application.EncodeRepresentation
 
write(WritableByteChannel) - Method in class org.restlet.engine.application.EncodeRepresentation
 
write(Writer) - Method in class org.restlet.engine.application.RangeRepresentation
 
write(OutputStream) - Method in class org.restlet.engine.application.RangeRepresentation
 
write(WritableByteChannel) - Method in class org.restlet.engine.application.RangeRepresentation
 
write(List<CacheDirective>) - Static method in class org.restlet.engine.header.CacheDirectiveWriter
Writes a list of cache directives with a comma separator.
write(CookieSetting) - Static method in class org.restlet.engine.header.CookieSettingWriter
Writes a cookie setting.
write(List<CookieSetting>) - Static method in class org.restlet.engine.header.CookieSettingWriter
Writes a list of cookie settings.
write(Cookie) - Static method in class org.restlet.engine.header.CookieWriter
Writes a cookie.
write(List<Cookie>) - Static method in class org.restlet.engine.header.CookieWriter
Writes a cookie.
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(Collection<Dimension>) - Static method in class org.restlet.engine.header.DimensionWriter
Creates a vary header from the given dimensions.
write(Disposition) - Static method in class org.restlet.engine.header.DispositionWriter
Formats a disposition.
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(Set<Method>) - Static method in class org.restlet.engine.header.MethodWriter
Writes a set of methods with a comma separator.
write(List) - Static method in class org.restlet.engine.header.PreferenceWriter
Writes a list of preferences with a comma separator.
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
Format ranges as a Range header value
write(Range, long) - Static method in class org.restlet.engine.header.RangeWriter
Format range as a Content-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(Tag) - Static method in class org.restlet.engine.header.TagWriter
Writes a tag.
write(List<Warning>) - Static method in class org.restlet.engine.header.WarningWriter
Writes a warning.
write(OutputStream) - Method in class org.restlet.engine.io.BufferingRepresentation
 
write(WritableByteChannel) - Method in class org.restlet.engine.io.BufferingRepresentation
 
write(Writer) - Method in class org.restlet.engine.io.BufferingRepresentation
 
write(byte[], int, int) - Method in class org.restlet.engine.io.NbChannelOutputStream
 
write(int) - Method in class org.restlet.engine.io.NbChannelOutputStream
 
write(ByteBuffer) - Method in class org.restlet.engine.io.WritableBufferedChannel
Reads some bytes and put them into the destination buffer.
write(ByteBuffer) - Method in class org.restlet.engine.io.WritableSocketChannel
Writes the given bytes to the wrapped socket channel.
write(ByteBuffer) - Method in class org.restlet.engine.io.WritableTraceChannel
Writes the available byte from the wrapped channel to the destination buffer while writing them to the console.
write(byte[], int, int) - Method in class org.restlet.engine.io.WriterOutputStream
 
write(int) - Method in class org.restlet.engine.io.WriterOutputStream
 
write(OutputStream) - Method in class org.restlet.engine.local.ZipEntryRepresentation
 
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.
writeLine() - Method in class org.restlet.engine.connector.OutboundWay
Write a new line into the line builder.
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, 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.
writeStartLine() - Method in class org.restlet.engine.connector.ClientOutboundWay
 
writeStartLine() - Method in class org.restlet.engine.connector.OutboundWay
Writes the start line of the current outbound message.
writeStartLine() - Method in class org.restlet.engine.connector.ServerOutboundWay
 

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
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.

A B C D E F G H I L M N O P R S T U V W Z

Copyright © 2005-2013 Restlet.