| java.lang.Object org.restlet.util.Helper com.noelios.restlet.application.ApplicationHelper
ApplicationHelper | public class ApplicationHelper extends Helper (Code) | | Application implementation.
author: Jerome Louvel (contact@noelios.com) |
ApplicationHelper | public ApplicationHelper(Application application, Context parentContext)(Code) | | Constructor.
Parameters: application - The application to help. Parameters: parentContext - The parent context, typically the component's context. |
createContext | public Context createContext(String loggerName)(Code) | | Creates a new context.
Parameters: loggerName - The JDK's logger name to use for contextual logging. The new context. |
createDecoderFilter | protected Filter createDecoderFilter(Application application)(Code) | | Creates a new decoder filter. Allows overriding.
Parameters: application - The parent application. The new decoder filter. |
createLogFilter | protected Filter createLogFilter(Context context, LogService logService)(Code) | | Creates a new log filter. Allows overriding.
Parameters: context - The context. Parameters: logService - The log service descriptor. The new log filter. |
createStatusFilter | protected Filter createStatusFilter(Application application)(Code) | | Creates a new status filter. Allows overriding.
Parameters: application - The parent application. The new status filter. |
createTunnelFilter | protected Filter createTunnelFilter(Application application)(Code) | | Creates a new tunnel filter. Allows overriding.
Parameters: application - The parent application. The new tunnel filter. |
getApplication | public Application getApplication()(Code) | | Returns the application to help.
The application to help. |
getParentContext | public Context getParentContext()(Code) | | Returns the parent context, typically the component's context.
The parent context. |
handle | public void handle(Request request, Response response)(Code) | | Allows filtering before processing by the next Restlet. Does nothing by
default.
Parameters: request - The request to handle. Parameters: response - The response to update. |
|
|