@Contract(threading=SAFE) public abstract class AbstractCookieSpec extends Object implements CookieSpec
CookieAttributeHandlers.| Modifier | Constructor and Description |
|---|---|
|
AbstractCookieSpec()
Default constructor
|
protected |
AbstractCookieSpec(CommonCookieAttributeHandler... handlers) |
protected |
AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map) |
| Modifier and Type | Method and Description |
|---|---|
protected CookieAttributeHandler |
findAttribHandler(String name)
Finds an attribute handler
CookieAttributeHandler for the
given attribute. |
protected CookieAttributeHandler |
getAttribHandler(String name)
Gets attribute handler
CookieAttributeHandler for the
given attribute. |
protected Collection<CookieAttributeHandler> |
getAttribHandlers() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatCookies, match, parse, validatepublic AbstractCookieSpec()
protected AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map)
protected AbstractCookieSpec(CommonCookieAttributeHandler... handlers)
protected CookieAttributeHandler findAttribHandler(String name)
CookieAttributeHandler for the
given attribute. Returns null if no attribute handler is
found for the specified attribute.name - attribute name. e.g. Domain, Path, etc.nullprotected CookieAttributeHandler getAttribHandler(String name)
CookieAttributeHandler for the
given attribute.name - attribute name. e.g. Domain, Path, etc.IllegalStateException - if handler not found for the
specified attribute.protected Collection<CookieAttributeHandler> getAttribHandlers()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.