public interface HttpFirewall
The implementation is injected into the FilterChainProxy and will be invoked
before sending any request through the filter chain. It can also provide a response
wrapper if the response behaviour should also be restricted.
| Modifier and Type | Method and Description |
|---|---|
FirewalledRequest |
getFirewalledRequest(HttpServletRequest request)
Provides the request object which will be passed through the filter chain.
|
HttpServletResponse |
getFirewalledResponse(HttpServletResponse response)
Provides the response which will be passed through the filter chain.
|
FirewalledRequest getFirewalledRequest(HttpServletRequest request) throws RequestRejectedException
RequestRejectedException - if the request should be rejected immediatelyHttpServletResponse getFirewalledResponse(HttpServletResponse response)
response - the original response