com.caucho.hessian.io
Class Hessian2StreamingInput.StreamingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.caucho.hessian.io.Hessian2StreamingInput.StreamingInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
Hessian2StreamingInput

static class Hessian2StreamingInput.StreamingInputStream
extends java.io.InputStream


Field Summary
private  java.io.InputStream _is
           
private  int _length
           
 
Constructor Summary
Hessian2StreamingInput.StreamingInputStream(java.io.InputStream is)
           
 
Method Summary
 int read()
           
 int read(byte[] buffer, int offset, int length)
           
 
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
 

Field Detail

_is

private java.io.InputStream _is

_length

private int _length
Constructor Detail

Hessian2StreamingInput.StreamingInputStream

Hessian2StreamingInput.StreamingInputStream(java.io.InputStream is)
Method Detail

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