public final class ReactiveStreamsTypeInformationProvider extends Object implements TypeInformationProvider
TypeInformationProvider
for reactive streams.Constructor and Description |
---|
ReactiveStreamsTypeInformationProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompletable(Class<?> type)
does the type represent a completable type.
|
boolean |
isReactive(Class<?> type)
does the type represent a reactive type.
|
boolean |
isSingle(Class<?> type)
does the given type represent a type that emits a single item.
|
boolean |
isSpecifiedSingle(AnnotationMetadataProvider annotationMetadataProvider)
Returns whether the annotation metadata specifies the type as single.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWrapperType
public ReactiveStreamsTypeInformationProvider()
public boolean isSpecifiedSingle(@NonNull AnnotationMetadataProvider annotationMetadataProvider)
TypeInformationProvider
isSpecifiedSingle
in interface TypeInformationProvider
annotationMetadataProvider
- The annotation metadata providerpublic boolean isSingle(@NonNull Class<?> type)
TypeInformationProvider
isSingle
in interface TypeInformationProvider
type
- True if it doespublic boolean isReactive(@NonNull Class<?> type)
TypeInformationProvider
isReactive
in interface TypeInformationProvider
type
- The typepublic boolean isCompletable(@NonNull Class<?> type)
TypeInformationProvider
isCompletable
in interface TypeInformationProvider
type
- The type