public class HessianROPSerializationService extends Object implements ROPSerializationService
| Modifier and Type | Field and Description | 
|---|---|
| protected com.caucho.hessian.io.SerializerFactory | serializerFactory | 
| Constructor and Description | 
|---|
| HessianROPSerializationService(com.caucho.hessian.io.SerializerFactory serializerFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | deserialize(byte[] serializedObject,
           Class<T> objectClass) | 
| <T> T | deserialize(InputStream input,
           Class<T> objectClass) | 
| byte[] | serialize(Object object) | 
| void | serialize(Object object,
         OutputStream outputStream) | 
public HessianROPSerializationService(com.caucho.hessian.io.SerializerFactory serializerFactory)
public byte[] serialize(Object object) throws IOException
serialize in interface ROPSerializationServiceIOExceptionpublic void serialize(Object object, OutputStream outputStream) throws IOException
serialize in interface ROPSerializationServiceIOExceptionpublic <T> T deserialize(byte[] serializedObject,
                         Class<T> objectClass)
                  throws IOException
deserialize in interface ROPSerializationServiceIOExceptionpublic <T> T deserialize(InputStream input, Class<T> objectClass) throws IOException
deserialize in interface ROPSerializationServiceIOExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.