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, waitisWrapperTypepublic ReactiveStreamsTypeInformationProvider()
public boolean isSpecifiedSingle(@NonNull AnnotationMetadataProvider annotationMetadataProvider)
TypeInformationProviderisSpecifiedSingle in interface TypeInformationProviderannotationMetadataProvider - The annotation metadata providerpublic boolean isSingle(@NonNull Class<?> type)
TypeInformationProviderisSingle in interface TypeInformationProvidertype - True if it doespublic boolean isReactive(@NonNull Class<?> type)
TypeInformationProviderisReactive in interface TypeInformationProvidertype - The typepublic boolean isCompletable(@NonNull Class<?> type)
TypeInformationProviderisCompletable in interface TypeInformationProvidertype - The type