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> TreadObject(Class<T> cls) <T> TreadObject(Class<T> cls, Type type) readUTF()Methods inherited from class org.apache.dubbo.common.serialize.nativejava.NativeJavaObjectInput
readBool, readByte, readDouble, readFloat, readInt, readLong, readShortMethods 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
-
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:
readBytesin interfaceDataInput- Overrides:
readBytesin classNativeJavaObjectInput- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Overrides:
readUTFin classNativeJavaObjectInput- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Overrides:
readObjectin classNativeJavaObjectInput- Throws:
IOExceptionClassNotFoundException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Overrides:
readObjectin classNativeJavaObjectInput- Throws:
IOExceptionClassNotFoundException
-
readObject
- Specified by:
readObjectin interfaceObjectInput- Overrides:
readObjectin classNativeJavaObjectInput- Throws:
IOExceptionClassNotFoundException
-