public interface RSocketGraphQlInterceptor
ExecutionInput and
the ExecutionResult.
Interceptors are typically declared as beans in Spring configuration and
ordered as defined in ObjectProvider.orderedStream().
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RSocketGraphQlInterceptor.Chain
Contract for delegation to the rest of the chain.
|
| Modifier and Type | Method and Description |
|---|---|
default RSocketGraphQlInterceptor |
andThen(RSocketGraphQlInterceptor nextInterceptor)
Return a new
RSocketGraphQlInterceptor that invokes the current
interceptor first and then the one that is passed in. |
default RSocketGraphQlInterceptor.Chain |
apply(RSocketGraphQlInterceptor.Chain chain)
Apply this interceptor to the given
Chain resulting in an intercepted chain. |
reactor.core.publisher.Mono<RSocketGraphQlResponse> |
intercept(RSocketGraphQlRequest request,
RSocketGraphQlInterceptor.Chain chain)
Intercept a request and delegate to the rest of the chain including other
interceptors and a
ExecutionGraphQlService. |
reactor.core.publisher.Mono<RSocketGraphQlResponse> intercept(RSocketGraphQlRequest request, RSocketGraphQlInterceptor.Chain chain)
ExecutionGraphQlService.request - the request to executechain - the rest of the chain to execute the requestMono with the responsedefault RSocketGraphQlInterceptor andThen(RSocketGraphQlInterceptor nextInterceptor)
RSocketGraphQlInterceptor that invokes the current
interceptor first and then the one that is passed in.nextInterceptor - the interceptor to delegate to after the currentdefault RSocketGraphQlInterceptor.Chain apply(RSocketGraphQlInterceptor.Chain chain)
Chain resulting in an intercepted chain.chain - the chain to add interception around