接口 RequestHandler


public interface RequestHandler
  • 方法详细资料

    • declaringClass

      @Deprecated Class<?> declaringClass()
      已过时。
      返回:
      declaring class
      从以下版本开始:
      2.7.0 This is introduced to preserve backwards compat with groups
    • isAnnotatedWith

      boolean isAnnotatedWith(Class<? extends Annotation> annotation)
    • getPatternsCondition

      org.springframework.web.servlet.mvc.condition.PatternsRequestCondition getPatternsCondition()
    • getPathPatternsCondition

      org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition getPathPatternsCondition()
    • groupName

      String groupName()
    • getName

      String getName()
    • supportedMethods

      Set<org.springframework.web.bind.annotation.RequestMethod> supportedMethods()
    • produces

      Set<? extends org.springframework.http.MediaType> produces()
    • consumes

      Set<? extends org.springframework.http.MediaType> consumes()
    • headers

      Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> headers()
    • params

      Set<org.springframework.web.servlet.mvc.condition.NameValueExpression<String>> params()
    • findAnnotation

      <T extends Annotation> com.google.common.base.Optional<T> findAnnotation(Class<T> annotation)
    • key

    • getParameters

      List<ResolvedMethodParameter> getParameters()
    • getReturnType

      com.fasterxml.classmate.ResolvedType getReturnType()
    • findControllerAnnotation

      <T extends Annotation> com.google.common.base.Optional<T> findControllerAnnotation(Class<T> annotation)
    • getRequestMapping

      @Deprecated org.springframework.web.servlet.mvc.method.RequestMappingInfo getRequestMapping()
      已过时。
      This is introduced to preserve backwards compat
      返回:
      request mapping info
    • getHandlerMethod

      @Deprecated org.springframework.web.method.HandlerMethod getHandlerMethod()
      已过时。
      This is introduced to preserve backwards compat
      返回:
      handler method
    • combine

      This is to merge two request handlers that are indistinguishable other than the media types supported
      参数:
      other - handler
      返回:
      combined request handler
      从以下版本开始:
      2.5.0