com.caucho.hessian.io
Class Hessian2StreamingInput
java.lang.Object
com.caucho.hessian.io.Hessian2StreamingInput
public class Hessian2StreamingInput
- extends java.lang.Object
Input stream for Hessian 2 streaming requests using WebSocket.
Constructor Summary |
Hessian2StreamingInput(java.io.InputStream is)
Creates a new Hessian input stream, initialized with an
underlying input stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final java.util.logging.Logger log
_is
private Hessian2StreamingInput.StreamingInputStream _is
_in
private Hessian2Input _in
Hessian2StreamingInput
public Hessian2StreamingInput(java.io.InputStream is)
- Creates a new Hessian input stream, initialized with an
underlying input stream.
- Parameters:
is
- the underlying output stream.
setSerializerFactory
public void setSerializerFactory(SerializerFactory factory)
isDataAvailable
public boolean isDataAvailable()
startPacket
public Hessian2Input startPacket()
throws java.io.IOException
- Throws:
java.io.IOException
endPacket
public void endPacket()
throws java.io.IOException
- Throws:
java.io.IOException
getHessianInput
public Hessian2Input getHessianInput()
readObject
public java.lang.Object readObject()
throws java.io.IOException
- Read the next object
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Close the output.
- Throws:
java.io.IOException
Copyright 2003-2011. All Rights Reserved.