blob: b9cf9c9f15962bef2fbcbb3814843192b8b38b71 [file] [log] [blame]
package android.net.compatibility {
public class WebAddress {
ctor public WebAddress(java.lang.String) throws java.lang.IllegalArgumentException;
method public java.lang.String getAuthInfo();
method public java.lang.String getHost();
method public java.lang.String getPath();
method public int getPort();
method public java.lang.String getScheme();
method public void setAuthInfo(java.lang.String);
method public void setHost(java.lang.String);
method public void setPath(java.lang.String);
method public void setPort(int);
method public void setScheme(java.lang.String);
}
}
package android.net.http {
public final class AndroidHttpClient implements org.apache.http.client.HttpClient {
method public void close();
method public void disableCurlLogging();
method public void enableCurlLogging(java.lang.String, int);
method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws java.io.IOException;
method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws java.io.IOException;
method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
method public <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public static org.apache.http.entity.AbstractHttpEntity getCompressedEntity(byte[], android.content.ContentResolver) throws java.io.IOException;
method public org.apache.http.conn.ClientConnectionManager getConnectionManager();
method public static long getMinGzipSize(android.content.ContentResolver);
method public org.apache.http.params.HttpParams getParams();
method public static java.io.InputStream getUngzippedContent(org.apache.http.HttpEntity) throws java.io.IOException;
method public static void modifyRequestToAcceptGzipResponse(org.apache.http.HttpRequest);
method public static android.net.http.AndroidHttpClient newInstance(java.lang.String, android.content.Context);
method public static android.net.http.AndroidHttpClient newInstance(java.lang.String);
method public static long parseDate(java.lang.String);
field public static long DEFAULT_SYNC_MIN_GZIP_BYTES;
}
public class AndroidHttpClientConnection implements org.apache.http.HttpConnection org.apache.http.HttpInetConnection {
ctor public AndroidHttpClientConnection();
method public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
method public void close() throws java.io.IOException;
method protected void doFlush() throws java.io.IOException;
method public void flush() throws java.io.IOException;
method public java.net.InetAddress getLocalAddress();
method public int getLocalPort();
method public org.apache.http.HttpConnectionMetrics getMetrics();
method public java.net.InetAddress getRemoteAddress();
method public int getRemotePort();
method public int getSocketTimeout();
method public boolean isOpen();
method public boolean isStale();
method public org.apache.http.StatusLine parseResponseHeader(android.net.http.Headers) throws java.io.IOException, org.apache.http.ParseException;
method public org.apache.http.HttpEntity receiveResponseEntity(android.net.http.Headers);
method public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
method public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
method public void setSocketTimeout(int);
method public void shutdown() throws java.io.IOException;
}
public class CertificateChainValidator {
method public android.net.http.SslError doHandshakeAndValidateServerCertificates(android.net.http.HttpsConnection, javax.net.ssl.SSLSocket, java.lang.String) throws java.io.IOException;
method public static android.net.http.CertificateChainValidator getInstance();
method public static void handleTrustStorageUpdate();
method public static android.net.http.SslError verifyServerCertificates(byte[][], java.lang.String, java.lang.String) throws java.io.IOException;
}
public class DelegatingSSLSession implements javax.net.ssl.SSLSession {
ctor protected DelegatingSSLSession();
method public int getApplicationBufferSize();
method public java.lang.String getCipherSuite();
method public long getCreationTime();
method public byte[] getId();
method public long getLastAccessedTime();
method public java.security.cert.Certificate[] getLocalCertificates();
method public java.security.Principal getLocalPrincipal();
method public int getPacketBufferSize();
method public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException;
method public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException;
method public java.lang.String getPeerHost();
method public int getPeerPort();
method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException;
method public java.lang.String getProtocol();
method public javax.net.ssl.SSLSessionContext getSessionContext();
method public java.lang.Object getValue(java.lang.String);
method public java.lang.String[] getValueNames();
method public void invalidate();
method public boolean isValid();
method public void putValue(java.lang.String, java.lang.Object);
method public void removeValue(java.lang.String);
}
public static class DelegatingSSLSession.CertificateWrap extends android.net.http.DelegatingSSLSession {
ctor public DelegatingSSLSession.CertificateWrap(java.security.cert.Certificate);
}
public abstract interface EventHandler {
method public abstract void certificate(android.net.http.SslCertificate);
method public abstract void data(byte[], int);
method public abstract void endData();
method public abstract void error(int, java.lang.String);
method public abstract boolean handleSslErrorRequest(android.net.http.SslError);
method public abstract void headers(android.net.http.Headers);
method public abstract void status(int, int, int, java.lang.String);
field public static final int ERROR = -1; // 0xffffffff
field public static final int ERROR_AUTH = -4; // 0xfffffffc
field public static final int ERROR_BAD_URL = -12; // 0xfffffff4
field public static final int ERROR_CONNECT = -6; // 0xfffffffa
field public static final int ERROR_FAILED_SSL_HANDSHAKE = -11; // 0xfffffff5
field public static final int ERROR_IO = -7; // 0xfffffff9
field public static final int ERROR_LOOKUP = -2; // 0xfffffffe
field public static final int ERROR_PROXYAUTH = -5; // 0xfffffffb
field public static final int ERROR_REDIRECT_LOOP = -9; // 0xfffffff7
field public static final int ERROR_TIMEOUT = -8; // 0xfffffff8
field public static final int ERROR_UNSUPPORTED_AUTH_SCHEME = -3; // 0xfffffffd
field public static final int ERROR_UNSUPPORTED_SCHEME = -10; // 0xfffffff6
field public static final int FILE_ERROR = -13; // 0xfffffff3
field public static final int FILE_NOT_FOUND_ERROR = -14; // 0xfffffff2
field public static final int OK = 0; // 0x0
field public static final int TOO_MANY_REQUESTS_ERROR = -15; // 0xfffffff1
}
public final class Headers {
ctor public Headers();
method public java.lang.String getAcceptRanges();
method public java.lang.String getCacheControl();
method public int getConnectionType();
method public java.lang.String getContentDisposition();
method public java.lang.String getContentEncoding();
method public long getContentLength();
method public java.lang.String getContentType();
method public java.lang.String getEtag();
method public java.lang.String getExpires();
method public void getHeaders(android.net.http.Headers.HeaderCallback);
method public java.lang.String getLastModified();
method public java.lang.String getLocation();
method public java.lang.String getPragma();
method public java.lang.String getProxyAuthenticate();
method public java.lang.String getRefresh();
method public java.util.ArrayList<java.lang.String> getSetCookie();
method public long getTransferEncoding();
method public java.lang.String getWwwAuthenticate();
method public java.lang.String getXPermittedCrossDomainPolicies();
method public void parseHeader(org.apache.http.util.CharArrayBuffer);
method public void setAcceptRanges(java.lang.String);
method public void setCacheControl(java.lang.String);
method public void setContentDisposition(java.lang.String);
method public void setContentEncoding(java.lang.String);
method public void setContentLength(long);
method public void setContentType(java.lang.String);
method public void setEtag(java.lang.String);
method public void setExpires(java.lang.String);
method public void setLastModified(java.lang.String);
method public void setLocation(java.lang.String);
method public void setProxyAuthenticate(java.lang.String);
method public void setWwwAuthenticate(java.lang.String);
method public void setXPermittedCrossDomainPolicies(java.lang.String);
field public static final java.lang.String ACCEPT_RANGES = "accept-ranges";
field public static final java.lang.String CACHE_CONTROL = "cache-control";
field public static final int CONN_CLOSE = 1; // 0x1
field public static final java.lang.String CONN_DIRECTIVE = "connection";
field public static final int CONN_KEEP_ALIVE = 2; // 0x2
field public static final java.lang.String CONTENT_DISPOSITION = "content-disposition";
field public static final java.lang.String CONTENT_ENCODING = "content-encoding";
field public static final java.lang.String CONTENT_LEN = "content-length";
field public static final java.lang.String CONTENT_TYPE = "content-type";
field public static final java.lang.String ETAG = "etag";
field public static final java.lang.String EXPIRES = "expires";
field public static final java.lang.String LAST_MODIFIED = "last-modified";
field public static final java.lang.String LOCATION = "location";
field public static final int NO_CONN_TYPE = 0; // 0x0
field public static final long NO_CONTENT_LENGTH = -1L; // 0xffffffffffffffffL
field public static final long NO_TRANSFER_ENCODING = 0L; // 0x0L
field public static final java.lang.String PRAGMA = "pragma";
field public static final java.lang.String PROXY_AUTHENTICATE = "proxy-authenticate";
field public static final java.lang.String PROXY_CONNECTION = "proxy-connection";
field public static final java.lang.String REFRESH = "refresh";
field public static final java.lang.String SET_COOKIE = "set-cookie";
field public static final java.lang.String TRANSFER_ENCODING = "transfer-encoding";
field public static final java.lang.String WWW_AUTHENTICATE = "www-authenticate";
field public static final java.lang.String X_PERMITTED_CROSS_DOMAIN_POLICIES = "x-permitted-cross-domain-policies";
}
public static abstract interface Headers.HeaderCallback {
method public abstract void header(java.lang.String, java.lang.String);
}
public class HttpAuthHeader {
ctor public HttpAuthHeader(java.lang.String);
method public java.lang.String getAlgorithm();
method public java.lang.String getNonce();
method public java.lang.String getOpaque();
method public java.lang.String getPassword();
method public java.lang.String getQop();
method public java.lang.String getRealm();
method public int getScheme();
method public boolean getStale();
method public java.lang.String getUsername();
method public boolean isBasic();
method public boolean isDigest();
method public boolean isProxy();
method public boolean isSupportedScheme();
method public void setPassword(java.lang.String);
method public void setProxy();
method public void setUsername(java.lang.String);
field public static final int BASIC = 1; // 0x1
field public static final java.lang.String BASIC_TOKEN = "Basic";
field public static final int DIGEST = 2; // 0x2
field public static final java.lang.String DIGEST_TOKEN = "Digest";
field public static final int UNKNOWN = 0; // 0x0
}
public class HttpsConnection {
method public static void initializeEngine(java.io.File);
}
public class LoggingEventHandler implements android.net.http.EventHandler {
ctor public LoggingEventHandler();
method public void certificate(android.net.http.SslCertificate);
method public void data(byte[], int);
method public void endData();
method public void error(int, java.lang.String);
method public boolean handleSslErrorRequest(android.net.http.SslError);
method public void headers(android.net.http.Headers);
method public void locationChanged(java.lang.String, boolean);
method public void requestSent();
method public void status(int, int, int, java.lang.String);
}
public class RequestHandle {
ctor public RequestHandle(android.net.http.RequestQueue, java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.io.InputStream, int, android.net.http.Request);
ctor public RequestHandle(android.net.http.RequestQueue, java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.io.InputStream, int, android.net.http.Request, android.net.http.Connection);
method public static java.lang.String authorizationHeader(boolean);
method public void cancel();
method public static java.lang.String computeBasicAuthResponse(java.lang.String, java.lang.String);
method public java.lang.String getMethod();
method public int getRedirectCount();
method public void handleSslErrorResponse(boolean);
method public boolean isRedirectMax();
method public void pauseRequest(boolean);
method public void processRequest();
method public void setRedirectCount(int);
method public void setupBasicAuthResponse(boolean, java.lang.String, java.lang.String);
method public void setupDigestAuthResponse(boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
method public boolean setupRedirect(java.lang.String, int, java.util.Map<java.lang.String, java.lang.String>);
method public void waitUntilComplete();
field public static final int MAX_REDIRECT_COUNT = 16; // 0x10
}
public class RequestQueue {
ctor public RequestQueue(android.content.Context);
ctor public RequestQueue(android.content.Context, int);
method public synchronized void disablePlatformNotifications();
method public synchronized void enablePlatformNotifications();
method public org.apache.http.HttpHost getProxyHost();
method public synchronized android.net.http.Request getRequest();
method public synchronized android.net.http.Request getRequest(org.apache.http.HttpHost);
method public synchronized boolean haveRequest(org.apache.http.HttpHost);
method public android.net.http.RequestHandle queueRequest(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
method public android.net.http.RequestHandle queueRequest(java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
method protected synchronized void queueRequest(android.net.http.Request, boolean);
method public android.net.http.RequestHandle queueSynchronousRequest(java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
method public void requeueRequest(android.net.http.Request);
method public void shutdown();
method public void startTiming();
method public void stopTiming();
}
public class SslCertificate {
ctor public deprecated SslCertificate(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
ctor public deprecated SslCertificate(java.lang.String, java.lang.String, java.util.Date, java.util.Date);
ctor public SslCertificate(java.security.cert.X509Certificate);
method public android.net.http.SslCertificate.DName getIssuedBy();
method public android.net.http.SslCertificate.DName getIssuedTo();
method public deprecated java.lang.String getValidNotAfter();
method public java.util.Date getValidNotAfterDate();
method public deprecated java.lang.String getValidNotBefore();
method public java.util.Date getValidNotBeforeDate();
method public java.security.cert.X509Certificate getX509Certificate();
method public static android.net.http.SslCertificate restoreState(android.os.Bundle);
method public static android.os.Bundle saveState(android.net.http.SslCertificate);
}
public class SslCertificate.DName {
ctor public SslCertificate.DName(java.lang.String);
method public java.lang.String getCName();
method public java.lang.String getDName();
method public java.lang.String getOName();
method public java.lang.String getUName();
}
public class SslError {
ctor public deprecated SslError(int, android.net.http.SslCertificate);
ctor public deprecated SslError(int, java.security.cert.X509Certificate);
ctor public SslError(int, android.net.http.SslCertificate, java.lang.String);
ctor public SslError(int, java.security.cert.X509Certificate, java.lang.String);
method public boolean addError(int);
method public android.net.http.SslCertificate getCertificate();
method public int getPrimaryError();
method public java.lang.String getUrl();
method public boolean hasError(int);
field public static final int SSL_DATE_INVALID = 4; // 0x4
field public static final int SSL_EXPIRED = 1; // 0x1
field public static final int SSL_IDMISMATCH = 2; // 0x2
field public static final int SSL_INVALID = 5; // 0x5
field public static final deprecated int SSL_MAX_ERROR = 6; // 0x6
field public static final int SSL_NOTYETVALID = 0; // 0x0
field public static final int SSL_UNTRUSTED = 3; // 0x3
}
}
package com.android.internal.http.multipart {
public class ByteArrayPartSource implements com.android.internal.http.multipart.PartSource {
ctor public ByteArrayPartSource(java.lang.String, byte[]);
method public java.io.InputStream createInputStream();
method public java.lang.String getFileName();
method public long getLength();
}
public class FilePart extends com.android.internal.http.multipart.PartBase {
ctor public FilePart(java.lang.String, com.android.internal.http.multipart.PartSource, java.lang.String, java.lang.String);
ctor public FilePart(java.lang.String, com.android.internal.http.multipart.PartSource);
ctor public FilePart(java.lang.String, java.io.File) throws java.io.FileNotFoundException;
ctor public FilePart(java.lang.String, java.io.File, java.lang.String, java.lang.String) throws java.io.FileNotFoundException;
ctor public FilePart(java.lang.String, java.lang.String, java.io.File) throws java.io.FileNotFoundException;
ctor public FilePart(java.lang.String, java.lang.String, java.io.File, java.lang.String, java.lang.String) throws java.io.FileNotFoundException;
method protected com.android.internal.http.multipart.PartSource getSource();
method protected long lengthOfData();
method protected void sendData(java.io.OutputStream) throws java.io.IOException;
field public static final java.lang.String DEFAULT_CHARSET = "ISO-8859-1";
field public static final java.lang.String DEFAULT_CONTENT_TYPE = "application/octet-stream";
field public static final java.lang.String DEFAULT_TRANSFER_ENCODING = "binary";
field protected static final java.lang.String FILE_NAME = "; filename=";
}
public class FilePartSource implements com.android.internal.http.multipart.PartSource {
ctor public FilePartSource(java.io.File) throws java.io.FileNotFoundException;
ctor public FilePartSource(java.lang.String, java.io.File) throws java.io.FileNotFoundException;
method public java.io.InputStream createInputStream() throws java.io.IOException;
method public java.lang.String getFileName();
method public long getLength();
}
public class MultipartEntity extends org.apache.http.entity.AbstractHttpEntity {
ctor public MultipartEntity(com.android.internal.http.multipart.Part[], org.apache.http.params.HttpParams);
ctor public MultipartEntity(com.android.internal.http.multipart.Part[]);
method public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
method public long getContentLength();
method protected byte[] getMultipartBoundary();
method public boolean isRepeatable();
method public boolean isStreaming();
method public void writeTo(java.io.OutputStream) throws java.io.IOException;
field public static final java.lang.String MULTIPART_BOUNDARY = "http.method.multipart.boundary";
field protected com.android.internal.http.multipart.Part[] parts;
}
public abstract class Part {
ctor public Part();
method public static deprecated java.lang.String getBoundary();
method public abstract java.lang.String getCharSet();
method public abstract java.lang.String getContentType();
method public static long getLengthOfParts(com.android.internal.http.multipart.Part[]) throws java.io.IOException;
method public static long getLengthOfParts(com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
method public abstract java.lang.String getName();
method protected byte[] getPartBoundary();
method public abstract java.lang.String getTransferEncoding();
method public boolean isRepeatable();
method public long length() throws java.io.IOException;
method protected abstract long lengthOfData() throws java.io.IOException;
method public void send(java.io.OutputStream) throws java.io.IOException;
method protected void sendContentTypeHeader(java.io.OutputStream) throws java.io.IOException;
method protected abstract void sendData(java.io.OutputStream) throws java.io.IOException;
method protected void sendDispositionHeader(java.io.OutputStream) throws java.io.IOException;
method protected void sendEnd(java.io.OutputStream) throws java.io.IOException;
method protected void sendEndOfHeader(java.io.OutputStream) throws java.io.IOException;
method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[]) throws java.io.IOException;
method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
method protected void sendStart(java.io.OutputStream) throws java.io.IOException;
method protected void sendTransferEncodingHeader(java.io.OutputStream) throws java.io.IOException;
field protected static final deprecated java.lang.String BOUNDARY = "----------------314159265358979323846";
field protected static final deprecated byte[] BOUNDARY_BYTES;
field protected static final java.lang.String CHARSET = "; charset=";
field protected static final byte[] CHARSET_BYTES;
field protected static final java.lang.String CONTENT_DISPOSITION = "Content-Disposition: form-data; name=";
field protected static final byte[] CONTENT_DISPOSITION_BYTES;
field protected static final java.lang.String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding: ";
field protected static final byte[] CONTENT_TRANSFER_ENCODING_BYTES;
field protected static final java.lang.String CONTENT_TYPE = "Content-Type: ";
field protected static final byte[] CONTENT_TYPE_BYTES;
field protected static final java.lang.String CRLF = "\r\n";
field protected static final byte[] CRLF_BYTES;
field protected static final java.lang.String EXTRA = "--";
field protected static final byte[] EXTRA_BYTES;
field protected static final java.lang.String QUOTE = "\"";
field protected static final byte[] QUOTE_BYTES;
}
public abstract class PartBase extends com.android.internal.http.multipart.Part {
ctor public PartBase(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
method public java.lang.String getCharSet();
method public java.lang.String getContentType();
method public java.lang.String getName();
method public java.lang.String getTransferEncoding();
method public void setCharSet(java.lang.String);
method public void setContentType(java.lang.String);
method public void setName(java.lang.String);
method public void setTransferEncoding(java.lang.String);
}
public abstract interface PartSource {
method public abstract java.io.InputStream createInputStream() throws java.io.IOException;
method public abstract java.lang.String getFileName();
method public abstract long getLength();
}
public class StringPart extends com.android.internal.http.multipart.PartBase {
ctor public StringPart(java.lang.String, java.lang.String, java.lang.String);
ctor public StringPart(java.lang.String, java.lang.String);
method protected long lengthOfData();
method protected void sendData(java.io.OutputStream) throws java.io.IOException;
field public static final java.lang.String DEFAULT_CHARSET = "US-ASCII";
field public static final java.lang.String DEFAULT_CONTENT_TYPE = "text/plain";
field public static final java.lang.String DEFAULT_TRANSFER_ENCODING = "8bit";
}
}
package org.apache.commons.codec {
public abstract deprecated interface BinaryDecoder implements org.apache.commons.codec.Decoder {
method public abstract byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
}
public abstract deprecated interface BinaryEncoder implements org.apache.commons.codec.Encoder {
method public abstract byte[] encode(byte[]) throws org.apache.commons.codec.EncoderException;
}
public abstract deprecated interface Decoder {
method public abstract java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
}
public deprecated class DecoderException extends java.lang.Exception {
ctor public DecoderException(java.lang.String);
}
public abstract deprecated interface Encoder {
method public abstract java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
}
public deprecated class EncoderException extends java.lang.Exception {
ctor public EncoderException(java.lang.String);
}
public abstract deprecated interface StringDecoder implements org.apache.commons.codec.Decoder {
method public abstract java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
}
public abstract deprecated interface StringEncoder implements org.apache.commons.codec.Encoder {
method public abstract java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
}
public deprecated class StringEncoderComparator implements java.util.Comparator {
ctor public StringEncoderComparator();
ctor public StringEncoderComparator(org.apache.commons.codec.StringEncoder);
method public int compare(java.lang.Object, java.lang.Object);
}
}
package org.apache.commons.codec.binary {
public deprecated class Base64 implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
ctor public Base64();
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method public byte[] decode(byte[]);
method public static byte[] decodeBase64(byte[]);
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public byte[] encode(byte[]);
method public static byte[] encodeBase64(byte[]);
method public static byte[] encodeBase64(byte[], boolean);
method public static byte[] encodeBase64Chunked(byte[]);
method public static boolean isArrayByteBase64(byte[]);
}
public deprecated class BinaryCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
ctor public BinaryCodec();
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method public byte[] decode(byte[]);
method public byte[] encode(byte[]);
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public static byte[] fromAscii(char[]);
method public static byte[] fromAscii(byte[]);
method public static byte[] toAsciiBytes(byte[]);
method public static char[] toAsciiChars(byte[]);
method public static java.lang.String toAsciiString(byte[]);
method public byte[] toByteArray(java.lang.String);
}
public deprecated class Hex implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
ctor public Hex();
method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method public static byte[] decodeHex(char[]) throws org.apache.commons.codec.DecoderException;
method public byte[] encode(byte[]);
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public static char[] encodeHex(byte[]);
method protected static int toDigit(char, int) throws org.apache.commons.codec.DecoderException;
}
}
package org.apache.commons.codec.language {
public deprecated class DoubleMetaphone implements org.apache.commons.codec.StringEncoder {
ctor public DoubleMetaphone();
method protected char charAt(java.lang.String, int);
method protected static boolean contains(java.lang.String, int, int, java.lang.String[]);
method public java.lang.String doubleMetaphone(java.lang.String);
method public java.lang.String doubleMetaphone(java.lang.String, boolean);
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String);
method public int getMaxCodeLen();
method public boolean isDoubleMetaphoneEqual(java.lang.String, java.lang.String);
method public boolean isDoubleMetaphoneEqual(java.lang.String, java.lang.String, boolean);
method public void setMaxCodeLen(int);
field protected int maxCodeLen;
}
public class DoubleMetaphone.DoubleMetaphoneResult {
ctor public DoubleMetaphone.DoubleMetaphoneResult(int);
method public void append(char);
method public void append(char, char);
method public void append(java.lang.String);
method public void append(java.lang.String, java.lang.String);
method public void appendAlternate(char);
method public void appendAlternate(java.lang.String);
method public void appendPrimary(char);
method public void appendPrimary(java.lang.String);
method public java.lang.String getAlternate();
method public java.lang.String getPrimary();
method public boolean isComplete();
}
public deprecated class Metaphone implements org.apache.commons.codec.StringEncoder {
ctor public Metaphone();
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String);
method public int getMaxCodeLen();
method public boolean isMetaphoneEqual(java.lang.String, java.lang.String);
method public java.lang.String metaphone(java.lang.String);
method public void setMaxCodeLen(int);
}
public deprecated class RefinedSoundex implements org.apache.commons.codec.StringEncoder {
ctor public RefinedSoundex();
ctor public RefinedSoundex(char[]);
method public int difference(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String);
method public java.lang.String soundex(java.lang.String);
field public static final org.apache.commons.codec.language.RefinedSoundex US_ENGLISH;
field public static final char[] US_ENGLISH_MAPPING;
}
public deprecated class Soundex implements org.apache.commons.codec.StringEncoder {
ctor public Soundex();
ctor public Soundex(char[]);
method public int difference(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String);
method public deprecated int getMaxLength();
method public deprecated void setMaxLength(int);
method public java.lang.String soundex(java.lang.String);
field public static final org.apache.commons.codec.language.Soundex US_ENGLISH;
field public static final char[] US_ENGLISH_MAPPING;
field public static final java.lang.String US_ENGLISH_MAPPING_STRING = "01230120022455012623010202";
}
}
package org.apache.commons.codec.net {
public deprecated class BCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
ctor public BCodec();
ctor public BCodec(java.lang.String);
method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
method protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String getDefaultCharset();
method protected java.lang.String getEncoding();
}
public deprecated class QCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
ctor public QCodec();
ctor public QCodec(java.lang.String);
method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
method protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String getDefaultCharset();
method protected java.lang.String getEncoding();
method public boolean isEncodeBlanks();
method public void setEncodeBlanks(boolean);
}
public deprecated class QuotedPrintableCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
ctor public QuotedPrintableCodec();
ctor public QuotedPrintableCodec(java.lang.String);
method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
method public java.lang.String decode(java.lang.String, java.lang.String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method public static final byte[] decodeQuotedPrintable(byte[]) throws org.apache.commons.codec.DecoderException;
method public byte[] encode(byte[]);
method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public java.lang.String encode(java.lang.String, java.lang.String) throws java.io.UnsupportedEncodingException;
method public static final byte[] encodeQuotedPrintable(java.util.BitSet, byte[]);
method public java.lang.String getDefaultCharset();
}
public deprecated class URLCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
ctor public URLCodec();
ctor public URLCodec(java.lang.String);
method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
method public java.lang.String decode(java.lang.String, java.lang.String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
method public static final byte[] decodeUrl(byte[]) throws org.apache.commons.codec.DecoderException;
method public byte[] encode(byte[]);
method public java.lang.String encode(java.lang.String, java.lang.String) throws java.io.UnsupportedEncodingException;
method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
method public static final byte[] encodeUrl(java.util.BitSet, byte[]);
method public java.lang.String getDefaultCharset();
method public deprecated java.lang.String getEncoding();
field protected static byte ESCAPE_CHAR;
field protected static final java.util.BitSet WWW_FORM_URL;
field protected java.lang.String charset;
}
}
package org.apache.commons.logging {
public abstract deprecated interface Log {
method public abstract void debug(java.lang.Object);
method public abstract void debug(java.lang.Object, java.lang.Throwable);
method public abstract void error(java.lang.Object);
method public abstract void error(java.lang.Object, java.lang.Throwable);
method public abstract void fatal(java.lang.Object);
method public abstract void fatal(java.lang.Object, java.lang.Throwable);
method public abstract void info(java.lang.Object);
method public abstract void info(java.lang.Object, java.lang.Throwable);
method public abstract boolean isDebugEnabled();
method public abstract boolean isErrorEnabled();
method public abstract boolean isFatalEnabled();
method public abstract boolean isInfoEnabled();
method public abstract boolean isTraceEnabled();
method public abstract boolean isWarnEnabled();
method public abstract void trace(java.lang.Object);
method public abstract void trace(java.lang.Object, java.lang.Throwable);
method public abstract void warn(java.lang.Object);
method public abstract void warn(java.lang.Object, java.lang.Throwable);
}
public deprecated class LogConfigurationException extends java.lang.RuntimeException {
ctor public LogConfigurationException();
ctor public LogConfigurationException(java.lang.String);
ctor public LogConfigurationException(java.lang.Throwable);
ctor public LogConfigurationException(java.lang.String, java.lang.Throwable);
method public java.lang.Throwable getCause();
field protected java.lang.Throwable cause;
}
public abstract deprecated class LogFactory {
ctor protected LogFactory();
method protected static java.lang.Object createFactory(java.lang.String, java.lang.ClassLoader);
method protected static java.lang.ClassLoader directGetContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
method public abstract java.lang.Object getAttribute(java.lang.String);
method public abstract java.lang.String[] getAttributeNames();
method protected static java.lang.ClassLoader getClassLoader(java.lang.Class);
method protected static java.lang.ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
method public static org.apache.commons.logging.LogFactory getFactory() throws org.apache.commons.logging.LogConfigurationException;
method public abstract org.apache.commons.logging.Log getInstance(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
method public abstract org.apache.commons.logging.Log getInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
method public static org.apache.commons.logging.Log getLog(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
method public static org.apache.commons.logging.Log getLog(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
method protected static boolean isDiagnosticsEnabled();
method protected static final void logRawDiagnostic(java.lang.String);
method protected static org.apache.commons.logging.LogFactory newFactory(java.lang.String, java.lang.ClassLoader, java.lang.ClassLoader) throws org.apache.commons.logging.LogConfigurationException;
method protected static org.apache.commons.logging.LogFactory newFactory(java.lang.String, java.lang.ClassLoader);
method public static java.lang.String objectId(java.lang.Object);
method public abstract void release();
method public static void release(java.lang.ClassLoader);
method public static void releaseAll();
method public abstract void removeAttribute(java.lang.String);
method public abstract void setAttribute(java.lang.String, java.lang.Object);
field public static final java.lang.String DIAGNOSTICS_DEST_PROPERTY = "org.apache.commons.logging.diagnostics.dest";
field public static final java.lang.String FACTORY_DEFAULT = "org.apache.commons.logging.impl.LogFactoryImpl";
field public static final java.lang.String FACTORY_PROPERTIES = "commons-logging.properties";
field public static final java.lang.String FACTORY_PROPERTY = "org.apache.commons.logging.LogFactory";
field public static final java.lang.String HASHTABLE_IMPLEMENTATION_PROPERTY = "org.apache.commons.logging.LogFactory.HashtableImpl";
field public static final java.lang.String PRIORITY_KEY = "priority";
field protected static final java.lang.String SERVICE_ID = "META-INF/services/org.apache.commons.logging.LogFactory";
field public static final java.lang.String TCCL_KEY = "use_tccl";
field protected static java.util.Hashtable factories;
field protected static org.apache.commons.logging.LogFactory nullClassLoaderFactory;
}
public deprecated class LogSource {
method public static org.apache.commons.logging.Log getInstance(java.lang.String);
method public static org.apache.commons.logging.Log getInstance(java.lang.Class);
method public static java.lang.String[] getLogNames();
method public static org.apache.commons.logging.Log makeNewLogInstance(java.lang.String);
method public static void setLogImplementation(java.lang.String) throws java.lang.ClassNotFoundException, java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
method public static void setLogImplementation(java.lang.Class) throws java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
field protected static boolean jdk14IsAvailable;
field protected static boolean log4jIsAvailable;
field protected static java.lang.reflect.Constructor logImplctor;
field protected static java.util.Hashtable logs;
}
}
package org.apache.commons.logging.impl {
public deprecated class Jdk14Logger implements org.apache.commons.logging.Log java.io.Serializable {
ctor public Jdk14Logger(java.lang.String);
method public void debug(java.lang.Object);
method public void debug(java.lang.Object, java.lang.Throwable);
method public void error(java.lang.Object);
method public void error(java.lang.Object, java.lang.Throwable);
method public void fatal(java.lang.Object);
method public void fatal(java.lang.Object, java.lang.Throwable);
method public java.util.logging.Logger getLogger();
method public void info(java.lang.Object);
method public void info(java.lang.Object, java.lang.Throwable);
method public boolean isDebugEnabled();
method public boolean isErrorEnabled();
method public boolean isFatalEnabled();
method public boolean isInfoEnabled();
method public boolean isTraceEnabled();
method public boolean isWarnEnabled();
method public void trace(java.lang.Object);
method public void trace(java.lang.Object, java.lang.Throwable);
method public void warn(java.lang.Object);
method public void warn(java.lang.Object, java.lang.Throwable);
field protected static final java.util.logging.Level dummyLevel;
field protected transient java.util.logging.Logger logger;
field protected java.lang.String name;
}
public deprecated class LogFactoryImpl extends org.apache.commons.logging.LogFactory {
ctor public LogFactoryImpl();
method public java.lang.Object getAttribute(java.lang.String);
method public java.lang.String[] getAttributeNames();
method protected static java.lang.ClassLoader getClassLoader(java.lang.Class);
method protected static java.lang.ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
method public org.apache.commons.logging.Log getInstance(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
method public org.apache.commons.logging.Log getInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
method protected deprecated java.lang.String getLogClassName();
method protected deprecated java.lang.reflect.Constructor getLogConstructor() throws org.apache.commons.logging.LogConfigurationException;
method protected static boolean isDiagnosticsEnabled();
method protected deprecated boolean isJdk13LumberjackAvailable();
method protected deprecated boolean isJdk14Available();
method protected deprecated boolean isLog4JAvailable();
method protected void logDiagnostic(java.lang.String);
method protected org.apache.commons.logging.Log newInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
method public void release();
method public void removeAttribute(java.lang.String);
method public void setAttribute(java.lang.String, java.lang.Object);
field public static final java.lang.String ALLOW_FLAWED_CONTEXT_PROPERTY = "org.apache.commons.logging.Log.allowFlawedContext";
field public static final java.lang.String ALLOW_FLAWED_DISCOVERY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedDiscovery";
field public static final java.lang.String ALLOW_FLAWED_HIERARCHY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedHierarchy";
field public static final java.lang.String LOG_PROPERTY = "org.apache.commons.logging.Log";
field protected static final java.lang.String LOG_PROPERTY_OLD = "org.apache.commons.logging.log";
field protected java.util.Hashtable attributes;
field protected java.util.Hashtable instances;
field protected java.lang.reflect.Constructor logConstructor;
field protected java.lang.Class[] logConstructorSignature;
field protected java.lang.reflect.Method logMethod;
field protected java.lang.Class[] logMethodSignature;
}
public deprecated class NoOpLog implements org.apache.commons.logging.Log java.io.Serializable {
ctor public NoOpLog();
ctor public NoOpLog(java.lang.String);
method public void debug(java.lang.Object);
method public void debug(java.lang.Object, java.lang.Throwable);
method public void error(java.lang.Object);
method public void error(java.lang.Object, java.lang.Throwable);
method public void fatal(java.lang.Object);
method public void fatal(java.lang.Object, java.lang.Throwable);
method public void info(java.lang.Object);
method public void info(java.lang.Object, java.lang.Throwable);
method public final boolean isDebugEnabled();
method public final boolean isErrorEnabled();
method public final boolean isFatalEnabled();
method public final boolean isInfoEnabled();
method public final boolean isTraceEnabled();
method public final boolean isWarnEnabled();
method public void trace(java.lang.Object);
method public void trace(java.lang.Object, java.lang.Throwable);
method public void warn(java.lang.Object);
method public void warn(java.lang.Object, java.lang.Throwable);
}
public deprecated class SimpleLog implements org.apache.commons.logging.Log java.io.Serializable {
ctor public SimpleLog(java.lang.String);
method public final void debug(java.lang.Object);
method public final void debug(java.lang.Object, java.lang.Throwable);
method public final void error(java.lang.Object);
method public final void error(java.lang.Object, java.lang.Throwable);
method public final void fatal(java.lang.Object);
method public final void fatal(java.lang.Object, java.lang.Throwable);
method public int getLevel();
method public final void info(java.lang.Object);
method public final void info(java.lang.Object, java.lang.Throwable);
method public final boolean isDebugEnabled();
method public final boolean isErrorEnabled();
method public final boolean isFatalEnabled();
method public final boolean isInfoEnabled();
method protected boolean isLevelEnabled(int);
method public final boolean isTraceEnabled();
method public final boolean isWarnEnabled();
method protected void log(int, java.lang.Object, java.lang.Throwable);
method public void setLevel(int);
method public final void trace(java.lang.Object);
method public final void trace(java.lang.Object, java.lang.Throwable);
method public final void warn(java.lang.Object);
method public final void warn(java.lang.Object, java.lang.Throwable);
method protected void write(java.lang.StringBuffer);
field protected static final java.lang.String DEFAULT_DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss:SSS zzz";
field public static final int LOG_LEVEL_ALL = 0; // 0x0
field public static final int LOG_LEVEL_DEBUG = 2; // 0x2
field public static final int LOG_LEVEL_ERROR = 5; // 0x5
field public static final int LOG_LEVEL_FATAL = 6; // 0x6
field public static final int LOG_LEVEL_INFO = 3; // 0x3
field public static final int LOG_LEVEL_OFF = 7; // 0x7
field public static final int LOG_LEVEL_TRACE = 1; // 0x1
field public static final int LOG_LEVEL_WARN = 4; // 0x4
field protected int currentLogLevel;
field protected static java.text.DateFormat dateFormatter;
field protected static java.lang.String dateTimeFormat;
field protected java.lang.String logName;
field protected static boolean showDateTime;
field protected static boolean showLogName;
field protected static boolean showShortName;
field protected static final java.util.Properties simpleLogProps;
field protected static final java.lang.String systemPrefix = "org.apache.commons.logging.simplelog.";
}
public final deprecated class WeakHashtable extends java.util.Hashtable {
ctor public WeakHashtable();
method public boolean containsKey(java.lang.Object);
method public java.util.Enumeration elements();
method public java.util.Set entrySet();
method public java.lang.Object get(java.lang.Object);
method public boolean isEmpty();
method public java.util.Set keySet();
method public java.util.Enumeration keys();
method public java.lang.Object put(java.lang.Object, java.lang.Object);
method public void putAll(java.util.Map);
method public java.lang.Object remove(java.lang.Object);
method public int size();
method public java.util.Collection values();
}
}
package org.apache.http {
public deprecated class ConnectionClosedException extends java.io.IOException {
ctor public ConnectionClosedException(java.lang.String);
}
public abstract deprecated interface ConnectionReuseStrategy {
method public abstract boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
}
public abstract deprecated interface FormattedHeader implements org.apache.http.Header {
method public abstract org.apache.http.util.CharArrayBuffer getBuffer();
method public abstract int getValuePos();
}
public abstract deprecated interface Header {
method public abstract org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
method public abstract java.lang.String getName();
method public abstract java.lang.String getValue();
}
public abstract deprecated interface HeaderElement {
method public abstract java.lang.String getName();
method public abstract org.apache.http.NameValuePair getParameter(int);
method public abstract org.apache.http.NameValuePair getParameterByName(java.lang.String);
method public abstract int getParameterCount();
method public abstract org.apache.http.NameValuePair[] getParameters();
method public abstract java.lang.String getValue();
}
public abstract deprecated interface HeaderElementIterator implements java.util.Iterator {
method public abstract org.apache.http.HeaderElement nextElement();
}
public abstract deprecated interface HeaderIterator implements java.util.Iterator {
method public abstract org.apache.http.Header nextHeader();
}
public abstract deprecated interface HttpClientConnection implements org.apache.http.HttpConnection {
method public abstract void flush() throws java.io.IOException;
method public abstract boolean isResponseAvailable(int) throws java.io.IOException;
method public abstract void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
method public abstract org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
method public abstract void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
method public abstract void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
}
public abstract deprecated interface HttpConnection {
method public abstract void close() throws java.io.IOException;
method public abstract org.apache.http.HttpConnectionMetrics getMetrics();
method public abstract int getSocketTimeout();
method public abstract boolean isOpen();
method public abstract boolean isStale();
method public abstract void setSocketTimeout(int);
method public abstract void shutdown() throws java.io.IOException;
}
public abstract deprecated interface HttpConnectionMetrics {
method public abstract java.lang.Object getMetric(java.lang.String);
method public abstract long getReceivedBytesCount();
method public abstract long getRequestCount();
method public abstract long getResponseCount();
method public abstract long getSentBytesCount();
method public abstract void reset();
}
public abstract deprecated interface HttpEntity {
method public abstract void consumeContent() throws java.io.IOException;
method public abstract java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
method public abstract org.apache.http.Header getContentEncoding();
method public abstract long getContentLength();
method public abstract org.apache.http.Header getContentType();
method public abstract boolean isChunked();
method public abstract boolean isRepeatable();
method public abstract boolean isStreaming();
method public abstract void writeTo(java.io.OutputStream) throws java.io.IOException;
}
public abstract deprecated interface HttpEntityEnclosingRequest implements org.apache.http.HttpRequest {
method public abstract boolean expectContinue();
method public abstract org.apache.http.HttpEntity getEntity();
method public abstract void setEntity(org.apache.http.HttpEntity);
}
public deprecated class HttpException extends java.lang.Exception {
ctor public HttpException();
ctor public HttpException(java.lang.String);
ctor public HttpException(java.lang.String, java.lang.Throwable);
}
public final deprecated class HttpHost implements java.lang.Cloneable {
ctor public HttpHost(java.lang.String, int, java.lang.String);
ctor public HttpHost(java.lang.String, int);
ctor public HttpHost(java.lang.String);
ctor public HttpHost(org.apache.http.HttpHost);
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public java.lang.String getHostName();
method public int getPort();
method public java.lang.String getSchemeName();
method public java.lang.String toHostString();
method public java.lang.String toURI();
field public static final java.lang.String DEFAULT_SCHEME_NAME = "http";
field protected final java.lang.String hostname;
field protected final java.lang.String lcHostname;
field protected final int port;
field protected final java.lang.String schemeName;
}
public abstract deprecated interface HttpInetConnection implements org.apache.http.HttpConnection {
method public abstract java.net.InetAddress getLocalAddress();
method public abstract int getLocalPort();
method public abstract java.net.InetAddress getRemoteAddress();
method public abstract int getRemotePort();
}
public abstract deprecated interface HttpMessage {
method public abstract void addHeader(org.apache.http.Header);
method public abstract void addHeader(java.lang.String, java.lang.String);
method public abstract boolean containsHeader(java.lang.String);
method public abstract org.apache.http.Header[] getAllHeaders();
method public abstract org.apache.http.Header getFirstHeader(java.lang.String);
method public abstract org.apache.http.Header[] getHeaders(java.lang.String);
method public abstract org.apache.http.Header getLastHeader(java.lang.String);
method public abstract org.apache.http.params.HttpParams getParams();
method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
method public abstract org.apache.http.HeaderIterator headerIterator();
method public abstract org.apache.http.HeaderIterator headerIterator(java.lang.String);
method public abstract void removeHeader(org.apache.http.Header);
method public abstract void removeHeaders(java.lang.String);
method public abstract void setHeader(org.apache.http.Header);
method public abstract void setHeader(java.lang.String, java.lang.String);
method public abstract void setHeaders(org.apache.http.Header[]);
method public abstract void setParams(org.apache.http.params.HttpParams);
}
public abstract deprecated interface HttpRequest implements org.apache.http.HttpMessage {
method public abstract org.apache.http.RequestLine getRequestLine();
}
public abstract deprecated interface HttpRequestFactory {
method public abstract org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine) throws org.apache.http.MethodNotSupportedException;
method public abstract org.apache.http.HttpRequest newHttpRequest(java.lang.String, java.lang.String) throws org.apache.http.MethodNotSupportedException;
}
public abstract deprecated interface HttpRequestInterceptor {
method public abstract void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public abstract deprecated interface HttpResponse implements org.apache.http.HttpMessage {
method public abstract org.apache.http.HttpEntity getEntity();
method public abstract java.util.Locale getLocale();
method public abstract org.apache.http.StatusLine getStatusLine();
method public abstract void setEntity(org.apache.http.HttpEntity);
method public abstract void setLocale(java.util.Locale);
method public abstract void setReasonPhrase(java.lang.String) throws java.lang.IllegalStateException;
method public abstract void setStatusCode(int) throws java.lang.IllegalStateException;
method public abstract void setStatusLine(org.apache.http.StatusLine);
method public abstract void setStatusLine(org.apache.http.ProtocolVersion, int);
method public abstract void setStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
}
public abstract deprecated interface HttpResponseFactory {
method public abstract org.apache.http.HttpResponse newHttpResponse(org.apache.http.ProtocolVersion, int, org.apache.http.protocol.HttpContext);
method public abstract org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine, org.apache.http.protocol.HttpContext);
}
public abstract deprecated interface HttpResponseInterceptor {
method public abstract void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public abstract deprecated interface HttpServerConnection implements org.apache.http.HttpConnection {
method public abstract void flush() throws java.io.IOException;
method public abstract void receiveRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
method public abstract org.apache.http.HttpRequest receiveRequestHeader() throws org.apache.http.HttpException, java.io.IOException;
method public abstract void sendResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
method public abstract void sendResponseHeader(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
}
public abstract deprecated interface HttpStatus {
field public static final int SC_ACCEPTED = 202; // 0xca
field public static final int SC_BAD_GATEWAY = 502; // 0x1f6
field public static final int SC_BAD_REQUEST = 400; // 0x190
field public static final int SC_CONFLICT = 409; // 0x199
field public static final int SC_CONTINUE = 100; // 0x64
field public static final int SC_CREATED = 201; // 0xc9
field public static final int SC_EXPECTATION_FAILED = 417; // 0x1a1
field public static final int SC_FAILED_DEPENDENCY = 424; // 0x1a8
field public static final int SC_FORBIDDEN = 403; // 0x193
field public static final int SC_GATEWAY_TIMEOUT = 504; // 0x1f8
field public static final int SC_GONE = 410; // 0x19a
field public static final int SC_HTTP_VERSION_NOT_SUPPORTED = 505; // 0x1f9
field public static final int SC_INSUFFICIENT_SPACE_ON_RESOURCE = 419; // 0x1a3
field public static final int SC_INSUFFICIENT_STORAGE = 507; // 0x1fb
field public static final int SC_INTERNAL_SERVER_ERROR = 500; // 0x1f4
field public static final int SC_LENGTH_REQUIRED = 411; // 0x19b
field public static final int SC_LOCKED = 423; // 0x1a7
field public static final int SC_METHOD_FAILURE = 420; // 0x1a4
field public static final int SC_METHOD_NOT_ALLOWED = 405; // 0x195
field public static final int SC_MOVED_PERMANENTLY = 301; // 0x12d
field public static final int SC_MOVED_TEMPORARILY = 302; // 0x12e
field public static final int SC_MULTIPLE_CHOICES = 300; // 0x12c
field public static final int SC_MULTI_STATUS = 207; // 0xcf
field public static final int SC_NON_AUTHORITATIVE_INFORMATION = 203; // 0xcb
field public static final int SC_NOT_ACCEPTABLE = 406; // 0x196
field public static final int SC_NOT_FOUND = 404; // 0x194
field public static final int SC_NOT_IMPLEMENTED = 501; // 0x1f5
field public static final int SC_NOT_MODIFIED = 304; // 0x130
field public static final int SC_NO_CONTENT = 204; // 0xcc
field public static final int SC_OK = 200; // 0xc8
field public static final int SC_PARTIAL_CONTENT = 206; // 0xce
field public static final int SC_PAYMENT_REQUIRED = 402; // 0x192
field public static final int SC_PRECONDITION_FAILED = 412; // 0x19c
field public static final int SC_PROCESSING = 102; // 0x66
field public static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407; // 0x197
field public static final int SC_REQUESTED_RANGE_NOT_SATISFIABLE = 416; // 0x1a0
field public static final int SC_REQUEST_TIMEOUT = 408; // 0x198
field public static final int SC_REQUEST_TOO_LONG = 413; // 0x19d
field public static final int SC_REQUEST_URI_TOO_LONG = 414; // 0x19e
field public static final int SC_RESET_CONTENT = 205; // 0xcd
field public static final int SC_SEE_OTHER = 303; // 0x12f
field public static final int SC_SERVICE_UNAVAILABLE = 503; // 0x1f7
field public static final int SC_SWITCHING_PROTOCOLS = 101; // 0x65
field public static final int SC_TEMPORARY_REDIRECT = 307; // 0x133
field public static final int SC_UNAUTHORIZED = 401; // 0x191
field public static final int SC_UNPROCESSABLE_ENTITY = 422; // 0x1a6
field public static final int SC_UNSUPPORTED_MEDIA_TYPE = 415; // 0x19f
field public static final int SC_USE_PROXY = 305; // 0x131
}
public final deprecated class HttpVersion extends org.apache.http.ProtocolVersion implements java.io.Serializable {
ctor public HttpVersion(int, int);
field public static final java.lang.String HTTP = "HTTP";
field public static final org.apache.http.HttpVersion HTTP_0_9;
field public static final org.apache.http.HttpVersion HTTP_1_0;
field public static final org.apache.http.HttpVersion HTTP_1_1;
}
public deprecated class MalformedChunkCodingException extends java.io.IOException {
ctor public MalformedChunkCodingException();
ctor public MalformedChunkCodingException(java.lang.String);
}
public deprecated class MethodNotSupportedException extends org.apache.http.HttpException {
ctor public MethodNotSupportedException(java.lang.String);
ctor public MethodNotSupportedException(java.lang.String, java.lang.Throwable);
}
public abstract deprecated interface NameValuePair {
method public abstract java.lang.String getName();
method public abstract java.lang.String getValue();
}
public deprecated class NoHttpResponseException extends java.io.IOException {
ctor public NoHttpResponseException(java.lang.String);
}
public deprecated class ParseException extends java.lang.RuntimeException {
ctor public ParseException();
ctor public ParseException(java.lang.String);
}
public deprecated class ProtocolException extends org.apache.http.HttpException {
ctor public ProtocolException();
ctor public ProtocolException(java.lang.String);
ctor public ProtocolException(java.lang.String, java.lang.Throwable);
}
public deprecated class ProtocolVersion implements java.lang.Cloneable java.io.Serializable {
ctor public ProtocolVersion(java.lang.String, int, int);
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public int compareToVersion(org.apache.http.ProtocolVersion);
method public final boolean equals(java.lang.Object);
method public org.apache.http.ProtocolVersion forVersion(int, int);
method public final int getMajor();
method public final int getMinor();
method public final java.lang.String getProtocol();
method public final boolean greaterEquals(org.apache.http.ProtocolVersion);
method public final int hashCode();
method public boolean isComparable(org.apache.http.ProtocolVersion);
method public final boolean lessEquals(org.apache.http.ProtocolVersion);
field protected final int major;
field protected final int minor;
field protected final java.lang.String protocol;
}
public abstract deprecated interface ReasonPhraseCatalog {
method public abstract java.lang.String getReason(int, java.util.Locale);
}
public abstract deprecated interface RequestLine {
method public abstract java.lang.String getMethod();
method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
method public abstract java.lang.String getUri();
}
public abstract deprecated interface StatusLine {
method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
method public abstract java.lang.String getReasonPhrase();
method public abstract int getStatusCode();
}
public abstract deprecated interface TokenIterator implements java.util.Iterator {
method public abstract java.lang.String nextToken();
}
public deprecated class UnsupportedHttpVersionException extends org.apache.http.ProtocolException {
ctor public UnsupportedHttpVersionException();
ctor public UnsupportedHttpVersionException(java.lang.String);
}
}
package org.apache.http.auth {
public final deprecated class AUTH {
field public static final java.lang.String PROXY_AUTH = "Proxy-Authenticate";
field public static final java.lang.String PROXY_AUTH_RESP = "Proxy-Authorization";
field public static final java.lang.String WWW_AUTH = "WWW-Authenticate";
field public static final java.lang.String WWW_AUTH_RESP = "Authorization";
}
public abstract deprecated interface AuthScheme {
method public abstract org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
method public abstract java.lang.String getParameter(java.lang.String);
method public abstract java.lang.String getRealm();
method public abstract java.lang.String getSchemeName();
method public abstract boolean isComplete();
method public abstract boolean isConnectionBased();
method public abstract void processChallenge(org.apache.http.Header) throws org.apache.http.auth.MalformedChallengeException;
}
public abstract deprecated interface AuthSchemeFactory {
method public abstract org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
}
public final deprecated class AuthSchemeRegistry {
ctor public AuthSchemeRegistry();
method public synchronized org.apache.http.auth.AuthScheme getAuthScheme(java.lang.String, org.apache.http.params.HttpParams) throws java.lang.IllegalStateException;
method public synchronized java.util.List<java.lang.String> getSchemeNames();
method public synchronized void register(java.lang.String, org.apache.http.auth.AuthSchemeFactory);
method public synchronized void setItems(java.util.Map<java.lang.String, org.apache.http.auth.AuthSchemeFactory>);
method public synchronized void unregister(java.lang.String);
}
public deprecated class AuthScope {
ctor public AuthScope(java.lang.String, int, java.lang.String, java.lang.String);
ctor public AuthScope(java.lang.String, int, java.lang.String);
ctor public AuthScope(java.lang.String, int);
ctor public AuthScope(org.apache.http.auth.AuthScope);
method public java.lang.String getHost();
method public int getPort();
method public java.lang.String getRealm();
method public java.lang.String getScheme();
method public int match(org.apache.http.auth.AuthScope);
field public static final org.apache.http.auth.AuthScope ANY;
field public static final java.lang.String ANY_HOST;
field public static final int ANY_PORT = -1; // 0xffffffff
field public static final java.lang.String ANY_REALM;
field public static final java.lang.String ANY_SCHEME;
}
public deprecated class AuthState {
ctor public AuthState();
method public org.apache.http.auth.AuthScheme getAuthScheme();
method public org.apache.http.auth.AuthScope getAuthScope();
method public org.apache.http.auth.Credentials getCredentials();
method public void invalidate();
method public boolean isValid();
method public void setAuthScheme(org.apache.http.auth.AuthScheme);
method public void setAuthScope(org.apache.http.auth.AuthScope);
method public void setCredentials(org.apache.http.auth.Credentials);
}
public deprecated class AuthenticationException extends org.apache.http.ProtocolException {
ctor public AuthenticationException();
ctor public AuthenticationException(java.lang.String);
ctor public AuthenticationException(java.lang.String, java.lang.Throwable);
}
public final deprecated class BasicUserPrincipal implements java.security.Principal {
ctor public BasicUserPrincipal(java.lang.String);
method public java.lang.String getName();
}
public abstract deprecated interface Credentials {
method public abstract java.lang.String getPassword();
method public abstract java.security.Principal getUserPrincipal();
}
public deprecated class InvalidCredentialsException extends org.apache.http.auth.AuthenticationException {
ctor public InvalidCredentialsException();
ctor public InvalidCredentialsException(java.lang.String);
ctor public InvalidCredentialsException(java.lang.String, java.lang.Throwable);
}
public deprecated class MalformedChallengeException extends org.apache.http.ProtocolException {
ctor public MalformedChallengeException();
ctor public MalformedChallengeException(java.lang.String);
ctor public MalformedChallengeException(java.lang.String, java.lang.Throwable);
}
public deprecated class NTCredentials implements org.apache.http.auth.Credentials {
ctor public NTCredentials(java.lang.String);
ctor public NTCredentials(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
method public java.lang.String getDomain();
method public java.lang.String getPassword();
method public java.lang.String getUserName();
method public java.security.Principal getUserPrincipal();
method public java.lang.String getWorkstation();
}
public deprecated class NTUserPrincipal implements java.security.Principal {
ctor public NTUserPrincipal(java.lang.String, java.lang.String);
method public java.lang.String getDomain();
method public java.lang.String getName();
method public java.lang.String getUsername();
}
public deprecated class UsernamePasswordCredentials implements org.apache.http.auth.Credentials {
ctor public UsernamePasswordCredentials(java.lang.String);
ctor public UsernamePasswordCredentials(java.lang.String, java.lang.String);
method public java.lang.String getPassword();
method public java.lang.String getUserName();
method public java.security.Principal getUserPrincipal();
}
}
package org.apache.http.auth.params {
public abstract deprecated interface AuthPNames {
field public static final java.lang.String CREDENTIAL_CHARSET = "http.auth.credential-charset";
}
public deprecated class AuthParamBean extends org.apache.http.params.HttpAbstractParamBean {
ctor public AuthParamBean(org.apache.http.params.HttpParams);
method public void setCredentialCharset(java.lang.String);
}
public final deprecated class AuthParams {
method public static java.lang.String getCredentialCharset(org.apache.http.params.HttpParams);
method public static void setCredentialCharset(org.apache.http.params.HttpParams, java.lang.String);
}
}
package org.apache.http.client {
public abstract deprecated interface AuthenticationHandler {
method public abstract java.util.Map<java.lang.String, org.apache.http.Header> getChallenges(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.auth.MalformedChallengeException;
method public abstract boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
method public abstract org.apache.http.auth.AuthScheme selectScheme(java.util.Map<java.lang.String, org.apache.http.Header>, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.auth.AuthenticationException;
}
public deprecated class CircularRedirectException extends org.apache.http.client.RedirectException {
ctor public CircularRedirectException();
ctor public CircularRedirectException(java.lang.String);
ctor public CircularRedirectException(java.lang.String, java.lang.Throwable);
}
public deprecated class ClientProtocolException extends java.io.IOException {
ctor public ClientProtocolException();
ctor public ClientProtocolException(java.lang.String);
ctor public ClientProtocolException(java.lang.Throwable);
ctor public ClientProtocolException(java.lang.String, java.lang.Throwable);
}
public abstract deprecated interface CookieStore {
method public abstract void addCookie(org.apache.http.cookie.Cookie);
method public abstract void clear();
method public abstract boolean clearExpired(java.util.Date);
method public abstract java.util.List<org.apache.http.cookie.Cookie> getCookies();
}
public abstract deprecated interface CredentialsProvider {
method public abstract void clear();
method public abstract org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope);
method public abstract void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials);
}
public abstract deprecated interface HttpClient {
method public abstract org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
method public abstract org.apache.http.conn.ClientConnectionManager getConnectionManager();
method public abstract org.apache.http.params.HttpParams getParams();
}
public abstract deprecated interface HttpRequestRetryHandler {
method public abstract boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext);
}
public deprecated class HttpResponseException extends org.apache.http.client.ClientProtocolException {
ctor public HttpResponseException(int, java.lang.String);
method public int getStatusCode();
}
public deprecated class NonRepeatableRequestException extends org.apache.http.ProtocolException {
ctor public NonRepeatableRequestException();
ctor public NonRepeatableRequestException(java.lang.String);
}
public deprecated class RedirectException extends org.apache.http.ProtocolException {
ctor public RedirectException();
ctor public RedirectException(java.lang.String);
ctor public RedirectException(java.lang.String, java.lang.Throwable);
}
public abstract deprecated interface RedirectHandler {
method public abstract java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.ProtocolException;
method public abstract boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
}
public abstract deprecated interface RequestDirector {
method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public abstract deprecated interface ResponseHandler<T> {
method public abstract T handleResponse(org.apache.http.HttpResponse) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
}
public abstract deprecated interface UserTokenHandler {
method public abstract java.lang.Object getUserToken(org.apache.http.protocol.HttpContext);
}
}
package org.apache.http.client.entity {
public deprecated class UrlEncodedFormEntity extends org.apache.http.entity.StringEntity {
ctor public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>, java.lang.String) throws java.io.UnsupportedEncodingException;
ctor public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>) throws java.io.UnsupportedEncodingException;
}
}
package org.apache.http.client.methods {
public abstract deprecated interface AbortableHttpRequest {
method public abstract void abort();
method public abstract void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
method public abstract void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
}
public deprecated class HttpDelete extends org.apache.http.client.methods.HttpRequestBase {
ctor public HttpDelete();
ctor public HttpDelete(java.net.URI);
ctor public HttpDelete(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "DELETE";
}
public abstract deprecated class HttpEntityEnclosingRequestBase extends org.apache.http.client.methods.HttpRequestBase implements org.apache.http.HttpEntityEnclosingRequest {
ctor public HttpEntityEnclosingRequestBase();
method public boolean expectContinue();
method public org.apache.http.HttpEntity getEntity();
method public void setEntity(org.apache.http.HttpEntity);
}
public deprecated class HttpGet extends org.apache.http.client.methods.HttpRequestBase {
ctor public HttpGet();
ctor public HttpGet(java.net.URI);
ctor public HttpGet(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "GET";
}
public deprecated class HttpHead extends org.apache.http.client.methods.HttpRequestBase {
ctor public HttpHead();
ctor public HttpHead(java.net.URI);
ctor public HttpHead(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "HEAD";
}
public deprecated class HttpOptions extends org.apache.http.client.methods.HttpRequestBase {
ctor public HttpOptions();
ctor public HttpOptions(java.net.URI);
ctor public HttpOptions(java.lang.String);
method public java.util.Set<java.lang.String> getAllowedMethods(org.apache.http.HttpResponse);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "OPTIONS";
}
public deprecated class HttpPost extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
ctor public HttpPost();
ctor public HttpPost(java.net.URI);
ctor public HttpPost(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "POST";
}
public deprecated class HttpPut extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
ctor public HttpPut();
ctor public HttpPut(java.net.URI);
ctor public HttpPut(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "PUT";
}
public abstract deprecated class HttpRequestBase extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.client.methods.AbortableHttpRequest java.lang.Cloneable org.apache.http.client.methods.HttpUriRequest {
ctor public HttpRequestBase();
method public void abort();
method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
method public org.apache.http.ProtocolVersion getProtocolVersion();
method public org.apache.http.RequestLine getRequestLine();
method public java.net.URI getURI();
method public boolean isAborted();
method public void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
method public void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
method public void setURI(java.net.URI);
}
public deprecated class HttpTrace extends org.apache.http.client.methods.HttpRequestBase {
ctor public HttpTrace();
ctor public HttpTrace(java.net.URI);
ctor public HttpTrace(java.lang.String);
method public java.lang.String getMethod();
field public static final java.lang.String METHOD_NAME = "TRACE";
}
public abstract deprecated interface HttpUriRequest implements org.apache.http.HttpRequest {
method public abstract void abort() throws java.lang.UnsupportedOperationException;
method public abstract java.lang.String getMethod();
method public abstract java.net.URI getURI();
method public abstract boolean isAborted();
}
}
package org.apache.http.client.params {
public abstract deprecated interface AllClientPNames implements org.apache.http.auth.params.AuthPNames org.apache.http.client.params.ClientPNames org.apache.http.conn.params.ConnConnectionPNames org.apache.http.conn.params.ConnManagerPNames org.apache.http.conn.params.ConnRoutePNames org.apache.http.cookie.params.CookieSpecPNames org.apache.http.params.CoreConnectionPNames org.apache.http.params.CoreProtocolPNames {
}
public final deprecated class AuthPolicy {
field public static final java.lang.String BASIC = "Basic";
field public static final java.lang.String DIGEST = "Digest";
field public static final java.lang.String NTLM = "NTLM";
}
public abstract deprecated interface ClientPNames {
field public static final java.lang.String ALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects";
field public static final java.lang.String CONNECTION_MANAGER_FACTORY = "http.connection-manager.factory-object";
field public static final java.lang.String CONNECTION_MANAGER_FACTORY_CLASS_NAME = "http.connection-manager.factory-class-name";
field public static final java.lang.String COOKIE_POLICY = "http.protocol.cookie-policy";
field public static final java.lang.String DEFAULT_HEADERS = "http.default-headers";
field public static final java.lang.String DEFAULT_HOST = "http.default-host";
field public static final java.lang.String HANDLE_AUTHENTICATION = "http.protocol.handle-authentication";
field public static final java.lang.String HANDLE_REDIRECTS = "http.protocol.handle-redirects";
field public static final java.lang.String MAX_REDIRECTS = "http.protocol.max-redirects";
field public static final java.lang.String REJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect";
field public static final java.lang.String VIRTUAL_HOST = "http.virtual-host";
}
public deprecated class ClientParamBean extends org.apache.http.params.HttpAbstractParamBean {
ctor public ClientParamBean(org.apache.http.params.HttpParams);
method public void setAllowCircularRedirects(boolean);
method public void setConnectionManagerFactory(org.apache.http.conn.ClientConnectionManagerFactory);
method public void setConnectionManagerFactoryClassName(java.lang.String);
method public void setCookiePolicy(java.lang.String);
method public void setDefaultHeaders(java.util.Collection<org.apache.http.Header>);
method public void setDefaultHost(org.apache.http.HttpHost);
method public void setHandleAuthentication(boolean);
method public void setHandleRedirects(boolean);
method public void setMaxRedirects(int);
method public void setRejectRelativeRedirect(boolean);
method public void setVirtualHost(org.apache.http.HttpHost);
}
public final deprecated class CookiePolicy {
field public static final java.lang.String BEST_MATCH = "best-match";
field public static final java.lang.String BROWSER_COMPATIBILITY = "compatibility";
field public static final java.lang.String NETSCAPE = "netscape";
field public static final java.lang.String RFC_2109 = "rfc2109";
field public static final java.lang.String RFC_2965 = "rfc2965";
}
public deprecated class HttpClientParams {
method public static java.lang.String getCookiePolicy(org.apache.http.params.HttpParams);
method public static boolean isAuthenticating(org.apache.http.params.HttpParams);
method public static boolean isRedirecting(org.apache.http.params.HttpParams);
method public static void setAuthenticating(org.apache.http.params.HttpParams, boolean);
method public static void setCookiePolicy(org.apache.http.params.HttpParams, java.lang.String);
method public static void setRedirecting(org.apache.http.params.HttpParams, boolean);
}
}
package org.apache.http.client.protocol {
public abstract deprecated interface ClientContext {
field public static final java.lang.String AUTHSCHEME_REGISTRY = "http.authscheme-registry";
field public static final java.lang.String AUTH_SCHEME_PREF = "http.auth.scheme-pref";
field public static final java.lang.String COOKIESPEC_REGISTRY = "http.cookiespec-registry";
field public static final java.lang.String COOKIE_ORIGIN = "http.cookie-origin";
field public static final java.lang.String COOKIE_SPEC = "http.cookie-spec";
field public static final java.lang.String COOKIE_STORE = "http.cookie-store";
field public static final java.lang.String CREDS_PROVIDER = "http.auth.credentials-provider";
field public static final java.lang.String PROXY_AUTH_STATE = "http.auth.proxy-scope";
field public static final java.lang.String TARGET_AUTH_STATE = "http.auth.target-scope";
field public static final java.lang.String USER_TOKEN = "http.user-token";
}
public deprecated class ClientContextConfigurer implements org.apache.http.client.protocol.ClientContext {
ctor public ClientContextConfigurer(org.apache.http.protocol.HttpContext);
method public void setAuthSchemePref(java.util.List<java.lang.String>);
method public void setAuthSchemeRegistry(org.apache.http.auth.AuthSchemeRegistry);
method public void setCookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry);
method public void setCookieStore(org.apache.http.client.CookieStore);
method public void setCredentialsProvider(org.apache.http.client.CredentialsProvider);
}
public deprecated class RequestAddCookies implements org.apache.http.HttpRequestInterceptor {
ctor public RequestAddCookies();
method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public deprecated class RequestDefaultHeaders implements org.apache.http.HttpRequestInterceptor {
ctor public RequestDefaultHeaders();
method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public deprecated class RequestProxyAuthentication implements org.apache.http.HttpRequestInterceptor {
ctor public RequestProxyAuthentication();
method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public deprecated class RequestTargetAuthentication implements org.apache.http.HttpRequestInterceptor {
ctor public RequestTargetAuthentication();
method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
public deprecated class ResponseProcessCookies implements org.apache.http.HttpResponseInterceptor {
ctor public ResponseProcessCookies();
method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
}
}
package org.apache.http.client.utils {
public deprecated class CloneUtils {
method public static java.lang.Object clone(java.lang.Object) throws java.lang.CloneNotSupportedException;
}
public deprecated class URIUtils {
method public static java.net.URI createURI(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) throws java.net.URISyntaxException;
method public static java.net.URI resolve(java.net.URI, java.lang.String);
method public static java.net.URI resolve(java.net.URI, java.net.URI);
method public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean) throws java.net.URISyntaxException;
method public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost) throws java.net.URISyntaxException;
}
public deprecated class URLEncodedUtils {
ctor public URLEncodedUtils();
method public static java.lang.String format(java.util.List<? extends org.apache.http.NameValuePair>, java.lang.String);
method public static boolean isEncoded(org.apache.http.HttpEntity);
method public static java.util.List<org.apache.http.NameValuePair> parse(java.net.URI, java.lang.String);
method public static java.util.List<org.apache.http.NameValuePair> parse(org.apache.http.HttpEntity) throws java.io.IOException;
method public static void parse(java.util.List<org.apache.http.NameValuePair>, java.util.Scanner, java.lang.String);
field public static final java.lang.String CONTENT_TYPE = "application/x-www-form-urlencoded";
}
}
package org.apache.http.conn {
public deprecated class BasicEofSensorWatcher implements org.apache.http.conn.EofSensorWatcher {
ctor public BasicEofSensorWatcher(org.apache.http.conn.ManagedClientConnection, boolean);
method public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
method public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
method public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
field protected boolean attemptReuse;
field protected org.apache.http.conn.ManagedClientConnection managedConn;
}
public deprecated class BasicManagedEntity extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.conn.EofSensorWatcher {
ctor public BasicManagedEntity(org.apache.http.HttpEntity, org.apache.http.conn.ManagedClientConnection, boolean);
method public void abortConnection() throws java.io.IOException;
method public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
method public void releaseConnection() throws java.io.IOException;
method protected void releaseManagedConnection() throws java.io.IOException;
method public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
method public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
field protected final boolean attemptReuse;
field protected org.apache.http.conn.ManagedClientConnection managedConn;
}
public abstract deprecated interface ClientConnectionManager {
method public abstract void closeExpiredConnections();
method public abstract void closeIdleConnections(long, java.util.concurrent.TimeUnit);
method public abstract org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
method public abstract void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
method public abstract org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
method public abstract void shutdown();
}
public abstract deprecated interface ClientConnectionManagerFactory {
method public abstract org.apache.http.conn.ClientConnectionManager newInstance(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
}
public abstract deprecated interface ClientConnectionOperator {
method public abstract org.apache.http.conn.OperatedClientConnection createConnection();
method public abstract void openConnection(org.apache.http.conn.OperatedClientConnection, org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
method public abstract void updateSecureConnection(org.apache.http.conn.OperatedClientConnection, org.apache.http.HttpHost, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
}
public abstract deprecated interface ClientConnectionRequest {
method public abstract void abortRequest();
method public abstract org.apache.http.conn.ManagedClientConnection getConnection(long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
}
public deprecated class ConnectTimeoutException extends java.io.InterruptedIOException {
ctor public ConnectTimeoutException();
ctor public ConnectTimeoutException(java.lang.String);
}
public abstract deprecated interface ConnectionKeepAliveStrategy {
method public abstract long getKeepAliveDuration(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
}
public deprecated class ConnectionPoolTimeoutException extends org.apache.http.conn.ConnectTimeoutException {
ctor public ConnectionPoolTimeoutException();
ctor public ConnectionPoolTimeoutException(java.lang.String);
}
public abstract deprecated interface ConnectionReleaseTrigger {
method public abstract void abortConnection() throws java.io.IOException;
method public abstract void releaseConnection() throws java.io.IOException;
}
public deprecated class EofSensorInputStream extends java.io.InputStream implements org.apache.http.conn.ConnectionReleaseTrigger {
ctor public EofSensorInputStream(java.io.InputStream, org.apache.http.conn.EofSensorWatcher);
method public void abortConnection() throws java.io.IOException;
method protected void checkAbort() throws java.io.IOException;
method protected void checkClose() throws java.io.IOException;
method protected void checkEOF(int) throws java.io.IOException;
method protected boolean isReadAllowed() throws java.io.IOException;
method public int read() throws java.io.IOException;
method public void releaseConnection() throws java.io.IOException;
field protected java.io.InputStream wrappedStream;
}
public abstract deprecated interface EofSensorWatcher {
method public abstract boolean eofDetected(java.io.InputStream) throws java.io.IOException;
method public abstract boolean streamAbort(java.io.InputStream) throws java.io.IOException;
method public abstract boolean streamClosed(java.io.InputStream) throws java.io.IOException;
}
public deprecated class HttpHostConnectException extends java.net.ConnectException {
ctor public HttpHostConnectException(org.apache.http.HttpHost, java.net.ConnectException);
method public org.apache.http.HttpHost getHost();
}
public abstract deprecated interface ManagedClientConnection implements org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.HttpClientConnection org.apache.http.HttpInetConnection {
method public abstract org.apache.http.conn.routing.HttpRoute getRoute();
method public abstract javax.net.ssl.SSLSession getSSLSession();
method public abstract java.lang.Object getState();
method public abstract boolean isMarkedReusable();