|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.hessian.io.Hessian2StreamingInput
public class Hessian2StreamingInput
Input stream for Hessian 2 streaming requests using WebSocket.
For best performance, use HessianFactory:
HessianFactory factory = new HessianFactory();
Hessian2StreamingInput hIn = factory.createHessian2StreamingInput(is);
| Constructor Summary | |
|---|---|
Hessian2StreamingInput(InputStream is)
Creates a new Hessian input stream, initialized with an underlying input stream. |
|
| Method Summary | |
|---|---|
void |
close()
Close the output. |
void |
endPacket()
|
Hessian2Input |
getHessianInput()
|
boolean |
isDataAvailable()
|
Object |
readObject()
Read the next object |
void |
setSerializerFactory(SerializerFactory factory)
|
Hessian2Input |
startPacket()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hessian2StreamingInput(InputStream is)
is - the underlying output stream.| Method Detail |
|---|
public void setSerializerFactory(SerializerFactory factory)
public boolean isDataAvailable()
public Hessian2Input startPacket()
throws IOException
IOException
public void endPacket()
throws IOException
IOExceptionpublic Hessian2Input getHessianInput()
public Object readObject()
throws IOException
IOException
public void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||