public class WebResourceCollectionMetaData extends NamedMetaDataWithDescriptions
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
WebResourceCollectionMetaData() |
Modifier and Type | Method and 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() |
String |
getWebResourceName() |
void |
setHttpMethodOmissions(List<String> httpMethodOmissions) |
void |
setHttpMethods(List<String> httpMethods) |
void |
setUrlPatterns(List<String> urlPatterns) |
void |
setWebResourceName(String webResourceName) |
getDescriptions, setDescriptions
equals, getKey, getName, hashCode, setName, toString
clone, getId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
getKey
public static final Set<String> ALL_HTTP_METHODS
public static final String[] ALL_HTTP_METHOD_NAMES
public static String[] getMissingHttpMethods(Collection<String> httpMethods)
httpMethods
- a set of http method namespublic String getWebResourceName()
public void setWebResourceName(String webResourceName)
Copyright © 2013 JBoss by Red Hat. All rights reserved.