Class 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 the HttpHeader 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 fix HttpHeader instances.
      • Methods inherited from class javax.servlet.http.HttpFilter

        doFilter
      • Methods inherited from class javax.servlet.GenericFilter

        getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.Filter

        destroy
    • Method Detail

      • loadFixHeaders

        protected void loadFixHeaders​(javax.servlet.http.HttpServletResponse response)
        Loads the fix HttpHeader 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 class javax.servlet.http.HttpFilter
        Throws:
        java.io.IOException
        javax.servlet.ServletException