public class Hessian2StreamingInput
extends java.lang.Object
HessianFactory factory = new HessianFactory();
Hessian2StreamingInput hIn = factory.createHessian2StreamingInput(is);
Constructor and Description |
---|
Hessian2StreamingInput(java.io.InputStream is)
Creates a new Hessian input stream, initialized with an
underlying input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the output.
|
void |
endPacket() |
Hessian2Input |
getHessianInput() |
boolean |
isDataAvailable() |
java.lang.Object |
readObject()
Read the next object
|
void |
setSerializerFactory(SerializerFactory factory) |
Hessian2Input |
startPacket() |
public Hessian2StreamingInput(java.io.InputStream is)
is
- the underlying output stream.public void setSerializerFactory(SerializerFactory factory)
public boolean isDataAvailable()
public Hessian2Input startPacket() throws java.io.IOException
java.io.IOException
public void endPacket() throws java.io.IOException
java.io.IOException
public Hessian2Input getHessianInput()
public java.lang.Object readObject() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException