Package com.caucho.hessian.io
Class AbstractStreamSerializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractSerializer
-
- com.caucho.hessian.io.AbstractStreamSerializer
-
- All Implemented Interfaces:
Serializer
public abstract class AbstractStreamSerializer extends AbstractSerializer
Serializing an object containing a byte stream.
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
log, NULL
-
-
Constructor Summary
Constructors Constructor Description AbstractStreamSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetClassName(java.lang.Object obj)protected abstract java.io.InputStreamgetInputStream(java.lang.Object obj)voidwriteObject(java.lang.Object obj, AbstractHessianOutput out)Writes the object to the output stream.-
Methods inherited from class com.caucho.hessian.io.AbstractSerializer
getClass, writeDefinition20, writeInstance, writeObject10, writeReplace
-
-
-
-
Method Detail
-
writeObject
public void writeObject(java.lang.Object obj, AbstractHessianOutput out) throws java.io.IOExceptionWrites the object to the output stream.- Specified by:
writeObjectin interfaceSerializer- Overrides:
writeObjectin classAbstractSerializer- Throws:
java.io.IOException
-
getClassName
protected java.lang.String getClassName(java.lang.Object obj)
-
getInputStream
protected abstract java.io.InputStream getInputStream(java.lang.Object obj) throws java.io.IOException- Throws:
java.io.IOException
-
-