Class HerringServletRequestListener

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

@Deprecated(forRemoval=true, since="21.9.0") public class HerringServletRequestListener extends Object implements jakarta.servlet.ServletRequestListener
Deprecated, for removal: This API element is subject to removal in a future version.
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 Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    requestDestroyed(jakarta.servlet.ServletRequestEvent event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    requestInitialized(jakarta.servlet.ServletRequestEvent event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HerringServletRequestListener

      public HerringServletRequestListener()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • requestDestroyed

      public void requestDestroyed(jakarta.servlet.ServletRequestEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      requestDestroyed in interface jakarta.servlet.ServletRequestListener
    • requestInitialized

      public void requestInitialized(jakarta.servlet.ServletRequestEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      requestInitialized in interface jakarta.servlet.ServletRequestListener