Object - http : RequestFilter

Abstract Representation of a HTTP Request Filter. This filter will be applied before the request is dispatched to the relevant resource. Any RequestFilter implementation should be structurally similar to or implement the RequestFilter object.


Request filter function.


(Caller caller, Request request, FilterContext context)

returns boolean

Request filter function. If a false is returned the response should have been sent from this function as it will not be dispatched to the next filter or the resource.


  • caller Caller
  • The http caller

  • request Request
  • An inbound HTTP request message

  • Return Type

  • True if the filter succeeds