Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ private Request buildRequest(String query, Map<String, Object> variables, String
return RequestImpl.builder(query).variables(variables).operationName(operationName).build();
}

public HttpClient getHttpClient() {
return httpClient;
}

@Override
public void close() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ public VertxTypesafeGraphQLClientBuilder webSocketClientOptions(WebSocketClientO
return this;
}

public HttpClient getHttpClient() {
return httpClient;
}

public String getConfigKey() {
return configKey;
}

@Override
public VertxTypesafeGraphQLClientBuilder endpoint(URI endpoint) {
this.endpoint = endpoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ DynamicGraphQLClient getClient(InjectionPoint ip) {
name -> DynamicGraphQLClientBuilder.newBuilder().configKey(name).build());
}

public Map<String, DynamicGraphQLClient> getCreatedClients() {
return createdClients;
}

@PreDestroy
void cleanup() {
createdClients.values().forEach(client -> {
Expand Down
Loading