DefaultBinarySerializer

org.beangle.commons.io.DefaultBinarySerializer

Attributes

Graph
Supertypes
trait Deserializer
trait Serializer
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def registerClass(clazz: Class[_]): Unit

Inherited methods

override def asBytes(data: Any): Array[Byte]

Attributes

Definition Classes
Inherited from:
AbstractBinarySerializer
override def asObject[T](clazz: Class[T], data: Array[Byte]): T

Attributes

Definition Classes
Inherited from:
AbstractBinarySerializer
def deserialize[T](clazz: Class[T], is: InputStream, params: Map[String, Any]): T

Deserializer a object from inputstream,then close then stream,return the object.

Deserializer a object from inputstream,then close then stream,return the object.

Attributes

Inherited from:
AbstractBinarySerializer
override def mediaTypes: Seq[MediaType]

Attributes

Definition Classes
Inherited from:
BinarySerializer
def register(clazz: Class[_], os: ObjectSerializer): Unit

Attributes

Inherited from:
AbstractBinarySerializer
def serialize(data: Any, os: OutputStream, params: Map[String, Any]): Unit

Attributes

Inherited from:
AbstractBinarySerializer