|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.util.Helper
public abstract class Helper
Delegate used by API classes to get support from the implementation classes. Note that this is an SPI class that is not intended for public usage.
Constructor Summary | |
---|---|
Helper()
|
Method Summary | |
---|---|
abstract Context |
createContext(String loggerName)
Creates a new context. |
abstract void |
handle(Request request,
Response response)
Handles a call. |
abstract void |
start()
Start callback. |
abstract 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 Helper()
Method Detail |
---|
public abstract Context createContext(String loggerName)
loggerName
- The JDK's logger name to use for contextual logging.
public abstract void handle(Request request, Response response)
request
- The request to handle.response
- The response to update.public abstract void start() throws Exception
Exception
public abstract void stop() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |