public class WebXmlServlet extends Object
Constructor | Description |
---|---|
WebXmlServlet() |
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.
|
public void addInitParam(WebXmlServletInitParam initParam)
initParam
- the init param.public String getClassName()
public List<WebXmlServletInitParam> getInitParams()
public boolean isAsyncSupported()
public String getServletName()
public void setClassName(String className)
className
- the class name.public void setAsyncSupported(boolean asyncSupported)
asyncSupported
- the boolean value.public void setServletName(String servletName)
servletName
- the servlet name.Copyright © 2020 Piranha Cloud. All rights reserved.