mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-26 12:28:02 +00:00
Made CookieSpecRegistry implement Lookup interface for compatibility with the new config API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416857 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a901dbf14f
commit
c222ad9247
@ -35,6 +35,7 @@
|
||||
|
||||
import org.apache.http.HttpRequest;
|
||||
import org.apache.http.annotation.ThreadSafe;
|
||||
import org.apache.http.config.Lookup;
|
||||
import org.apache.http.config.Registry;
|
||||
import org.apache.http.params.HttpParams;
|
||||
import org.apache.http.protocol.ExecutionContext;
|
||||
@ -51,7 +52,7 @@
|
||||
*/
|
||||
@ThreadSafe
|
||||
@Deprecated
|
||||
public final class CookieSpecRegistry {
|
||||
public final class CookieSpecRegistry implements Lookup<CookieSpecProvider> {
|
||||
|
||||
private final ConcurrentHashMap<String,CookieSpecFactory> registeredSpecs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user