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.
This commit is contained in:
Simone Bordet 2012-12-11 16:40:55 +01:00
parent 3fd59fa189
commit fb233dbecb
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@ public class BlockingResponseListener extends BufferingResponseListener implemen
this.request = request; this.request = request;
} }
public Request getRequest()
{
return request;
}
@Override @Override
public void onComplete(Result result) public void onComplete(Result result)
{ {