com.sun.jini.jeri.internal.http
Class MessageReader.ChunkedInputStream
java.lang.Object
java.io.InputStream
com.sun.jini.jeri.internal.http.MessageReader.ChunkedInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- MessageReader
private class MessageReader.ChunkedInputStream
- extends InputStream
Input stream for reading chunked content data.
Field Summary |
private byte[] |
buf
|
private int |
lim
|
private int |
pos
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
private byte[] buf
pos
private int pos
lim
private int lim
MessageReader.ChunkedInputStream
MessageReader.ChunkedInputStream()
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
refill
private void refill()
throws IOException
- Throws:
IOException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.