org.apache.cxf.jaxrs.model
Class ClassResourceInfo
java.lang.Object
org.apache.cxf.jaxrs.model.AbstractResourceInfo
org.apache.cxf.jaxrs.model.ClassResourceInfo
public class ClassResourceInfo
- extends AbstractResourceInfo
Constructor Summary |
ClassResourceInfo(Class<?> theResourceClass)
|
ClassResourceInfo(Class<?> theResourceClass,
boolean theRoot)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> c,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
String consumesTypes,
String producesTypes)
|
ClassResourceInfo(ClassResourceInfo cri)
|
Methods inherited from class org.apache.cxf.jaxrs.model.AbstractResourceInfo |
clearThreadLocalProxies, getContextFieldProxy, getContextFields, getContextMethods, getContextSetterProxy, getResourceClass, getResourceFieldProxy, getResourceFields, getServiceClass, isRoot, setResourceClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass)
ClassResourceInfo
public ClassResourceInfo(ClassResourceInfo cri)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
boolean theRoot)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> c,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
String consumesTypes,
String producesTypes)
findResource
public ClassResourceInfo findResource(Class<?> typedClass,
Class<?> instanceClass)
getSubResource
public ClassResourceInfo getSubResource(Class<?> typedClass,
Class<?> instanceClass)
getSubResources
public Collection<ClassResourceInfo> getSubResources()
getAllowedMethods
public Set<String> getAllowedMethods()
getURITemplate
public URITemplate getURITemplate()
setURITemplate
public void setURITemplate(URITemplate u)
getMethodDispatcher
public MethodDispatcher getMethodDispatcher()
setMethodDispatcher
public void setMethodDispatcher(MethodDispatcher md)
hasSubResources
public boolean hasSubResources()
addSubClassResourceInfo
public void addSubClassResourceInfo(ClassResourceInfo cri)
isCreatedFromModel
public boolean isCreatedFromModel()
getResourceProvider
public ResourceProvider getResourceProvider()
setResourceProvider
public void setResourceProvider(ResourceProvider rp)
getProduceMime
public List<javax.ws.rs.core.MediaType> getProduceMime()
getConsumeMime
public List<javax.ws.rs.core.MediaType> getConsumeMime()
getPath
public javax.ws.rs.Path getPath()
getParameterMethods
public List<Method> getParameterMethods()
getParameterFields
public List<Field> getParameterFields()
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in class AbstractResourceInfo
Apache CXF