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 TypeMethodDescriptionbooleanreadBool()bytereadByte()byte[]doublefloatintreadInt()longreadLong()<T> TreadObject(Class<T> cls) <T> TreadObject(Class<T> cls, Type type) shortreadUTF()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.serialize.ObjectInput
readAttachments, readEvent, readThrowable
-
Constructor Details
-
NativeJavaObjectInput
- Throws:
IOException
-
-
Method Details
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Throws:
IOExceptionClassNotFoundException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Throws:
IOExceptionClassNotFoundException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Throws:
IOExceptionClassNotFoundException
-
readBool
- Specified by:
readBoolin interfaceDataInput- Throws:
IOException
-
readByte
- Specified by:
readBytein interfaceDataInput- Throws:
IOException
-
readShort
- Specified by:
readShortin interfaceDataInput- Throws:
IOException
-
readInt
- Specified by:
readIntin interfaceDataInput- Throws:
IOException
-
readLong
- Specified by:
readLongin interfaceDataInput- Throws:
IOException
-
readFloat
- Specified by:
readFloatin interfaceDataInput- Throws:
IOException
-
readDouble
- Specified by:
readDoublein interfaceDataInput- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Throws:
IOException
-
readBytes
- Specified by:
readBytesin interfaceDataInput- Throws:
IOException
-