graphql.servlet.internal.FallbackSubscriptionProtocolFactory 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
The newest version!
package graphql.servlet.internal;
/**
* @author Andrew Potter
*/
public class FallbackSubscriptionProtocolFactory extends SubscriptionProtocolFactory {
public FallbackSubscriptionProtocolFactory() {
super("");
}
@Override
public SubscriptionProtocolHandler createHandler(SubscriptionHandlerInput subscriptionHandlerInput) {
return new FallbackSubscriptionProtocolHandler(subscriptionHandlerInput);
}
}