public interface RSocketGraphQlClient extends GraphQlClient
RSocketRequester
.Modifier and Type | Interface and Description |
---|---|
static interface |
RSocketGraphQlClient.Builder<B extends RSocketGraphQlClient.Builder<B>>
Builder for the GraphQL over HTTP client.
|
GraphQlClient.RequestSpec, GraphQlClient.RetrieveSpec, GraphQlClient.RetrieveSubscriptionSpec
Modifier and Type | Method and Description |
---|---|
static RSocketGraphQlClient.Builder<?> |
builder()
Start with a new
RSocketRequester.Builder customized for GraphQL,
setting the dataMimeType to "application/graphql+json"
and adding JSON codecs. |
static RSocketGraphQlClient.Builder<?> |
builder(RSocketRequester.Builder requesterBuilder)
Start with a given
builder() . |
RSocketGraphQlClient.Builder<?> |
mutate()
Return a builder initialized from the configuration of "this" client
to use to build a new, independently configured client instance.
|
reactor.core.publisher.Mono<Void> |
start()
Start the RSocket session.
|
reactor.core.publisher.Mono<Void> |
stop()
Stop the RSocket session.
|
builder, document, documentName
reactor.core.publisher.Mono<Void> start()
Mono
that completes when the underlying session is startedreactor.core.publisher.Mono<Void> stop()
Mono
that completes when the underlying session is stopped.
Note that currently this method calls Disposable.dispose()
which is not differed and does not wait, i.e. it triggers stopping
immediately and returns immediately.
See rsocket-java#1048
RSocketGraphQlClient.Builder<?> mutate()
GraphQlClient
mutate
in interface GraphQlClient
static RSocketGraphQlClient.Builder<?> builder()
RSocketRequester.Builder
customized for GraphQL,
setting the dataMimeType
to "application/graphql+json"
and adding JSON codecs.static RSocketGraphQlClient.Builder<?> builder(RSocketRequester.Builder requesterBuilder)
builder()
.