Class WebUIUtil

java.lang.Object
org.knime.core.webui.WebUIUtil

public final class WebUIUtil extends Object
Utily methods relevant for the web UI.
Author:
Martin Horn, KNIME GmbH, Konstanz, Germany
  • Field Details

    • BLOCK_ALL_EXTERNAL_REQUESTS_SYS_PROP

      public static final String BLOCK_ALL_EXTERNAL_REQUESTS_SYS_PROP
      System property that controls whether external requests from within CEF browser instances are to be blocked or not.
      See Also:
  • Method Details

    • isInDevMode

      public static boolean isInDevMode()
      Return whether the dev mode is set or not.
      Returns:
      isDevMode
    • openURLInExternalBrowserAndAddToDebugLog

      public static void openURLInExternalBrowserAndAddToDebugLog(String url, Class<?> classForLogging)
      Tries to open the given URL in an external browser, but only if its prefix is contained in the list above. Will also output respective debug log messages.
      Parameters:
      url -
      classForLogging -