Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.webapp25 |
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. |
ServletMappingType<T> |
ServletMappingType.id(String id)
Sets the
id attribute |
ServletMappingType<T> |
ServletMappingType.removeAllUrlPattern()
Removes the
url-pattern element |
ServletMappingType<T> |
ServletMappingType.removeId()
Removes the
id attribute |
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<WebAppDescriptor>> |
WebAppDescriptor.getAllServletMapping()
Returns all
servlet-mapping elements |
Copyright © 2021 JBoss by Red Hat. All rights reserved.