Interface ApplicationRequestPhaseLifecycle<E extends RequestContext>

All Superinterfaces:
ApplicationLifecycle<E>

public interface ApplicationRequestPhaseLifecycle<E extends RequestContext> extends ApplicationLifecycle<E>
Interface that extends ApplicationLifecycle with request phase methods that allow interception of before/after ACTION phase, and before/after RENDER phase of request processing.
  • Method Details

    • onStartRequestPhase

      void onStartRequestPhase(Application app, E context, Phase phase)
      Perform any processing required at the beginning of Phase.ACTION or Phase.RENDER phase.
      Parameters:
      app - Application
      context - current RequestContext
      phase - starting phase
    • onEndRequestPhase

      void onEndRequestPhase(Application app, E context, Phase phase)
      Perform any processing required at the end of Phase.ACTION or Phase.RENDER phase.
      Parameters:
      app - Application
      context - current RequestContext
      phase - ending phase