public class InterceptCommunicationServer extends CommunicationServer
bootstrap, bossGroup, customThreadPools, host, port, protocol, rpcServerOptions, serverStatus, serviceList, serviceManager, stop, threadPool, timeoutTimer, workerGroup| Constructor and Description |
|---|
InterceptCommunicationServer(int port) |
InterceptCommunicationServer(int port,
RpcServerOptions options) |
InterceptCommunicationServer(int port,
RpcServerOptions options,
List<Interceptor> interceptors) |
InterceptCommunicationServer(String host,
int port) |
InterceptCommunicationServer(String host,
int port,
RpcServerOptions options) |
InterceptCommunicationServer(String host,
int port,
RpcServerOptions options,
List<Interceptor> interceptors) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Request request,
Response response) |
getProtocol, isShutdown, registerService, registerService, registerService, registerService, registerService, sendServerPush, setProtocol, shutdown, startpublic InterceptCommunicationServer(int port)
public InterceptCommunicationServer(String host, int port)
public InterceptCommunicationServer(int port,
RpcServerOptions options)
public InterceptCommunicationServer(String host, int port, RpcServerOptions options)
public InterceptCommunicationServer(int port,
RpcServerOptions options,
List<Interceptor> interceptors)
public InterceptCommunicationServer(String host, int port, RpcServerOptions options, List<Interceptor> interceptors)
public void execute(Request request, Response response) throws RpcException
execute in class CommunicationServerRpcExceptionCopyright © 2020 Baidu, Inc.. All rights reserved.