org.apache.http.cookie.CookieSpecRegistry
Cookie specification registry that can be used to obtain the corresponding
cookie specification implementation for a given type of type or version of
cookie.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
CookieSpecRegistry()
Public Methods
public
synchronized
List<String>
getSpecNames()
Obtains a list containing names of all registered
cookie
specs in their default order.
Note that the DEFAULT policy (if present) is likely to be the same
as one of the other policies, but does not have to be.
Returns
- list of registered cookie spec names
Populates the internal collection of registered
cookie
specs with the content of the map passed as a parameter.
public
synchronized
void
unregister(String id)