Added constructor to specify the max length.
This commit is contained in:
parent
67d50419f9
commit
7771b6e27b
|
@ -40,6 +40,12 @@ public class BlockingResponseListener extends BufferingResponseListener implemen
|
||||||
|
|
||||||
public BlockingResponseListener(Request request)
|
public BlockingResponseListener(Request request)
|
||||||
{
|
{
|
||||||
|
this(request, 2 * 1024 * 1024);
|
||||||
|
}
|
||||||
|
|
||||||
|
public BlockingResponseListener(Request request, int maxLength)
|
||||||
|
{
|
||||||
|
super(maxLength);
|
||||||
this.request = request;
|
this.request = request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue