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)
Decode the field to a list of entities with the given type.
|
<D> reactor.core.publisher.Flux<List<D>> |
toEntityList(ParameterizedTypeReference<D> elementType)
Variant of
toEntityList(Class) with ParameterizedTypeReference. |
<D> reactor.core.publisher.Flux<D> toEntity(Class<D> entityType)
entityType - the type to convert tonull without errors. Ends with
FieldAccessException for an invalid response or a failed field.
May also end with a GraphQlTransportException.GraphQlResponse.isValid(),
ResponseField.getError()<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)
elementType - the type of elements in the listnull without errors. Ends with
FieldAccessException for an invalid response or a failed field.
May also end with a GraphQlTransportException.GraphQlResponse.isValid(),
ResponseField.getError()<D> reactor.core.publisher.Flux<List<D>> toEntityList(ParameterizedTypeReference<D> elementType)
toEntityList(Class) with ParameterizedTypeReference.