Class NetHttpResponse.SizeValidatingInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.google.api.client.http.javanet.NetHttpResponse.SizeValidatingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
NetHttpResponse

private final class NetHttpResponse.SizeValidatingInputStream extends FilterInputStream
A wrapper arround the base InputStream that validates EOF returned by the read calls.
Since:
1.20
  • Field Details

    • bytesRead

      private long bytesRead
  • Constructor Details

    • SizeValidatingInputStream

      public SizeValidatingInputStream(InputStream in)
  • Method Details