Class AbstractServletHttpServerImplementationTest.FixHeadersFilter
- java.lang.Object
-
- javax.servlet.GenericFilter
-
- javax.servlet.http.HttpFilter
-
- net.officefloor.server.servlet.test.AbstractServletHttpServerImplementationTest.FixHeadersFilter
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Filter
,javax.servlet.FilterConfig
- Enclosing class:
- AbstractServletHttpServerImplementationTest
public static class AbstractServletHttpServerImplementationTest.FixHeadersFilter extends javax.servlet.http.HttpFilter
Filter
to fix theHttpHeader
instances.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain)
protected void
loadFixHeaders(javax.servlet.http.HttpServletResponse response)
Loads the fixHttpHeader
instances.-
Methods inherited from class javax.servlet.GenericFilter
getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init
-
-
-
-
Method Detail
-
loadFixHeaders
protected void loadFixHeaders(javax.servlet.http.HttpServletResponse response)
Loads the fixHttpHeader
instances.- Parameters:
response
-HttpServletResponse
.
-
doFilter
protected void doFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
- Overrides:
doFilter
in classjavax.servlet.http.HttpFilter
- Throws:
java.io.IOException
javax.servlet.ServletException
-
-