@NotThreadSafe public abstract class AbstractCookieSpecHC4 extends java.lang.Object implements org.apache.http.cookie.CookieSpec
CookieAttributeHandlers.| Constructor and Description |
|---|
AbstractCookieSpecHC4()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.cookie.CookieAttributeHandler |
findAttribHandler(java.lang.String name)
Finds an attribute handler
CookieAttributeHandler for the
given attribute. |
protected org.apache.http.cookie.CookieAttributeHandler |
getAttribHandler(java.lang.String name)
Gets attribute handler
CookieAttributeHandler for the
given attribute. |
protected java.util.Collection<org.apache.http.cookie.CookieAttributeHandler> |
getAttribHandlers() |
void |
registerAttribHandler(java.lang.String name,
org.apache.http.cookie.CookieAttributeHandler handler) |
public void registerAttribHandler(java.lang.String name,
org.apache.http.cookie.CookieAttributeHandler handler)
protected org.apache.http.cookie.CookieAttributeHandler findAttribHandler(java.lang.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.protected org.apache.http.cookie.CookieAttributeHandler getAttribHandler(java.lang.String name)
CookieAttributeHandler for the
given attribute.name - attribute name. e.g. Domain, Path, etc.java.lang.IllegalStateException - if handler not found for the
specified attribute.protected java.util.Collection<org.apache.http.cookie.CookieAttributeHandler> getAttribHandlers()
Copyright © 1999-2015 The Apache Software Foundation. All rights reserved.