类 RequestHandlerRegistry
java.lang.Object
com.alibaba.nacos.core.remote.RequestHandlerRegistry
- 所有已实现的接口:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
@Service
public class RequestHandlerRegistry
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
RequestHandlerRegistry.
- 版本:
- $Id: RequestHandlerRegistry.java, v 0.1 2020年07月13日 8:24 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getByRequestType(String requestType)Get Request Handler By request Type.voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
-
构造器详细资料
-
RequestHandlerRegistry
public RequestHandlerRegistry()
-
-
方法详细资料
-
getByRequestType
Get Request Handler By request Type.- 参数:
requestType- see definitions of sub constants classes of RequestTypeConstants- 返回:
- request handler.
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)- 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-