Package | Description |
---|---|
org.springframework.graphql.client |
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions. |
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketGraphQlClientInterceptor
An extension of
GraphQlClientInterceptor with additional methods to
for WebSocket interception points. |
Modifier and Type | Method and Description |
---|---|
default GraphQlClientInterceptor |
GraphQlClientInterceptor.andThen(GraphQlClientInterceptor interceptor)
Return a new
GraphQlClientInterceptor that invokes the current
interceptor first and then the one that is passed in. |
Modifier and Type | Method and Description |
---|---|
protected List<GraphQlClientInterceptor> |
AbstractGraphQlClientBuilder.getInterceptors()
Return the configured interceptors.
|
Modifier and Type | Method and Description |
---|---|
default GraphQlClientInterceptor |
GraphQlClientInterceptor.andThen(GraphQlClientInterceptor interceptor)
Return a new
GraphQlClientInterceptor that invokes the current
interceptor first and then the one that is passed in. |
B |
AbstractGraphQlClientBuilder.interceptor(GraphQlClientInterceptor... interceptors) |
B |
GraphQlClient.Builder.interceptor(GraphQlClientInterceptor... interceptors)
Configure interceptors to be invoked before delegating to the
GraphQlTransport to perform the request. |
Modifier and Type | Method and Description |
---|---|
B |
AbstractGraphQlClientBuilder.interceptors(Consumer<List<GraphQlClientInterceptor>> interceptorsConsumer) |
B |
GraphQlClient.Builder.interceptors(Consumer<List<GraphQlClientInterceptor>> interceptorsConsumer)
Customize the list of interceptors.
|