Package | Description |
---|---|
org.restlet.engine | |
org.restlet.engine.adapter | |
org.restlet.engine.connector | |
org.restlet.engine.local | |
org.restlet.ext.servlet |
Integration with Servlet API 2.5.
|
org.restlet.ext.servlet.internal | |
org.restlet.ext.sip.internal | |
org.restlet.ext.spring | |
org.restlet.ext.ssl | |
org.restlet.ext.ssl.internal | |
org.restlet.ext.xdb |
Integration with Oracle 11g XML DB feature.
|
org.restlet.ext.xdb.internal | |
org.restlet.util |
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Server> |
Engine.createHelper(Server server,
String helperClass)
Creates a new helper for a given server connector.
|
List<ConnectorHelper<Server>> |
Engine.getRegisteredServers()
Returns the list of available server connectors.
|
Modifier and Type | Method and Description |
---|---|
ConnectorHelper<Server> |
Engine.createHelper(Server server,
String helperClass)
Creates a new helper for a given server connector.
|
Modifier and Type | Method and Description |
---|---|
void |
Engine.setRegisteredServers(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> |
ServerConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Connection<Server> |
InboundRequest.getConnection()
Returns the related connection.
|
Connection<Server> |
ServerInboundWay.getConnection() |
Connection<Server> |
HttpInboundRequest.getConnection()
Returns the related connection.
|
Connection<Server> |
ServerOutboundWay.getConnection() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
ServerConnectionHelper.canHandle(Connection<Server> connection,
Response response)
Indicates if the connection can handle the given response at this point
in time.
|
protected boolean |
HttpServerHelper.canHandle(Connection<Server> connection,
Response response) |
InboundWay |
HttpServerHelper.createInboundWay(Connection<Server> connection,
int bufferSize) |
OutboundWay |
HttpServerHelper.createOutboundWay(Connection<Server> connection,
int bufferSize) |
protected abstract Request |
ServerConnectionHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Creates a new request.
|
protected Request |
HttpServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol) |
Constructor and Description |
---|
HttpServerHelper(Server server)
Constructor.
|
HttpServerHelper(Server server,
Protocol protocol)
Constructor.
|
ServerConnectionHelper(Server server)
Constructor.
|
Constructor and Description |
---|
HttpInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Constructor.
|
HttpServerInboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
HttpServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
ServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
Constructor and Description |
---|
RiapServerHelper(Server server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ServerCall |
ServerServlet.createCall(Server server,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a new Servlet call wrapping a Servlet request/response couple and
a Server connector.
|
Constructor and Description |
---|
ServletCall(Server server,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Connection<Server> |
SipInboundRequest.getConnection()
Returns the related connection.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SipServerHelper.canHandle(Connection<Server> connection,
Response response) |
ServerInboundWay |
SipServerHelper.createInboundWay(Connection<Server> connection,
int bufferSize) |
OutboundWay |
SipServerHelper.createOutboundWay(Connection<Server> connection,
int bufferSize) |
protected Request |
SipServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol) |
Constructor and Description |
---|
SipServerHelper(Server server)
Constructor.
|
Constructor and Description |
---|
SipInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Constructor.
|
SipServerInboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
SipServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SpringServer
Server that is easily configurable with Spring.
|
Modifier and Type | Method and Description |
---|---|
protected Connection<Server> |
HttpsServerHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Modifier and Type | Method and Description |
---|---|
InboundWay |
HttpsServerHelper.createInboundWay(Connection<Server> connection,
int bufferSize) |
OutboundWay |
HttpsServerHelper.createOutboundWay(Connection<Server> connection,
int bufferSize) |
protected Request |
HttpsServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol) |
Constructor and Description |
---|
HttpsServerHelper(Server server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SslConnection<Server> |
HttpsInboundRequest.getConnection() |
SslConnection<Server> |
HttpsServerOutboundWay.getConnection() |
SslConnection<Server> |
HttpsServerInboundWay.getConnection() |
Constructor and Description |
---|
HttpsInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Constructor.
|
HttpsServerInboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
HttpsServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ServerCall |
XdbServerServlet.createCall(Server server,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Constructor and Description |
---|
XdbServletCall(Server server,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
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,
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–2013. All rights reserved.