Moved Memcached specific interfaces from the public API space to the impl package (will also make maintenace of OSGi metadata easier)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1239803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8265a355e7
commit
10f6da691e
|
@ -23,7 +23,7 @@
|
||||||
* information on the Apache Software Foundation, please see
|
* information on the Apache Software Foundation, please see
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*
|
*
|
||||||
*/package org.apache.http.client.cache.memcached;
|
*/package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import org.apache.http.client.cache.HttpCacheStorage;
|
import org.apache.http.client.cache.HttpCacheStorage;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.apache.http.client.cache.memcached;
|
package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* <http://www.apache.org/>.
|
* <http://www.apache.org/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.apache.http.client.cache.memcached;
|
package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
package org.apache.http.impl.client.cache.memcached;
|
package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntry;
|
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntryFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation of {@link MemcachedCacheEntryFactory}.
|
* Default implementation of {@link MemcachedCacheEntryFactory}.
|
||||||
|
|
|
@ -32,7 +32,6 @@ import java.io.IOException;
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
||||||
import java.io.ObjectOutputStream;
|
import java.io.ObjectOutputStream;
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntry;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation of {@link MemcachedCacheEntry}. This implementation
|
* Default implementation of {@link MemcachedCacheEntry}. This implementation
|
||||||
|
|
|
@ -42,9 +42,6 @@ import org.apache.http.client.cache.HttpCacheEntrySerializer;
|
||||||
import org.apache.http.client.cache.HttpCacheUpdateException;
|
import org.apache.http.client.cache.HttpCacheUpdateException;
|
||||||
import org.apache.http.client.cache.HttpCacheStorage;
|
import org.apache.http.client.cache.HttpCacheStorage;
|
||||||
import org.apache.http.client.cache.HttpCacheUpdateCallback;
|
import org.apache.http.client.cache.HttpCacheUpdateCallback;
|
||||||
import org.apache.http.client.cache.memcached.KeyHashingScheme;
|
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntry;
|
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntryFactory;
|
|
||||||
import org.apache.http.impl.client.cache.CacheConfig;
|
import org.apache.http.impl.client.cache.CacheConfig;
|
||||||
import org.apache.http.impl.client.cache.CachingHttpClient;
|
import org.apache.http.impl.client.cache.CachingHttpClient;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.apache.http.impl.client.cache.memcached;
|
package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import org.apache.http.client.cache.memcached.KeyHashingScheme;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a {@link KeyHashingScheme} decorator that simply adds
|
* This is a {@link KeyHashingScheme} decorator that simply adds
|
||||||
|
|
|
@ -32,7 +32,6 @@ import java.security.NoSuchAlgorithmException;
|
||||||
import org.apache.commons.codec.binary.Hex;
|
import org.apache.commons.codec.binary.Hex;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.apache.http.client.cache.memcached.KeyHashingScheme;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a {@link KeyHashingScheme} based on the
|
* This is a {@link KeyHashingScheme} based on the
|
||||||
|
|
|
@ -3,7 +3,6 @@ package org.apache.http.impl.client.cache.memcached;
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntry;
|
|
||||||
import org.apache.http.impl.client.cache.HttpTestUtils;
|
import org.apache.http.impl.client.cache.HttpTestUtils;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
|
@ -38,9 +38,6 @@ import net.spy.memcached.OperationTimeoutException;
|
||||||
import org.apache.http.client.cache.HttpCacheEntry;
|
import org.apache.http.client.cache.HttpCacheEntry;
|
||||||
import org.apache.http.client.cache.HttpCacheUpdateCallback;
|
import org.apache.http.client.cache.HttpCacheUpdateCallback;
|
||||||
import org.apache.http.client.cache.HttpCacheUpdateException;
|
import org.apache.http.client.cache.HttpCacheUpdateException;
|
||||||
import org.apache.http.client.cache.memcached.KeyHashingScheme;
|
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntry;
|
|
||||||
import org.apache.http.client.cache.memcached.MemcachedCacheEntryFactory;
|
|
||||||
import org.apache.http.impl.client.cache.CacheConfig;
|
import org.apache.http.impl.client.cache.CacheConfig;
|
||||||
import org.apache.http.impl.client.cache.HttpTestUtils;
|
import org.apache.http.impl.client.cache.HttpTestUtils;
|
||||||
import org.easymock.EasyMock;
|
import org.easymock.EasyMock;
|
||||||
|
|
|
@ -2,7 +2,6 @@ package org.apache.http.impl.client.cache.memcached;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.apache.http.client.cache.memcached.KeyHashingScheme;
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue