Class HerringServletRequestListener

java.lang.Object
cloud.piranha.extension.herring.HerringServletRequestListener
All Implemented Interfaces:
jakarta.servlet.ServletRequestListener, EventListener

public class HerringServletRequestListener extends Object implements jakarta.servlet.ServletRequestListener
The ServletRequestListener that sets the Context instance on the current thread just before request processing and removes the Context instance from the current after the request has been processed.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • HerringServletRequestListener

      public HerringServletRequestListener()
  • Method Details

    • requestDestroyed

      public void requestDestroyed(jakarta.servlet.ServletRequestEvent event)
      Specified by:
      requestDestroyed in interface jakarta.servlet.ServletRequestListener
    • requestInitialized

      public void requestInitialized(jakarta.servlet.ServletRequestEvent event)
      Specified by:
      requestInitialized in interface jakarta.servlet.ServletRequestListener