HTTPCLIENT-745: made classes with private package visibility public

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@674186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2008-07-05 12:18:54 +00:00
parent 26ddbc1d1b
commit ec0c961cbb
7 changed files with 6 additions and 19 deletions

View File

@ -46,7 +46,7 @@ import org.apache.http.protocol.HTTP;
*
* @since 4.0
*/
abstract class HttpEntityEnclosingRequestBase
public abstract class HttpEntityEnclosingRequestBase
extends HttpRequestBase implements HttpEntityEnclosingRequest {
private HttpEntity entity;

View File

@ -56,7 +56,7 @@ import org.apache.http.params.HttpProtocolParams;
*
* @since 4.0
*/
abstract class HttpRequestBase extends AbstractHttpMessage
public abstract class HttpRequestBase extends AbstractHttpMessage
implements HttpUriRequest, AbortableHttpRequest, Cloneable {
private Lock abortLock;

View File

@ -51,7 +51,7 @@ import org.apache.http.protocol.HTTP;
*
* @since 4.0
*/
class EntityEnclosingRequestWrapper extends RequestWrapper
public class EntityEnclosingRequestWrapper extends RequestWrapper
implements HttpEntityEnclosingRequest {
private HttpEntity entity;

View File

@ -57,7 +57,7 @@ import org.apache.http.params.HttpProtocolParams;
*
* @since 4.0
*/
class RequestWrapper extends AbstractHttpMessage implements HttpUriRequest {
public class RequestWrapper extends AbstractHttpMessage implements HttpUriRequest {
private final HttpRequest original;

View File

@ -45,7 +45,7 @@ import org.apache.http.util.CharArrayBuffer;
*
* @since 4.0
*/
class LoggingSessionInputBuffer implements SessionInputBuffer {
public class LoggingSessionInputBuffer implements SessionInputBuffer {
/** Original session input buffer. */
private final SessionInputBuffer in;

View File

@ -43,7 +43,7 @@ import org.apache.http.util.CharArrayBuffer;
*
* @since 4.0
*/
class LoggingSessionOutputBuffer implements SessionOutputBuffer {
public class LoggingSessionOutputBuffer implements SessionOutputBuffer {
/** Original data transmitter. */
private final SessionOutputBuffer out;

View File

@ -76,18 +76,5 @@ public class BasicPoolEntryRef extends WeakReference<BasicPoolEntry> {
return this.route;
}
/* *
* Indicates whether this reference is still valid.
*
* @return <code>true</code> if the pool entry is still referenced,
* <code>false</code> otherwise
* /
public final boolean isValid() {
//@@@ better sematics: allow explicit invalidation
return (super.get() != null);
}
*/
} // class BasicPoolEntryRef