public class JsmpReader
extends java.lang.Object
Constructor and Description |
---|
JsmpReader() |
JsmpReader(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected java.lang.Class |
getPayloadClass(java.lang.String type) |
void |
init(java.io.InputStream is) |
boolean |
readPacket(MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
java.lang.String |
readString() |
boolean |
startPacket() |
java.lang.String |
toString() |
public JsmpReader()
public JsmpReader(java.io.InputStream is)
public void init(java.io.InputStream is)
public boolean readPacket(MessageStream actorStream) throws java.io.IOException
java.io.IOException
public java.lang.String readString() throws java.io.IOException
java.io.IOException
public boolean startPacket() throws java.io.IOException
java.io.IOException
public void close()
protected java.lang.Class getPayloadClass(java.lang.String type)
public java.lang.String toString()
toString
in class java.lang.Object