
public class ServletDefImpl extends WebAppDescriptorImpl implements ServletDef
| Constructor and Description |
|---|
ServletDefImpl(String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.node.Node webApp,
org.jboss.shrinkwrap.descriptor.spi.node.Node servlet) |
| Modifier and Type | Method and Description |
|---|---|
ServletDef |
asyncSupported(boolean value) |
String |
getInitParam(String name) |
Map<String,String> |
getInitParams() |
int |
getLoadOnStartup() |
String |
getName() |
org.jboss.shrinkwrap.descriptor.spi.node.Node |
getNode() |
String |
getServletClass() |
ServletDef |
initParam(String name,
Object value) |
boolean |
isAsyncSupported() |
ServletDef |
loadOnStartup(int order) |
ServletMappingDef |
mapping() |
ServletDef |
name(String name) |
ServletDef |
servletClass(Class<?> clazz) |
ServletDef |
servletClass(String clazz) |
displayName, getRootNode, servlet, servlet, versionexportTo, getExporterexportAsString, getDescriptorNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayName, servlet, servlet, versionpublic ServletDefImpl(String descriptorName, org.jboss.shrinkwrap.descriptor.spi.node.Node webApp, org.jboss.shrinkwrap.descriptor.spi.node.Node servlet)
public ServletDef name(String name)
name in interface ServletDefpublic ServletDef asyncSupported(boolean value)
asyncSupported in interface ServletDefpublic ServletDef initParam(String name, Object value)
initParam in interface ServletDefpublic ServletDef loadOnStartup(int order)
loadOnStartup in interface ServletDefpublic ServletMappingDef mapping()
mapping in interface ServletDefpublic ServletDef servletClass(Class<?> clazz)
servletClass in interface ServletDefpublic ServletDef servletClass(String clazz)
servletClass in interface ServletDefpublic String getServletClass()
getServletClass in interface ServletDefpublic String getName()
getName in interface ServletDefpublic String getInitParam(String name)
getInitParam in interface ServletDefpublic Map<String,String> getInitParams()
getInitParams in interface ServletDefpublic boolean isAsyncSupported()
isAsyncSupported in interface ServletDefpublic int getLoadOnStartup()
throws NumberFormatException
getLoadOnStartup in interface ServletDefNumberFormatExceptionpublic org.jboss.shrinkwrap.descriptor.spi.node.Node getNode()
Copyright © 2016 JBoss by Red Hat. All rights reserved.