| java.lang.Object org.restlet.util.Helper com.noelios.restlet.ChainHelper
All known Subclasses: com.noelios.restlet.component.ComponentHelper,
ChainHelper | abstract public class ChainHelper extends Helper (Code) | | Chain helper serving as base class for Application and Component helpers.
author: Jerome Louvel (contact@noelios.com) |
ChainHelper | public ChainHelper(Context parentContext)(Code) | | Constructor.
Parameters: parentContext - The parent context, typically the component's context. |
addFilter | protected void addFilter(Filter filter)(Code) | | Adds a new filter to the chain.
Parameters: filter - The filter to add. |
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. |
getFirst | protected Restlet getFirst()(Code) | | Returns the first Restlet.
the first Restlet. |
getParentContext | public Context getParentContext()(Code) | | Returns the parent context, typically the component's context.
The parent context. |
setFirst | protected void setFirst(Restlet first)(Code) | | Sets the first Restlet.
Parameters: first - The first Restlet. |
|
|