|
||||||||||
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<Component>
com.noelios.restlet.component.ComponentHelper
public class ComponentHelper
Component helper.
Constructor Summary | |
---|---|
ComponentHelper(Component component)
Constructor. |
Method Summary | |
---|---|
protected StatusFilter |
createStatusFilter(Component component)
Creates a new status filter. |
ClientRouter |
getClientRouter()
Returns the internal client router. |
ServerRouter |
getServerRouter()
Returns the internal host router. |
void |
setServerRouter(ServerRouter serverRouter)
Sets the internal server router. |
void |
start()
|
void |
stop()
|
void |
update()
Set the new server router that will compute the new routes when the first request will be received (automatic start). |
Methods inherited from class com.noelios.restlet.ChainHelper |
---|
addFilter, clear, createLogFilter, getFirst, getLast, handle, 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 ComponentHelper(Component component)
component
- The helper component.Method Detail |
---|
protected StatusFilter createStatusFilter(Component component)
component
- The parent component.
public ClientRouter getClientRouter()
public ServerRouter getServerRouter()
public void setServerRouter(ServerRouter serverRouter)
serverRouter
- The internal host router.public void start() throws java.lang.Exception
start
in class Helper<Component>
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in class Helper<Component>
java.lang.Exception
public void update() throws java.lang.Exception
update
in class Helper<Component>
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |