diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalAbstractHttpAsyncClient.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalAbstractHttpAsyncClient.java index 35aedc6f4..ea14b7910 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalAbstractHttpAsyncClient.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalAbstractHttpAsyncClient.java @@ -136,7 +136,7 @@ abstract class InternalAbstractHttpAsyncClient extends AbstractHttpAsyncClientBa } } - abstract AsyncExecRuntime crerateAsyncExecRuntime(HandlerFactory pushHandlerFactory); + abstract AsyncExecRuntime createAsyncExecRuntime(HandlerFactory pushHandlerFactory); abstract HttpRoute determineRoute(HttpRequest request, HttpClientContext clientContext) throws HttpException; @@ -171,7 +171,7 @@ abstract class InternalAbstractHttpAsyncClient extends AbstractHttpAsyncClientBa if (log.isDebugEnabled()) { log.debug(exchangeId + ": preparing request execution"); } - final AsyncExecRuntime execRuntime = crerateAsyncExecRuntime(pushHandlerFactory); + final AsyncExecRuntime execRuntime = createAsyncExecRuntime(pushHandlerFactory); setupContext(clientContext); diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalH2AsyncClient.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalH2AsyncClient.java index ff7210960..48cbc2eef 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalH2AsyncClient.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalH2AsyncClient.java @@ -88,7 +88,7 @@ public final class InternalH2AsyncClient extends InternalAbstractHttpAsyncClient } @Override - AsyncExecRuntime crerateAsyncExecRuntime(final HandlerFactory pushHandlerFactory) { + AsyncExecRuntime createAsyncExecRuntime(final HandlerFactory pushHandlerFactory) { return new InternalH2AsyncExecRuntime(log, connPool, pushHandlerFactory); } diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncClient.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncClient.java index be6be9f16..982d0d701 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncClient.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncClient.java @@ -95,7 +95,7 @@ public final class InternalHttpAsyncClient extends InternalAbstractHttpAsyncClie } @Override - AsyncExecRuntime crerateAsyncExecRuntime(final HandlerFactory pushHandlerFactory) { + AsyncExecRuntime createAsyncExecRuntime(final HandlerFactory pushHandlerFactory) { return new InternalHttpAsyncExecRuntime(log, connmgr, getConnectionInitiator(), pushHandlerFactory, versionPolicy); }