public static interface GraphQlClient.RetrieveSubscriptionSpec
Modifier and Type | Method and Description |
---|---|
<D> reactor.core.publisher.Flux<D> |
toEntity(Class<D> entityType)
Decode the field to an entity of the given type.
|
<D> reactor.core.publisher.Flux<D> |
toEntity(ParameterizedTypeReference<D> entityType)
Variant of
toEntity(Class) with a ParameterizedTypeReference . |
<D> reactor.core.publisher.Flux<List<D>> |
toEntityList(Class<D> elementType)
Variant of
toEntity(Class) to decode each response to a List of entities. |
<D> reactor.core.publisher.Flux<List<D>> |
toEntityList(ParameterizedTypeReference<D> elementType)
Variant of
toEntity(Class) to decode each response to a List of entities. |
<D> reactor.core.publisher.Flux<D> toEntity(Class<D> entityType)
entityType
- the type to convert toMono
with the decoded entity; completes with
FieldAccessException
in case of field
errors
or an invalid
response;
completes empty if the field is null
but has no errors.ResponseField.getErrors()
<D> reactor.core.publisher.Flux<D> toEntity(ParameterizedTypeReference<D> entityType)
toEntity(Class)
with a ParameterizedTypeReference
.<D> reactor.core.publisher.Flux<List<D>> toEntityList(Class<D> elementType)
toEntity(Class)
to decode each response to a List of entities.elementType
- the type of elements in the list<D> reactor.core.publisher.Flux<List<D>> toEntityList(ParameterizedTypeReference<D> elementType)
toEntity(Class)
to decode each response to a List of entities.