Class CefriumNavigationRequest

java.lang.Object
com.cefrium.CefriumNavigationRequest

@CefriumExperimental public final class CefriumNavigationRequest extends Object
A navigation a page is about to make, as CefriumNavigationClient.onBeforeNavigate(CefriumBrowser, CefriumNavigationRequest) sees it. Like android.webkit.WebResourceRequest.
  • Method Details

    • getUrl

      public String getUrl()
      The URL the navigation goes to.
    • getMethod

      public String getMethod()
      The method, upper case: GET or POST.
    • isForMainFrame

      public boolean isForMainFrame()
      Whether the navigation is of the page itself, not of an iframe.
    • isRedirect

      public boolean isRedirect()
      Whether a server redirect started this navigation.
    • hasGesture

      public boolean hasGesture()
      Whether the user caused it (a tapped link), not a script on its own.
    • getRequestHeaders

      public Map<String,String> getRequestHeaders()
      The request headers, case-insensitive names. Unmodifiable.