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, stopcreateFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwnerpublic TunnelFilter(Context context)
context - The parent context.public int beforeHandle(Request request, Response response)
FilterFilter.CONTINUE by default.beforeHandle in class Filterrequest - 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–2025. All rights reserved.