Class UserAgentContext

java.lang.Object
org.loboevolution.http.UserAgentContext

public class UserAgentContext extends Object

UserAgentContext class.

  • Constructor Details

  • Method Details

    • isScriptingEnabled

      public boolean isScriptingEnabled()

      isScriptingEnabled.

      Returns:
      a boolean.
    • isExternalCSSEnabled

      public boolean isExternalCSSEnabled()

      isExternalCSSEnabled.

      Returns:
      a boolean.
    • isNavigationEnabled

      public boolean isNavigationEnabled()

      isNavigationEnabled.

      Returns:
      a boolean.
    • isImagesEnabled

      public boolean isImagesEnabled()

      isImagesEnabled.

      Returns:
      a boolean.
    • getCookie

      public String getCookie(URL url)

      getCookie.

      Parameters:
      url - a URL object.
      Returns:
      a String object.
    • setCookie

      public void setCookie(URL url, String cookieSpec)

      setCookie.

      Parameters:
      url - a URL object.
      cookieSpec - a String object.