Package org.jboss.resteasy.jsapi
Class MethodMetaData
- java.lang.Object
-
- org.jboss.resteasy.jsapi.MethodMetaData
-
public class MethodMetaData extends Object
-
-
Constructor Summary
Constructors Constructor Description MethodMetaData(ServiceRegistry serviceRegistry, ResourceMethodInvoker invoker)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringappendURIFragments(String... fragments)static StringappendURIFragments(ServiceRegistry registry, String classPath, String methodPath)StringgetConsumesMIMEType()StringgetFunctionName()StringgetFunctionPrefix()Collection<String>getHttpMethods()ResourceMethodInvokergetInvoker()Class<?>getKlass()MethodgetMethod()List<MethodParamMetaData>getParameters()static ResourceLocatorgetResourceLocator(ResourceInvoker invoker)StringgetUri()StringgetWants()protected voidprocessMetaData(Class<?> type, Annotation[] annotations, boolean useBody)
-
-
-
Constructor Detail
-
MethodMetaData
public MethodMetaData(ServiceRegistry serviceRegistry, ResourceMethodInvoker invoker) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getResourceLocator
public static ResourceLocator getResourceLocator(ResourceInvoker invoker) throws Exception
- Throws:
Exception
-
processMetaData
protected void processMetaData(Class<?> type, Annotation[] annotations, boolean useBody)
-
appendURIFragments
public static String appendURIFragments(ServiceRegistry registry, String classPath, String methodPath)
-
getInvoker
public ResourceMethodInvoker getInvoker()
-
getMethod
public Method getMethod()
-
getKlass
public Class<?> getKlass()
-
getWants
public String getWants()
-
getConsumesMIMEType
public String getConsumesMIMEType()
-
getUri
public String getUri()
-
getFunctionName
public String getFunctionName()
-
getParameters
public List<MethodParamMetaData> getParameters()
-
getHttpMethods
public Collection<String> getHttpMethods()
-
getFunctionPrefix
public String getFunctionPrefix()
-
-