Package org.loboevolution.http
Class UserAgentContext
java.lang.Object
org.loboevolution.http.UserAgentContext
UserAgentContext class.
-
Constructor Summary
ConstructorDescriptionUserAgentContext
(HtmlRendererConfig config) UserAgentContext
(HtmlRendererConfig config, boolean test) -
Method Summary
Modifier and TypeMethodDescriptiongetCookie.boolean
isExternalCSSEnabled.boolean
isImagesEnabled.boolean
isNavigationEnabled.boolean
isScriptingEnabled.void
setCookie.
-
Constructor Details
-
UserAgentContext
-
UserAgentContext
-
-
Method Details
-
isScriptingEnabled
public boolean isScriptingEnabled()isScriptingEnabled.
- Returns:
- a boolean.
-
isExternalCSSEnabled
public boolean isExternalCSSEnabled()isExternalCSSEnabled.
- Returns:
- a boolean.
-
isImagesEnabled
public boolean isImagesEnabled()isImagesEnabled.
- Returns:
- a boolean.
-
getCookie
getCookie.
-
setCookie
setCookie.
-