public class ResourceClass extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
clazz |
protected ResourceConstructor |
constructor |
protected String[] |
consumes |
protected String |
description |
protected FieldParameter[] |
fields |
protected String |
path |
protected String |
pathExample |
protected String[] |
produces |
protected ResourceLocator[] |
resourceLocators |
protected ResourceMethod[] |
resourceMethods |
protected SetterParameter[] |
setters |
| Constructor and Description |
|---|
ResourceClass(Class<?> clazz,
String path) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getClazz() |
ResourceConstructor |
getConstructor() |
String[] |
getConsumes() |
String |
getDescription() |
FieldParameter[] |
getFields() |
String |
getPath() |
String |
getPathExample() |
String[] |
getProduces() |
ResourceLocator[] |
getResourceLocators() |
ResourceMethod |
getResourceMethodByPath(String path) |
ResourceMethod[] |
getResourceMethods() |
SetterParameter[] |
getSetters() |
void |
setConstructor(ResourceConstructor constructor) |
void |
setConsumes(String[] consumes) |
void |
setDescription(String description) |
void |
setPath(String path) |
void |
setPathExample(String pathExample) |
void |
setProduces(String[] produces) |
protected Class<?> clazz
protected FieldParameter[] fields
protected SetterParameter[] setters
protected ResourceMethod[] resourceMethods
protected ResourceLocator[] resourceLocators
protected ResourceConstructor constructor
protected String path
protected String pathExample
protected String description
protected String[] consumes
protected String[] produces
public void setPathExample(String pathExample)
public String[] getConsumes()
public void setConsumes(String[] consumes)
public String[] getProduces()
public void setProduces(String[] produces)
public String getDescription()
public void setDescription(String description)
public void setConstructor(ResourceConstructor constructor)
public String getPath()
public void setPath(String path)
public String getPathExample()
public Class<?> getClazz()
public ResourceConstructor getConstructor()
public FieldParameter[] getFields()
public SetterParameter[] getSetters()
public ResourceMethod[] getResourceMethods()
public ResourceMethod getResourceMethodByPath(String path)
public ResourceLocator[] getResourceLocators()
Copyright © 2015. All rights reserved.