Class WebResourceCollectionMetaData
java.lang.Object
org.jboss.metadata.javaee.support.IdMetaDataImpl
org.jboss.metadata.javaee.support.NamedMetaData
org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
org.jboss.metadata.web.spec.WebResourceCollectionMetaData
- All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData, WithDescriptions
- Version:
- $Revision: 84989 $
- Author:
- Scott.Stark@jboss.org
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]The set of all http methods: DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]getMissingHttpMethods(Collection<String> httpMethods) Get http methods in ALL_HTTP_METHODS not in the argument httpMethods.voidsetHttpMethodOmissions(List<String> httpMethodOmissions) voidsetHttpMethods(List<String> httpMethods) voidsetUrlPatterns(List<String> urlPatterns) voidsetWebResourceName(String webResourceName) Methods inherited from class NamedMetaDataWithDescriptions
getDescriptions, setDescriptionsMethods inherited from class IdMetaDataImpl
clone, getId, setIdMethods inherited from interface MappableMetaData
getKey
-
Field Details
-
ALL_HTTP_METHODS
-
ALL_HTTP_METHOD_NAMES
-
-
Constructor Details
-
WebResourceCollectionMetaData
public WebResourceCollectionMetaData()
-
-
Method Details
-
getMissingHttpMethods
Get http methods in ALL_HTTP_METHODS not in the argument httpMethods.- Parameters:
httpMethods- a set of http method names- Returns:
- possibly empty http methods in ALL_HTTP_METHODS not in httpMethods.
-
getWebResourceName
-
setWebResourceName
-
getUrlPatterns
-
setUrlPatterns
-
getHttpMethods
-
setHttpMethods
-
getHttpMethodOmissions
-
setHttpMethodOmissions
-