From fb233dbecbd56312e0a8f6c30b6f294dc867a318 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Tue, 11 Dec 2012 16:40:55 +0100 Subject: [PATCH] Exposed the Request passed to the constructor via a getter. Subclasses can therefore pass a request built on-the-fly to the super constructor and are able to get a reference to it. --- .../eclipse/jetty/client/util/BlockingResponseListener.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java index 8e8f82f3514..56fec8e607c 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BlockingResponseListener.java @@ -62,6 +62,11 @@ public class BlockingResponseListener extends BufferingResponseListener implemen this.request = request; } + public Request getRequest() + { + return request; + } + @Override public void onComplete(Result result) {