Class DecodeableRpcResult
java.lang.Object
org.apache.dubbo.rpc.AppResponse
org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult
- All Implemented Interfaces:
Serializable,Codec,Decodeable,Result
- See Also:
-
Field Summary
Fields inherited from interface org.apache.dubbo.remoting.Codec
NEED_MORE_INPUT -
Constructor Summary
ConstructorsConstructorDescriptionDecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode()decode(Channel channel, InputStream input) voidencode(Channel channel, OutputStream output, Object message) Methods inherited from class org.apache.dubbo.rpc.AppResponse
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, whenCompleteWithContext
-
Constructor Details
-
DecodeableRpcResult
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceCodec- Throws:
IOException
-
decode
- Specified by:
decodein interfaceCodec- Throws:
IOException
-
decode
- Specified by:
decodein interfaceDecodeable- Throws:
Exception
-