org.jboss.metadata.web.spec
Class WebResourceCollectionMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
              extended by org.jboss.metadata.web.spec.WebResourceCollectionMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData

public class WebResourceCollectionMetaData
extends NamedMetaDataWithDescriptions

Version:
$Revision: 84989 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Field Summary
static String[] ALL_HTTP_METHOD_NAMES
           
static Set<String> ALL_HTTP_METHODS
          The set of all http methods: DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE
 
Constructor Summary
WebResourceCollectionMetaData()
           
 
Method Summary
 List<String> getHttpMethods()
           
static String[] getMissingHttpMethods(Collection<String> httpMethods)
          Get http methods in ALL_HTTP_METHODS not in the argument httpMethods.
 List<String> getUrlPatterns()
           
 String getWebResourceName()
           
 void setHttpMethods(List<String> httpMethods)
           
 void setUrlPatterns(List<String> urlPatterns)
           
 void setWebResourceName(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, merge, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, 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
 

Field Detail

ALL_HTTP_METHODS

public static final Set<String> ALL_HTTP_METHODS
The set of all http methods: DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE


ALL_HTTP_METHOD_NAMES

public static final String[] ALL_HTTP_METHOD_NAMES
Constructor Detail

WebResourceCollectionMetaData

public WebResourceCollectionMetaData()
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)

getUrlPatterns

public List<String> getUrlPatterns()

setUrlPatterns

public void setUrlPatterns(List<String> urlPatterns)

getHttpMethods

public List<String> getHttpMethods()

setHttpMethods

public void setHttpMethods(List<String> httpMethods)


Copyright © 2009 JBoss Inc.. All Rights Reserved.