Package com.caucho.hessian.io
Class AbstractStreamSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.AbstractStreamSerializer
- All Implemented Interfaces:
Serializer
Serializing an object containing a byte stream.
-
Field Summary
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
log, NULL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getClassName
(Object obj) protected abstract InputStream
getInputStream
(Object obj) void
writeObject
(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
-
Constructor Details
-
AbstractStreamSerializer
public AbstractStreamSerializer()
-
-
Method Details
-
writeObject
Writes the object to the output stream.- Specified by:
writeObject
in interfaceSerializer
- Overrides:
writeObject
in classAbstractSerializer
- Throws:
IOException
-
getClassName
-
getInputStream
- Throws:
IOException
-