|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebResourceCollectionType<T>
This interface defines the contract for the web-resource-collectionType xsd type
Original Documentation:
The web-resource-collectionType is used to identify the
resources and HTTP methods on those resources to which a
security constraint applies. If no HTTP methods are specified,
then the security constraint applies to all HTTP methods.
If HTTP methods are specified by http-method-omission
elements, the security constraint applies to all methods
except those identified in the collection.
http-method-omission and http-method elements are never
mixed in the same collection.
Used in: security-constraint
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getHttpMethodList()
Returns all http-method elements |
java.util.List<java.lang.String> |
getHttpMethodOmissionList()
Returns all http-method-omission elements |
java.util.List<java.lang.String> |
getUrlPatternList()
Returns all url-pattern elements |
java.lang.String |
getWebResourceName()
Returns the web-resource-name element |
WebResourceCollectionType<T> |
removeAllDescription()
Removes the description element |
WebResourceCollectionType<T> |
removeAllHttpMethod()
Removes the http-method element |
WebResourceCollectionType<T> |
removeAllHttpMethodOmission()
Removes the http-method-omission element |
WebResourceCollectionType<T> |
removeAllUrlPattern()
Removes the url-pattern element |
WebResourceCollectionType<T> |
removeWebResourceName()
Removes the web-resource-name element |
WebResourceCollectionType<T> |
setDescription(java.lang.String description)
Creates a new description element |
WebResourceCollectionType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
WebResourceCollectionType<T> |
setHttpMethod(java.lang.String httpMethod)
Creates a new http-method element |
WebResourceCollectionType<T> |
setHttpMethodList(java.lang.String... values)
Creates for all String objects representing http-method elements,
a new http-method element |
WebResourceCollectionType<T> |
setHttpMethodOmission(java.lang.String httpMethodOmission)
Creates a new http-method-omission element |
WebResourceCollectionType<T> |
setHttpMethodOmissionList(java.lang.String... values)
Creates for all String objects representing http-method-omission elements,
a new http-method-omission element |
WebResourceCollectionType<T> |
setUrlPattern(java.lang.String urlPattern)
Creates a new url-pattern element |
WebResourceCollectionType<T> |
setUrlPatternList(java.lang.String... values)
Creates for all String objects representing url-pattern elements,
a new url-pattern element |
WebResourceCollectionType<T> |
setWebResourceName(java.lang.String webResourceName)
If not already created, a new web-resource-name element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
WebResourceCollectionType<T> setWebResourceName(java.lang.String webResourceName)
web-resource-name element with the given value will be created.
Otherwise, the existing web-resource-name element will be updated with the given value.
WebResourceCollectionTypeWebResourceCollectionType<T> removeWebResourceName()
web-resource-name element
WebResourceCollectionTypejava.lang.String getWebResourceName()
web-resource-name element
web-resource-nameWebResourceCollectionType<T> setDescription(java.lang.String description)
description element
WebResourceCollectionTypeWebResourceCollectionType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
WebResourceCollectionTypeWebResourceCollectionType<T> removeAllDescription()
description element
WebResourceCollectionTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionWebResourceCollectionType<T> setUrlPattern(java.lang.String urlPattern)
url-pattern element
WebResourceCollectionTypeWebResourceCollectionType<T> setUrlPatternList(java.lang.String... values)
url-pattern elements,
a new url-pattern element
list - of url-pattern objects
WebResourceCollectionTypeWebResourceCollectionType<T> removeAllUrlPattern()
url-pattern element
WebResourceCollectionTypejava.util.List<java.lang.String> getUrlPatternList()
url-pattern elements
url-patternWebResourceCollectionType<T> setHttpMethod(java.lang.String httpMethod)
http-method element
WebResourceCollectionTypeWebResourceCollectionType<T> setHttpMethodList(java.lang.String... values)
http-method elements,
a new http-method element
list - of http-method objects
WebResourceCollectionTypeWebResourceCollectionType<T> removeAllHttpMethod()
http-method element
WebResourceCollectionTypejava.util.List<java.lang.String> getHttpMethodList()
http-method elements
http-methodWebResourceCollectionType<T> setHttpMethodOmission(java.lang.String httpMethodOmission)
http-method-omission element
WebResourceCollectionTypeWebResourceCollectionType<T> setHttpMethodOmissionList(java.lang.String... values)
http-method-omission elements,
a new http-method-omission element
list - of http-method-omission objects
WebResourceCollectionTypeWebResourceCollectionType<T> removeAllHttpMethodOmission()
http-method-omission element
WebResourceCollectionTypejava.util.List<java.lang.String> getHttpMethodOmissionList()
http-method-omission elements
http-method-omission
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||