Class WebFluxRequestHandler
- java.lang.Object
-
- springfox.documentation.spring.web.WebFluxRequestHandler
-
- All Implemented Interfaces:
java.lang.Comparable<RequestHandler>,RequestHandler
- Direct Known Subclasses:
SpringIntegrationWebFluxRequestHandler
public class WebFluxRequestHandler extends java.lang.Object implements RequestHandler
-
-
Constructor Summary
Constructors Constructor Description WebFluxRequestHandler(HandlerMethodResolver methodResolver, org.springframework.web.reactive.result.method.RequestMappingInfo requestMapping, org.springframework.web.method.HandlerMethod handlerMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestHandlercombine(RequestHandler other)This is to merge two request handlers that are indistinguishable other than the media types supportedjava.util.Set<org.springframework.http.MediaType>consumes()java.lang.Class<?>declaringClass()<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()java.lang.StringgetName()java.util.List<ResolvedMethodParameter>getParameters()PatternsRequestConditiongetPatternsCondition()RequestMappingInfo<?>getRequestMapping()com.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()java.util.Set<org.springframework.web.bind.annotation.RequestMethod>supportedMethods()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface springfox.documentation.RequestHandler
compareTo
-
-
-
-
Constructor Detail
-
WebFluxRequestHandler
public WebFluxRequestHandler(HandlerMethodResolver methodResolver, org.springframework.web.reactive.result.method.RequestMappingInfo requestMapping, org.springframework.web.method.HandlerMethod handlerMethod)
-
-
Method Detail
-
getHandlerMethod
public org.springframework.web.method.HandlerMethod getHandlerMethod()
- Specified by:
getHandlerMethodin interfaceRequestHandler- Returns:
- handler method
-
combine
public RequestHandler combine(RequestHandler other)
Description copied from interface:RequestHandlerThis is to merge two request handlers that are indistinguishable other than the media types supported- Specified by:
combinein interfaceRequestHandler- Parameters:
other- handler- Returns:
- combined request handler
-
declaringClass
public java.lang.Class<?> declaringClass()
- Specified by:
declaringClassin interfaceRequestHandler- Returns:
- declaring class
-
isAnnotatedWith
public boolean isAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
- Specified by:
isAnnotatedWithin interfaceRequestHandler
-
getPatternsCondition
public PatternsRequestCondition getPatternsCondition()
- Specified by:
getPatternsConditionin interfaceRequestHandler
-
groupName
public java.lang.String groupName()
- Specified by:
groupNamein interfaceRequestHandler
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceRequestHandler
-
supportedMethods
public java.util.Set<org.springframework.web.bind.annotation.RequestMethod> supportedMethods()
- Specified by:
supportedMethodsin interfaceRequestHandler
-
produces
public java.util.Set<org.springframework.http.MediaType> produces()
- Specified by:
producesin interfaceRequestHandler
-
consumes
public java.util.Set<org.springframework.http.MediaType> consumes()
- Specified by:
consumesin interfaceRequestHandler
-
headers
public java.util.Set<NameValueExpression<java.lang.String>> headers()
- Specified by:
headersin interfaceRequestHandler
-
params
public java.util.Set<NameValueExpression<java.lang.String>> params()
- Specified by:
paramsin interfaceRequestHandler
-
findAnnotation
public <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.Class<T> annotation)
- Specified by:
findAnnotationin interfaceRequestHandler
-
key
public RequestHandlerKey key()
- Specified by:
keyin interfaceRequestHandler
-
getRequestMapping
public RequestMappingInfo<?> getRequestMapping()
- Specified by:
getRequestMappingin interfaceRequestHandler- Returns:
- request mapping info
-
getParameters
public java.util.List<ResolvedMethodParameter> getParameters()
- Specified by:
getParametersin interfaceRequestHandler
-
getReturnType
public com.fasterxml.classmate.ResolvedType getReturnType()
- Specified by:
getReturnTypein interfaceRequestHandler
-
findControllerAnnotation
public <T extends java.lang.annotation.Annotation> java.util.Optional<T> findControllerAnnotation(java.lang.Class<T> annotation)
- Specified by:
findControllerAnnotationin interfaceRequestHandler
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-