Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.cookie
Class DeleteCookieOptions

java.lang.Object
  extended by org.jboss.arquillian.ajocado.cookie.CookieOptions<DeleteCookieOptions>
      extended by org.jboss.arquillian.ajocado.cookie.DeleteCookieOptions
All Implemented Interfaces:
Cloneable

public class DeleteCookieOptions
extends CookieOptions<DeleteCookieOptions>

Options for deleting cookies.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
DeleteCookieOptions()
           
 
Method Summary
 String getAsString()
           
 boolean isRecurse()
           
 DeleteCookieOptions recurse(boolean recurse)
           Specifies whether the domain and path should be searched recursively.
 
Methods inherited from class org.jboss.arquillian.ajocado.cookie.CookieOptions
copy, domain, getDomain, getPath, path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCookieOptions

public DeleteCookieOptions()
Method Detail

recurse

public DeleteCookieOptions recurse(boolean recurse)

Specifies whether the domain and path should be searched recursively.

In big-O notation, it operates in O(n*m) time, where n is the number of dots in the domain name and m is the number of slashes in the path.

Parameters:
recurse - specifies whether the domain and path should be searched for recursively
Returns:
the delete cookie options with recurse specified to given value

isRecurse

public boolean isRecurse()

getAsString

public String getAsString()
Overrides:
getAsString in class CookieOptions<DeleteCookieOptions>

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.