com.caucho.hessian.io
Class JavaSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.JavaSerializer
- All Implemented Interfaces:
- Serializer
- Direct Known Subclasses:
- JavaUnsharedSerializer, ThrowableSerializer
public class JavaSerializer
- extends AbstractSerializer
Serializing an object for known object types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSerializer
public JavaSerializer(Class<?> cl)
create
public static Serializer create(Class<?> cl)
introspect
protected void introspect(Class<?> cl)
getWriteReplace
protected static Method getWriteReplace(Class<?> cl)
- Returns the writeReplace method
getWriteReplace
protected Method getWriteReplace(Class<?> cl,
Class<?> param)
- Returns the writeReplace method
writeObject
public void writeObject(Object obj,
AbstractHessianOutput out)
throws IOException
- Specified by:
writeObject in interface Serializer- Overrides:
writeObject in class AbstractSerializer
- Throws:
IOException
writeObject10
protected void writeObject10(Object obj,
AbstractHessianOutput out)
throws IOException
- Overrides:
writeObject10 in class AbstractSerializer
- Throws:
IOException
writeInstance
public void writeInstance(Object obj,
AbstractHessianOutput out)
throws IOException
- Overrides:
writeInstance in class AbstractSerializer
- Throws:
IOException
Copyright © 2013. All Rights Reserved.