Package org.restlet.engine.util
Class ChildClientDispatcher
java.lang.Object
org.restlet.Restlet
org.restlet.routing.Filter
org.restlet.engine.util.TemplateDispatcher
org.restlet.engine.util.ChildClientDispatcher
- All Implemented Interfaces:
Uniform
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.
- Author:
- Jerome Louvel
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintTransmits the call to the parent component except if the call is internal as denoted by theProtocol.RIAPprotocol and targets this child application.Methods inherited from class org.restlet.engine.util.TemplateDispatcher
afterHandle, beforeHandleMethods inherited from class org.restlet.routing.Filter
getNext, handle, hasNext, setNext, setNext, start, stopMethods inherited from class org.restlet.Restlet
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
-
Constructor Details
-
ChildClientDispatcher
Constructor.- Parameters:
childContext- The child context.
-
-
Method Details
-
doHandle
Transmits the call to the parent component except if the call is internal as denoted by theProtocol.RIAPprotocol and targets this child application.- Overrides:
doHandlein classFilter- Parameters:
request- The request to handle.response- The response to update.- Returns:
- The continuation status. Either
Filter.CONTINUEorFilter.STOP.
-