|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Restlet
org.restlet.Connector
org.restlet.Client
org.restlet.engine.TemplateDispatcher
org.restlet.engine.component.ChildClientDispatcher
public class ChildClientDispatcher
Client dispatcher for a component child. Concurrency note: instances of this class or its subclasses can be invoked by several threads at the same time and therefore must be thread-safe. You should be especially careful when storing state as member variables.
Constructor Summary | |
---|---|
ChildClientDispatcher(ChildContext childContext)
Constructor. |
Method Summary | |
---|---|
void |
doHandle(Request request,
Response response)
Transmits the call to the parent component except if the call is internal as denoted by the Protocol.RIAP protocol and targets this child
application. |
Methods inherited from class org.restlet.engine.TemplateDispatcher |
---|
getContext, handle, setContext |
Methods inherited from class org.restlet.Client |
---|
getConnectTimeout, handle, handle, handle, isAvailable, setConnectTimeout, start, stop |
Methods inherited from class org.restlet.Connector |
---|
getProtocols, setProtocols |
Methods inherited from class org.restlet.Restlet |
---|
finalize, getApplication, getAuthor, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setDescription, setName, setOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChildClientDispatcher(ChildContext childContext)
childContext
- The child context.Method Detail |
---|
public void doHandle(Request request, Response response)
Protocol.RIAP
protocol and targets this child
application.
doHandle
in class TemplateDispatcher
request
- The request to handle.response
- The response to update.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |