public class ResourceDocAccessor
extends java.lang.Object
Constructor and Description |
---|
ResourceDocAccessor(ResourceDocType resourceDoc) |
Modifier and Type | Method and Description |
---|---|
ClassDocType |
getClassDoc(java.lang.Class<?> resourceClass) |
MethodDocType |
getMethodDoc(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method) |
ParamDocType |
getParamDoc(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method,
Parameter p) |
RepresentationDocType |
getRequestRepresentation(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method,
java.lang.String mediaType) |
ResponseDocType |
getResponse(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method) |
public ResourceDocAccessor(ResourceDocType resourceDoc)
public ClassDocType getClassDoc(java.lang.Class<?> resourceClass)
public MethodDocType getMethodDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
public ParamDocType getParamDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, Parameter p)
resourceClass
- method
- p
- public RepresentationDocType getRequestRepresentation(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, java.lang.String mediaType)
public ResponseDocType getResponse(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
Copyright © 2016 Oracle Corporation. All Rights Reserved.