com.caucho.hessian.io
Class Hessian2StreamingInput.StreamingInputStream
java.lang.Object
java.io.InputStream
com.caucho.hessian.io.Hessian2StreamingInput.StreamingInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- Hessian2StreamingInput
static class Hessian2StreamingInput.StreamingInputStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_is
private java.io.InputStream _is
_length
private int _length
_isPacketEnd
private boolean _isPacketEnd
Hessian2StreamingInput.StreamingInputStream
Hessian2StreamingInput.StreamingInputStream(java.io.InputStream is)
isDataAvailable
public boolean isDataAvailable()
startPacket
public boolean startPacket()
throws java.io.IOException
- Throws:
java.io.IOException
endPacket
public void endPacket()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
readChunkLength
private int readChunkLength(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 2003-2011. All Rights Reserved.