Module cloud.piranha.core.api
Package cloud.piranha.core.api
Class WebXmlSecurityConstraint.WebResourceCollection
java.lang.Object
cloud.piranha.core.api.WebXmlSecurityConstraint.WebResourceCollection
- Enclosing class:
- WebXmlSecurityConstraint
The <web-resource-collection> snippet inside a web.xml /
webfragment.xml.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the HTTP method omissions.Get the HTTP methods.Get the URL patterns.void
setHttpMethodOmissions
(List<String> httpMethodOmissions) Set the HTTP method omissions.void
setHttpMethods
(List<String> httpMethods) Set the HTTP methods.void
setUrlPatterns
(List<String> urlPatterns) Set the URL patterns.
-
Constructor Details
-
WebResourceCollection
public WebResourceCollection()
-
-
Method Details
-
getUrlPatterns
Get the URL patterns.- Returns:
- the URL patterns.
-
setUrlPatterns
Set the URL patterns.- Parameters:
urlPatterns
- the URL patterns.
-
getHttpMethods
Get the HTTP methods.- Returns:
- the HTTP methods.
-
setHttpMethods
Set the HTTP methods.- Parameters:
httpMethods
- the HTTP methods.
-
getHttpMethodOmissions
Get the HTTP method omissions.- Returns:
- the HTTP method omissions.
-
setHttpMethodOmissions
Set the HTTP method omissions.- Parameters:
httpMethodOmissions
- the HTTP method omissions.
-