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:
parent
26ddbc1d1b
commit
ec0c961cbb
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue