Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.webapp30 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webcommon30 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webfragment30 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ServletMappingType<WebAppDescriptor> |
WebAppDescriptor.createServletMapping()
Creates a new
servlet-mapping element |
ServletMappingType<WebAppDescriptor> |
WebAppDescriptor.getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ServletMappingType<WebAppDescriptor>> |
WebAppDescriptor.getAllServletMapping()
Returns all
servlet-mapping elements |
Modifier and Type | Method and Description |
---|---|
ServletMappingType<WebAppType<T>> |
WebAppType.createServletMapping()
Creates a new
servlet-mapping element |
ServletMappingType<WebFragmentType<T>> |
WebFragmentType.createServletMapping()
Creates a new
servlet-mapping element |
ServletMappingType<WebAppType<T>> |
WebAppType.getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
ServletMappingType<WebFragmentType<T>> |
WebFragmentType.getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
ServletMappingType<T> |
ServletMappingType.removeAllUrlPattern()
Removes the
url-pattern element |
ServletMappingType<T> |
ServletMappingType.removeServletName()
Removes the
servlet-name element |
ServletMappingType<T> |
ServletMappingType.servletName(String servletName)
Sets the
servlet-name element |
ServletMappingType<T> |
ServletMappingType.urlPattern(String... values)
Creates for all String objects representing
url-pattern elements,
a new url-pattern element |
Modifier and Type | Method and Description |
---|---|
List<ServletMappingType<WebAppType<T>>> |
WebAppType.getAllServletMapping()
Returns all
servlet-mapping elements |
List<ServletMappingType<WebFragmentType<T>>> |
WebFragmentType.getAllServletMapping()
Returns all
servlet-mapping elements |
Modifier and Type | Method and Description |
---|---|
ServletMappingType<WebFragmentDescriptor> |
WebFragmentDescriptor.createServletMapping()
Creates a new
servlet-mapping element |
ServletMappingType<WebFragmentDescriptor> |
WebFragmentDescriptor.getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ServletMappingType<WebFragmentDescriptor>> |
WebFragmentDescriptor.getAllServletMapping()
Returns all
servlet-mapping elements |
Copyright © 2014 JBoss by Red Hat. All rights reserved.