Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.engine |
Implementation of Restlet API.
|
org.restlet.engine.component |
Supports Restlet components.
|
org.restlet.engine.http |
Supports HTTP connectors.
|
org.restlet.engine.http.connector |
New advanced internal HTTP connector.
|
org.restlet.engine.local |
Supports local connectors and resources.
|
org.restlet.engine.riap |
Supports RIAP (Restlet Internal Access Protocol) connectors.
|
org.restlet.util |
Various utility classes.
|
Modifier and Type | Method and Description |
---|---|
Client |
Context.getClientDispatcher()
Returns a request dispatcher to available client connectors.
|
Client |
Context.getServerDispatcher()
Returns a request dispatcher to component's virtual hosts.
|
Modifier and Type | Method and Description |
---|---|
void |
Context.setClientDispatcher(Client clientDispatcher)
Sets the client dispatcher.
|
void |
Context.setServerDispatcher(Client serverDispatcher)
Sets the server dispatcher.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateDispatcher
Base call dispatcher capable of resolving target resource URI templates.
|
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Client> |
Engine.createHelper(Client client,
java.lang.String helperClass)
Creates a new helper for a given client connector.
|
java.util.List<ConnectorHelper<Client>> |
Engine.getRegisteredClients()
Returns the list of available client connectors.
|
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Client> |
Engine.createHelper(Client client,
java.lang.String helperClass)
Creates a new helper for a given client connector.
|
Modifier and Type | Method and Description |
---|---|
void |
Engine.setRegisteredClients(java.util.List<ConnectorHelper<Client>> registeredClients)
Sets the list of available client helpers.
|
Constructor and Description |
---|
ClientHelper(Client client)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildClientDispatcher
Client dispatcher for a component child.
|
class |
ComponentClientDispatcher
Component client dispatcher.
|
class |
ComponentServerDispatcher
Component server dispatcher.
|
Modifier and Type | Method and Description |
---|---|
Client |
ClientRoute.getClient()
Returns the target client.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientRoute.setNext(Client next)
Sets the next client.
|
Constructor and Description |
---|
ClientRoute(Router router,
Client target)
Constructor.
|
Constructor and Description |
---|
HttpClientHelper(Client client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Connection<Client> |
BaseClientHelper.createConnection(BaseHelper<Client> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel) |
protected Connection<Client> |
BaseClientHelper.getBestConnection(Request request)
Tries to reuse an existing connection for the given request, or creates a
new one.
|
Modifier and Type | Method and Description |
---|---|
protected Connection<Client> |
BaseClientHelper.createConnection(BaseHelper<Client> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel) |
Constructor and Description |
---|
BaseClientHelper(Client connector)
Constructor.
|
HttpClientHelper(Client client)
Constructor.
|
Constructor and Description |
---|
ClientConnection(BaseHelper<Client> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Client |
DirectoryServerResource.getClientDispatcher()
Returns a client dispatcher.
|
Constructor and Description |
---|
ClapClientHelper(Client client)
Constructor.
|
EntityClientHelper(Client client)
Constructor.
|
FileClientHelper(Client client)
Constructor.
|
LocalClientHelper(Client client)
Constructor.
|
ZipClientHelper(Client client)
Constructor.
|
Constructor and Description |
---|
RiapClientHelper(Client client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Client |
ClientList.add(Protocol protocol)
Adds a new client connector in the map supporting the given protocol.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClientList.add(Client client) |
Copyright © 2005-2012. All Rights Reserved.