com.sun.jini.jeri.internal.http
Class MessageReader.BoundedInputStream
java.lang.Object
java.io.InputStream
com.sun.jini.jeri.internal.http.MessageReader.BoundedInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- MessageReader
private class MessageReader.BoundedInputStream
- extends InputStream
Input stream for reading bounded content data.
Field Summary |
private int |
bound
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bound
private int bound
MessageReader.BoundedInputStream
MessageReader.BoundedInputStream(int bound)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.