Object -
http
:
ResponseFilter
Abstract Representation of a HTTP Response Filter. This filter will be applied in the response path. Any ResponseFilter implementation should be structurally similar to or implement the ResponseFilter object.
Methods
Response filter function.
Response filter function. If a false is returned a 500 Internal Server Error would be sent to the client.
Parameters
- response Response
-
An outbound HTTP response message
- context FilterContext
-
A filter context
-
Return Type
(boolean) True if the filter succeeds