public class AnnotationRpcHandler extends AbstractAnnotationRpcHandler
inputIDl, outputIDL| 构造器和说明 |
|---|
AnnotationRpcHandler(Method method,
Object service,
ProtobufRPCService protobufPRCService)
Instantiates a new annotation rpc handler.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
decodeOutputParam(Object output)
Decode output param.
|
protected Object |
encodeInputParam(byte[] bytes)
Encode input param.
|
doHandle, doRealHandle, getAttachmentHandler, getAuthenticationHandler, getDescription, getInputClass, getInputMetaProto, getInterceptor, getMethod, getMethodName, getMethodSignature, getOutputClass, getOutputMetaProto, getService, getServiceName, setInterceptor, setServiceNamepublic AnnotationRpcHandler(Method method, Object service, ProtobufRPCService protobufPRCService)
method - the methodservice - the serviceprotobufPRCService - the protobuf prc serviceprotected Object encodeInputParam(byte[] bytes) throws Exception
encodeInputParam 在类中 AbstractAnnotationRpcHandlerbytes - the bytesIOException - Signals that an I/O exception has occurred.Exceptionprotected byte[] decodeOutputParam(Object output) throws Exception
decodeOutputParam 在类中 AbstractAnnotationRpcHandleroutput - the outputIOException - Signals that an I/O exception has occurred.ExceptionCopyright © 2022 Baidu, Inc.. All rights reserved.