public interface RequestHandler
Modifier and Type | Method and Description |
---|---|
RequestHandler |
combine(RequestHandler other)
This is to merge two request handlers that are indistinguishable other than the media types supported
|
java.util.Set<? extends org.springframework.http.MediaType> |
consumes() |
java.lang.Class<?> |
declaringClass()
Deprecated.
@since 2.7.0 This is introduced to preserve backwards compat with groups
|
<T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<T> annotation) |
<T extends java.lang.annotation.Annotation> |
findControllerAnnotation(java.lang.Class<T> annotation) |
org.springframework.web.method.HandlerMethod |
getHandlerMethod()
Deprecated.
This is introduced to preserve backwards compat
|
java.lang.String |
getName() |
java.util.List<ResolvedMethodParameter> |
getParameters() |
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition |
getPatternsCondition() |
org.springframework.web.servlet.mvc.method.RequestMappingInfo |
getRequestMapping()
Deprecated.
This is introduced to preserve backwards compat
|
com.fasterxml.classmate.ResolvedType |
getReturnType() |
java.lang.String |
groupName() |
java.util.Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<java.lang.String>> |
headers() |
boolean |
isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
RequestHandlerKey |
key() |
java.util.Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<java.lang.String>> |
params() |
java.util.Set<? extends org.springframework.http.MediaType> |
produces() |
java.util.Set<org.springframework.web.bind.annotation.RequestMethod> |
supportedMethods() |
@Deprecated java.lang.Class<?> declaringClass()
boolean isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition getPatternsCondition()
java.lang.String groupName()
java.lang.String getName()
java.util.Set<org.springframework.web.bind.annotation.RequestMethod> supportedMethods()
java.util.Set<? extends org.springframework.http.MediaType> produces()
java.util.Set<? extends org.springframework.http.MediaType> consumes()
java.util.Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<java.lang.String>> headers()
java.util.Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<java.lang.String>> params()
<T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> findAnnotation(java.lang.Class<T> annotation)
RequestHandlerKey key()
java.util.List<ResolvedMethodParameter> getParameters()
com.fasterxml.classmate.ResolvedType getReturnType()
<T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> findControllerAnnotation(java.lang.Class<T> annotation)
@Deprecated org.springframework.web.servlet.mvc.method.RequestMappingInfo getRequestMapping()
@Deprecated org.springframework.web.method.HandlerMethod getHandlerMethod()
RequestHandler combine(RequestHandler other)
other
- handler