Package org.jboss.resteasy.spi.metadata
Class DefaultResourceMethod
- java.lang.Object
 - 
- org.jboss.resteasy.spi.metadata.DefaultResourceLocator
 - 
- org.jboss.resteasy.spi.metadata.DefaultResourceMethod
 
 
 
- 
- All Implemented Interfaces:
 ResourceLocator,ResourceMethod
public class DefaultResourceMethod extends DefaultResourceLocator implements ResourceMethod
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected booleanasynchronousprotected javax.ws.rs.core.MediaType[]consumesprotected Set<String>httpMethodsprotected javax.ws.rs.core.MediaType[]produces- 
Fields inherited from class org.jboss.resteasy.spi.metadata.DefaultResourceLocator
annotatedMethod, fullpath, genericReturnType, method, params, path, resourceClass, returnType 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DefaultResourceMethod(ResourceClass declaredClass, Method method, Method annotatedMethod) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.MediaType[]getConsumes()Set<String>getHttpMethods()javax.ws.rs.core.MediaType[]getProduces()booleanisAsynchronous()voidmarkAsynchronous()- 
Methods inherited from class org.jboss.resteasy.spi.metadata.DefaultResourceLocator
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType, toString 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.jboss.resteasy.spi.metadata.ResourceLocator
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DefaultResourceMethod
public DefaultResourceMethod(ResourceClass declaredClass, Method method, Method annotatedMethod)
 
 - 
 
- 
Method Detail
- 
getHttpMethods
public Set<String> getHttpMethods()
- Specified by:
 getHttpMethodsin interfaceResourceMethod
 
- 
getProduces
public javax.ws.rs.core.MediaType[] getProduces()
- Specified by:
 getProducesin interfaceResourceMethod
 
- 
getConsumes
public javax.ws.rs.core.MediaType[] getConsumes()
- Specified by:
 getConsumesin interfaceResourceMethod
 
- 
isAsynchronous
public boolean isAsynchronous()
- Specified by:
 isAsynchronousin interfaceResourceMethod
 
- 
markAsynchronous
public void markAsynchronous()
- Specified by:
 markAsynchronousin interfaceResourceMethod
 
 - 
 
 -