public class ComponentServerDispatcher extends TemplateDispatcher
| Constructor and Description |
|---|
ComponentServerDispatcher(ComponentContext componentContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
beforeHandle(Request request,
Response response)
Handles the call after resolving any URI template on the request's target
resource reference.
|
protected int |
doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet.
|
afterHandlegetNext, handle, hasNext, setNext, setNext, start, stopcreateFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwnerpublic ComponentServerDispatcher(ComponentContext componentContext)
componentContext - The component context.public int beforeHandle(Request request, Response response)
TemplateDispatcherbeforeHandle in class TemplateDispatcherrequest - The request to handle.response - The response to update.Filter.CONTINUE or Filter.SKIP or
Filter.STOP.protected int doHandle(Request request, Response response)
FilterStatus.SERVER_ERROR_INTERNAL status is returned.
Returns Filter.CONTINUE by default.doHandle in class Filterrequest - The request to handle.response - The response to update.Filter.CONTINUE or Filter.STOP.Copyright © 2005–2025. All rights reserved.