public class DefaultResourceMethod extends DefaultResourceLocator implements ResourceMethod
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
asynchronous |
protected MediaType[] |
consumes |
protected Set<String> |
httpMethods |
protected MediaType[] |
produces |
annotatedMethod, fullpath, genericReturnType, method, params, path, resourceClass, returnType| Constructor and Description |
|---|
DefaultResourceMethod(ResourceClass declaredClass,
Method method,
Method annotatedMethod) |
| Modifier and Type | Method and Description |
|---|---|
MediaType[] |
getConsumes() |
Set<String> |
getHttpMethods() |
MediaType[] |
getProduces() |
boolean |
isAsynchronous() |
void |
markAsynchronous() |
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnTypeprotected MediaType[] produces
protected MediaType[] consumes
protected boolean asynchronous
public DefaultResourceMethod(ResourceClass declaredClass, Method method, Method annotatedMethod)
public Set<String> getHttpMethods()
getHttpMethods in interface ResourceMethodpublic MediaType[] getProduces()
getProduces in interface ResourceMethodpublic MediaType[] getConsumes()
getConsumes in interface ResourceMethodpublic boolean isAsynchronous()
isAsynchronous in interface ResourceMethodpublic void markAsynchronous()
markAsynchronous in interface ResourceMethodCopyright © 2019 JBoss by Red Hat. All rights reserved.