Method Summary |
|
public int | addRef(Object ref) Adds a list/map reference. |
public void | close() |
protected String | codeName(int ch) |
public void | completeCall() |
public void | completeReply() |
public void | completeValueReply() |
protected IOException | error(String message) |
protected IOException | expect(String expect, int ch) |
public String | getMethod() |
public Reader | getReader() |
public Throwable | getReplyFault() Returns any reply fault. |
public SerializerFactory | getSerializerFactory() Gets the serializer factory. |
public void | init(InputStream is) Initialize the hessian stream with the underlying input stream. |
public boolean | isEnd() Returns true if this is the end of a list or a map. |
org.w3c.dom.Node | parseXML() |
int | read(byte[] buffer, int offset, int length) Reads bytes from the underlying stream. |
final int | read() |
public boolean | readBoolean() |
public int | readByte() Reads a byte from the stream. |
public byte[] | readBytes() |
public int | readBytes(byte[] buffer, int offset, int length) Reads a byte array from the stream. |
public int | readCall() |
public int | readChar() Reads a byte from the stream. |
public double | readDouble() |
public void | readEnd() Reads the end byte. |
public float | readFloat() |
public String | readHeader() Reads a header, returning null if there are no headers. |
public InputStream | readInputStream() Reads bytes based on an input stream. |
public int | readInt() |
public int | readLength() |
public void | readListEnd() Reads the end byte. |
public int | readListStart() Reads the start of a list. |
public long | readLong() |
public void | readMapEnd() Reads the end byte. |
public int | readMapStart() Reads the start of a list. |
public String | readMethod() |
public org.w3c.dom.Node | readNode() Reads an XML node. |
public void | readNull() |
public Object | readObject(Class cl) Reads an object from the input stream with an expected type. |
public Object | readObject() Reads an arbitrary object from the input stream when the type
is unknown. |
public Object | readRef() Reads a reference. |
public Object | readRemote() Reads a remote object. |
public Object | readReply(Class expectedClass) Reads a reply as an object. |
public short | readShort() |
public int | readString(char[] buffer, int offset, int length) Reads a byte array from the stream. |
public String | readString() |
public String | readType() Parses a type from the stream. |
public long | readUTCDate() Reads a date. |
public void | resetReferences() Resets the references for streaming. |
public Object | resolveRemote(String type, String url) Resolves a remote object. |
public void | setRef(int i, Object ref) Adds a list/map reference. |
public void | setSerializerFactory(SerializerFactory factory) Sets the serializer factory. |
public void | skipOptionalCall() |
public void | startCall() Starts reading the call, including the headers. |
public void | startReply() |