graphql.kickstart.servlet.subscriptions.WebSocketSubscriptionProtocolFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-servlet Show documentation
Show all versions of graphql-java-servlet Show documentation
relay.js-compatible GraphQL servlet
package graphql.kickstart.servlet.subscriptions;
import graphql.kickstart.execution.subscriptions.SubscriptionSession;
import java.util.function.Consumer;
import javax.websocket.Session;
public interface WebSocketSubscriptionProtocolFactory {
Consumer createConsumer(SubscriptionSession session);
SubscriptionSession createSession(Session session);
}