
public interface ServletMappingType<T> extends Child<T>, JavaeeServletMappingCommonType<T,ServletMappingType<T>>
servlet-mappingType xsd type| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllUrlPattern()
Returns all
url-pattern elements |
String |
getId()
Returns the
id attribute |
String |
getServletName()
Returns the
servlet-name element |
ServletMappingType<T> |
id(String id)
Sets the
id attribute |
ServletMappingType<T> |
removeAllUrlPattern()
Removes the
url-pattern element |
ServletMappingType<T> |
removeId()
Removes the
id attribute |
ServletMappingType<T> |
removeServletName()
Removes the
servlet-name element |
ServletMappingType<T> |
servletName(String servletName)
Sets the
servlet-name element |
ServletMappingType<T> |
urlPattern(String... values)
Creates for all String objects representing
url-pattern elements,
a new url-pattern element |
ServletMappingType<T> servletName(String servletName)
servlet-name elementservletName - the value for the element servlet-nameServletMappingTypeString getServletName()
servlet-name elementservlet-nameServletMappingType<T> removeServletName()
servlet-name elementServletMappingTypeServletMappingType<T> urlPattern(String... values)
url-pattern elements,
a new url-pattern elementvalues - list of url-pattern objectsServletMappingTypeList<String> getAllUrlPattern()
url-pattern elementsurl-patternServletMappingType<T> removeAllUrlPattern()
url-pattern elementServletMappingTypeServletMappingType<T> id(String id)
id attributeid - the value for the attribute idServletMappingTypeString getId()
id attributeidServletMappingType<T> removeId()
id attributeServletMappingTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.