@Extension(value="jackson") @Singleton public class JacksonSerialization extends Object implements Serialization
| 构造器和说明 |
|---|
JacksonSerialization() |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectInput |
deserialize(InputStream input)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(OutputStream output)
create serializer
|
public byte getContentTypeId()
SerializationgetContentTypeId 在接口中 Serializationpublic String getContentType()
SerializationgetContentType 在接口中 Serializationpublic ObjectOutput serialize(OutputStream output) throws IOException
Serializationserialize 在接口中 SerializationIOExceptionpublic ObjectInput deserialize(InputStream input) throws IOException
Serializationdeserialize 在接口中 SerializationIOExceptionCopyright © 2018. All rights reserved.