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 StringgetClassName(Object obj)protected abstract InputStreamgetInputStream(Object obj)voidwriteObject(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(Object obj, AbstractHessianOutput out) throws IOException
Writes the object to the output stream.- Specified by:
writeObjectin interfaceSerializer- Overrides:
writeObjectin classAbstractSerializer- Throws:
IOException
-
getInputStream
protected abstract InputStream getInputStream(Object obj) throws IOException
- Throws:
IOException
-
-