| org.restlet.Filter com.noelios.restlet.application.TunnelFilter
TunnelFilter | public class TunnelFilter extends Filter (Code) | | Filter tunnelling browser calls into full REST calls. The request method can
be changed (via POST requests only) as well as the accepted media types,
languages, encodings and character sets.
author: Jerome Louvel (contact@noelios.com) |
TunnelFilter | public TunnelFilter(Application application)(Code) | | Constructor.
Parameters: application - The parent application. |
beforeHandle | public void beforeHandle(Request request, Response response)(Code) | | Allows filtering before its handling by the target Restlet. Does nothing
by default.
Parameters: request - The request to handle. Parameters: response - The response to update. |
getApplication | public Application getApplication()(Code) | | Returns the application.
The application. |
|
|