Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AVRO_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
C
- Cleanable - Interface in org.apache.dubbo.common.serialize
-
Interface defines that the object is cleanable.
- cleanup() - Method in interface org.apache.dubbo.common.serialize.Cleanable
-
Implementations must implement this cleanup method
- COMPACTED_JAVA_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- Constants - Interface in org.apache.dubbo.common.serialize
- CUSTOM_MESSAGE_PACK_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
D
- DataInput - Interface in org.apache.dubbo.common.serialize
-
Basic data type input interface.
- DataOutput - Interface in org.apache.dubbo.common.serialize
-
Basic data type output interface.
- DefaultMultipleSerialization - Class in org.apache.dubbo.common.serialize
- DefaultMultipleSerialization() - Constructor for class org.apache.dubbo.common.serialize.DefaultMultipleSerialization
- DefaultSerializationExceptionWrapper - Class in org.apache.dubbo.common.serialize
- DefaultSerializationExceptionWrapper(Serialization) - Constructor for class org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper
- DefaultSerializationSelector - Class in org.apache.dubbo.common.serialize.support
- DefaultSerializationSelector() - Constructor for class org.apache.dubbo.common.serialize.support.DefaultSerializationSelector
- deserialize(URL, InputStream) - Method in class org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper
- deserialize(URL, InputStream) - Method in interface org.apache.dubbo.common.serialize.Serialization
-
Get a deserialization implementation instance
- deserialize(URL, String, Class<?>, InputStream) - Method in class org.apache.dubbo.common.serialize.DefaultMultipleSerialization
- deserialize(URL, String, Class<?>, InputStream) - Method in interface org.apache.dubbo.common.serialize.MultipleSerialization
F
- FASTJSON_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- FASTJSON2_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- flushBuffer() - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Flush buffer.
- FST_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- FURY_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
G
- getContentType() - Method in class org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper
- getContentType() - Method in interface org.apache.dubbo.common.serialize.Serialization
-
Get content type
- getContentTypeId() - Method in class org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper
- getContentTypeId() - Method in interface org.apache.dubbo.common.serialize.Serialization
-
Get content type unique id, recommended that custom implementations use values different with any value of
Constantsand don't greater than ExchangeCodec.SERIALIZATION_MASK (31) because dubbo protocol use 5 bits to record serialization ID in header. - getDefaultRemotingSerialization() - Static method in class org.apache.dubbo.common.serialize.support.DefaultSerializationSelector
- getPreferSerialization() - Method in class org.apache.dubbo.common.serialize.support.PreferSerializationProviderImpl
- getRegisteredClasses() - Static method in class org.apache.dubbo.common.serialize.support.SerializableClassRegistry
-
get registered classes
- getSerializableClasses() - Method in interface org.apache.dubbo.common.serialize.support.SerializationOptimizer
-
Get serializable classes
- GSON_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
H
- HESSIAN2_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
I
- initializeFrameworkModel(FrameworkModel) - Method in class org.apache.dubbo.common.serialize.SerializationScopeModelInitializer
J
- JACKSON_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- JAVA_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
K
- KRYO_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- KRYO_SERIALIZATION2_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
M
- MSGPACK_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- MultipleSerialization - Interface in org.apache.dubbo.common.serialize
N
- NATIVE_HESSIAN_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- NATIVE_JAVA_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
O
- ObjectInput - Interface in org.apache.dubbo.common.serialize
-
Object input interface.
- ObjectOutput - Interface in org.apache.dubbo.common.serialize
-
Object output interface.
- org.apache.dubbo.common.serialize - package org.apache.dubbo.common.serialize
- org.apache.dubbo.common.serialize.support - package org.apache.dubbo.common.serialize.support
P
- PreferSerializationProviderImpl - Class in org.apache.dubbo.common.serialize.support
- PreferSerializationProviderImpl(FrameworkModel) - Constructor for class org.apache.dubbo.common.serialize.support.PreferSerializationProviderImpl
- PROTOBUF_JSON_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- PROTOBUF_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
- PROTOSTUFF_SERIALIZATION_ID - Static variable in interface org.apache.dubbo.common.serialize.Constants
R
- readAttachments() - Method in interface org.apache.dubbo.common.serialize.ObjectInput
- readBool() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read boolean.
- readByte() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read byte.
- readBytes() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read byte array.
- readDouble() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read double.
- readEvent() - Method in interface org.apache.dubbo.common.serialize.ObjectInput
- readFloat() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read float.
- readInt() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read integer.
- readLong() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read long.
- readObject() - Method in interface org.apache.dubbo.common.serialize.ObjectInput
-
Consider use
ObjectInput.readObject(Class)orObjectInput.readObject(Class, Type)where possible - readObject(Class<T>) - Method in interface org.apache.dubbo.common.serialize.ObjectInput
-
read object
- readObject(Class<T>, Type) - Method in interface org.apache.dubbo.common.serialize.ObjectInput
-
read object
- readShort() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read short integer.
- readThrowable() - Method in interface org.apache.dubbo.common.serialize.ObjectInput
-
The following methods are customized for the requirement of Dubbo's RPC protocol implementation.
- readUTF() - Method in interface org.apache.dubbo.common.serialize.DataInput
-
Read UTF-8 string.
- registerClass(Class<?>) - Static method in class org.apache.dubbo.common.serialize.support.SerializableClassRegistry
-
only supposed to be called at startup time
- registerClass(Class<?>, Object) - Static method in class org.apache.dubbo.common.serialize.support.SerializableClassRegistry
-
only supposed to be called at startup time
S
- SerializableClassRegistry - Class in org.apache.dubbo.common.serialize.support
-
Provide a unified serialization registry, this class used for
dubbo-serialization-fstanddubbo-serialization-kryo, it will register some classes at startup time (for example)invalid reference
AbstractKryoFactory#create - SerializableClassRegistry() - Constructor for class org.apache.dubbo.common.serialize.support.SerializableClassRegistry
- Serialization - Interface in org.apache.dubbo.common.serialize
-
Serialization strategy interface that specifies a serializer.
- SerializationException - Exception Class in org.apache.dubbo.common.serialize
-
Serialized runtime exceptions, internal flow, will be converted into general exceptions and added to serialization tags when returning to rpc
- SerializationException(String) - Constructor for exception class org.apache.dubbo.common.serialize.SerializationException
- SerializationException(Throwable) - Constructor for exception class org.apache.dubbo.common.serialize.SerializationException
- SerializationOptimizer - Interface in org.apache.dubbo.common.serialize.support
-
Interface defining serialization optimizer, there are nothing implementations for now.
- SerializationScopeModelInitializer - Class in org.apache.dubbo.common.serialize
- SerializationScopeModelInitializer() - Constructor for class org.apache.dubbo.common.serialize.SerializationScopeModelInitializer
- serialize(URL, OutputStream) - Method in class org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper
- serialize(URL, OutputStream) - Method in interface org.apache.dubbo.common.serialize.Serialization
-
Get a serialization implementation instance
- serialize(URL, String, Class<?>, Object, OutputStream) - Method in class org.apache.dubbo.common.serialize.DefaultMultipleSerialization
- serialize(URL, String, Class<?>, Object, OutputStream) - Method in interface org.apache.dubbo.common.serialize.MultipleSerialization
W
- writeAttachments(Map<String, Object>) - Method in interface org.apache.dubbo.common.serialize.ObjectOutput
- writeBool(boolean) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write boolean.
- writeByte(byte) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write byte.
- writeBytes(byte[]) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write byte array.
- writeBytes(byte[], int, int) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write byte array.
- writeDouble(double) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write double.
- writeEvent(String) - Method in interface org.apache.dubbo.common.serialize.ObjectOutput
- writeFloat(float) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write float.
- writeInt(int) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write integer.
- writeLong(long) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write long.
- writeObject(Object) - Method in interface org.apache.dubbo.common.serialize.ObjectOutput
-
write object.
- writeShort(short) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write short.
- writeThrowable(Throwable) - Method in interface org.apache.dubbo.common.serialize.ObjectOutput
-
The following methods are customized for the requirement of Dubbo's RPC protocol implementation.
- writeUTF(String) - Method in interface org.apache.dubbo.common.serialize.DataOutput
-
Write string.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form