Interface ServletDef
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Descriptor,WebAppDescriptor
- All Known Subinterfaces:
ServletMappingDef
- All Known Implementing Classes:
ServletDefImpl,ServletMappingDefImpl
public interface ServletDef extends WebAppDescriptor
- Author:
- Lincoln Baxter, III
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServletDefasyncSupported(boolean value)StringgetInitParam(String name)Map<String,String>getInitParams()intgetLoadOnStartup()StringgetName()StringgetServletClass()ServletDefinitParam(String name, Object value)booleanisAsyncSupported()ServletDefloadOnStartup(int order)ServletMappingDefmapping()ServletDefname(String name)ServletDefservletClass(Class<?> clazz)ServletDefservletClass(String clazz)-
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
-
Methods inherited from interface org.jboss.arquillian.protocol.servlet.arq514hack.descriptors.api.web.WebAppDescriptor
displayName, servlet, servlet, version
-
-
-
-
Method Detail
-
name
ServletDef name(String name)
-
servletClass
ServletDef servletClass(Class<?> clazz)
-
servletClass
ServletDef servletClass(String clazz)
-
asyncSupported
ServletDef asyncSupported(boolean value)
-
initParam
ServletDef initParam(String name, Object value)
-
loadOnStartup
ServletDef loadOnStartup(int order)
-
mapping
ServletMappingDef mapping()
-
getName
String getName()
-
getServletClass
String getServletClass()
-
isAsyncSupported
boolean isAsyncSupported()
-
getLoadOnStartup
int getLoadOnStartup()
-
-