java.lang.Object
cloud.piranha.core.api.WebXmlServlet
A servlet inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInitParam
(WebXmlServletInitParam initParam) Add init param.Get the class name.Get the init parameters.Get the JSP file.Get the multipart config.Get the security role refs.Get 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 file.void
setMultipartConfig
(WebXmlServletMultipartConfig multipartConfig) Set the multipart config.void
setServletName
(String servletName) Set the servlet name.toString()
Get the string representation.
-
Constructor Details
-
WebXmlServlet
public WebXmlServlet()
-
-
Method Details
-
addInitParam
Add init param.- Parameters:
initParam
- the init param.
-
getClassName
Get the class name.- Returns:
- the class name.
-
getInitParams
Get the init parameters.- Returns:
- the init parameters.
-
getJspFile
Get the JSP file.- Returns:
- the JSP file.
-
getMultipartConfig
Get the multipart config.- Returns:
- the multipart config.
-
getSecurityRoleRefs
Get the security role refs.- Returns:
- the security role refs.
-
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
Set the class name.- Parameters:
className
- the class name.
-
setJspFile
Set the JSP file.- Parameters:
jspFile
- the JSP file.
-
setMultipartConfig
Set the multipart config.- Parameters:
multipartConfig
- the multipart config.
-
setServletName
Set the servlet name.- Parameters:
servletName
- the servlet name.
-
toString
Get the string representation.
-