| |
|
| com.noelios.restlet.ChainHelper com.noelios.restlet.component.ComponentHelper
ComponentHelper | public class ComponentHelper extends ChainHelper (Code) | | Component helper.
author: Jerome Louvel (contact@noelios.com) |
ComponentHelper | public ComponentHelper(Component component)(Code) | | Constructor.
Parameters: component - The helper component. |
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. |
createStatusFilter | protected StatusFilter createStatusFilter(Component component)(Code) | | Creates a new status filter. Allows overriding.
Parameters: component - The parent component. The new status filter. |
getClientRouter | public ClientRouter getClientRouter()(Code) | | Returns the internal client router.
the internal client router. |
getComponent | protected Component getComponent()(Code) | | Returns the helped component.
The helped component. |
getServerRouter | public ServerRouter getServerRouter()(Code) | | Returns the internal host router.
the internal host router. |
handle | public void handle(Request request, Response response)(Code) | | Handles a call.
Parameters: request - The request to handle. Parameters: response - The response to update. |
|
|
|