Class SessionHandlerFilter
java.lang.Object
ai.yda.framework.channel.rest.spring.streaming.session.SessionHandlerFilter
- All Implemented Interfaces:
org.springframework.web.server.WebFilter
public class SessionHandlerFilter
extends Object
implements org.springframework.web.server.WebFilter
Detects if a
WebSession for the current ServerWebExchange has been started and starts one if it's
not.- Since:
- 0.1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SessionHandlerFilter
public SessionHandlerFilter()Default constructor forSessionHandlerFilter.
-
-
Method Details
-
filter
@NonNull public reactor.core.publisher.Mono<Void> filter(@NonNull org.springframework.web.server.ServerWebExchange exchange, @NonNull org.springframework.web.server.WebFilterChain chain) - Specified by:
filterin interfaceorg.springframework.web.server.WebFilter
-