com.yance.configuration.TioHttpServerMarkerConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tio-http-server-spring-boot-starter Show documentation
Show all versions of tio-http-server-spring-boot-starter Show documentation
Tio Http 服务的 spring-boot-starter
The newest version!
package com.yance.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 负责添加一个标记,表示 Tio Http Server 已经启用,防止重复启用
*
* @author yance
*/
@Configuration
public class TioHttpServerMarkerConfiguration {
@Bean
public Marker tioWebSocketServerMarkBean() {
return new Marker();
}
class Marker {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy