com.caucho.hessian.io
Class UnsafeSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.UnsafeSerializer
- All Implemented Interfaces:
- Serializer
- Direct Known Subclasses:
- UnsafeUnsharedSerializer
public class UnsafeSerializer
- 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 |
UnsafeSerializer
public UnsafeSerializer(Class<?> cl)
isEnabled
public static boolean isEnabled()
create
public static UnsafeSerializer create(Class<?> cl)
introspect
protected void introspect(Class<?> cl)
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 final void writeInstance(Object obj,
AbstractHessianOutput out)
throws IOException
- Overrides:
writeInstance in class AbstractSerializer
- Throws:
IOException
Copyright © 2013. All Rights Reserved.