Class WebXmlFilter

java.lang.Object
cloud.piranha.core.api.WebXmlFilter

public class WebXmlFilter extends Object
A filter inside of web.xml/web-fragment.xml.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • WebXmlFilter

      public WebXmlFilter()
  • Method Details

    • addInitParam

      public void addInitParam(WebXmlFilterInitParam initParam)
      Add init param.
      Parameters:
      initParam - the init param.
    • getClassName

      public String getClassName()
      Get the class name.
      Returns:
      the class name.
    • getFilterName

      public String getFilterName()
      Get the filter name.
      Returns:
      the filter name.
    • getInitParams

      public List<WebXmlFilterInitParam> getInitParams()
      Get the init parameters.
      Returns:
      the init parameters.
    • getServletName

      public String getServletName()
      Get the servlet name.
      Returns:
      the servlet name.
    • isAsyncSupported

      public boolean isAsyncSupported()
      Is async supported.
      Returns:
      true if it is, false otherwise.
    • setAsyncSupported

      public void setAsyncSupported(boolean asyncSupported)
      Set if async is supported.
      Parameters:
      asyncSupported - the boolean value.
    • setClassName

      public void setClassName(String className)
      Set the class name.
      Parameters:
      className - the class name.
    • setFilterName

      public void setFilterName(String filterName)
      Set the filter name.
      Parameters:
      filterName - the filter name.
    • setServletName

      public void setServletName(String servletName)
      Set the servlet name.
      Parameters:
      servletName - the servlet name.