History log of /external/mockwebserver/src/main/java/com/google/mockwebserver/Dispatcher.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d5e25502a3ed333011753d5f2e1484072a7f5617 24-Oct-2014 Neil Fuller <nfuller@google.com> Add throttling support to MockWebServer

This adds non-blocking throttling support to MockWebServer.
Most of the changes are patched across from OkHttp's version
(minus SPDY changes).

The motivation is to make an upstream OkHttp change easier
to apply, but having fewer differences with the OkHttp version
should be beneficial.

Bug: 18083851
(cherry picked from commit d8f241c21b3e2e8f94648040b1b62d7b12491d4d)

Change-Id: I7e23675cf0366028392e87c851b30e7d6dddb989
/external/mockwebserver/src/main/java/com/google/mockwebserver/Dispatcher.java
7a68ed6a49c3060b235810391a82412a95f9c979 03-Apr-2013 jwilson <jwilson@squareup.com> Track upstream changes to mockwebserver.

This removes the MockStreamResponse class, replacing it with the
previous MockResponse class. The MockStreamResponse class added
too much to the MockWebServer API for too little benefit: the
BaseResponse class wasn't 'public' but it was required to be public
API for callers to call MockWebServer.enqueue(). This approach is
less object-oriented, but also a lot smaller.

Change-Id: I8496fc3c4dcbfaaf6cd5e97f06d2786b49fa51e1
/external/mockwebserver/src/main/java/com/google/mockwebserver/Dispatcher.java