| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.cookie.AbstractCookieSpec
@Contract(threading=SAFE) public abstract class AbstractCookieSpec
Abstract cookie specification which can delegate the job of parsing,
 validation or matching cookie attributes to a number of arbitrary
 CookieAttributeHandlers.
| Constructor Summary | |
|---|---|
|   | AbstractCookieSpec()Default constructor | 
| protected  | AbstractCookieSpec(CommonCookieAttributeHandler... handlers) | 
| protected  | AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map) | 
| Method Summary | |
|---|---|
| protected  CookieAttributeHandler | findAttribHandler(String name)Finds an attribute handler CookieAttributeHandlerfor the
 given attribute. | 
| protected  CookieAttributeHandler | getAttribHandler(String name)Gets attribute handler CookieAttributeHandlerfor the
 given attribute. | 
| protected  Collection<CookieAttributeHandler> | getAttribHandlers() | 
|  void | registerAttribHandler(String name,
                      CookieAttributeHandler handler)Deprecated. (4.4) use AbstractCookieSpec(java.util.HashMap)orAbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)constructors instead. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.http.cookie.CookieSpec | 
|---|
| formatCookies, getVersion, getVersionHeader, match, parse, validate | 
| Constructor Detail | 
|---|
public AbstractCookieSpec()
protected AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map)
protected AbstractCookieSpec(CommonCookieAttributeHandler... handlers)
| Method Detail | 
|---|
@Deprecated
public void registerAttribHandler(String name,
                                             CookieAttributeHandler handler)
AbstractCookieSpec(java.util.HashMap) or
  AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
  constructors instead.
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()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||