public class ApplicationHelper extends CompositeHelper<Application>
| Constructor and Description |
|---|
ApplicationHelper(Application application)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Request request,
Response response)
In addition to the default behavior, it saves the current application
instance into the current thread.
|
void |
setContext(Context context)
Sets the context.
|
void |
start()
Start hook.
|
void |
stop()
Stop callback.
|
void |
update()
Update callback with less impact than a
RestletHelper.stop() followed by a
RestletHelper.start(). |
addInboundFilter, addOutboundFilter, clear, getFirstInboundFilter, getFirstOutboundFilter, getInboundNext, getLastInboundFilter, getLastOutboundFilter, getOutboundNext, setFirstInboundFilter, setFirstOutboundFilter, setInboundNext, setLastInboundFilter, setLastOutboundFilter, setOutboundNextgetAttributes, getContext, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelpedpublic ApplicationHelper(Application application)
application - The application to help.public void handle(Request request, Response response)
handle in class CompositeHelper<Application>request - The request to handle.response - The response to update.public void setContext(Context context)
context - The context.public void start()
throws Exception
start in class RestletHelper<Application>Exceptionpublic void stop()
throws Exception
RestletHelperstop in class RestletHelper<Application>Exceptionpublic void update()
throws Exception
RestletHelperRestletHelper.stop() followed by a
RestletHelper.start().update in class RestletHelper<Application>ExceptionCopyright © 2005–2025. All rights reserved.