public class TemplateDispatcher extends Filter
Constructor and Description |
---|
TemplateDispatcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterHandle(Request request,
Response response)
If the response entity comes back with no identifier, automatically set
the request's resource reference's identifier.
|
int |
beforeHandle(Request request,
Response response)
Handles the call after resolving any URI template on the request's target
resource reference.
|
doHandle, 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
protected void afterHandle(Request request, Response response)
afterHandle
in class Filter
request
- The request to handle.response
- The response to update.public int beforeHandle(Request request, Response response)
beforeHandle
in class Filter
request
- The request to handle.response
- The response to update.Filter.CONTINUE
or
Filter.SKIP
or Filter.STOP
.Copyright © 2005-2024 Restlet.