Package | Description |
---|---|
org.restlet.engine |
Implementation of Restlet API.
|
org.restlet.engine.http |
Supports HTTP connectors.
|
org.restlet.engine.http.connector |
New advanced internal HTTP connector.
|
org.restlet.engine.riap |
Supports RIAP (Restlet Internal Access Protocol) connectors.
|
org.restlet.ext.netty |
Integration with Netty 3.1.
|
org.restlet.ext.netty.internal | |
org.restlet.ext.simple |
Integration with Simple framework 4.1.
|
org.restlet.util |
Various utility classes.
|
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Server> |
Engine.createHelper(Server server,
java.lang.String helperClass)
Creates a new helper for a given server connector.
|
java.util.List<ConnectorHelper<Server>> |
Engine.getRegisteredServers()
Returns the list of available server connectors.
|
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Server> |
Engine.createHelper(Server server,
java.lang.String helperClass)
Creates a new helper for a given server connector.
|
Modifier and Type | Method and Description |
---|---|
void |
Engine.setRegisteredServers(java.util.List<ConnectorHelper<Server>> registeredServers)
Sets the list of available server helpers.
|
Constructor and Description |
---|
ServerHelper(Server server)
Constructor.
|
Constructor and Description |
---|
HttpServerHelper(Server server)
Constructor.
|
ServerCall(Server server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Connection<Server> |
HttpServerHelper.createConnection(BaseHelper<Server> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel) |
Modifier and Type | Method and Description |
---|---|
protected Connection<Server> |
HttpServerHelper.createConnection(BaseHelper<Server> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel) |
Constructor and Description |
---|
BaseServerHelper(Server server)
Constructor.
|
HttpServerHelper(Server server)
Constructor.
|
Constructor and Description |
---|
ServerConnection(BaseHelper<Server> helper,
java.net.Socket socket,
java.nio.channels.SocketChannel socketChannel)
Constructor.
|
Constructor and Description |
---|
RiapServerHelper(Server server)
Constructor.
|
Constructor and Description |
---|
HttpServerHelper(Server server)
Constructor.
|
HttpsServerHelper(Server server)
Constructor.
|
NettyServerHelper(Server server)
Constructor.
|
Constructor and Description |
---|
NettyServerCall(Server server,
org.jboss.netty.channel.MessageEvent messageEvent,
org.jboss.netty.buffer.ChannelBuffer contentBuffer,
org.jboss.netty.handler.codec.http.HttpRequest request,
java.net.InetSocketAddress clientAddress,
boolean isConfidential,
javax.net.ssl.SSLEngine sslEngine)
Constructor.
|
Constructor and Description |
---|
HttpServerHelper(Server server)
Constructor.
|
HttpsServerHelper(Server server)
Constructor.
|
SimpleServerHelper(Server server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Server |
ServerList.add(Protocol protocol)
Adds a new server connector in the map supporting the given protocol.
|
Server |
ServerList.add(Protocol protocol,
int port)
Adds a new server connector in the map supporting the given protocol on
the specified port.
|
Server |
ServerList.add(Protocol protocol,
java.lang.String address,
int port)
Adds a new server connector in the map supporting the given protocol on
the specified IP address and port.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServerList.add(Server server)
Adds a server at the end of the list.
|
Copyright © 2005-2012. All Rights Reserved.