public class JaxRSCollector extends AbstractCollector
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ANNOTATION_PACKAGE |
protected static String |
CONSUMES_ANNOTATION |
protected static String |
DELETE_ANNOTATION |
protected static String |
GET_ANNOTATION |
protected static String |
HEAD_ANNOTATION |
protected static String |
PARAM_ANNOTATION |
protected static String |
PATH_ANNOTATION |
protected static String |
PATHVAR_ANNOTATION |
protected static String |
POST_ANNOTATION |
protected static String |
PRODUCES_ANNOTATION |
protected static String |
PUT_ANNOTATION |
| Constructor and Description |
|---|
JaxRSCollector() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<PathVar> |
generatePathVars(com.sun.javadoc.MethodDoc methodDoc) |
protected Collection<QueryParam> |
generateQueryParams(com.sun.javadoc.MethodDoc methodDoc) |
protected RequestBody |
generateRequestBody(com.sun.javadoc.MethodDoc methodDoc) |
protected EndpointMapping |
getEndpointMapping(com.sun.javadoc.ProgramElementDoc doc) |
protected Collection<String> |
resolveHttpMethods(EndpointMapping classMapping,
EndpointMapping methodMapping)
Will use the method's mapped information if it is not empty, otherwise it
will use the class mapping information to retrieve all the https methods.
|
protected boolean |
shouldIgnoreClass(com.sun.javadoc.ClassDoc classDoc) |
protected boolean |
shouldIgnoreMethod(com.sun.javadoc.MethodDoc methodDoc) |
getAllEndpoints, getClassDescription, getClassDescriptor, getClassName, getContextPath, getDescriptors, getEndpoint, resolveConsumesInfo, resolvePaths, resolvesProducesInfoprotected static final String ANNOTATION_PACKAGE
protected static final String PATH_ANNOTATION
protected static final String GET_ANNOTATION
protected static final String POST_ANNOTATION
protected static final String PUT_ANNOTATION
protected static final String DELETE_ANNOTATION
protected static final String HEAD_ANNOTATION
protected static final String CONSUMES_ANNOTATION
protected static final String PRODUCES_ANNOTATION
protected static final String PATHVAR_ANNOTATION
protected static final String PARAM_ANNOTATION
protected boolean shouldIgnoreClass(com.sun.javadoc.ClassDoc classDoc)
shouldIgnoreClass in class AbstractCollectorprotected boolean shouldIgnoreMethod(com.sun.javadoc.MethodDoc methodDoc)
shouldIgnoreMethod in class AbstractCollectorprotected EndpointMapping getEndpointMapping(com.sun.javadoc.ProgramElementDoc doc)
getEndpointMapping in class AbstractCollectorprotected Collection<PathVar> generatePathVars(com.sun.javadoc.MethodDoc methodDoc)
generatePathVars in class AbstractCollectorprotected Collection<QueryParam> generateQueryParams(com.sun.javadoc.MethodDoc methodDoc)
generateQueryParams in class AbstractCollectorprotected RequestBody generateRequestBody(com.sun.javadoc.MethodDoc methodDoc)
generateRequestBody in class AbstractCollectorprotected Collection<String> resolveHttpMethods(EndpointMapping classMapping, EndpointMapping methodMapping)
AbstractCollectorresolveHttpMethods in class AbstractCollectorCopyright © 2017 Anteros Tecnologia. All rights reserved.