类 JavaObjectInput
-
- com.alibaba.dubbo.common.serialize.nativejava.NativeJavaObjectInput
-
- com.alibaba.dubbo.common.serialize.java.JavaObjectInput
-
- 所有已实现的接口:
DataInput
,ObjectInput
public class JavaObjectInput extends NativeJavaObjectInput
Java Object input.
-
-
字段概要
字段 修饰符和类型 字段 说明 static int
MAX_BYTE_ARRAY_LENGTH
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]
readBytes()
Read byte array.readObject()
read object.<T> T
<T> cls)
read object.<T> T
<T> cls, type)
read object.readUTF()
Read UTF-8 string.-
从类继承的方法 com.alibaba.dubbo.common.serialize.nativejava.NativeJavaObjectInput
readBool, readByte, readDouble, readFloat, readInt, readLong, readShort
-
-
-
-
字段详细资料
-
MAX_BYTE_ARRAY_LENGTH
public static final int MAX_BYTE_ARRAY_LENGTH
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
readBytes
public byte[] readBytes() throws
从接口复制的说明:DataInput
Read byte array.- 指定者:
readBytes
在接口中DataInput
- 覆盖:
readBytes
在类中NativeJavaObjectInput
- 返回:
- byte array.
- 抛出:
-
readUTF
public readUTF() throws
从接口复制的说明:DataInput
Read UTF-8 string.- 指定者:
readUTF
在接口中DataInput
- 覆盖:
readUTF
在类中NativeJavaObjectInput
- 返回:
- string.
- 抛出:
-
readObject
public readObject() throws ,
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 覆盖:
readObject
在类中NativeJavaObjectInput
- 返回:
- object.
- 抛出:
-
readObject
public <T> T readObject(<T> cls) throws ,
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 覆盖:
readObject
在类中NativeJavaObjectInput
- 参数:
cls
- object type.- 返回:
- object.
- 抛出:
-
readObject
public <T> T readObject(<T> cls, type) throws ,
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 覆盖:
readObject
在类中NativeJavaObjectInput
- 参数:
cls
- object type.- 返回:
- object.
- 抛出:
-
-