Class HttpSessionHolderFilter

java.lang.Object
ch.tocco.nice2.netui.impl.remote.HttpSessionHolderFilter
All Implemented Interfaces:
jakarta.servlet.Filter

@Component public class HttpSessionHolderFilter extends Object implements jakarta.servlet.Filter
Filter stores the clients http session id to the current thread.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpSessionHolderFilter(org.slf4j.Logger log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.Filter

    destroy, init
  • Field Details

  • Constructor Details

    • HttpSessionHolderFilter

      @Lazy public HttpSessionHolderFilter(org.slf4j.Logger log)
  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException