diff --git a/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java b/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java index 7eb89157886..ff863a573a3 100644 --- a/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java +++ b/httpclient-jetty/src/main/java/io/fabric8/kubernetes/client/jetty/JettyAsyncResponseListener.java @@ -66,7 +66,7 @@ public void cancel() { } @Override - public void onBegin(Response response) { + public void onHeaders(Response response) { asyncResponse.complete(new JettyHttpResponse<>(httpRequest, response, this)); }