public class GsonJsonObjectOutput extends Object implements org.apache.dubbo.common.serialize.ObjectOutput
| 构造器和说明 |
|---|
GsonJsonObjectOutput(OutputStream out) |
GsonJsonObjectOutput(Writer writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
flushBuffer() |
void |
writeBool(boolean v) |
void |
writeByte(byte v) |
void |
writeBytes(byte[] b) |
void |
writeBytes(byte[] b,
int off,
int len) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeObject(Object obj) |
void |
writeShort(short v) |
void |
writeThrowable(Object obj) |
void |
writeUTF(String v) |
public GsonJsonObjectOutput(OutputStream out)
public GsonJsonObjectOutput(Writer writer)
public void writeBool(boolean v)
throws IOException
writeBool 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeByte(byte v)
throws IOException
writeByte 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeShort(short v)
throws IOException
writeShort 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeInt(int v)
throws IOException
writeInt 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeLong(long v)
throws IOException
writeLong 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeUTF(String v) throws IOException
writeUTF 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeBytes(byte[] b)
throws IOException
writeBytes 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeBytes(byte[] b,
int off,
int len)
throws IOException
writeBytes 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionpublic void writeObject(Object obj) throws IOException
writeObject 在接口中 org.apache.dubbo.common.serialize.ObjectOutputIOExceptionpublic void writeThrowable(Object obj) throws IOException
writeThrowable 在接口中 org.apache.dubbo.common.serialize.ObjectOutputIOExceptionpublic void flushBuffer()
throws IOException
flushBuffer 在接口中 org.apache.dubbo.common.serialize.DataOutputIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.