1 package org.lobobrowser.html; 2 3 6 public interface UserAgentContext { 7 32 public HttpRequest createHttpRequest(); 33 34 37 public String getAppCodeName(); 38 39 42 public String getAppName(); 43 44 47 public String getAppVersion(); 48 49 52 public String getAppMinorVersion(); 53 54 57 public String getBrowserLanguage(); 58 59 63 public boolean isCookieEnabled(); 64 65 69 public boolean isScriptingEnabled(); 70 71 74 public String getPlatform(); 75 76 80 public String getUserAgent(); 81 82 85 public String getCookie(java.net.URL url); 86 87 93 public void setCookie(java.net.URL url, String cookieSpec); 94 95 99 public java.security.Policy getSecurityPolicy(); 100 101 105 public int getScriptingOptimizationLevel(); 106 } 107 | Popular Tags |