com.caucho.hessian.client
Class HessianProxy.ResultInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.caucho.hessian.client.HessianProxy.ResultInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
HessianProxy

static class HessianProxy.ResultInputStream
extends java.io.InputStream


Field Summary
private  java.net.HttpURLConnection _conn
           
private  java.io.InputStream _connIs
           
private  java.io.InputStream _hessianIs
           
private  AbstractHessianInput _in
           
 
Constructor Summary
HessianProxy.ResultInputStream(java.net.HttpURLConnection conn, java.io.InputStream is, AbstractHessianInput in, java.io.InputStream hessianIs)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.io.InputStream
available, 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

_conn

private java.net.HttpURLConnection _conn

_connIs

private java.io.InputStream _connIs

_in

private AbstractHessianInput _in

_hessianIs

private java.io.InputStream _hessianIs
Constructor Detail

HessianProxy.ResultInputStream

HessianProxy.ResultInputStream(java.net.HttpURLConnection conn,
                               java.io.InputStream is,
                               AbstractHessianInput in,
                               java.io.InputStream hessianIs)
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

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException