R - The routepublic interface RouteInfo<R> extends AnnotationMetadataProvider
EMPTY| Modifier and Type | Method and Description | 
|---|---|
| default HttpStatus | findStatus(HttpStatus defaultStatus)Finds predefined route http status or uses default. | 
| default Argument<?> | getBodyType() | 
| default java.util.List<MediaType> | getConsumes()The media types able to produced by this route. | 
| java.lang.Class<?> | getDeclaringType() | 
| default java.util.List<MediaType> | getProduces()The media types able to produced by this route. | 
| ReturnType<? extends R> | getReturnType() | 
| default boolean | isAsync() | 
| default boolean | isAsyncOrReactive() | 
| default boolean | isCompletable() | 
| default boolean | isErrorRoute() | 
| default boolean | isReactive() | 
| default boolean | isSingleResult() | 
| default boolean | isSpecifiedSingle() | 
| default boolean | isSuspended() | 
| default boolean | isVoid() | 
| default boolean | isWebSocketRoute()Checks if route is for web socket. | 
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredReturnType<? extends R> getReturnType()
default Argument<?> getBodyType()
java.lang.Class<?> getDeclaringType()
default java.util.List<MediaType> getProduces()
MediaType that this route can producedefault java.util.List<MediaType> getConsumes()
MediaType that this route can producedefault boolean isSuspended()
default boolean isReactive()
default boolean isSingleResult()
default boolean isSpecifiedSingle()
default boolean isCompletable()
default boolean isAsync()
default boolean isAsyncOrReactive()
default boolean isVoid()
default boolean isErrorRoute()
@NonNull default HttpStatus findStatus(HttpStatus defaultStatus)
defaultStatus - The default statusdefault boolean isWebSocketRoute()