public class Hessian2StreamingInput
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Hessian2StreamingInput.StreamingInputStream |
Modifier and Type | Field and Description |
---|---|
private Hessian2Input |
_in |
private Hessian2StreamingInput.StreamingInputStream |
_is |
private static java.util.logging.Logger |
log |
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() |
private static final java.util.logging.Logger log
private Hessian2StreamingInput.StreamingInputStream _is
private Hessian2Input _in
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
Copyright 2003-2013. All Rights Reserved.