Class RequestMappingContext
- java.lang.Object
-
- springfox.documentation.spi.service.contexts.RequestMappingContext
-
public class RequestMappingContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RequestMappingContext(java.lang.String requestMappingId, DocumentationContext context, RequestHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.classmate.ResolvedType
alternateFor(com.fasterxml.classmate.ResolvedType resolvedType)
ApiDescriptionBuilder
apiDescriptionBuilder()
java.util.Set<org.springframework.http.MediaType>
consumes()
RequestMappingContext
copyPatternUsing(java.lang.String requestMappingPattern)
<T extends java.lang.annotation.Annotation>
java.util.Optional<T>findAnnotation(java.lang.Class<T> annotation)
<T extends java.lang.annotation.Annotation>
java.util.List<T>findAnnotations(java.lang.Class<T> annotation)
java.util.Set<com.fasterxml.classmate.ResolvedType>
getAdditionalModels()
DocumentationContext
getDocumentationContext()
GenericTypeNamingStrategy
getGenericsNamingStrategy()
java.lang.String
getGroupName()
java.util.Set<java.lang.Class>
getIgnorableParameterTypes()
java.util.Set<org.springframework.web.bind.annotation.RequestMethod>
getMethodsCondition()
java.util.Map<java.lang.String,java.util.Set<Model>>
getModelMap()
java.lang.String
getName()
java.util.List<ResolvedMethodParameter>
getParameters()
PatternsRequestCondition
getPatternsCondition()
java.lang.String
getRequestMappingPattern()
com.fasterxml.classmate.ResolvedType
getReturnType()
java.util.Set<NameValueExpression<java.lang.String>>
headers()
RequestHandlerKey
key()
OperationModelContextsBuilder
operationModelsBuilder()
java.util.Comparator<Operation>
operationOrdering()
java.util.Set<NameValueExpression<java.lang.String>>
params()
java.util.Set<org.springframework.http.MediaType>
produces()
RequestMappingContext
withKnownModels(java.util.Map<java.lang.String,java.util.Set<Model>> knownModels)
-
-
-
Constructor Detail
-
RequestMappingContext
public RequestMappingContext(java.lang.String requestMappingId, DocumentationContext context, RequestHandler handler)
-
-
Method Detail
-
getDocumentationContext
public DocumentationContext getDocumentationContext()
-
getRequestMappingPattern
public java.lang.String getRequestMappingPattern()
-
getModelMap
public java.util.Map<java.lang.String,java.util.Set<Model>> getModelMap()
-
operationModelsBuilder
public OperationModelContextsBuilder operationModelsBuilder()
-
apiDescriptionBuilder
public ApiDescriptionBuilder apiDescriptionBuilder()
-
alternateFor
public com.fasterxml.classmate.ResolvedType alternateFor(com.fasterxml.classmate.ResolvedType resolvedType)
-
operationOrdering
public java.util.Comparator<Operation> operationOrdering()
-
copyPatternUsing
public RequestMappingContext copyPatternUsing(java.lang.String requestMappingPattern)
-
withKnownModels
public RequestMappingContext withKnownModels(java.util.Map<java.lang.String,java.util.Set<Model>> knownModels)
-
getIgnorableParameterTypes
public java.util.Set<java.lang.Class> getIgnorableParameterTypes()
-
getGenericsNamingStrategy
public GenericTypeNamingStrategy getGenericsNamingStrategy()
-
getAdditionalModels
public java.util.Set<com.fasterxml.classmate.ResolvedType> getAdditionalModels()
-
getPatternsCondition
public PatternsRequestCondition getPatternsCondition()
-
getName
public java.lang.String getName()
-
getMethodsCondition
public java.util.Set<org.springframework.web.bind.annotation.RequestMethod> getMethodsCondition()
-
produces
public java.util.Set<org.springframework.http.MediaType> produces()
-
consumes
public java.util.Set<org.springframework.http.MediaType> consumes()
-
headers
public java.util.Set<NameValueExpression<java.lang.String>> headers()
-
params
public java.util.Set<NameValueExpression<java.lang.String>> params()
-
getGroupName
public java.lang.String getGroupName()
-
getParameters
public java.util.List<ResolvedMethodParameter> getParameters()
-
findAnnotation
public <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.Class<T> annotation)
-
findAnnotations
public <T extends java.lang.annotation.Annotation> java.util.List<T> findAnnotations(java.lang.Class<T> annotation)
-
getReturnType
public com.fasterxml.classmate.ResolvedType getReturnType()
-
key
public RequestHandlerKey key()
-
-