addInterceptor

abstract fun addInterceptor(propertiesConsumer: ConfigurerFunction<EventInterceptorRegistrationProperties>?, interceptor: EventInterceptor)
open fun addInterceptor(interceptor: EventInterceptor)

添加一个拦截器与它可能存在的配置信息。