public class DefaultResourceLocator extends Object implements ResourceLocator
Modifier and Type | Field and Description |
---|---|
protected Method |
annotatedMethod |
protected String |
fullpath |
protected Type |
genericReturnType |
protected Method |
method |
protected MethodParameter[] |
params |
protected String |
path |
protected ResourceClass |
resourceClass |
protected Class<?> |
returnType |
Constructor and Description |
---|
DefaultResourceLocator(ResourceClass resourceClass,
Method method,
Method annotatedMethod) |
Modifier and Type | Method and Description |
---|---|
Method |
getAnnotatedMethod() |
String |
getFullpath() |
Type |
getGenericReturnType() |
Method |
getMethod() |
MethodParameter[] |
getParams() |
String |
getPath() |
ResourceClass |
getResourceClass() |
Class<?> |
getReturnType() |
String |
toString() |
protected ResourceClass resourceClass
protected Class<?> returnType
protected Type genericReturnType
protected Method method
protected Method annotatedMethod
protected MethodParameter[] params
protected String fullpath
protected String path
public DefaultResourceLocator(ResourceClass resourceClass, Method method, Method annotatedMethod)
public ResourceClass getResourceClass()
getResourceClass
in interface ResourceLocator
public Class<?> getReturnType()
getReturnType
in interface ResourceLocator
public Type getGenericReturnType()
getGenericReturnType
in interface ResourceLocator
public Method getMethod()
getMethod
in interface ResourceLocator
public Method getAnnotatedMethod()
getAnnotatedMethod
in interface ResourceLocator
public MethodParameter[] getParams()
getParams
in interface ResourceLocator
public String getFullpath()
getFullpath
in interface ResourceLocator
public String getPath()
getPath
in interface ResourceLocator
Copyright © 2020 JBoss by Red Hat. All rights reserved.