com.noelios.restlet.component
Class ComponentServerDispatcher
java.lang.Object
org.restlet.Uniform
com.noelios.restlet.TemplateDispatcher
com.noelios.restlet.component.ComponentServerDispatcher
public class ComponentServerDispatcher
- extends TemplateDispatcher
Component server 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.Uniform |
delete, delete, get, get, handle, head, head, options, options, post, post, put, put |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentServerDispatcher
public ComponentServerDispatcher(ComponentContext context)
- Constructor.
- Parameters:
context
- 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
targetted one, it must be overriden by subclasses.
- Overrides:
doHandle
in class TemplateDispatcher
- Parameters:
request
- The request to handle.response
- The response to update.
Copyright © 2005-2008 Noelios Technologies.