|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.util.Helper
com.noelios.restlet.ChainHelper
public abstract class ChainHelper
Chain helper serving as base class for Application and Component helpers.
Constructor Summary | |
---|---|
ChainHelper(Context parentContext)
Constructor. |
Method Summary | |
---|---|
protected void |
addFilter(Filter filter)
Adds a new filter to the chain. |
protected Filter |
createLogFilter(Context context,
LogService logService)
Creates a new log filter. |
protected Restlet |
getFirst()
Returns the first Restlet. |
Context |
getParentContext()
Returns the parent context, typically the component's context. |
protected void |
setFirst(Restlet first)
Sets the first Restlet. |
Methods inherited from class org.restlet.util.Helper |
---|
createContext, handle, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainHelper(Context parentContext)
parentContext
- The parent context, typically the component's context.Method Detail |
---|
public Context getParentContext()
protected void addFilter(Filter filter)
filter
- The filter to add.protected Filter createLogFilter(Context context, LogService logService)
context
- The context.logService
- The log service descriptor.
protected Restlet getFirst()
protected void setFirst(Restlet first)
first
- The first Restlet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |