Class JavaObjectInput
java.lang.Object
org.apache.dubbo.common.serialize.nativejava.NativeJavaObjectInput
org.apache.dubbo.common.serialize.java.JavaObjectInput
- All Implemented Interfaces:
DataInput
,ObjectInput
Java object input implementation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
<T> T
readObject
(Class<T> cls) <T> T
readObject
(Class<T> cls, Type type) readUTF()
Methods inherited from class org.apache.dubbo.common.serialize.nativejava.NativeJavaObjectInput
readBool, readByte, readDouble, readFloat, readInt, readLong, readShort
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
-
Field Details
-
MAX_BYTE_ARRAY_LENGTH
public static final int MAX_BYTE_ARRAY_LENGTH- See Also:
-
-
Constructor Details
-
JavaObjectInput
- Throws:
IOException
-
JavaObjectInput
- Throws:
IOException
-
-
Method Details
-
readBytes
- Specified by:
readBytes
in interfaceDataInput
- Overrides:
readBytes
in classNativeJavaObjectInput
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Overrides:
readUTF
in classNativeJavaObjectInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Overrides:
readObject
in classNativeJavaObjectInput
- Throws:
IOException
ClassNotFoundException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Overrides:
readObject
in classNativeJavaObjectInput
- Throws:
IOException
ClassNotFoundException
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Overrides:
readObject
in classNativeJavaObjectInput
- Throws:
IOException
ClassNotFoundException
-