|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpFirewall
Interface which can be used to reject potentially dangerous requests and/or wrap them to control their behaviour.
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.
| Method Summary | |
|---|---|
FirewalledRequest |
getFirewalledRequest(javax.servlet.http.HttpServletRequest request)
Provides the request object which will be passed through the filter chain. |
javax.servlet.http.HttpServletResponse |
getFirewalledResponse(javax.servlet.http.HttpServletResponse response)
Provides the response which will be passed through the filter chain. |
| Method Detail |
|---|
FirewalledRequest getFirewalledRequest(javax.servlet.http.HttpServletRequest request)
throws RequestRejectedException
RequestRejectedException - if the request should be rejected immediatelyjavax.servlet.http.HttpServletResponse getFirewalledResponse(javax.servlet.http.HttpServletResponse response)
response - the original response
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||