com.opera.core.systems.scope.services.ums
Class CookieManager

java.lang.Object
  extended by com.opera.core.systems.scope.AbstractService
      extended by com.opera.core.systems.scope.services.ums.CookieManager
All Implemented Interfaces:
ICookieManager

public class CookieManager
extends AbstractService
implements ICookieManager

Cookie manager to manage cookies via scope

Author:
Deniz Turkoglu

Field Summary
 
Fields inherited from class com.opera.core.systems.scope.AbstractService
services
 
Constructor Summary
CookieManager(ScopeServices services, java.lang.String version)
           
 
Method Summary
 java.util.Set<org.openqa.selenium.Cookie> getCookie(java.lang.String domain, java.lang.String path)
           
 int getMaxCookieLength()
           
 int getMaxCookies()
           
 int getMaxCookiesPerDomain()
           
 void init()
           
 void removeAllCookies()
           
 void removeCookie(java.lang.String domain, java.lang.String path, java.lang.String name)
           
 
Methods inherited from class com.opera.core.systems.scope.AbstractService
buildPayload, executeCommand, executeCommand, getVersion, isVersionInRange, sleep, xpathIterator, xpathPointer, xpathQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookieManager

public CookieManager(ScopeServices services,
                     java.lang.String version)
Method Detail

getMaxCookies

public int getMaxCookies()
Specified by:
getMaxCookies in interface ICookieManager

getMaxCookiesPerDomain

public int getMaxCookiesPerDomain()
Specified by:
getMaxCookiesPerDomain in interface ICookieManager

getMaxCookieLength

public int getMaxCookieLength()
Specified by:
getMaxCookieLength in interface ICookieManager

init

public void init()
Specified by:
init in interface ICookieManager

getCookie

public java.util.Set<org.openqa.selenium.Cookie> getCookie(java.lang.String domain,
                                                           java.lang.String path)
Specified by:
getCookie in interface ICookieManager

removeCookie

public void removeCookie(java.lang.String domain,
                         java.lang.String path,
                         java.lang.String name)
Specified by:
removeCookie in interface ICookieManager

removeAllCookies

public void removeAllCookies()
Specified by:
removeAllCookies in interface ICookieManager


Copyright © 2011. All Rights Reserved.