public class GsonJsonObjectInput extends Object implements org.apache.dubbo.common.serialize.ObjectInput
| 构造器和说明 |
|---|
GsonJsonObjectInput(InputStream in) |
GsonJsonObjectInput(Reader reader) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
readBool() |
byte |
readByte() |
byte[] |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
<T> T |
readObject(Class<T> cls) |
<T> T |
readObject(Class<T> cls,
Type type) |
short |
readShort() |
Throwable |
readThrowable() |
String |
readUTF() |
public GsonJsonObjectInput(InputStream in)
public GsonJsonObjectInput(Reader reader)
public boolean readBool()
throws IOException
readBool 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic byte readByte()
throws IOException
readByte 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic short readShort()
throws IOException
readShort 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic int readInt()
throws IOException
readInt 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic long readLong()
throws IOException
readLong 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic String readUTF() throws IOException
readUTF 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic byte[] readBytes()
throws IOException
readBytes 在接口中 org.apache.dubbo.common.serialize.DataInputIOExceptionpublic Object readObject() throws IOException, ClassNotFoundException
readObject 在接口中 org.apache.dubbo.common.serialize.ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
readObject 在接口中 org.apache.dubbo.common.serialize.ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
readObject 在接口中 org.apache.dubbo.common.serialize.ObjectInputIOExceptionClassNotFoundExceptionpublic Throwable readThrowable() throws IOException, ClassNotFoundException
readThrowable 在接口中 org.apache.dubbo.common.serialize.ObjectInputIOExceptionClassNotFoundExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.