Package org.jboss.metadata.web.spec
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
public class WebResourceCollectionMetaData extends NamedMetaDataWithDescriptions
- Version:
- $Revision: 84989 $
- Author:
- Scott.Stark@jboss.org
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ALL_HTTP_METHOD_NAMESstatic Set<String>ALL_HTTP_METHODSThe set of all http methods: DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE
-
Constructor Summary
Constructors Constructor Description WebResourceCollectionMetaData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getHttpMethodOmissions()List<String>getHttpMethods()static String[]getMissingHttpMethods(Collection<String> httpMethods)Get http methods in ALL_HTTP_METHODS not in the argument httpMethods.List<String>getUrlPatterns()StringgetWebResourceName()voidsetHttpMethodOmissions(List<String> httpMethodOmissions)voidsetHttpMethods(List<String> httpMethods)voidsetUrlPatterns(List<String> urlPatterns)voidsetWebResourceName(String webResourceName)-
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
getDescriptions, setDescriptions
-
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
-
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, setId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
-
-
-
-
Method Detail
-
getMissingHttpMethods
public static String[] getMissingHttpMethods(Collection<String> httpMethods)
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
public String getWebResourceName()
-
setWebResourceName
public void setWebResourceName(String webResourceName)
-
-