Class InterruptUtils


  • public class InterruptUtils
    extends java.lang.Object
    Since:
    5.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      InterruptUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apereo.cas.interrupt.InterruptResponse getInterruptFrom​(org.springframework.webflow.execution.RequestContext ctx)
      Gets interrupt from.
      static void putInterruptIn​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.interrupt.InterruptResponse response)
      Put interrupt in.
      static void putInterruptTriggerMode​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.configuration.model.support.interrupt.InterruptCoreProperties.InterruptTriggerModes triggerMode)
      Put interrupt trigger mode.
      • Methods inherited from class java.lang.Object

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

      • InterruptUtils

        public InterruptUtils()
    • Method Detail

      • getInterruptFrom

        public static org.apereo.cas.interrupt.InterruptResponse getInterruptFrom​(org.springframework.webflow.execution.RequestContext ctx)
        Gets interrupt from.
        Parameters:
        ctx - the ctx
        Returns:
        the interrupt from
      • putInterruptIn

        public static void putInterruptIn​(org.springframework.webflow.execution.RequestContext requestContext,
                                          org.apereo.cas.interrupt.InterruptResponse response)
        Put interrupt in.
        Parameters:
        requestContext - the request context
        response - the response
      • putInterruptTriggerMode

        public static void putInterruptTriggerMode​(org.springframework.webflow.execution.RequestContext requestContext,
                                                   org.apereo.cas.configuration.model.support.interrupt.InterruptCoreProperties.InterruptTriggerModes triggerMode)
        Put interrupt trigger mode.
        Parameters:
        requestContext - the request context
        triggerMode - the trigger mode