java.lang.Object
cloud.piranha.webapp.impl.WebXmlServlet
The web.xml servlet.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInitParam(WebXmlServletInitParam initParam)
Add init param.Returns the class name.Returns the init params.Returns the jsp file.Returns the multipartConfig.Returns the security role refs.Returns the servlet name.boolean
Is async supported.void
setAsyncSupported(boolean asyncSupported)
Set if async is supported.void
setClassName(String className)
Set the class name.void
setJspFile(String jspFile)
Set the JSP filevoid
setMultipartConfig(WebXmlServletMultipartConfig multipartConfig)
void
setServletName(String servletName)
Set the servlet name.toString()
Return string representation.
-
Constructor Details
-
WebXmlServlet
public WebXmlServlet()
-
-
Method Details
-
addInitParam
Add init param.- Parameters:
initParam
- the init param.
-
getClassName
Returns the class name.- Returns:
- the class name
-
getInitParams
Returns the init params.- Returns:
- the init params
-
getSecurityRoleRefs
Returns the security role refs.- Returns:
- the security role refs
-
isAsyncSupported
public boolean isAsyncSupported()Is async supported.- Returns:
- true if it is, false otherwise.
-
getServletName
Returns the servlet name.- Returns:
- the servlet name
-
setClassName
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
Set the servlet name.- Parameters:
servletName
- the servlet name.
-
getJspFile
Returns the jsp file.- Returns:
- the jsp file
-
setJspFile
Set the JSP file- Parameters:
jspFile
- - the JSP file
-
getMultipartConfig
Returns the multipartConfig.- Returns:
- the multipartConfig
-
setMultipartConfig
- Parameters:
multipartConfig
- the multipartConfig to set
-
toString
Return string representation.
-