Home
last modified time | relevance | path

Searched refs:bodyLimit (Results 1 – 2 of 2) sorted by relevance

/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java87 private int bodyLimit = Integer.MAX_VALUE; field in MockWebServer
151 this.bodyLimit = maxBodyLength; in setBodyLimit()
602 super.write(buffer, offset, Math.min(len, bodyLimit - count)); in write()
606 if (count < bodyLimit) { in write()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java119 private long bodyLimit = Long.MAX_VALUE; field in MockWebServer
223 this.bodyLimit = maxBodyLength;
631 TruncatingBuffer requestBody = new TruncatingBuffer(bodyLimit);
827 TruncatingBuffer(long bodyLimit) {
828 remainingByteCount = bodyLimit;
949 throttledTransfer(response, socket, body, sink, bodyLimit, false);