Method Summary |
|
abstract public boolean | addRef(Object object) Adds an object to the reference list. |
public void | call(String method, Object[] args) Writes a complete method call. |
public void | close() |
abstract public void | completeCall() |
public void | completeReply() |
final public SerializerFactory | findSerializerFactory() Gets the serializer factory. |
public void | flush() |
public SerializerFactory | getSerializerFactory() Gets the serializer factory. |
public void | init(OutputStream os) Initialize the output with a new underlying stream. |
abstract public boolean | removeRef(Object obj) Removes a reference. |
abstract public boolean | replaceRef(Object oldRef, Object newRef) Replaces a reference from one object to another. |
public void | resetReferences() Resets the references for streaming. |
public void | setSerializerFactory(SerializerFactory factory) Sets the serializer factory. |
abstract public void | startCall() |
abstract public void | startCall(String method) |
public void | startReply() |
abstract public void | writeBoolean(boolean value) Writes a boolean value to the stream. |
abstract public void | writeByteBufferEnd(byte[] buffer, int offset, int length) Writes the last chunk of a byte buffer to the stream. |
abstract public void | writeByteBufferPart(byte[] buffer, int offset, int length) Writes a byte buffer to the stream. |
abstract public void | writeByteBufferStart() Writes a byte buffer to the stream. |
abstract public void | writeBytes(byte[] buffer) Writes a byte array to the stream. |
abstract public void | writeBytes(byte[] buffer, int offset, int length) Writes a byte array to the stream. |
public void | writeClassFieldLength(int len) Writes the end of the class. |
abstract public void | writeDouble(double value) Writes a double value to the stream. |
public void | writeFault(String code, String message, Object detail) |
abstract public void | writeHeader(String name) Writes a header name. |
abstract public void | writeInt(int value) Writes an integer value to the stream. |
abstract public boolean | writeListBegin(int length, String type) Writes the list header to the stream. |
abstract public void | writeListEnd() Writes the tail of the list to the stream. |
abstract public void | writeLong(long value) Writes a long value to the stream. |
abstract public void | writeMapBegin(String type) Writes the map header to the stream. |
abstract public void | writeMapEnd() Writes the tail of the map to the stream. |
abstract public void | writeMethod(String method) Writes the method tag. |
abstract public void | writeNull() Writes a null value to the stream. |
abstract public void | writeObject(Object object) Writes a generic object to the output stream. |
public int | writeObjectBegin(String type) Writes the object header to the stream (for Hessian 2.0), or a
Map for Hessian 1.0. |
public void | writeObjectEnd() Writes the tail of the object to the stream. |
abstract public void | writeRef(int value) Writes a reference. |
abstract public void | writeRemote(String type, String url) Writes a remote object reference to the stream. |
abstract public void | writeString(String value) Writes a string value to the stream using UTF-8 encoding. |
abstract public void | writeString(char[] buffer, int offset, int length) Writes a string value to the stream using UTF-8 encoding. |
abstract public void | writeUTCDate(long time) Writes a date to the stream. |