public interface RequestHandler
| 限定符和类型 | 方法和说明 |
|---|---|
RequestHandler |
combine(RequestHandler other)
This is to merge two request handlers that are indistinguishable other than the media types supported
|
Set<? extends org.springframework.http.MediaType> |
consumes() |
Class<?> |
declaringClass()
已过时。
@since 2.7.0 This is introduced to preserve backwards compat with groups
|
<T extends Annotation> |
findAnnotation(Class<T> annotation) |
<T extends Annotation> |
findControllerAnnotation(Class<T> annotation) |
org.springframework.web.method.HandlerMethod |
getHandlerMethod()
已过时。
This is introduced to preserve backwards compat
|
String |
getName() |
List<ResolvedMethodParameter> |
getParameters() |
org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition |
getPathPatternsCondition() |
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition |
getPatternsCondition() |
org.springframework.web.servlet.mvc.method.RequestMappingInfo |
getRequestMapping()
已过时。
This is introduced to preserve backwards compat
|
com.fasterxml.classmate.ResolvedType |
getReturnType() |
String |
groupName() |
Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> |
headers() |
boolean |
isAnnotatedWith(Class<? extends Annotation> annotation) |
RequestHandlerKey |
key() |
Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> |
params() |
Set<? extends org.springframework.http.MediaType> |
produces() |
Set<org.springframework.web.bind.annotation.RequestMethod> |
supportedMethods() |
@Deprecated Class<?> declaringClass()
boolean isAnnotatedWith(Class<? extends Annotation> annotation)
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition getPatternsCondition()
org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition getPathPatternsCondition()
String groupName()
String getName()
Set<org.springframework.web.bind.annotation.RequestMethod> supportedMethods()
Set<? extends org.springframework.http.MediaType> produces()
Set<? extends org.springframework.http.MediaType> consumes()
<T extends Annotation> com.google.common.base.Optional<T> findAnnotation(Class<T> annotation)
RequestHandlerKey key()
List<ResolvedMethodParameter> getParameters()
com.fasterxml.classmate.ResolvedType getReturnType()
<T extends Annotation> com.google.common.base.Optional<T> findControllerAnnotation(Class<T> annotation)
@Deprecated org.springframework.web.servlet.mvc.method.RequestMappingInfo getRequestMapping()
@Deprecated org.springframework.web.method.HandlerMethod getHandlerMethod()
RequestHandler combine(RequestHandler other)
other - handlerCopyright © 2023. All rights reserved.