摘要:        
前段时间服务有这么个需求,web端的接口需要有web安全相关的整改,但是对内的接口并不需要。所以服务需要多个端口启动,在此记录下 Springboot中如何启用多个监听端口 @Configuration public class EmbeddedTomcatConfiguration { @Valu    阅读全文
posted @ 2020-05-31 15:14
l-coil
阅读(3276)
评论(0)
推荐(0)
        
            
        
        
摘要:        
种类 spring-boot支持使用jetty、netty、tomcat、undertow作为嵌入式web容器 获取web容器实例 public void refresh() throws BeansException, IllegalStateException { synchronized(th    阅读全文
posted @ 2020-05-31 10:54
l-coil
阅读(383)
评论(0)
推荐(0)
        
 
   
            
            
            
            
            
            
            
            
            
            
            
           
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号