Class CookieFilter
java.lang.Object
com.tremolosecurity.proxy.filters.CookieFilter
- All Implemented Interfaces:
HttpFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) void
filterResponseBinary
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) void
filterResponseText
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) void
initFilter
(HttpFilterConfig config)
-
Constructor Details
-
CookieFilter
public CookieFilter()
-
-
Method Details
-
doFilter
public void doFilter(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) throws Exception - Specified by:
doFilter
in interfaceHttpFilter
- Throws:
Exception
-
filterResponseText
public void filterResponseText(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) throws Exception - Specified by:
filterResponseText
in interfaceHttpFilter
- Throws:
Exception
-
filterResponseBinary
public void filterResponseBinary(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) throws Exception - Specified by:
filterResponseBinary
in interfaceHttpFilter
- Throws:
Exception
-
initFilter
- Specified by:
initFilter
in interfaceHttpFilter
- Throws:
Exception
-