org.restlet.engine.component
Class ComponentClientDispatcher
java.lang.Object
org.restlet.Restlet
org.restlet.Connector
org.restlet.Client
org.restlet.engine.TemplateDispatcher
org.restlet.engine.component.ComponentClientDispatcher
- All Implemented Interfaces:
- Uniform
public class ComponentClientDispatcher
- extends TemplateDispatcher
Component client dispatcher.
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
Methods inherited from class org.restlet.Restlet |
finalize, getApplication, getAuthor, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setDescription, setName, setOwner |
ComponentClientDispatcher
public ComponentClientDispatcher(ComponentContext componentContext)
- Constructor.
- Parameters:
componentContext
- The component context.
doHandle
protected void doHandle(Request request,
Response response)
- Description copied from class:
TemplateDispatcher
- Actually handles the call. Since this method only sets the request's
original reference (
Request.getOriginalRef()
with the the
targeted one, it must be overridden by subclasses.
- Overrides:
doHandle
in class TemplateDispatcher
- Parameters:
request
- The request to handle.response
- The response to update.
Copyright © 2005-2011 Noelios Technologies.