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 Details

  • 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:
      filter in interface org.springframework.web.server.WebFilter