psdi.webclient.system.runtime

Class WebReplayHandler

  • java.lang.Object
    • psdi.webclient.system.runtime.WebReplayHandler


  • public class WebReplayHandler
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static boolean FeatureEnabled 
    • Constructor Summary

      Constructors 
      Constructor and Description
      WebReplayHandler() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void addLinkToBanner(javax.servlet.http.HttpServletRequest request)
      This method will optionally add the Web Replay link to the MBS banner.
      static void handleLaunchProcessing(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      This method enables Web Replay to perform URL launch processing.
      static boolean handleStartupProcessing(WebClientSession wcs, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      This method enables Web Replay to perform any startup processing.
      static void hideWebReplay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) 
      static boolean isEnabled()
      This method simply returns whether or not Web Replay is enabled in the system, and that the user is authorized to it.
      static boolean showWebReplay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) 
      • Methods inherited from class java.lang.Object

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

      • FeatureEnabled

        public static boolean FeatureEnabled
    • Constructor Detail

      • WebReplayHandler

        public WebReplayHandler()
    • Method Detail

      • isEnabled

        public static boolean isEnabled()
        This method simply returns whether or not Web Replay is enabled in the system, and that the user is authorized to it.
        Returns:
      • handleStartupProcessing

        public static boolean handleStartupProcessing(WebClientSession wcs,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws javax.servlet.ServletException,
                                                      java.io.IOException
        This method enables Web Replay to perform any startup processing. The most significant is to turn on the automation flag if Web Replay is on.
        Parameters:
        request -
        Returns:
        true if request was forwarded
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • handleLaunchProcessing

        public static void handleLaunchProcessing(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response)
        This method enables Web Replay to perform URL launch processing. MBS can be launched via URL, where the URL includes parameters to autoamtically start Web Replay, identify the scenario to run, and to provide any data to pass into the scenario. This method will examine the URL, and handle kicking off Web Replay if needed.
        Parameters:
        request -
      • addLinkToBanner

        public static void addLinkToBanner(javax.servlet.http.HttpServletRequest request)
        This method will optionally add the Web Replay link to the MBS banner.
        Parameters:
        request -
      • showWebReplay

        public static boolean showWebReplay(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response)
      • hideWebReplay

        public static void hideWebReplay(javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.http.HttpServletResponse response)