|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Uniform
com.noelios.restlet.TemplateDispatcher
com.noelios.restlet.component.ComponentClientDispatcher
public class ComponentClientDispatcher
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.
Constructor Summary | |
---|---|
ComponentClientDispatcher(ComponentContext componentContext)
Constructor. |
Method Summary | |
---|---|
protected void |
doHandle(Request request,
Response response)
Actually handles the call. |
Methods inherited from class com.noelios.restlet.TemplateDispatcher |
---|
getContext, getLogger, handle |
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 |
Constructor Detail |
---|
public ComponentClientDispatcher(ComponentContext componentContext)
componentContext
- The component context.Method Detail |
---|
protected void doHandle(Request request, Response response)
TemplateDispatcher
Request.getOriginalRef()
with the the
targetted one, it must be overriden by subclasses.
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 |