|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.util.Helper
com.noelios.restlet.ConnectorHelper
public class ConnectorHelper
Base connector helper.
Constructor Summary | |
---|---|
ConnectorHelper()
Constructor. |
Method Summary | |
---|---|
Context |
createContext(String loggerName)
Creates a new context. |
List<Protocol> |
getProtocols()
Returns the protocols simultaneously supported. |
void |
handle(Request request,
Response response)
Handles a call. |
void |
start()
Start hook. |
void |
stop()
Stop callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorHelper()
Method Detail |
---|
public List<Protocol> getProtocols()
public Context createContext(String loggerName)
createContext
in class Helper
loggerName
- The JDK's logger name to use for contextual logging.
public void handle(Request request, Response response)
handle
in class Helper
request
- The request to handle.response
- The response to update.public void start() throws Exception
start
in class Helper
Exception
public void stop() throws Exception
stop
in class Helper
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |