public class SpringCollector extends AbstractCollector
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONTROLLER_ANNOTATION |
protected static String |
MAPPING_ANNOTATION |
protected static String |
PARAM_ANNOTATION |
protected static String |
PATHVAR_ANNOTATION |
protected static String |
REQUESTBODY_ANNOTATION |
| Constructor and Description |
|---|
SpringCollector() |
| 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 CONTROLLER_ANNOTATION
protected static final String MAPPING_ANNOTATION
protected static final String PATHVAR_ANNOTATION
protected static final String PARAM_ANNOTATION
protected static final String REQUESTBODY_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 © 2013–2015 Calrissian. All rights reserved.