Class NativeJavaObjectInput
java.lang.Object
org.apache.dubbo.common.serialize.nativejava.NativeJavaObjectInput
- All Implemented Interfaces:
DataInput
,ObjectInput
- Direct Known Subclasses:
JavaObjectInput
Native java object input implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
readBool()
byte
readByte()
byte[]
double
float
int
readInt()
long
readLong()
<T> T
readObject
(Class<T> cls) <T> T
readObject
(Class<T> cls, Type type) short
readUTF()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.dubbo.common.serialize.ObjectInput
readAttachments, readEvent, readThrowable
-
Constructor Details
-
NativeJavaObjectInput
- Throws:
IOException
-
-
Method Details
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Throws:
IOException
ClassNotFoundException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Throws:
IOException
ClassNotFoundException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Throws:
IOException
ClassNotFoundException
-
readBool
- Specified by:
readBool
in interfaceDataInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfaceDataInput
- Throws:
IOException
-
readShort
- Specified by:
readShort
in interfaceDataInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfaceDataInput
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfaceDataInput
- Throws:
IOException
-
readFloat
- Specified by:
readFloat
in interfaceDataInput
- Throws:
IOException
-
readDouble
- Specified by:
readDouble
in interfaceDataInput
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Throws:
IOException
-
readBytes
- Specified by:
readBytes
in interfaceDataInput
- Throws:
IOException
-