Class BrowserUrl

java.lang.Object
com.tccc.kos.core.service.browser.BrowserNav
com.tccc.kos.core.service.browser.BrowserUrl

public class BrowserUrl extends BrowserNav
Navigation request to point a given browser from the specified node to the indicated url.
Since:
1.0
Version:
2024-02-12
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrowserUrl(NodeId nodeId, String url, boolean redirect)
    Navigation request to send the default browser on the specified node to the specified url using an optional redirect.
    BrowserUrl(NodeId nodeId, String browserName, String url, boolean redirect)
    Navigation request to send the specified browser on the specified node to the specified url using an optional redirect.
    BrowserUrl(BrowserId browserId, String url, boolean redirect)
    Navigation request to send the specified browser to the specified url using an optional redirect.
    BrowserUrl(BrowserIntent intent, String url, boolean redirect)
    Navigation request to send the browser contained in the intent to the specified url using an optional redirect.
    Navigation request to send the default browser on the current node to the specified url.
    BrowserUrl(String url, boolean redirect)
    Navigation request to send the default browser on the current node to the specified url using an optional redirect.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    void
    setRedirect(boolean redirect)
     
    void
     

    Methods inherited from class com.tccc.kos.core.service.browser.BrowserNav

    getBrowserId, setBrowserId, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BrowserUrl

      public BrowserUrl(String url)
      Navigation request to send the default browser on the current node to the specified url.
      Parameters:
      url - the url to navigate to
    • BrowserUrl

      public BrowserUrl(String url, boolean redirect)
      Navigation request to send the default browser on the current node to the specified url using an optional redirect.
      Parameters:
      url - the url to navigate to
      redirect - if true, redirect to the url to force a page reload
    • BrowserUrl

      public BrowserUrl(NodeId nodeId, String url, boolean redirect)
      Navigation request to send the default browser on the specified node to the specified url using an optional redirect.
      Parameters:
      nodeId - the node the browser is running on
      url - the url to navigate to
      redirect - if true, redirect to the url to force a page reload
    • BrowserUrl

      public BrowserUrl(NodeId nodeId, String browserName, String url, boolean redirect)
      Navigation request to send the specified browser on the specified node to the specified url using an optional redirect.
      Parameters:
      nodeId - the node the browser is running on
      browserName - name of the browser on the node
      url - the url to navigate to
      redirect - if true, redirect to the url to force a page reload
    • BrowserUrl

      public BrowserUrl(BrowserId browserId, String url, boolean redirect)
      Navigation request to send the specified browser to the specified url using an optional redirect.
      Parameters:
      browserId - id of the browser to update
      url - the url to navigate to
      redirect - if true, redirect to the url to force a page reload
    • BrowserUrl

      public BrowserUrl(BrowserIntent intent, String url, boolean redirect)
      Navigation request to send the browser contained in the intent to the specified url using an optional redirect.
      Parameters:
      intent - intent that contains the BrowserId
      url - the url to navigate to
      redirect - if true, redirect to the url to force a page reload
  • Method Details

    • getUrl

      public String getUrl()
    • isRedirect

      public boolean isRedirect()
    • setUrl

      public void setUrl(String url)
    • setRedirect

      public void setRedirect(boolean redirect)