public class Hessian2StreamingInput extends Object
HessianFactory factory = new HessianFactory();
Hessian2StreamingInput hIn = factory.createHessian2StreamingInput(is);
Constructor and Description |
---|
Hessian2StreamingInput(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() |
Object |
readObject()
Read the next object
|
void |
setSerializerFactory(SerializerFactory factory) |
Hessian2Input |
startPacket() |
public Hessian2StreamingInput(InputStream is)
is
- the underlying output stream.public void setSerializerFactory(SerializerFactory factory)
public boolean isDataAvailable()
public Hessian2Input startPacket() throws IOException
IOException
public void endPacket() throws IOException
IOException
public Hessian2Input getHessianInput()
public Object readObject() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2023. All rights reserved.