Class SuspendedServerRequestListener

java.lang.Object
org.wildfly.extension.undertow.deployment.SuspendedServerRequestListener
All Implemented Interfaces:
io.undertow.server.ExchangeCompletionListener, jakarta.servlet.ServletRequestListener, EventListener, Function<io.undertow.servlet.api.DeploymentInfo,io.undertow.servlet.api.DeploymentInfo>, UnaryOperator<io.undertow.servlet.api.DeploymentInfo>

public class SuspendedServerRequestListener extends Object implements jakarta.servlet.ServletRequestListener, UnaryOperator<io.undertow.servlet.api.DeploymentInfo>, io.undertow.server.ExchangeCompletionListener
A ServletRequestListener that notifies a control point of request completion.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.undertow.server.ExchangeCompletionListener

    io.undertow.server.ExchangeCompletionListener.NextListener
  • Constructor Summary

    Constructors
    Constructor
    Description
    SuspendedServerRequestListener(org.wildfly.extension.requestcontroller.ControlPoint entryPoint)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.undertow.servlet.api.DeploymentInfo
    apply(io.undertow.servlet.api.DeploymentInfo deployment)
     
    void
    exchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener)
     
    void
    requestDestroyed(jakarta.servlet.ServletRequestEvent event)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface jakarta.servlet.ServletRequestListener

    requestInitialized
  • Constructor Details

    • SuspendedServerRequestListener

      public SuspendedServerRequestListener(org.wildfly.extension.requestcontroller.ControlPoint entryPoint)
  • Method Details

    • apply

      public io.undertow.servlet.api.DeploymentInfo apply(io.undertow.servlet.api.DeploymentInfo deployment)
      Specified by:
      apply in interface Function<io.undertow.servlet.api.DeploymentInfo,io.undertow.servlet.api.DeploymentInfo>
    • requestDestroyed

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

      public void exchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener)
      Specified by:
      exchangeEvent in interface io.undertow.server.ExchangeCompletionListener