Serializable, Cloneable, org.jboss.metadata.javaee.support.IdMetaData, org.jboss.metadata.javaee.support.MappableMetaData, org.jboss.metadata.javaee.support.WithDescriptionspublic class WebResourceCollectionMetaData
extends org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
| Modifier and Type | Field | 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 | Description |
|---|---|
WebResourceCollectionMetaData() |
| 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() |
|
String |
getWebResourceName() |
|
void |
setHttpMethodOmissions(List<String> httpMethodOmissions) |
|
void |
setHttpMethods(List<String> httpMethods) |
|
void |
setUrlPatterns(List<String> urlPatterns) |
|
void |
setWebResourceName(String webResourceName) |
equals, getKey, getName, hashCode, setName, toStringpublic 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 © 2018 JBoss by Red Hat. All rights reserved.