File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
graphql-java-servlet/src/main/java/graphql/kickstart/servlet Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,19 @@ public class GraphQLWebsocketServlet extends Endpoint {
63
63
private final AtomicBoolean isShutDown = new AtomicBoolean (false );
64
64
private final Object cacheLock = new Object ();
65
65
66
+ public GraphQLWebsocketServlet (GraphQLConfiguration configuration ) {
67
+ this (configuration , null );
68
+ }
69
+
70
+ public GraphQLWebsocketServlet (GraphQLConfiguration configuration , Collection <SubscriptionConnectionListener > connectionListeners ) {
71
+ this (
72
+ configuration .getGraphQLInvoker (),
73
+ configuration .getInvocationInputFactory (),
74
+ configuration .getObjectMapper (),
75
+ null
76
+ );
77
+ }
78
+
66
79
public GraphQLWebsocketServlet (
67
80
GraphQLInvoker graphQLInvoker ,
68
81
GraphQLSubscriptionInvocationInputFactory invocationInputFactory ,
You can’t perform that action at this time.
0 commit comments