graphql.kickstart.execution.subscriptions.SubscriptionProtocolFactory Maven / Gradle / Ivy
package graphql.kickstart.execution.subscriptions;
import java.util.function.Consumer;
/** @author Andrew Potter */
public abstract class SubscriptionProtocolFactory {
private final String protocol;
protected SubscriptionProtocolFactory(String protocol) {
this.protocol = protocol;
}
public String getProtocol() {
return protocol;
}
public abstract Consumer createConsumer(SubscriptionSession session);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy