Spring Special Code

本文介绍了一种用于设置菜单组件位置映射的方法,并实现了一个过滤器来处理请求中的本地化参数。此外,还展示了如何创建流程监听器来获取外部上下文中的菜单数据,并从会话中获取属性。
[b]Set flow and menu item mapping[/b]


public void setLocationMaps(MenuComponent[] menuComponents) {

for (MenuComponent menuComponent: menuComponents) {
if (null == this.locationMapping.get(menuComponent.getLocation())
|| null != menuComponent.getParent()) {
this.locationMapping.put(menuComponent.getLocation(), menuComponent);
}
if (menuComponent.getMenuComponents().length > 0) {
this.setLocationMaps(menuComponent.getMenuComponents());
}
}
}




[b]Once Request filter[/b]

public class MenuFilter extends OncePerRequestFilter {

/**
* This method looks for a "locale" request parameter. If it finds one, it sets it as the preferred locale
* and also configures it to work with JSTL.
*
* @param request the current request
* @param response the current response
* @param chain the chain
* @throws IOException when something goes wrong
* @throws ServletException when a communication failure happens
*/
@SuppressWarnings("unchecked")
public void doFilterInternal(HttpServletRequest request, HttpServletResponse response,
FilterChain chain)
throws IOException, ServletException {


chain.doFilter(request, response);

// Reset thread-bound LocaleContext.
LocaleContextHolder.setLocaleContext(null);
}
}

[b]Flow Execution listener and external context[/b]

public class MenuFlowLister extends FlowExecutionListenerAdapter {

public void requestProcessed(RequestContext context) {
String id = context.getActiveFlow().getId();

MenuRepository menus = (MenuRepository) context.getExternalContext().getApplicationMap()
.get(MenuRepository.MENU_REPOSITORY_KEY);
}
}


[b]Get session attributes[/b]

Object mutex = RequestContextHolder.currentRequestAttributes().getSessionMutex();
RequestAttributes attributes = RequestContextHolder.currentRequestAttributes();
String test;
synchronized (mutex) {
test = (String)attributes.getAttribute("zenius", RequestAttributes.SCOPE_SESSION);
}
return test;
导出的数据是空的,但实际上已经查到数据了 2025-10-10 16:23:48.273 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] New http connection, requesting read 2025-10-10 16:23:48.273 [reactor-http-nio-2] DEBUG reactor.netty.transport.TransportConfig - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Initialized pipeline DefaultChannelPipeline{(reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)} 2025-10-10 16:23:48.323 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Increasing pending responses, now 1 2025-10-10 16:23:48.400 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServer - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@707ef05f 2025-10-10 16:23:48.519 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-1] HTTP POST "/master/inventory/export/excel" 2025-10-10 16:23:48.574 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestMappingHandlerMapping - [7aa6b257-1] Mapped to com.hvlink.controller.InventoryController#exportInventory(InventoryParam, ServerHttpResponse) 2025-10-10 16:23:48.623 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-1] Content-Type:application/json 2025-10-10 16:23:48.639 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-1] 0..1 [com.hvlink.entity.param.master.InventoryParam] 2025-10-10 16:23:48.718 [reactor-http-nio-2] DEBUG reactor.netty.channel.FluxReceive - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [terminated=false, cancelled=false, pending=0, error=null]: subscribing inbound receiver 2025-10-10 16:23:48.811 [reactor-http-nio-2] DEBUG o.s.http.codec.json.Jackson2JsonDecoder - [7aa6b257-1] Decoded [InventoryParam(id=null, companyCode=null, supplierCode=null, supplierName=null, factoryCode=null, fa (truncated)...] 2025-10-10 16:23:48.851 [reactor-http-nio-2] DEBUG com.hvlink.aspect.DataSourceAspect - 切换数据源:SALVE 2025-10-10 16:23:48.989 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:23:49.038 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@44ec7e32] was not registered for synchronization because synchronization is not active 2025-10-10 16:23:49.234 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:23:49.234 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:23:49.251 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,factory_code,warehouse_code,part_code,part_desc,supplier_part_code,unit,special_flag,batch_no,no_limit_quantity,quality_quantity,freeze_quantity,is_deleted,create_by,create_time,update_by,update_time FROM tb_inventory WHERE (id IN (?,?,?,?,?) AND is_deleted = ?) 2025-10-10 16:23:49.439 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Parameters: 2093(Integer), 2094(Integer), 2095(Integer), 2096(Integer), 2097(Integer), 0(Integer) 2025-10-10 16:23:49.606 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - <== Total: 5 2025-10-10 16:23:49.606 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@44ec7e32] 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4a7d4d53] was not registered for synchronization because synchronization is not active 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,supplier_name,supplier_tel,remark,is_deleted,create_by,create_time,update_by,update_time FROM tm_supplier WHERE (supplier_code IN (?,?)) 2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Parameters: 0012000049(String), 0012000048(String) 2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - <== Total: 18 2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4a7d4d53] 2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a66747d] was not registered for synchronization because synchronization is not active 2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,factory_name,status,is_deleted,create_by,create_time,update_by,update_time FROM tm_factory WHERE (factory_code IN (?)) 2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Parameters: 1400(String) 2025-10-10 16:23:49.648 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - <== Total: 0 2025-10-10 16:23:49.648 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a66747d] 2025-10-10 16:23:49.650 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:23:49.651 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@a1edc43] was not registered for synchronization because synchronization is not active 2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,part_code,unit,standard_package,box_quantity,package_quantity,drag_quantity,max_inventory_level,safety_inventory,is_deleted,create_by,create_time,update_by,update_time FROM tm_package WHERE (factory_code IN (?) AND part_code IN (?,?,?,?,?)) 2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Parameters: 1400(String), S00020153101(String), S00020145101(String), S00020155101(String), S00020151101(String), S00020094101(String) 2025-10-10 16:23:49.705 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - <== Total: 5 2025-10-10 16:23:49.705 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@a1edc43] 2025-10-10 16:23:53.080 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-1] Completed 200 OK 2025-10-10 16:23:53.115 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP response frame 2025-10-10 16:23:53.115 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] No sendHeaders() called before complete, sending zero-length header 2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Decreasing pending responses, now 0 2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP packet was sent, terminating the channel 2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.channel.ChannelOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [HttpServer] Channel inbound receiver cancelled (subscription disposed). 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Increasing pending responses, now 1 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServer - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@707ef05f 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-2] HTTP POST "/master/inventory/export/excel" 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestMappingHandlerMapping - [7aa6b257-2] Mapped to com.hvlink.controller.InventoryController#exportInventory(InventoryParam, ServerHttpResponse) 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-2] Content-Type:application/json 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-2] 0..1 [com.hvlink.entity.param.master.InventoryParam] 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.channel.FluxReceive - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [terminated=false, cancelled=false, pending=0, error=null]: subscribing inbound receiver 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.http.codec.json.Jackson2JsonDecoder - [7aa6b257-2] Decoded [InventoryParam(id=null, companyCode=null, supplierCode=null, supplierName=null, factoryCode=null, fa (truncated)...] 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG com.hvlink.aspect.DataSourceAspect - 切换数据源:SALVE 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35a2dbe5] was not registered for synchronization because synchronization is not active 2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,factory_code,warehouse_code,part_code,part_desc,supplier_part_code,unit,special_flag,batch_no,no_limit_quantity,quality_quantity,freeze_quantity,is_deleted,create_by,create_time,update_by,update_time FROM tb_inventory WHERE (id IN (?,?,?,?,?) AND is_deleted = ?) 2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Parameters: 2093(Integer), 2094(Integer), 2095(Integer), 2096(Integer), 2097(Integer), 0(Integer) 2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - <== Total: 5 2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35a2dbe5] 2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@b7f3c15] was not registered for synchronization because synchronization is not active 2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,supplier_name,supplier_tel,remark,is_deleted,create_by,create_time,update_by,update_time FROM tm_supplier WHERE (supplier_code IN (?,?)) 2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Parameters: 0012000049(String), 0012000048(String) 2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - <== Total: 18 2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@b7f3c15] 2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:24:02.927 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17572d02] was not registered for synchronization because synchronization is not active 2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,factory_name,status,is_deleted,create_by,create_time,update_by,update_time FROM tm_factory WHERE (factory_code IN (?)) 2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Parameters: 1400(String) 2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - <== Total: 0 2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17572d02] 2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@68ce4b4e] was not registered for synchronization because synchronization is not active 2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource 2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring 2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,part_code,unit,standard_package,box_quantity,package_quantity,drag_quantity,max_inventory_level,safety_inventory,is_deleted,create_by,create_time,update_by,update_time FROM tm_package WHERE (factory_code IN (?) AND part_code IN (?,?,?,?,?)) 2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Parameters: 1400(String), S00020153101(String), S00020145101(String), S00020155101(String), S00020151101(String), S00020094101(String) 2025-10-10 16:24:03.001 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - <== Total: 5 2025-10-10 16:24:03.003 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@68ce4b4e] 2025-10-10 16:24:03.068 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-2] Completed 200 OK 2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP response frame 2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] No sendHeaders() called before complete, sending zero-length header 2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Decreasing pending responses, now 0 2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP packet was sent, terminating the channel 2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.channel.ChannelOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [HttpServer] Channel inbound receiver cancelled (subscription disposed).
最新发布
10-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值