public class TunnelFilter extends Filter
Constructor and Description |
---|
TunnelFilter(Context context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
beforeHandle(Request request,
Response response)
Allows filtering before processing by the next Restlet.
|
MetadataService |
getMetadataService()
Returns the metadata service of the parent application.
|
TunnelService |
getTunnelService()
Returns the tunnel service of the parent application.
|
afterHandle, 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
public TunnelFilter(Context context)
context
- The parent context.public int beforeHandle(Request request, Response response)
org.restlet.routing.Filter
Filter.CONTINUE
by default.beforeHandle
in class Filter
request
- The request to handle.response
- The response to update.Filter.CONTINUE
or
Filter.SKIP
or Filter.STOP
.public MetadataService getMetadataService()
public TunnelService getTunnelService()
Copyright © 2005-2020 Restlet.