Package cloud.piranha.webapp.webxml
Class WebXmlServlet
- java.lang.Object
-
- cloud.piranha.webapp.webxml.WebXmlServlet
-
public class WebXmlServlet extends Object
The web.xml servlet.- Author:
- Manfred Riem ([email protected])
-
-
Constructor Summary
Constructors Constructor Description WebXmlServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInitParam(WebXmlServletInitParam initParam)
Add init param.String
getClassName()
Get the class name.List<WebXmlServletInitParam>
getInitParams()
Get the init params.String
getServletName()
Get the servlet name.boolean
isAsyncSupported()
Is async supported.void
setAsyncSupported(boolean asyncSupported)
Set if async is supported.void
setClassName(String className)
Set the class name.void
setServletName(String servletName)
Set the servlet name.String
toString()
Return string representation.
-
-
-
Method Detail
-
addInitParam
public void addInitParam(WebXmlServletInitParam initParam)
Add init param.- Parameters:
initParam
- the init param.
-
getClassName
public String getClassName()
Get the class name.- Returns:
- the class name.
-
getInitParams
public List<WebXmlServletInitParam> getInitParams()
Get the init params.- Returns:
- the init params.
-
isAsyncSupported
public boolean isAsyncSupported()
Is async supported.- Returns:
- true if it is, false otherwise.
-
getServletName
public String getServletName()
Get the servlet name.- Returns:
- the servlet name.
-
setClassName
public void setClassName(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(String servletName)
Set the servlet name.- Parameters:
servletName
- the servlet name.
-
-