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

graphql.servlet.internal.SubscriptionProtocolFactory Maven / Gradle / Ivy

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy