graphql.servlet.internal.SubscriptionProtocolFactory 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.servlet.internal;
/**
* @author Andrew Potter
*/
public abstract class SubscriptionProtocolFactory {
private final String protocol;
public SubscriptionProtocolFactory(String protocol) {
this.protocol = protocol;
}
public String getProtocol() {
return protocol;
}
public abstract SubscriptionProtocolHandler createHandler(SubscriptionHandlerInput subscriptionHandlerInput);
}