public class ResourceLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Method |
annotatedMethod |
protected String |
description |
protected String |
fullpath |
protected Type |
genericReturnType |
protected Method |
method |
protected MethodParameter[] |
params |
protected String |
path |
protected String |
pathExample |
protected ResourceClass |
resourceClass |
protected List<ReturnOption> |
returnOptions |
protected Class<?> |
returnType |
| Constructor and Description |
|---|
ResourceLocator(ResourceClass resourceClass,
Method method,
Method annotatedMethod) |
| Modifier and Type | Method and Description |
|---|---|
Method |
getAnnotatedMethod() |
String |
getDescription() |
String |
getFullpath() |
Type |
getGenericReturnType() |
Method |
getMethod() |
MethodParameter[] |
getParams() |
String |
getPath() |
String |
getPathExample() |
ResourceClass |
getResourceClass() |
ReturnOption |
getResponseObjectByStatus(int status) |
List<ReturnOption> |
getReturnOptions() |
Class<?> |
getReturnType() |
void |
messageBodyCheck() |
protected ResourceClass resourceClass
protected Class<?> returnType
protected Type genericReturnType
protected Method method
protected Method annotatedMethod
protected MethodParameter[] params
protected String fullpath
protected String path
protected String pathExample
protected String description
protected List<ReturnOption> returnOptions
public ResourceLocator(ResourceClass resourceClass, Method method, Method annotatedMethod)
public void messageBodyCheck()
public ResourceClass getResourceClass()
public Class<?> getReturnType()
public Type getGenericReturnType()
public Method getMethod()
public Method getAnnotatedMethod()
public MethodParameter[] getParams()
public String getFullpath()
public String getPath()
public String getPathExample()
public String getDescription()
public List<ReturnOption> getReturnOptions()
public ReturnOption getResponseObjectByStatus(int status)
Copyright © 2015. All rights reserved.