Package springfox.documentation
Interface RequestHandler
- 
- All Superinterfaces:
- java.lang.Comparable<RequestHandler>
 - All Known Implementing Classes:
- CombinedRequestHandler,- SpringIntegrationWebFluxRequestHandler,- SpringIntegrationWebMvcRequestHandler,- WebFluxRequestHandler,- WebMvcRequestHandler
 
 public interface RequestHandler extends java.lang.Comparable<RequestHandler> 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static java.util.Comparator<RequestHandler>byOperationName()static java.util.Comparator<RequestHandler>byPatternsCondition()RequestHandlercombine(RequestHandler other)This is to merge two request handlers that are indistinguishable other than the media types supporteddefault intcompareTo(RequestHandler other)java.util.Set<org.springframework.http.MediaType>consumes()java.lang.Class<?>declaringClass()Deprecated.<T extends java.lang.annotation.Annotation>
 java.util.Optional<T>findAnnotation(java.lang.Class<T> annotation)<T extends java.lang.annotation.Annotation>
 java.util.Optional<T>findControllerAnnotation(java.lang.Class<T> annotation)org.springframework.web.method.HandlerMethodgetHandlerMethod()Deprecated.This is introduced to preserve backwards compatjava.lang.StringgetName()java.util.List<ResolvedMethodParameter>getParameters()PatternsRequestConditiongetPatternsCondition()RequestMappingInfo<?>getRequestMapping()Deprecated.This is introduced to preserve backwards compatcom.fasterxml.classmate.ResolvedTypegetReturnType()java.lang.StringgroupName()java.util.Set<NameValueExpression<java.lang.String>>headers()booleanisAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)RequestHandlerKeykey()java.util.Set<NameValueExpression<java.lang.String>>params()java.util.Set<org.springframework.http.MediaType>produces()static java.lang.StringsortedPaths(PatternsRequestCondition patternsCondition)java.util.Set<org.springframework.web.bind.annotation.RequestMethod>supportedMethods()
 
- 
- 
- 
Method Detail- 
declaringClass@Deprecated java.lang.Class<?> declaringClass() Deprecated.- Returns:
- declaring class
- Since:
- 2.7.0 This is introduced to preserve backwards compat with groups
 
 - 
isAnnotatedWithboolean isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) 
 - 
getPatternsConditionPatternsRequestCondition getPatternsCondition() 
 - 
groupNamejava.lang.String groupName() 
 - 
getNamejava.lang.String getName() 
 - 
supportedMethodsjava.util.Set<org.springframework.web.bind.annotation.RequestMethod> supportedMethods() 
 - 
producesjava.util.Set<org.springframework.http.MediaType> produces() 
 - 
consumesjava.util.Set<org.springframework.http.MediaType> consumes() 
 - 
headersjava.util.Set<NameValueExpression<java.lang.String>> headers() 
 - 
paramsjava.util.Set<NameValueExpression<java.lang.String>> params() 
 - 
findAnnotation<T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.Class<T> annotation) 
 - 
keyRequestHandlerKey key() 
 - 
getParametersjava.util.List<ResolvedMethodParameter> getParameters() 
 - 
getReturnTypecom.fasterxml.classmate.ResolvedType getReturnType() 
 - 
findControllerAnnotation<T extends java.lang.annotation.Annotation> java.util.Optional<T> findControllerAnnotation(java.lang.Class<T> annotation) 
 - 
getRequestMapping@Deprecated RequestMappingInfo<?> getRequestMapping() Deprecated.This is introduced to preserve backwards compat- Returns:
- request mapping info
 
 - 
getHandlerMethod@Deprecated org.springframework.web.method.HandlerMethod getHandlerMethod() Deprecated.This is introduced to preserve backwards compat- Returns:
- handler method
 
 - 
combineRequestHandler combine(RequestHandler other) This is to merge two request handlers that are indistinguishable other than the media types supported- Parameters:
- other- handler
- Returns:
- combined request handler
- Since:
- 2.5.0
 
 - 
compareTodefault int compareTo(RequestHandler other) - Specified by:
- compareToin interface- java.lang.Comparable<RequestHandler>
 
 - 
sortedPathsstatic java.lang.String sortedPaths(PatternsRequestCondition patternsCondition) 
 - 
byPatternsConditionstatic java.util.Comparator<RequestHandler> byPatternsCondition() 
 - 
byOperationNamestatic java.util.Comparator<RequestHandler> byOperationName() 
 
- 
 
-