public class DecodeableRpcResult extends AppResponse implements Codec, Decodeable
NEED_MORE_INPUT| 构造器和说明 |
|---|
DecodeableRpcResult(Channel channel,
Response response,
InputStream is,
Invocation invocation,
byte id) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode() |
Object |
decode(Channel channel,
InputStream input) |
void |
encode(Channel channel,
OutputStream output,
Object message) |
addAttachments, addObjectAttachments, clear, get, get, getAttachment, getAttachment, getAttachments, getAttribute, getException, getObjectAttachment, getObjectAttachment, getObjectAttachments, getValue, hasException, recreate, setAttachment, setAttachment, setAttachments, setAttribute, setException, setObjectAttachment, setObjectAttachments, setValue, thenApply, toString, whenCompleteWithContextpublic DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id)
public void encode(Channel channel, OutputStream output, Object message) throws IOException
encode 在接口中 CodecIOExceptionpublic Object decode(Channel channel, InputStream input) throws IOException
decode 在接口中 CodecIOExceptionpublic void decode()
throws Exception
decode 在接口中 DecodeableExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.