public class ComponentClientDispatcher extends TemplateDispatcher
Constructor and Description |
---|
ComponentClientDispatcher(ComponentContext componentContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet.
|
afterHandle, beforeHandle
getNext, handle, hasNext, setNext, setNext, start, stop
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
public ComponentClientDispatcher(ComponentContext componentContext)
componentContext
- The component context.protected int doHandle(Request request, Response response)
org.restlet.routing.Filter
Status.SERVER_ERROR_INTERNAL
status is returned.
Returns Filter.CONTINUE
by default.doHandle
in class Filter
request
- The request to handle.response
- The response to update.Filter.CONTINUE
or
Filter.STOP
.Copyright © 2005-2020 Restlet.