| Package | Description |
|---|---|
| org.restlet |
Core classes of the Restlet API.
|
| org.restlet.engine |
Implementation of Restlet API.
|
| org.restlet.engine.adapter |
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
|
| org.restlet.engine.application |
Supports Restlet applications.
|
| org.restlet.engine.component |
Supports Restlet components.
|
| org.restlet.engine.connector |
Integration with Java URLConnection class.
|
| org.restlet.engine.log |
Supports the log service.
|
| org.restlet.engine.util |
General utilities.
|
| org.restlet.resource |
Client and server resource classes.
|
| org.restlet.routing |
Classes related to call routing.
|
| org.restlet.security |
Classes related to security.
|
| org.restlet.service |
Services used by applications and components.
|
| org.restlet.util |
Various utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.createChildContext()
Creates a protected child context.
|
Context |
Restlet.getContext()
Returns the context.
|
static Context |
Context.getCurrent()
Returns the context associated to the current
Restlet. |
| Modifier and Type | Method and Description |
|---|---|
void |
Restlet.setContext(Context context)
Sets the context.
|
void |
Component.setContext(Context context) |
void |
Application.setContext(Context context) |
static void |
Context.setCurrent(Context context)
Sets the context to associated with the current thread.
|
| Constructor and Description |
|---|
Application(Context context)
Constructor.
|
Client(Context context,
List<Protocol> protocols)
Constructor.
|
Client(Context context,
List<Protocol> protocols,
String helperClass)
Constructor.
|
Client(Context context,
Protocol protocol)
Constructor.
|
Connector(Context context)
Constructor.
|
Connector(Context context,
List<Protocol> protocols)
Constructor.
|
Restlet(Context context)
Constructor with the Restlet's context which can be the parent's application
context, but shouldn't be the parent Component's context for security
reasons.
|
Server(Context context,
List<Protocol> protocols,
int port,
Restlet next)
Constructor.
|
Server(Context context,
List<Protocol> protocols,
String address,
int port,
Restlet next)
Constructor.
|
Server(Context context,
List<Protocol> protocols,
String address,
int port,
Restlet next,
String helperClass)
Constructor.
|
Server(Context context,
Protocol protocol)
Constructor.
|
Server(Context context,
Protocol protocol,
Class<? extends ServerResource> nextClass)
Constructor.
|
Server(Context context,
Protocol protocol,
int port)
Constructor.
|
Server(Context context,
Protocol protocol,
int port,
Class<? extends ServerResource> nextClass)
Constructor.
|
Server(Context context,
Protocol protocol,
int port,
Restlet next)
Constructor.
|
Server(Context context,
Protocol protocol,
Restlet next)
Constructor using the protocol's default port.
|
Server(Context context,
Protocol protocol,
String address,
int port,
Restlet next)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
RestletHelper.getContext()
Returns the helped Restlet context.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Adapter.getContext()
Returns the context.
|
| Constructor and Description |
|---|
Adapter(Context context)
Constructor.
|
ClientAdapter(Context context)
Constructor.
|
HttpRequest(Context context,
ServerCall httpCall)
Constructor.
|
ServerAdapter(Context context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationHelper.setContext(Context context)
Sets the context.
|
| Constructor and Description |
|---|
CorsFilter(Context context)
Constructor.
|
CorsFilter(Context context,
Restlet next)
Constructor.
|
Decoder(Context context)
Constructor to only decode request entities before handling.
|
Decoder(Context context,
boolean decodingRequest,
boolean decodingResponse)
Constructor.
|
Encoder(Context context,
boolean encodingRequest,
boolean encodingResponse,
EncoderService encoderService)
Constructor.
|
RangeFilter(Context context)
Constructor.
|
StatusFilter(Context context,
boolean overwriting)
Constructor.
|
StatusFilter(Context context,
StatusService statusService)
Constructor from a status service.
|
TunnelFilter(Context context)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentContext
Context allowing access to the component's connectors.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
ComponentContext.createChildContext() |
| Constructor and Description |
|---|
InternalRouter(Context context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
ConnectorHelper.getContext()
Returns the helped Restlet context.
|
| Constructor and Description |
|---|
LogFilter(Context context,
LogService logService)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChildContext
Context based on a parent component's context but dedicated to a child
Restlet, typically to an application.
|
| Modifier and Type | Method and Description |
|---|---|
protected Context |
ChildContext.getParentContext()
Returns the parent context.
|
| Constructor and Description |
|---|
ChildContext(Context parentContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Resource.getContext()
Returns the current context.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ClientResource.create(Context context,
Reference reference,
Class<? extends T> resourceInterface)
Creates a client resource that proxy calls to the given Java interface into
Restlet method calls.
|
static Finder |
Finder.createFinder(Class<? extends ServerResource> targetClass,
Class<? extends Finder> finderClass,
Context context,
Logger logger)
Creates a new finder instance based on the "targetClass" property.
|
void |
Resource.init(Context context,
Request request,
Response response)
Initialization method setting the environment of the current resource
instance.
|
| Constructor and Description |
|---|
ClientResource(Context context,
Method method,
Reference reference)
Constructor.
|
ClientResource(Context context,
Method method,
String uri)
Constructor.
|
ClientResource(Context context,
Method method,
URI uri)
Constructor.
|
ClientResource(Context context,
Reference reference)
Constructor.
|
ClientResource(Context context,
Request request)
Constructor.
|
ClientResource(Context context,
Request request,
Response response)
Constructor.
|
ClientResource(Context context,
String uri)
Constructor.
|
ClientResource(Context context,
URI uri)
Constructor.
|
Directory(Context context,
Reference rootLocalReference)
Constructor.
|
Directory(Context context,
String rootUri)
Constructor.
|
Finder(Context context)
Constructor.
|
Finder(Context context,
Class<? extends ServerResource> targetClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualHost.setContext(Context parentContext) |
| Constructor and Description |
|---|
Extractor(Context context)
Constructor.
|
Extractor(Context context,
Restlet next)
Constructor.
|
Filter(Context context)
Constructor.
|
Filter(Context context,
Restlet next)
Constructor.
|
Redirector(Context context,
String targetTemplate)
Constructor for the client dispatcher mode.
|
Redirector(Context context,
String targetPattern,
int mode)
Constructor.
|
Router(Context context)
Constructor.
|
Validator(Context context)
Constructor.
|
Validator(Context context,
Restlet next)
Constructor.
|
VirtualHost(Context parentContext)
Constructor.
|
VirtualHost(Context parentContext,
String hostDomain,
String hostPort,
String hostScheme,
String resourceDomain,
String resourcePort,
String resourceScheme,
String serverAddress,
String serverPort)
Constructor.
|
| Constructor and Description |
|---|
Authenticator(Context context)
Constructor setting the mode to "required".
|
Authenticator(Context context,
boolean optional)
Constructor using the context's default enroler.
|
Authenticator(Context context,
boolean multiAuthenticating,
boolean optional,
Enroler enroler)
Constructor.
|
Authenticator(Context context,
boolean optional,
Enroler enroler)
Constructor.
|
CertificateAuthenticator(Context context) |
ChallengeAuthenticator(Context context,
boolean optional,
ChallengeScheme challengeScheme,
String realm)
Constructor using the context's default verifier.
|
ChallengeAuthenticator(Context context,
boolean optional,
ChallengeScheme challengeScheme,
String realm,
Verifier verifier)
Constructor.
|
ChallengeAuthenticator(Context context,
ChallengeScheme challengeScheme,
String realm)
Constructor setting the optional property to false.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Service.getContext()
Returns the context.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
DecoderService.createInboundFilter(Context context) |
Filter |
LogService.createInboundFilter(Context context) |
Filter |
EncoderService.createInboundFilter(Context context) |
Filter |
StatusService.createInboundFilter(Context context) |
Filter |
TunnelService.createInboundFilter(Context context) |
Filter |
RangeService.createInboundFilter(Context context) |
Filter |
CorsService.createInboundFilter(Context context) |
Filter |
Service.createInboundFilter(Context context)
Create the filter that should be invoked for incoming calls.
|
Filter |
DecoderService.createOutboundFilter(Context context) |
Filter |
EncoderService.createOutboundFilter(Context context) |
Filter |
Service.createOutboundFilter(Context context)
Create the filter that should be invoked for outgoing calls.
|
void |
Service.setContext(Context context)
Sets the context.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
ClientList.getContext()
Returns the context.
|
Context |
ServerList.getContext()
Returns the context.
|
Context |
WrapperRestlet.getContext() |
Context |
ServiceList.getContext()
Returns the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientList.setContext(Context context)
Sets the context.
|
void |
ServerList.setContext(Context context)
Sets the context.
|
void |
WrapperRestlet.setContext(Context context) |
void |
ServiceList.setContext(Context context)
Sets the context.
|
| Constructor and Description |
|---|
ClientList(Context context)
Constructor.
|
ServerList(Context context,
Restlet next)
Constructor.
|
ServiceList(Context context)
Constructor.
|
Copyright © 2005–2025. All rights reserved.