Class WebXmlServlet

java.lang.Object
cloud.piranha.webapp.impl.WebXmlServlet

public class WebXmlServlet
extends java.lang.Object
The web.xml servlet.
Author:
Manfred Riem ([email protected])
  • Constructor Details

  • Method Details

    • addInitParam

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

      public java.lang.String getClassName()
      Get the class name.
      Returns:
      the class name.
    • getInitParams

      public java.util.List<WebXmlServletInitParam> getInitParams()
      Get the init params.
      Returns:
      the init params.
    • getSecurityRoleRefs

      public java.util.List<WebXmlServletSecurityRoleRef> getSecurityRoleRefs()
      Get the security role refs.
      Returns:
      the security role refs.
    • isAsyncSupported

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

      public java.lang.String getServletName()
      Get the servlet name.
      Returns:
      the servlet name.
    • setClassName

      public void setClassName​(java.lang.String className)
      Set the class name.
      Parameters:
      className - the class name.
    • setAsyncSupported

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

      public void setServletName​(java.lang.String servletName)
      Set the servlet name.
      Parameters:
      servletName - the servlet name.
    • getJspFile

      public java.lang.String getJspFile()
      Get the jsp file
      Returns:
      the jsp file
    • setJspFile

      public void setJspFile​(java.lang.String jspFile)
      Set the JSP file
      Parameters:
      jspFile - - the JSP file
    • toString

      public java.lang.String toString()
      Return string representation.
      Overrides:
      toString in class java.lang.Object
      Returns:
      the string representation.