HomeSort by relevance Sort by last modified time
    Searched refs:bodyLimit (Results 1 - 3 of 3) sorted by null

  /libcore/support/src/test/java/tests/http/
MockWebServer.java 74 private int bodyLimit = Integer.MAX_VALUE;
113 this.bodyLimit = maxBodyLength;
474 * An output stream that drops data after bodyLimit bytes.
480 super.write(buffer, offset, Math.min(len, bodyLimit - count));
484 if (count < bodyLimit) {
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 87 private int bodyLimit = Integer.MAX_VALUE;
151 this.bodyLimit = maxBodyLength;
596 * An output stream that drops data after bodyLimit bytes.
602 super.write(buffer, offset, Math.min(len, bodyLimit - count));
606 if (count < bodyLimit) {
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockWebServer.java 113 private long bodyLimit = Long.MAX_VALUE;
181 this.bodyLimit = maxBodyLength;
593 TruncatingBuffer requestBody = new TruncatingBuffer(bodyLimit);
785 /** A buffer wrapper that drops data after {@code bodyLimit} bytes. */
791 TruncatingBuffer(long bodyLimit) {
792 remainingByteCount = bodyLimit;
    [all...]

Completed in 89 milliseconds