public class RequestMappingContext extends Object
| 构造器和说明 |
|---|
RequestMappingContext(DocumentationContext context,
RequestHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.fasterxml.classmate.ResolvedType |
alternateFor(com.fasterxml.classmate.ResolvedType resolvedType) |
ApiDescriptionBuilder |
apiDescriptionBuilder() |
Set<? extends org.springframework.http.MediaType> |
consumes() |
RequestMappingContext |
copyPatternUsing(String requestMappingPattern) |
<T extends Annotation> |
findAnnotation(Class<T> annotation) |
<T extends Annotation> |
findAnnotations(Class<T> annotation) |
<T extends Annotation> |
findControllerAnnotation(Class<T> annotation) |
com.google.common.collect.ImmutableSet<com.fasterxml.classmate.ResolvedType> |
getAdditionalModels() |
DocumentationContext |
getDocumentationContext() |
GenericTypeNamingStrategy |
getGenericsNamingStrategy() |
String |
getGroupName() |
com.google.common.collect.ImmutableSet<Class> |
getIgnorableParameterTypes() |
Set<org.springframework.web.bind.annotation.RequestMethod> |
getMethodsCondition() |
com.google.common.collect.ImmutableMap<String,Model> |
getModelMap() |
String |
getName() |
List<ResolvedMethodParameter> |
getParameters() |
org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition |
getPathPatternsCondition() |
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition |
getPatternsCondition() |
String |
getRequestMappingPattern() |
com.fasterxml.classmate.ResolvedType |
getReturnType() |
Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> |
headers() |
RequestHandlerKey |
key() |
OperationModelContextsBuilder |
operationModelsBuilder() |
com.google.common.collect.Ordering<Operation> |
operationOrdering() |
Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> |
params() |
Set<? extends org.springframework.http.MediaType> |
produces() |
RequestMappingContext |
withKnownModels(Map<String,Model> knownModels) |
public RequestMappingContext(DocumentationContext context, RequestHandler handler)
public DocumentationContext getDocumentationContext()
public String getRequestMappingPattern()
public OperationModelContextsBuilder operationModelsBuilder()
public ApiDescriptionBuilder apiDescriptionBuilder()
public com.fasterxml.classmate.ResolvedType alternateFor(com.fasterxml.classmate.ResolvedType resolvedType)
public com.google.common.collect.Ordering<Operation> operationOrdering()
public RequestMappingContext copyPatternUsing(String requestMappingPattern)
public RequestMappingContext withKnownModels(Map<String,Model> knownModels)
public com.google.common.collect.ImmutableSet<Class> getIgnorableParameterTypes()
public GenericTypeNamingStrategy getGenericsNamingStrategy()
public com.google.common.collect.ImmutableSet<com.fasterxml.classmate.ResolvedType> getAdditionalModels()
public org.springframework.web.servlet.mvc.condition.PatternsRequestCondition getPatternsCondition()
public org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition getPathPatternsCondition()
public String getName()
public Set<org.springframework.web.bind.annotation.RequestMethod> getMethodsCondition()
public Set<? extends org.springframework.http.MediaType> produces()
public Set<? extends org.springframework.http.MediaType> consumes()
public Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> headers()
public Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> params()
public String getGroupName()
public List<ResolvedMethodParameter> getParameters()
public <T extends Annotation> com.google.common.base.Optional<T> findAnnotation(Class<T> annotation)
public <T extends Annotation> com.google.common.base.Optional<T> findControllerAnnotation(Class<T> annotation)
public <T extends Annotation> List<T> findAnnotations(Class<T> annotation)
public com.fasterxml.classmate.ResolvedType getReturnType()
public RequestHandlerKey key()
Copyright © 2023. All rights reserved.