Package org.jboss.resteasy.spi.metadata
Class DefaultResourceLocator
- java.lang.Object
-
- org.jboss.resteasy.spi.metadata.DefaultResourceLocator
-
- All Implemented Interfaces:
ResourceLocator
- Direct Known Subclasses:
DefaultResourceMethod
public class DefaultResourceLocator extends Object implements ResourceLocator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected MethodannotatedMethodprotected Stringfullpathprotected TypegenericReturnTypeprotected Methodmethodprotected MethodParameter[]paramsprotected Stringpathprotected ResourceClassresourceClassprotected Class<?>returnType
-
Constructor Summary
Constructors Constructor Description DefaultResourceLocator(ResourceClass resourceClass, Method method, Method annotatedMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodgetAnnotatedMethod()StringgetFullpath()TypegetGenericReturnType()MethodgetMethod()MethodParameter[]getParams()StringgetPath()ResourceClassgetResourceClass()Class<?>getReturnType()StringtoString()
-
-
-
Field Detail
-
resourceClass
protected ResourceClass resourceClass
-
returnType
protected Class<?> returnType
-
genericReturnType
protected Type genericReturnType
-
method
protected Method method
-
annotatedMethod
protected Method annotatedMethod
-
params
protected MethodParameter[] params
-
fullpath
protected String fullpath
-
path
protected String path
-
-
Constructor Detail
-
DefaultResourceLocator
public DefaultResourceLocator(ResourceClass resourceClass, Method method, Method annotatedMethod)
-
-
Method Detail
-
getResourceClass
public ResourceClass getResourceClass()
- Specified by:
getResourceClassin interfaceResourceLocator
-
getReturnType
public Class<?> getReturnType()
- Specified by:
getReturnTypein interfaceResourceLocator
-
getGenericReturnType
public Type getGenericReturnType()
- Specified by:
getGenericReturnTypein interfaceResourceLocator
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfaceResourceLocator
-
getAnnotatedMethod
public Method getAnnotatedMethod()
- Specified by:
getAnnotatedMethodin interfaceResourceLocator
-
getParams
public MethodParameter[] getParams()
- Specified by:
getParamsin interfaceResourceLocator
-
getFullpath
public String getFullpath()
- Specified by:
getFullpathin interfaceResourceLocator
-
getPath
public String getPath()
- Specified by:
getPathin interfaceResourceLocator
-
-