public class FastJsonSerialization extends Object implements Serialization
| Constructor and Description |
|---|
FastJsonSerialization() |
| Modifier and Type | Method and Description |
|---|---|
ObjectInput |
deserialize(URL url,
InputStream input)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(URL url,
OutputStream output)
create serializer
|
public byte getContentTypeId()
SerializationgetContentTypeId in interface Serializationpublic String getContentType()
SerializationgetContentType in interface Serializationpublic ObjectOutput serialize(URL url, OutputStream output) throws IOException
Serializationserialize in interface SerializationIOExceptionpublic ObjectInput deserialize(URL url, InputStream input) throws IOException
Serializationdeserialize in interface SerializationIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.