public class EchoServiceImpl extends Object
| 构造器和说明 |
|---|
EchoServiceImpl() |
EchoServiceImpl(Integer order) |
| 限定符和类型 | 方法和说明 |
|---|---|
EchoInfo |
businessExceptionCall(EchoInfo info) |
EchoInfo |
dealWithAttachement(EchoInfo info) |
EchoInfo |
dealWithAuthenticationDataEnable(EchoInfo info) |
EchoInfo |
dealWithGzipEnable(EchoInfo info) |
EchoInfo |
dealWithSnappyEnable(EchoInfo info) |
EchoInfo |
doEcho(EchoInfo info) |
EchoInfo |
doEchoAnnother(EchoInfo info) |
EchoInfo |
doEchoDynamic(EchoInfo info) |
EchoInfo |
echoTimeout(EchoInfo info) |
EchoInfo |
echoUseByteArrayInputParam(byte[] bytes) |
EchoInfo |
echoWithoutReturn(EchoInfo info) |
public EchoServiceImpl()
public EchoServiceImpl(Integer order)
order - @ProtobufRPCService(serviceName="echoService",
methodName="echo",
description="echo\u6d4b\u8bd5\u670d\u52a1")
public EchoInfo doEcho(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echo2",
description="echo\u6d4b\u8bd5\u670d\u52a1")
public EchoInfo doEchoAnnother(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoWithAttachement",
attachmentHandler=EchoServerAttachmentHandler.class,
description="echo\u6d4b\u8bd5\u670d\u52a1\u5e26\u9644\u4ef6")
public EchoInfo dealWithAttachement(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoGzip",
attachmentHandler=EchoServerAttachmentHandler.class,
description="echo\u6d4b\u8bd5\u670d\u52a1\u5e26\u9644\u4ef6\u548cGzip\u538b\u7f29")
public EchoInfo dealWithGzipEnable(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoSnappy",
attachmentHandler=EchoServerAttachmentHandler.class,
description="echo\u6d4b\u8bd5\u670d\u52a1\u5e26\u9644\u4ef6\u548cSnappy\u538b\u7f29")
public EchoInfo dealWithSnappyEnable(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoAuthenticateData",
attachmentHandler=EchoServerAttachmentHandler.class,
description="echo\u6d4b\u8bd5\u670d\u52a1\u5e26\u9644\u4ef6\u548cSnappy\u538b\u7f29",
authenticationDataHandler=EchoServerAuthenticationDataHandler.class)
public EchoInfo dealWithAuthenticationDataEnable(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="businessExceptionCall")
public EchoInfo businessExceptionCall(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoTimeout",
description="echo\u6d4b\u8bd5\u670d\u52a1")
public EchoInfo echoTimeout(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
async=true,
methodName="echoWithoutReturn",
description="echo\u4e0d\u5e26\u8fd4\u56de\u503c")
public EchoInfo echoWithoutReturn(EchoInfo info)
@ProtobufRPCService(serviceName="echoService",
methodName="echoUseByteArrayInputParam",
description="echo\u53c2\u6570\u76f4\u63a5\u4f7f\u7528byte\u6570\u7ec4")
public EchoInfo echoUseByteArrayInputParam(byte[] bytes)
Copyright © 2022 Baidu, Inc.. All rights reserved.