All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.leangen.graphql.spqr.spring.web.reactive.WebFluxContext Maven / Gradle / Ivy

The newest version!
package io.leangen.graphql.spqr.spring.web.reactive;

import io.leangen.graphql.spqr.spring.autoconfigure.DefaultGlobalContext;
import org.springframework.web.server.ServerWebExchange;
import reactor.util.context.Context;

public class WebFluxContext extends DefaultGlobalContext {

    private final Context subscriberContext;

    public WebFluxContext(ServerWebExchange request, Context subscriberContext) {
        super(request);
        this.subscriberContext = subscriberContext;
    }

    public Context getSubscriberContext() {
        return subscriberContext;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy