Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
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.util |
Various utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
Application
Restlet managing a coherent set of resources and services.
|
class |
Client
Connector acting as a generic client.
|
class |
Component
|
class |
Connector
Restlet enabling communication between Components.
|
class |
Restlet
Uniform class that provides a context and life cycle support.
|
class |
Server
Connector acting as a generic server.
|
Modifier and Type | Method and Description |
---|---|
Uniform |
Message.getOnError()
Returns the callback invoked when an error occurs when sending the
message.
|
Uniform |
Request.getOnResponse()
Returns the callback invoked on response reception.
|
Uniform |
Message.getOnSent()
Returns the callback invoked after sending the message.
|
Modifier and Type | Method and Description |
---|---|
void |
Restlet.handle(Request request,
Response response,
Uniform onResponseCallback)
Handles a call.
|
void |
Restlet.handle(Request request,
Uniform onReceivedCallback)
Handles a call.
|
void |
Message.setOnError(Uniform onError)
Sets the callback invoked when an error occurs when sending the message.
|
void |
Request.setOnResponse(Uniform onResponseCallback)
Sets the callback invoked on response reception.
|
void |
Message.setOnSent(Uniform onSentCallback)
Sets the callback invoked after sending the message.
|
Modifier and Type | Class and Description |
---|---|
class |
Directory
Finder mapping a directory of local resources.
|
class |
Finder
Restlet that can find the target server resource that will effectively handle
incoming calls.
|
Modifier and Type | Method and Description |
---|---|
protected Uniform |
ClientResource.createNext()
Creates a next Restlet is no one is set.
|
Uniform |
ClientResource.getNext()
Returns the next Restlet.
|
Uniform |
ClientResource.getOnResponse()
Returns the callback invoked on response reception.
|
Uniform |
ClientResource.getOnSent()
Returns the callback invoked after sending the request.
|
Uniform |
ServerResource.getOnSent()
Returns the callback invoked after sending the response.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ClientResource.handle(Request request,
Response response,
java.util.List<Reference> references,
int retryAttempt,
Uniform next)
Handle the call and follow redirection for safe methods.
|
protected void |
ClientResource.redirect(Request request,
Response response,
java.util.List<Reference> references,
int retryAttempt,
Uniform next)
Effectively redirects a client call.
|
protected void |
ClientResource.retry(Request request,
Response response,
java.util.List<Reference> references,
int retryAttempt,
Uniform next)
Effectively retries a failed client call.
|
void |
ClientResource.setNext(Uniform next)
Sets the next handler such as a Restlet or a Filter.
|
void |
ClientResource.setOnResponse(Uniform onResponseCallback)
Sets the callback invoked on response reception.
|
void |
ClientResource.setOnSent(Uniform onSentCallback)
Sets the callback invoked after sending the request.
|
void |
ServerResource.setOnSent(Uniform onSentCallback)
Sets the callback invoked after sending the response.
|
Modifier and Type | Class and Description |
---|---|
class |
Extractor
Filter extracting attributes from a call.
|
class |
Filter
Restlet filtering calls before passing them to an attached Restlet.
|
class |
Redirector
Rewrites URIs then redirects the call or the client to a new destination.
|
class |
Route
Filter scoring the affinity of calls with the attached Restlet.
|
class |
Router
Restlet routing calls to one of the attached routes.
|
class |
TemplateRoute
Filter scoring the affinity of calls with the attached Restlet.
|
class |
Validator
Filter validating attributes from a call.
|
class |
VirtualHost
Router of calls from Server connectors to Restlets.
|
Modifier and Type | Class and Description |
---|---|
class |
Authenticator
Filter authenticating the client sending the inbound request.
|
class |
Authorizer
Filter authorizing inbound request.
|
class |
CertificateAuthenticator
Authenticator based on the SSL client certificate.
|
class |
ChallengeAuthenticator
Authenticator based on a challenge scheme.
|
class |
ConfidentialAuthorizer
Authorizer allowing only confidential calls.
|
class |
MethodAuthorizer
Authorizer based on authorized methods.
|
class |
RoleAuthorizer
Authorizer based on authorized and forbidden roles.
|
Modifier and Type | Class and Description |
---|---|
class |
WrapperRestlet
Restlet wrapper.
|
Modifier and Type | Method and Description |
---|---|
Uniform |
WrapperRequest.getOnResponse() |
Modifier and Type | Method and Description |
---|---|
void |
WrapperRequest.setOnResponse(Uniform onResponseCallback) |
Copyright © 2005-2024 Restlet.