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
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected jakarta.ws.rs.core.MediaType[]protected jakarta.ws.rs.core.MediaType[]Fields inherited from class org.jboss.resteasy.spi.metadata.DefaultResourceLocator
annotatedMethod, fullpath, genericReturnType, method, params, path, resourceClass, returnType -
Constructor Summary
ConstructorsConstructorDescriptionDefaultResourceMethod(ResourceClass declaredClass, Method method, Method annotatedMethod) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType[]jakarta.ws.rs.core.MediaType[]booleanvoidMethods inherited from class org.jboss.resteasy.spi.metadata.DefaultResourceLocator
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.resteasy.spi.metadata.ResourceLocator
getAnnotatedMethod, getFullpath, getGenericReturnType, getMethod, getParams, getPath, getResourceClass, getReturnType
-
Field Details
-
httpMethods
-
produces
protected jakarta.ws.rs.core.MediaType[] produces -
consumes
protected jakarta.ws.rs.core.MediaType[] consumes -
asynchronous
protected boolean asynchronous
-
-
Constructor Details
-
DefaultResourceMethod
-
-
Method Details
-
getHttpMethods
- Specified by:
getHttpMethodsin interfaceResourceMethod
-
getProduces
public jakarta.ws.rs.core.MediaType[] getProduces()- Specified by:
getProducesin interfaceResourceMethod
-
getConsumes
public jakarta.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
-