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 Summary
Constructors Constructor Description WebXmlServlet()
-
Method Summary
Modifier and Type Method Description void
addInitParam(WebXmlServletInitParam initParam)
Add init param.java.lang.String
getClassName()
Get the class name.java.util.List<WebXmlServletInitParam>
getInitParams()
Get the init params.java.lang.String
getJspFile()
Get the jsp filejava.util.List<WebXmlServletSecurityRoleRef>
getSecurityRoleRefs()
Get the security role refs.java.lang.String
getServletName()
Get the servlet name.boolean
isAsyncSupported()
Is async supported.void
setAsyncSupported(boolean asyncSupported)
Set if async is supported.void
setClassName(java.lang.String className)
Set the class name.void
setJspFile(java.lang.String jspFile)
Set the JSP filevoid
setServletName(java.lang.String servletName)
Set the servlet name.java.lang.String
toString()
Return string representation.
-
Constructor Details
-
WebXmlServlet
public WebXmlServlet()
-
-
Method Details
-
addInitParam
Add init param.- Parameters:
initParam
- the init param.
-
getClassName
public java.lang.String getClassName()Get the class name.- Returns:
- the class name.
-
getInitParams
Get the init params.- Returns:
- the init params.
-
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 classjava.lang.Object
- Returns:
- the string representation.
-