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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType
protected MediaType[] produces
protected MediaType[] consumes
protected boolean asynchronous
public DefaultResourceMethod(ResourceClass declaredClass, Method method, Method annotatedMethod)
public Set<String> getHttpMethods()
getHttpMethods
in interface ResourceMethod
public MediaType[] getProduces()
getProduces
in interface ResourceMethod
public MediaType[] getConsumes()
getConsumes
in interface ResourceMethod
public boolean isAsynchronous()
isAsynchronous
in interface ResourceMethod
public void markAsynchronous()
markAsynchronous
in interface ResourceMethod
Copyright © 2019 JBoss by Red Hat. All rights reserved.