|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.util.Helper<T>
com.noelios.restlet.ChainHelper<Application>
com.noelios.restlet.application.ApplicationHelper
public class ApplicationHelper
Application implementation.
| Constructor Summary | |
|---|---|
ApplicationHelper(Application application)
Constructor. |
|
| Method Summary | |
|---|---|
protected Filter |
createDecoderFilter(Application application)
Creates a new decoder filter. |
protected Filter |
createRangeFilter(Context context)
Creates a new Range filter. |
protected Filter |
createStatusFilter(Application application)
Creates a new status filter. |
protected Filter |
createTunnelFilter(Context context)
Creates a new tunnel filter. |
void |
handle(Request request,
Response response)
In addition to the default behavior, it saves the current application instance into the current thread. |
void |
start()
Start hook. |
void |
stop()
|
void |
update()
|
| Methods inherited from class com.noelios.restlet.ChainHelper |
|---|
addFilter, clear, createLogFilter, getFirst, getLast, setFirst, setLast, setNext |
| Methods inherited from class org.restlet.util.Helper |
|---|
getAttributes, getContext, getHelped, getHelpedParameters, getLogger, setHelped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationHelper(Application application)
application - The application to help.| Method Detail |
|---|
protected Filter createDecoderFilter(Application application)
application - The parent application.
protected Filter createStatusFilter(Application application)
application - The parent application.
protected Filter createTunnelFilter(Context context)
context - The parent context.
protected Filter createRangeFilter(Context context)
context - The parent context.
public void handle(Request request,
Response response)
handle in class ChainHelper<Application>request - The request to handle.response - The response to update.
public void start()
throws Exception
start in class Helper<Application>Exception
public void stop()
throws Exception
stop in class Helper<Application>Exception
public void update()
throws Exception
update in class Helper<Application>Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||