blob: 9f1b8797ef29838a6393fb06deb6a0f41b98b496 [file] [log] [blame]
Tor Norbyebd65b232019-01-07 18:09:28 -08001// Signature format: 2.0
Paul Duffin03a95652017-07-14 13:48:42 +01002package android.net.compatibility {
3
4 public class WebAddress {
Tor Norbyebd65b232019-01-07 18:09:28 -08005 ctor public WebAddress(String) throws java.lang.IllegalArgumentException;
6 method public String getAuthInfo();
7 method public String getHost();
8 method public String getPath();
Paul Duffin03a95652017-07-14 13:48:42 +01009 method public int getPort();
Tor Norbyebd65b232019-01-07 18:09:28 -080010 method public String getScheme();
11 method public void setAuthInfo(String);
12 method public void setHost(String);
13 method public void setPath(String);
Paul Duffin03a95652017-07-14 13:48:42 +010014 method public void setPort(int);
Tor Norbyebd65b232019-01-07 18:09:28 -080015 method public void setScheme(String);
Paul Duffin03a95652017-07-14 13:48:42 +010016 }
17
18}
19
20package android.net.http {
21
22 public final class AndroidHttpClient implements org.apache.http.client.HttpClient {
23 method public void close();
24 method public void disableCurlLogging();
Tor Norbyebd65b232019-01-07 18:09:28 -080025 method public void enableCurlLogging(String, int);
Paul Duffin03a95652017-07-14 13:48:42 +010026 method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws java.io.IOException;
27 method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
28 method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws java.io.IOException;
29 method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
30 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;
31 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;
32 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;
33 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;
34 method public static org.apache.http.entity.AbstractHttpEntity getCompressedEntity(byte[], android.content.ContentResolver) throws java.io.IOException;
35 method public org.apache.http.conn.ClientConnectionManager getConnectionManager();
36 method public static long getMinGzipSize(android.content.ContentResolver);
37 method public org.apache.http.params.HttpParams getParams();
38 method public static java.io.InputStream getUngzippedContent(org.apache.http.HttpEntity) throws java.io.IOException;
39 method public static void modifyRequestToAcceptGzipResponse(org.apache.http.HttpRequest);
Tor Norbyebd65b232019-01-07 18:09:28 -080040 method public static android.net.http.AndroidHttpClient newInstance(String, android.content.Context);
41 method public static android.net.http.AndroidHttpClient newInstance(String);
42 method public static long parseDate(String);
Paul Duffin03a95652017-07-14 13:48:42 +010043 field public static long DEFAULT_SYNC_MIN_GZIP_BYTES;
44 }
45
46 public class AndroidHttpClientConnection implements org.apache.http.HttpConnection org.apache.http.HttpInetConnection {
47 ctor public AndroidHttpClientConnection();
48 method public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
49 method public void close() throws java.io.IOException;
50 method protected void doFlush() throws java.io.IOException;
51 method public void flush() throws java.io.IOException;
52 method public java.net.InetAddress getLocalAddress();
53 method public int getLocalPort();
54 method public org.apache.http.HttpConnectionMetrics getMetrics();
55 method public java.net.InetAddress getRemoteAddress();
56 method public int getRemotePort();
57 method public int getSocketTimeout();
58 method public boolean isOpen();
59 method public boolean isStale();
60 method public org.apache.http.StatusLine parseResponseHeader(android.net.http.Headers) throws java.io.IOException, org.apache.http.ParseException;
61 method public org.apache.http.HttpEntity receiveResponseEntity(android.net.http.Headers);
62 method public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
63 method public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
64 method public void setSocketTimeout(int);
65 method public void shutdown() throws java.io.IOException;
66 }
67
68 public class CertificateChainValidator {
Tor Norbyebd65b232019-01-07 18:09:28 -080069 method public android.net.http.SslError doHandshakeAndValidateServerCertificates(android.net.http.HttpsConnection, javax.net.ssl.SSLSocket, String) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +010070 method public static android.net.http.CertificateChainValidator getInstance();
71 method public static void handleTrustStorageUpdate();
Tor Norbyebd65b232019-01-07 18:09:28 -080072 method public static android.net.http.SslError verifyServerCertificates(byte[][], String, String) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +010073 }
74
Aurimas Liutikas2bd03502020-06-23 16:53:15 -070075 public abstract class Connection {
76 }
77
Paul Duffin03a95652017-07-14 13:48:42 +010078 public class DelegatingSSLSession implements javax.net.ssl.SSLSession {
79 ctor protected DelegatingSSLSession();
80 method public int getApplicationBufferSize();
Tor Norbyebd65b232019-01-07 18:09:28 -080081 method public String getCipherSuite();
Paul Duffin03a95652017-07-14 13:48:42 +010082 method public long getCreationTime();
83 method public byte[] getId();
84 method public long getLastAccessedTime();
85 method public java.security.cert.Certificate[] getLocalCertificates();
86 method public java.security.Principal getLocalPrincipal();
87 method public int getPacketBufferSize();
88 method public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException;
89 method public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException;
Tor Norbyebd65b232019-01-07 18:09:28 -080090 method public String getPeerHost();
Paul Duffin03a95652017-07-14 13:48:42 +010091 method public int getPeerPort();
92 method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException;
Tor Norbyebd65b232019-01-07 18:09:28 -080093 method public String getProtocol();
Paul Duffin03a95652017-07-14 13:48:42 +010094 method public javax.net.ssl.SSLSessionContext getSessionContext();
Tor Norbyebd65b232019-01-07 18:09:28 -080095 method public Object getValue(String);
96 method public String[] getValueNames();
Paul Duffin03a95652017-07-14 13:48:42 +010097 method public void invalidate();
98 method public boolean isValid();
Tor Norbyebd65b232019-01-07 18:09:28 -080099 method public void putValue(String, Object);
100 method public void removeValue(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100101 }
102
103 public static class DelegatingSSLSession.CertificateWrap extends android.net.http.DelegatingSSLSession {
104 ctor public DelegatingSSLSession.CertificateWrap(java.security.cert.Certificate);
105 }
106
Tor Norbyebd65b232019-01-07 18:09:28 -0800107 public interface EventHandler {
108 method public void certificate(android.net.http.SslCertificate);
109 method public void data(byte[], int);
110 method public void endData();
111 method public void error(int, String);
112 method public boolean handleSslErrorRequest(android.net.http.SslError);
113 method public void headers(android.net.http.Headers);
114 method public void status(int, int, int, String);
Paul Duffin03a95652017-07-14 13:48:42 +0100115 field public static final int ERROR = -1; // 0xffffffff
116 field public static final int ERROR_AUTH = -4; // 0xfffffffc
117 field public static final int ERROR_BAD_URL = -12; // 0xfffffff4
118 field public static final int ERROR_CONNECT = -6; // 0xfffffffa
119 field public static final int ERROR_FAILED_SSL_HANDSHAKE = -11; // 0xfffffff5
120 field public static final int ERROR_IO = -7; // 0xfffffff9
121 field public static final int ERROR_LOOKUP = -2; // 0xfffffffe
122 field public static final int ERROR_PROXYAUTH = -5; // 0xfffffffb
123 field public static final int ERROR_REDIRECT_LOOP = -9; // 0xfffffff7
124 field public static final int ERROR_TIMEOUT = -8; // 0xfffffff8
125 field public static final int ERROR_UNSUPPORTED_AUTH_SCHEME = -3; // 0xfffffffd
126 field public static final int ERROR_UNSUPPORTED_SCHEME = -10; // 0xfffffff6
127 field public static final int FILE_ERROR = -13; // 0xfffffff3
128 field public static final int FILE_NOT_FOUND_ERROR = -14; // 0xfffffff2
129 field public static final int OK = 0; // 0x0
130 field public static final int TOO_MANY_REQUESTS_ERROR = -15; // 0xfffffff1
131 }
132
133 public final class Headers {
134 ctor public Headers();
Tor Norbyebd65b232019-01-07 18:09:28 -0800135 method public String getAcceptRanges();
136 method public String getCacheControl();
Paul Duffin03a95652017-07-14 13:48:42 +0100137 method public int getConnectionType();
Tor Norbyebd65b232019-01-07 18:09:28 -0800138 method public String getContentDisposition();
139 method public String getContentEncoding();
Paul Duffin03a95652017-07-14 13:48:42 +0100140 method public long getContentLength();
Tor Norbyebd65b232019-01-07 18:09:28 -0800141 method public String getContentType();
142 method public String getEtag();
143 method public String getExpires();
Paul Duffin03a95652017-07-14 13:48:42 +0100144 method public void getHeaders(android.net.http.Headers.HeaderCallback);
Tor Norbyebd65b232019-01-07 18:09:28 -0800145 method public String getLastModified();
146 method public String getLocation();
147 method public String getPragma();
148 method public String getProxyAuthenticate();
149 method public String getRefresh();
Paul Duffin03a95652017-07-14 13:48:42 +0100150 method public java.util.ArrayList<java.lang.String> getSetCookie();
151 method public long getTransferEncoding();
Tor Norbyebd65b232019-01-07 18:09:28 -0800152 method public String getWwwAuthenticate();
153 method public String getXPermittedCrossDomainPolicies();
Paul Duffin03a95652017-07-14 13:48:42 +0100154 method public void parseHeader(org.apache.http.util.CharArrayBuffer);
Tor Norbyebd65b232019-01-07 18:09:28 -0800155 method public void setAcceptRanges(String);
156 method public void setCacheControl(String);
157 method public void setContentDisposition(String);
158 method public void setContentEncoding(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100159 method public void setContentLength(long);
Tor Norbyebd65b232019-01-07 18:09:28 -0800160 method public void setContentType(String);
161 method public void setEtag(String);
162 method public void setExpires(String);
163 method public void setLastModified(String);
164 method public void setLocation(String);
165 method public void setProxyAuthenticate(String);
166 method public void setWwwAuthenticate(String);
167 method public void setXPermittedCrossDomainPolicies(String);
168 field public static final String ACCEPT_RANGES = "accept-ranges";
169 field public static final String CACHE_CONTROL = "cache-control";
Paul Duffin03a95652017-07-14 13:48:42 +0100170 field public static final int CONN_CLOSE = 1; // 0x1
Tor Norbyebd65b232019-01-07 18:09:28 -0800171 field public static final String CONN_DIRECTIVE = "connection";
Paul Duffin03a95652017-07-14 13:48:42 +0100172 field public static final int CONN_KEEP_ALIVE = 2; // 0x2
Tor Norbyebd65b232019-01-07 18:09:28 -0800173 field public static final String CONTENT_DISPOSITION = "content-disposition";
174 field public static final String CONTENT_ENCODING = "content-encoding";
175 field public static final String CONTENT_LEN = "content-length";
176 field public static final String CONTENT_TYPE = "content-type";
177 field public static final String ETAG = "etag";
178 field public static final String EXPIRES = "expires";
179 field public static final String LAST_MODIFIED = "last-modified";
180 field public static final String LOCATION = "location";
Paul Duffin03a95652017-07-14 13:48:42 +0100181 field public static final int NO_CONN_TYPE = 0; // 0x0
182 field public static final long NO_CONTENT_LENGTH = -1L; // 0xffffffffffffffffL
183 field public static final long NO_TRANSFER_ENCODING = 0L; // 0x0L
Tor Norbyebd65b232019-01-07 18:09:28 -0800184 field public static final String PRAGMA = "pragma";
185 field public static final String PROXY_AUTHENTICATE = "proxy-authenticate";
186 field public static final String PROXY_CONNECTION = "proxy-connection";
187 field public static final String REFRESH = "refresh";
188 field public static final String SET_COOKIE = "set-cookie";
189 field public static final String TRANSFER_ENCODING = "transfer-encoding";
190 field public static final String WWW_AUTHENTICATE = "www-authenticate";
191 field public static final String X_PERMITTED_CROSS_DOMAIN_POLICIES = "x-permitted-cross-domain-policies";
Paul Duffin03a95652017-07-14 13:48:42 +0100192 }
193
Tor Norbyebd65b232019-01-07 18:09:28 -0800194 public static interface Headers.HeaderCallback {
195 method public void header(String, String);
Paul Duffin03a95652017-07-14 13:48:42 +0100196 }
197
198 public class HttpAuthHeader {
Tor Norbyebd65b232019-01-07 18:09:28 -0800199 ctor public HttpAuthHeader(String);
200 method public String getAlgorithm();
201 method public String getNonce();
202 method public String getOpaque();
203 method public String getPassword();
204 method public String getQop();
205 method public String getRealm();
Paul Duffin03a95652017-07-14 13:48:42 +0100206 method public int getScheme();
207 method public boolean getStale();
Tor Norbyebd65b232019-01-07 18:09:28 -0800208 method public String getUsername();
Paul Duffin03a95652017-07-14 13:48:42 +0100209 method public boolean isBasic();
210 method public boolean isDigest();
211 method public boolean isProxy();
212 method public boolean isSupportedScheme();
Tor Norbyebd65b232019-01-07 18:09:28 -0800213 method public void setPassword(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100214 method public void setProxy();
Tor Norbyebd65b232019-01-07 18:09:28 -0800215 method public void setUsername(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100216 field public static final int BASIC = 1; // 0x1
Tor Norbyebd65b232019-01-07 18:09:28 -0800217 field public static final String BASIC_TOKEN = "Basic";
Paul Duffin03a95652017-07-14 13:48:42 +0100218 field public static final int DIGEST = 2; // 0x2
Tor Norbyebd65b232019-01-07 18:09:28 -0800219 field public static final String DIGEST_TOKEN = "Digest";
Paul Duffin03a95652017-07-14 13:48:42 +0100220 field public static final int UNKNOWN = 0; // 0x0
221 }
222
Aurimas Liutikas2bd03502020-06-23 16:53:15 -0700223 public class HttpsConnection extends android.net.http.Connection {
Paul Duffin03a95652017-07-14 13:48:42 +0100224 method public static void initializeEngine(java.io.File);
Paul Duffin03a95652017-07-14 13:48:42 +0100225 }
226
227 public class LoggingEventHandler implements android.net.http.EventHandler {
228 ctor public LoggingEventHandler();
229 method public void certificate(android.net.http.SslCertificate);
230 method public void data(byte[], int);
231 method public void endData();
Tor Norbyebd65b232019-01-07 18:09:28 -0800232 method public void error(int, String);
Paul Duffin03a95652017-07-14 13:48:42 +0100233 method public boolean handleSslErrorRequest(android.net.http.SslError);
234 method public void headers(android.net.http.Headers);
Tor Norbyebd65b232019-01-07 18:09:28 -0800235 method public void locationChanged(String, boolean);
Paul Duffin03a95652017-07-14 13:48:42 +0100236 method public void requestSent();
Tor Norbyebd65b232019-01-07 18:09:28 -0800237 method public void status(int, int, int, String);
Paul Duffin03a95652017-07-14 13:48:42 +0100238 }
239
Aurimas Liutikas2bd03502020-06-23 16:53:15 -0700240 public class Request {
241 }
242
Paul Duffin03a95652017-07-14 13:48:42 +0100243 public class RequestHandle {
Tor Norbyebd65b232019-01-07 18:09:28 -0800244 ctor public RequestHandle(android.net.http.RequestQueue, String, android.net.compatibility.WebAddress, String, java.util.Map<java.lang.String,java.lang.String>, java.io.InputStream, int, android.net.http.Request);
245 ctor public RequestHandle(android.net.http.RequestQueue, String, android.net.compatibility.WebAddress, String, java.util.Map<java.lang.String,java.lang.String>, java.io.InputStream, int, android.net.http.Request, android.net.http.Connection);
246 method public static String authorizationHeader(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +0100247 method public void cancel();
Tor Norbyebd65b232019-01-07 18:09:28 -0800248 method public static String computeBasicAuthResponse(String, String);
249 method public String getMethod();
Paul Duffin03a95652017-07-14 13:48:42 +0100250 method public int getRedirectCount();
251 method public void handleSslErrorResponse(boolean);
252 method public boolean isRedirectMax();
253 method public void pauseRequest(boolean);
254 method public void processRequest();
255 method public void setRedirectCount(int);
Tor Norbyebd65b232019-01-07 18:09:28 -0800256 method public void setupBasicAuthResponse(boolean, String, String);
257 method public void setupDigestAuthResponse(boolean, String, String, String, String, String, String, String);
258 method public boolean setupRedirect(String, int, java.util.Map<java.lang.String,java.lang.String>);
Paul Duffin03a95652017-07-14 13:48:42 +0100259 method public void waitUntilComplete();
260 field public static final int MAX_REDIRECT_COUNT = 16; // 0x10
261 }
262
Jeff Sharkey575d3712017-12-06 22:24:30 -0700263 public class RequestQueue {
Paul Duffin03a95652017-07-14 13:48:42 +0100264 ctor public RequestQueue(android.content.Context);
265 ctor public RequestQueue(android.content.Context, int);
Tor Norbyebd65b232019-01-07 18:09:28 -0800266 method public void disablePlatformNotifications();
267 method public void enablePlatformNotifications();
Paul Duffin03a95652017-07-14 13:48:42 +0100268 method public org.apache.http.HttpHost getProxyHost();
Tor Norbyebd65b232019-01-07 18:09:28 -0800269 method public android.net.http.Request getRequest();
270 method public android.net.http.Request getRequest(org.apache.http.HttpHost);
271 method public boolean haveRequest(org.apache.http.HttpHost);
272 method public android.net.http.RequestHandle queueRequest(String, String, java.util.Map<java.lang.String,java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
273 method public android.net.http.RequestHandle queueRequest(String, android.net.compatibility.WebAddress, String, java.util.Map<java.lang.String,java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
274 method protected void queueRequest(android.net.http.Request, boolean);
275 method public android.net.http.RequestHandle queueSynchronousRequest(String, android.net.compatibility.WebAddress, String, java.util.Map<java.lang.String,java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
Paul Duffin03a95652017-07-14 13:48:42 +0100276 method public void requeueRequest(android.net.http.Request);
277 method public void shutdown();
278 method public void startTiming();
279 method public void stopTiming();
280 }
281
Paul Duffin03a95652017-07-14 13:48:42 +0100282}
283
284package com.android.internal.http.multipart {
285
286 public class ByteArrayPartSource implements com.android.internal.http.multipart.PartSource {
Tor Norbyebd65b232019-01-07 18:09:28 -0800287 ctor public ByteArrayPartSource(String, byte[]);
Paul Duffin03a95652017-07-14 13:48:42 +0100288 method public java.io.InputStream createInputStream();
Tor Norbyebd65b232019-01-07 18:09:28 -0800289 method public String getFileName();
Paul Duffin03a95652017-07-14 13:48:42 +0100290 method public long getLength();
291 }
292
293 public class FilePart extends com.android.internal.http.multipart.PartBase {
Tor Norbyebd65b232019-01-07 18:09:28 -0800294 ctor public FilePart(String, com.android.internal.http.multipart.PartSource, String, String);
295 ctor public FilePart(String, com.android.internal.http.multipart.PartSource);
296 ctor public FilePart(String, java.io.File) throws java.io.FileNotFoundException;
297 ctor public FilePart(String, java.io.File, String, String) throws java.io.FileNotFoundException;
298 ctor public FilePart(String, String, java.io.File) throws java.io.FileNotFoundException;
299 ctor public FilePart(String, String, java.io.File, String, String) throws java.io.FileNotFoundException;
Paul Duffin03a95652017-07-14 13:48:42 +0100300 method protected com.android.internal.http.multipart.PartSource getSource();
301 method protected long lengthOfData();
302 method protected void sendData(java.io.OutputStream) throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800303 field public static final String DEFAULT_CHARSET = "ISO-8859-1";
304 field public static final String DEFAULT_CONTENT_TYPE = "application/octet-stream";
305 field public static final String DEFAULT_TRANSFER_ENCODING = "binary";
306 field protected static final String FILE_NAME = "; filename=";
Paul Duffin03a95652017-07-14 13:48:42 +0100307 }
308
309 public class FilePartSource implements com.android.internal.http.multipart.PartSource {
310 ctor public FilePartSource(java.io.File) throws java.io.FileNotFoundException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800311 ctor public FilePartSource(String, java.io.File) throws java.io.FileNotFoundException;
Paul Duffin03a95652017-07-14 13:48:42 +0100312 method public java.io.InputStream createInputStream() throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800313 method public String getFileName();
Paul Duffin03a95652017-07-14 13:48:42 +0100314 method public long getLength();
315 }
316
317 public class MultipartEntity extends org.apache.http.entity.AbstractHttpEntity {
318 ctor public MultipartEntity(com.android.internal.http.multipart.Part[], org.apache.http.params.HttpParams);
319 ctor public MultipartEntity(com.android.internal.http.multipart.Part[]);
320 method public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
321 method public long getContentLength();
Tor Norbyebd65b232019-01-07 18:09:28 -0800322 method public org.apache.http.Header getContentType();
Paul Duffin03a95652017-07-14 13:48:42 +0100323 method protected byte[] getMultipartBoundary();
324 method public boolean isRepeatable();
325 method public boolean isStreaming();
326 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800327 field public static final String MULTIPART_BOUNDARY = "http.method.multipart.boundary";
Paul Duffin03a95652017-07-14 13:48:42 +0100328 field protected com.android.internal.http.multipart.Part[] parts;
329 }
330
331 public abstract class Part {
332 ctor public Part();
Tor Norbyebd65b232019-01-07 18:09:28 -0800333 method @Deprecated public static String getBoundary();
334 method public abstract String getCharSet();
335 method public abstract String getContentType();
Paul Duffin03a95652017-07-14 13:48:42 +0100336 method public static long getLengthOfParts(com.android.internal.http.multipart.Part[]) throws java.io.IOException;
337 method public static long getLengthOfParts(com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800338 method public abstract String getName();
Paul Duffin03a95652017-07-14 13:48:42 +0100339 method protected byte[] getPartBoundary();
Tor Norbyebd65b232019-01-07 18:09:28 -0800340 method public abstract String getTransferEncoding();
Paul Duffin03a95652017-07-14 13:48:42 +0100341 method public boolean isRepeatable();
342 method public long length() throws java.io.IOException;
343 method protected abstract long lengthOfData() throws java.io.IOException;
344 method public void send(java.io.OutputStream) throws java.io.IOException;
345 method protected void sendContentTypeHeader(java.io.OutputStream) throws java.io.IOException;
346 method protected abstract void sendData(java.io.OutputStream) throws java.io.IOException;
347 method protected void sendDispositionHeader(java.io.OutputStream) throws java.io.IOException;
348 method protected void sendEnd(java.io.OutputStream) throws java.io.IOException;
349 method protected void sendEndOfHeader(java.io.OutputStream) throws java.io.IOException;
350 method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[]) throws java.io.IOException;
351 method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
352 method protected void sendStart(java.io.OutputStream) throws java.io.IOException;
353 method protected void sendTransferEncodingHeader(java.io.OutputStream) throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800354 field @Deprecated protected static final String BOUNDARY = "----------------314159265358979323846";
355 field @Deprecated protected static final byte[] BOUNDARY_BYTES;
356 field protected static final String CHARSET = "; charset=";
Paul Duffin03a95652017-07-14 13:48:42 +0100357 field protected static final byte[] CHARSET_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800358 field protected static final String CONTENT_DISPOSITION = "Content-Disposition: form-data; name=";
Paul Duffin03a95652017-07-14 13:48:42 +0100359 field protected static final byte[] CONTENT_DISPOSITION_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800360 field protected static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding: ";
Paul Duffin03a95652017-07-14 13:48:42 +0100361 field protected static final byte[] CONTENT_TRANSFER_ENCODING_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800362 field protected static final String CONTENT_TYPE = "Content-Type: ";
Paul Duffin03a95652017-07-14 13:48:42 +0100363 field protected static final byte[] CONTENT_TYPE_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800364 field protected static final String CRLF = "\r\n";
Paul Duffin03a95652017-07-14 13:48:42 +0100365 field protected static final byte[] CRLF_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800366 field protected static final String EXTRA = "--";
Paul Duffin03a95652017-07-14 13:48:42 +0100367 field protected static final byte[] EXTRA_BYTES;
Tor Norbyebd65b232019-01-07 18:09:28 -0800368 field protected static final String QUOTE = "\"";
Paul Duffin03a95652017-07-14 13:48:42 +0100369 field protected static final byte[] QUOTE_BYTES;
370 }
371
372 public abstract class PartBase extends com.android.internal.http.multipart.Part {
Tor Norbyebd65b232019-01-07 18:09:28 -0800373 ctor public PartBase(String, String, String, String);
374 method public String getCharSet();
375 method public String getContentType();
376 method public String getName();
377 method public String getTransferEncoding();
378 method public void setCharSet(String);
379 method public void setContentType(String);
380 method public void setName(String);
381 method public void setTransferEncoding(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100382 }
383
Tor Norbyebd65b232019-01-07 18:09:28 -0800384 public interface PartSource {
385 method public java.io.InputStream createInputStream() throws java.io.IOException;
386 method public String getFileName();
387 method public long getLength();
Paul Duffin03a95652017-07-14 13:48:42 +0100388 }
389
390 public class StringPart extends com.android.internal.http.multipart.PartBase {
Tor Norbyebd65b232019-01-07 18:09:28 -0800391 ctor public StringPart(String, String, String);
392 ctor public StringPart(String, String);
Paul Duffin03a95652017-07-14 13:48:42 +0100393 method protected long lengthOfData();
394 method protected void sendData(java.io.OutputStream) throws java.io.IOException;
Tor Norbyebd65b232019-01-07 18:09:28 -0800395 field public static final String DEFAULT_CHARSET = "US-ASCII";
396 field public static final String DEFAULT_CONTENT_TYPE = "text/plain";
397 field public static final String DEFAULT_TRANSFER_ENCODING = "8bit";
Paul Duffin03a95652017-07-14 13:48:42 +0100398 }
399
400}
401
402package org.apache.commons.codec {
403
Tor Norbyebd65b232019-01-07 18:09:28 -0800404 @Deprecated public interface BinaryDecoder extends org.apache.commons.codec.Decoder {
405 method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100406 }
407
Tor Norbyebd65b232019-01-07 18:09:28 -0800408 @Deprecated public interface BinaryEncoder extends org.apache.commons.codec.Encoder {
409 method @Deprecated public byte[] encode(byte[]) throws org.apache.commons.codec.EncoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100410 }
411
Tor Norbyebd65b232019-01-07 18:09:28 -0800412 @Deprecated public interface Decoder {
413 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100414 }
415
Tor Norbyebd65b232019-01-07 18:09:28 -0800416 @Deprecated public class DecoderException extends java.lang.Exception {
417 ctor @Deprecated public DecoderException(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100418 }
419
Tor Norbyebd65b232019-01-07 18:09:28 -0800420 @Deprecated public interface Encoder {
421 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100422 }
423
Tor Norbyebd65b232019-01-07 18:09:28 -0800424 @Deprecated public class EncoderException extends java.lang.Exception {
425 ctor @Deprecated public EncoderException(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100426 }
427
Tor Norbyebd65b232019-01-07 18:09:28 -0800428 @Deprecated public interface StringDecoder extends org.apache.commons.codec.Decoder {
429 method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100430 }
431
Tor Norbyebd65b232019-01-07 18:09:28 -0800432 @Deprecated public interface StringEncoder extends org.apache.commons.codec.Encoder {
433 method @Deprecated public String encode(String) throws org.apache.commons.codec.EncoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100434 }
435
Tor Norbyebd65b232019-01-07 18:09:28 -0800436 @Deprecated public class StringEncoderComparator implements java.util.Comparator {
437 ctor @Deprecated public StringEncoderComparator();
438 ctor @Deprecated public StringEncoderComparator(org.apache.commons.codec.StringEncoder);
439 method @Deprecated public int compare(Object, Object);
Paul Duffin03a95652017-07-14 13:48:42 +0100440 }
441
442}
443
444package org.apache.commons.codec.binary {
445
Tor Norbyebd65b232019-01-07 18:09:28 -0800446 @Deprecated public class Base64 implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
447 ctor @Deprecated public Base64();
448 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
449 method @Deprecated public byte[] decode(byte[]);
450 method @Deprecated public static byte[] decodeBase64(byte[]);
451 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
452 method @Deprecated public byte[] encode(byte[]);
453 method @Deprecated public static byte[] encodeBase64(byte[]);
454 method @Deprecated public static byte[] encodeBase64(byte[], boolean);
455 method @Deprecated public static byte[] encodeBase64Chunked(byte[]);
456 method @Deprecated public static boolean isArrayByteBase64(byte[]);
Paul Duffin03a95652017-07-14 13:48:42 +0100457 }
458
Tor Norbyebd65b232019-01-07 18:09:28 -0800459 @Deprecated public class BinaryCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
460 ctor @Deprecated public BinaryCodec();
461 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
462 method @Deprecated public byte[] decode(byte[]);
463 method @Deprecated public byte[] encode(byte[]);
464 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
465 method @Deprecated public static byte[] fromAscii(char[]);
466 method @Deprecated public static byte[] fromAscii(byte[]);
467 method @Deprecated public static byte[] toAsciiBytes(byte[]);
468 method @Deprecated public static char[] toAsciiChars(byte[]);
469 method @Deprecated public static String toAsciiString(byte[]);
470 method @Deprecated public byte[] toByteArray(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100471 }
472
Tor Norbyebd65b232019-01-07 18:09:28 -0800473 @Deprecated public class Hex implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
474 ctor @Deprecated public Hex();
475 method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
476 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
477 method @Deprecated public static byte[] decodeHex(char[]) throws org.apache.commons.codec.DecoderException;
478 method @Deprecated public byte[] encode(byte[]);
479 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
480 method @Deprecated public static char[] encodeHex(byte[]);
481 method @Deprecated protected static int toDigit(char, int) throws org.apache.commons.codec.DecoderException;
Paul Duffin03a95652017-07-14 13:48:42 +0100482 }
483
484}
485
486package org.apache.commons.codec.language {
487
Tor Norbyebd65b232019-01-07 18:09:28 -0800488 @Deprecated public class DoubleMetaphone implements org.apache.commons.codec.StringEncoder {
489 ctor @Deprecated public DoubleMetaphone();
490 method @Deprecated protected char charAt(String, int);
491 method @Deprecated protected static boolean contains(String, int, int, String[]);
492 method @Deprecated public String doubleMetaphone(String);
493 method @Deprecated public String doubleMetaphone(String, boolean);
494 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
495 method @Deprecated public String encode(String);
496 method @Deprecated public int getMaxCodeLen();
497 method @Deprecated public boolean isDoubleMetaphoneEqual(String, String);
498 method @Deprecated public boolean isDoubleMetaphoneEqual(String, String, boolean);
499 method @Deprecated public void setMaxCodeLen(int);
500 field @Deprecated protected int maxCodeLen;
Paul Duffin03a95652017-07-14 13:48:42 +0100501 }
502
Tor Norbyebd65b232019-01-07 18:09:28 -0800503 @Deprecated public class DoubleMetaphone.DoubleMetaphoneResult {
504 ctor @Deprecated public DoubleMetaphone.DoubleMetaphoneResult(int);
505 method @Deprecated public void append(char);
506 method @Deprecated public void append(char, char);
507 method @Deprecated public void append(String);
508 method @Deprecated public void append(String, String);
509 method @Deprecated public void appendAlternate(char);
510 method @Deprecated public void appendAlternate(String);
511 method @Deprecated public void appendPrimary(char);
512 method @Deprecated public void appendPrimary(String);
513 method @Deprecated public String getAlternate();
514 method @Deprecated public String getPrimary();
515 method @Deprecated public boolean isComplete();
Paul Duffin03a95652017-07-14 13:48:42 +0100516 }
517
Tor Norbyebd65b232019-01-07 18:09:28 -0800518 @Deprecated public class Metaphone implements org.apache.commons.codec.StringEncoder {
519 ctor @Deprecated public Metaphone();
520 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
521 method @Deprecated public String encode(String);
522 method @Deprecated public int getMaxCodeLen();
523 method @Deprecated public boolean isMetaphoneEqual(String, String);
524 method @Deprecated public String metaphone(String);
525 method @Deprecated public void setMaxCodeLen(int);
Paul Duffin03a95652017-07-14 13:48:42 +0100526 }
527
Tor Norbyebd65b232019-01-07 18:09:28 -0800528 @Deprecated public class RefinedSoundex implements org.apache.commons.codec.StringEncoder {
529 ctor @Deprecated public RefinedSoundex();
530 ctor @Deprecated public RefinedSoundex(char[]);
531 method @Deprecated public int difference(String, String) throws org.apache.commons.codec.EncoderException;
532 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
533 method @Deprecated public String encode(String);
534 method @Deprecated public String soundex(String);
535 field @Deprecated public static final org.apache.commons.codec.language.RefinedSoundex US_ENGLISH;
536 field @Deprecated public static final char[] US_ENGLISH_MAPPING;
Paul Duffin03a95652017-07-14 13:48:42 +0100537 }
538
Tor Norbyebd65b232019-01-07 18:09:28 -0800539 @Deprecated public class Soundex implements org.apache.commons.codec.StringEncoder {
540 ctor @Deprecated public Soundex();
541 ctor @Deprecated public Soundex(char[]);
542 method @Deprecated public int difference(String, String) throws org.apache.commons.codec.EncoderException;
543 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
544 method @Deprecated public String encode(String);
545 method @Deprecated public int getMaxLength();
546 method @Deprecated public void setMaxLength(int);
547 method @Deprecated public String soundex(String);
548 field @Deprecated public static final org.apache.commons.codec.language.Soundex US_ENGLISH;
549 field @Deprecated public static final char[] US_ENGLISH_MAPPING;
550 field @Deprecated public static final String US_ENGLISH_MAPPING_STRING = "01230120022455012623010202";
Paul Duffin03a95652017-07-14 13:48:42 +0100551 }
552
553}
554
555package org.apache.commons.codec.net {
556
Tor Norbyebd65b232019-01-07 18:09:28 -0800557 @Deprecated public class BCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
558 ctor @Deprecated public BCodec();
559 ctor @Deprecated public BCodec(String);
560 method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
561 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
562 method @Deprecated protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
563 method @Deprecated protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
564 method @Deprecated public String encode(String, String) throws org.apache.commons.codec.EncoderException;
565 method @Deprecated public String encode(String) throws org.apache.commons.codec.EncoderException;
566 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
567 method @Deprecated public String getDefaultCharset();
568 method @Deprecated protected String getEncoding();
Paul Duffin03a95652017-07-14 13:48:42 +0100569 }
570
Tor Norbyebd65b232019-01-07 18:09:28 -0800571 @Deprecated public class QCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
572 ctor @Deprecated public QCodec();
573 ctor @Deprecated public QCodec(String);
574 method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
575 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
576 method @Deprecated protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
577 method @Deprecated protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
578 method @Deprecated public String encode(String, String) throws org.apache.commons.codec.EncoderException;
579 method @Deprecated public String encode(String) throws org.apache.commons.codec.EncoderException;
580 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
581 method @Deprecated public String getDefaultCharset();
582 method @Deprecated protected String getEncoding();
583 method @Deprecated public boolean isEncodeBlanks();
584 method @Deprecated public void setEncodeBlanks(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +0100585 }
586
Tor Norbyebd65b232019-01-07 18:09:28 -0800587 @Deprecated public class QuotedPrintableCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
588 ctor @Deprecated public QuotedPrintableCodec();
589 ctor @Deprecated public QuotedPrintableCodec(String);
590 method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
591 method @Deprecated public String decode(String, String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
592 method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
593 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
594 method @Deprecated public static final byte[] decodeQuotedPrintable(byte[]) throws org.apache.commons.codec.DecoderException;
595 method @Deprecated public byte[] encode(byte[]);
596 method @Deprecated public String encode(String) throws org.apache.commons.codec.EncoderException;
597 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
598 method @Deprecated public String encode(String, String) throws java.io.UnsupportedEncodingException;
599 method @Deprecated public static final byte[] encodeQuotedPrintable(java.util.BitSet, byte[]);
600 method @Deprecated public String getDefaultCharset();
Paul Duffin03a95652017-07-14 13:48:42 +0100601 }
602
Tor Norbyebd65b232019-01-07 18:09:28 -0800603 @Deprecated public class URLCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
604 ctor @Deprecated public URLCodec();
605 ctor @Deprecated public URLCodec(String);
606 method @Deprecated public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
607 method @Deprecated public String decode(String, String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
608 method @Deprecated public String decode(String) throws org.apache.commons.codec.DecoderException;
609 method @Deprecated public Object decode(Object) throws org.apache.commons.codec.DecoderException;
610 method @Deprecated public static final byte[] decodeUrl(byte[]) throws org.apache.commons.codec.DecoderException;
611 method @Deprecated public byte[] encode(byte[]);
612 method @Deprecated public String encode(String, String) throws java.io.UnsupportedEncodingException;
613 method @Deprecated public String encode(String) throws org.apache.commons.codec.EncoderException;
614 method @Deprecated public Object encode(Object) throws org.apache.commons.codec.EncoderException;
615 method @Deprecated public static final byte[] encodeUrl(java.util.BitSet, byte[]);
616 method @Deprecated public String getDefaultCharset();
617 method @Deprecated public String getEncoding();
618 field @Deprecated protected static byte ESCAPE_CHAR;
619 field @Deprecated protected static final java.util.BitSet WWW_FORM_URL;
620 field @Deprecated protected String charset;
Paul Duffin03a95652017-07-14 13:48:42 +0100621 }
622
623}
624
625package org.apache.commons.logging {
626
Tor Norbyebd65b232019-01-07 18:09:28 -0800627 @Deprecated public interface Log {
628 method @Deprecated public void debug(Object);
629 method @Deprecated public void debug(Object, Throwable);
630 method @Deprecated public void error(Object);
631 method @Deprecated public void error(Object, Throwable);
632 method @Deprecated public void fatal(Object);
633 method @Deprecated public void fatal(Object, Throwable);
634 method @Deprecated public void info(Object);
635 method @Deprecated public void info(Object, Throwable);
636 method @Deprecated public boolean isDebugEnabled();
637 method @Deprecated public boolean isErrorEnabled();
638 method @Deprecated public boolean isFatalEnabled();
639 method @Deprecated public boolean isInfoEnabled();
640 method @Deprecated public boolean isTraceEnabled();
641 method @Deprecated public boolean isWarnEnabled();
642 method @Deprecated public void trace(Object);
643 method @Deprecated public void trace(Object, Throwable);
644 method @Deprecated public void warn(Object);
645 method @Deprecated public void warn(Object, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +0100646 }
647
Tor Norbyebd65b232019-01-07 18:09:28 -0800648 @Deprecated public class LogConfigurationException extends java.lang.RuntimeException {
649 ctor @Deprecated public LogConfigurationException();
650 ctor @Deprecated public LogConfigurationException(String);
651 ctor @Deprecated public LogConfigurationException(Throwable);
652 ctor @Deprecated public LogConfigurationException(String, Throwable);
653 field @Deprecated protected Throwable cause;
Paul Duffin03a95652017-07-14 13:48:42 +0100654 }
655
Tor Norbyebd65b232019-01-07 18:09:28 -0800656 @Deprecated public abstract class LogFactory {
657 ctor @Deprecated protected LogFactory();
658 method @Deprecated protected static Object createFactory(String, ClassLoader);
659 method @Deprecated protected static ClassLoader directGetContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
660 method @Deprecated public abstract Object getAttribute(String);
661 method @Deprecated public abstract String[] getAttributeNames();
662 method @Deprecated protected static ClassLoader getClassLoader(Class);
663 method @Deprecated protected static ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
664 method @Deprecated public static org.apache.commons.logging.LogFactory getFactory() throws org.apache.commons.logging.LogConfigurationException;
665 method @Deprecated public abstract org.apache.commons.logging.Log getInstance(Class) throws org.apache.commons.logging.LogConfigurationException;
666 method @Deprecated public abstract org.apache.commons.logging.Log getInstance(String) throws org.apache.commons.logging.LogConfigurationException;
667 method @Deprecated public static org.apache.commons.logging.Log getLog(Class) throws org.apache.commons.logging.LogConfigurationException;
668 method @Deprecated public static org.apache.commons.logging.Log getLog(String) throws org.apache.commons.logging.LogConfigurationException;
669 method @Deprecated protected static boolean isDiagnosticsEnabled();
670 method @Deprecated protected static final void logRawDiagnostic(String);
671 method @Deprecated protected static org.apache.commons.logging.LogFactory newFactory(String, ClassLoader, ClassLoader) throws org.apache.commons.logging.LogConfigurationException;
672 method @Deprecated protected static org.apache.commons.logging.LogFactory newFactory(String, ClassLoader);
673 method @Deprecated public static String objectId(Object);
674 method @Deprecated public abstract void release();
675 method @Deprecated public static void release(ClassLoader);
676 method @Deprecated public static void releaseAll();
677 method @Deprecated public abstract void removeAttribute(String);
678 method @Deprecated public abstract void setAttribute(String, Object);
679 field @Deprecated public static final String DIAGNOSTICS_DEST_PROPERTY = "org.apache.commons.logging.diagnostics.dest";
680 field @Deprecated public static final String FACTORY_DEFAULT = "org.apache.commons.logging.impl.LogFactoryImpl";
681 field @Deprecated public static final String FACTORY_PROPERTIES = "commons-logging.properties";
682 field @Deprecated public static final String FACTORY_PROPERTY = "org.apache.commons.logging.LogFactory";
683 field @Deprecated public static final String HASHTABLE_IMPLEMENTATION_PROPERTY = "org.apache.commons.logging.LogFactory.HashtableImpl";
684 field @Deprecated public static final String PRIORITY_KEY = "priority";
685 field @Deprecated protected static final String SERVICE_ID = "META-INF/services/org.apache.commons.logging.LogFactory";
686 field @Deprecated public static final String TCCL_KEY = "use_tccl";
687 field @Deprecated protected static java.util.Hashtable factories;
688 field @Deprecated protected static org.apache.commons.logging.LogFactory nullClassLoaderFactory;
Paul Duffin03a95652017-07-14 13:48:42 +0100689 }
690
Tor Norbyebd65b232019-01-07 18:09:28 -0800691 @Deprecated public class LogSource {
692 method @Deprecated public static org.apache.commons.logging.Log getInstance(String);
693 method @Deprecated public static org.apache.commons.logging.Log getInstance(Class);
694 method @Deprecated public static String[] getLogNames();
695 method @Deprecated public static org.apache.commons.logging.Log makeNewLogInstance(String);
696 method @Deprecated public static void setLogImplementation(String) throws java.lang.ClassNotFoundException, java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
697 method @Deprecated public static void setLogImplementation(Class) throws java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
698 field @Deprecated protected static boolean jdk14IsAvailable;
699 field @Deprecated protected static boolean log4jIsAvailable;
700 field @Deprecated protected static java.lang.reflect.Constructor logImplctor;
701 field @Deprecated protected static java.util.Hashtable logs;
Paul Duffin03a95652017-07-14 13:48:42 +0100702 }
703
704}
705
706package org.apache.commons.logging.impl {
707
Tor Norbyebd65b232019-01-07 18:09:28 -0800708 @Deprecated public class Jdk14Logger implements org.apache.commons.logging.Log java.io.Serializable {
709 ctor @Deprecated public Jdk14Logger(String);
710 method @Deprecated public void debug(Object);
711 method @Deprecated public void debug(Object, Throwable);
712 method @Deprecated public void error(Object);
713 method @Deprecated public void error(Object, Throwable);
714 method @Deprecated public void fatal(Object);
715 method @Deprecated public void fatal(Object, Throwable);
716 method @Deprecated public java.util.logging.Logger getLogger();
717 method @Deprecated public void info(Object);
718 method @Deprecated public void info(Object, Throwable);
719 method @Deprecated public boolean isDebugEnabled();
720 method @Deprecated public boolean isErrorEnabled();
721 method @Deprecated public boolean isFatalEnabled();
722 method @Deprecated public boolean isInfoEnabled();
723 method @Deprecated public boolean isTraceEnabled();
724 method @Deprecated public boolean isWarnEnabled();
725 method @Deprecated public void trace(Object);
726 method @Deprecated public void trace(Object, Throwable);
727 method @Deprecated public void warn(Object);
728 method @Deprecated public void warn(Object, Throwable);
729 field @Deprecated protected static final java.util.logging.Level dummyLevel;
730 field @Deprecated protected transient java.util.logging.Logger logger;
731 field @Deprecated protected String name;
Paul Duffin03a95652017-07-14 13:48:42 +0100732 }
733
Tor Norbyebd65b232019-01-07 18:09:28 -0800734 @Deprecated public class LogFactoryImpl extends org.apache.commons.logging.LogFactory {
735 ctor @Deprecated public LogFactoryImpl();
736 method @Deprecated public Object getAttribute(String);
737 method @Deprecated public String[] getAttributeNames();
738 method @Deprecated protected static ClassLoader getClassLoader(Class);
739 method @Deprecated protected static ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
740 method @Deprecated public org.apache.commons.logging.Log getInstance(Class) throws org.apache.commons.logging.LogConfigurationException;
741 method @Deprecated public org.apache.commons.logging.Log getInstance(String) throws org.apache.commons.logging.LogConfigurationException;
742 method @Deprecated protected String getLogClassName();
743 method @Deprecated protected java.lang.reflect.Constructor getLogConstructor() throws org.apache.commons.logging.LogConfigurationException;
744 method @Deprecated protected static boolean isDiagnosticsEnabled();
745 method @Deprecated protected boolean isJdk13LumberjackAvailable();
746 method @Deprecated protected boolean isJdk14Available();
747 method @Deprecated protected boolean isLog4JAvailable();
748 method @Deprecated protected void logDiagnostic(String);
749 method @Deprecated protected org.apache.commons.logging.Log newInstance(String) throws org.apache.commons.logging.LogConfigurationException;
750 method @Deprecated public void release();
751 method @Deprecated public void removeAttribute(String);
752 method @Deprecated public void setAttribute(String, Object);
753 field @Deprecated public static final String ALLOW_FLAWED_CONTEXT_PROPERTY = "org.apache.commons.logging.Log.allowFlawedContext";
754 field @Deprecated public static final String ALLOW_FLAWED_DISCOVERY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedDiscovery";
755 field @Deprecated public static final String ALLOW_FLAWED_HIERARCHY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedHierarchy";
756 field @Deprecated public static final String LOG_PROPERTY = "org.apache.commons.logging.Log";
757 field @Deprecated protected static final String LOG_PROPERTY_OLD = "org.apache.commons.logging.log";
758 field @Deprecated protected java.util.Hashtable attributes;
759 field @Deprecated protected java.util.Hashtable instances;
760 field @Deprecated protected java.lang.reflect.Constructor logConstructor;
761 field @Deprecated protected Class[] logConstructorSignature;
762 field @Deprecated protected java.lang.reflect.Method logMethod;
763 field @Deprecated protected Class[] logMethodSignature;
Paul Duffin03a95652017-07-14 13:48:42 +0100764 }
765
Tor Norbyebd65b232019-01-07 18:09:28 -0800766 @Deprecated public class NoOpLog implements org.apache.commons.logging.Log java.io.Serializable {
767 ctor @Deprecated public NoOpLog();
768 ctor @Deprecated public NoOpLog(String);
769 method @Deprecated public void debug(Object);
770 method @Deprecated public void debug(Object, Throwable);
771 method @Deprecated public void error(Object);
772 method @Deprecated public void error(Object, Throwable);
773 method @Deprecated public void fatal(Object);
774 method @Deprecated public void fatal(Object, Throwable);
775 method @Deprecated public void info(Object);
776 method @Deprecated public void info(Object, Throwable);
777 method @Deprecated public final boolean isDebugEnabled();
778 method @Deprecated public final boolean isErrorEnabled();
779 method @Deprecated public final boolean isFatalEnabled();
780 method @Deprecated public final boolean isInfoEnabled();
781 method @Deprecated public final boolean isTraceEnabled();
782 method @Deprecated public final boolean isWarnEnabled();
783 method @Deprecated public void trace(Object);
784 method @Deprecated public void trace(Object, Throwable);
785 method @Deprecated public void warn(Object);
786 method @Deprecated public void warn(Object, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +0100787 }
788
Tor Norbyebd65b232019-01-07 18:09:28 -0800789 @Deprecated public class SimpleLog implements org.apache.commons.logging.Log java.io.Serializable {
790 ctor @Deprecated public SimpleLog(String);
791 method @Deprecated public final void debug(Object);
792 method @Deprecated public final void debug(Object, Throwable);
793 method @Deprecated public final void error(Object);
794 method @Deprecated public final void error(Object, Throwable);
795 method @Deprecated public final void fatal(Object);
796 method @Deprecated public final void fatal(Object, Throwable);
797 method @Deprecated public int getLevel();
798 method @Deprecated public final void info(Object);
799 method @Deprecated public final void info(Object, Throwable);
800 method @Deprecated public final boolean isDebugEnabled();
801 method @Deprecated public final boolean isErrorEnabled();
802 method @Deprecated public final boolean isFatalEnabled();
803 method @Deprecated public final boolean isInfoEnabled();
804 method @Deprecated protected boolean isLevelEnabled(int);
805 method @Deprecated public final boolean isTraceEnabled();
806 method @Deprecated public final boolean isWarnEnabled();
807 method @Deprecated protected void log(int, Object, Throwable);
808 method @Deprecated public void setLevel(int);
809 method @Deprecated public final void trace(Object);
810 method @Deprecated public final void trace(Object, Throwable);
811 method @Deprecated public final void warn(Object);
812 method @Deprecated public final void warn(Object, Throwable);
813 method @Deprecated protected void write(StringBuffer);
814 field @Deprecated protected static final String DEFAULT_DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss:SSS zzz";
815 field @Deprecated public static final int LOG_LEVEL_ALL = 0; // 0x0
816 field @Deprecated public static final int LOG_LEVEL_DEBUG = 2; // 0x2
817 field @Deprecated public static final int LOG_LEVEL_ERROR = 5; // 0x5
818 field @Deprecated public static final int LOG_LEVEL_FATAL = 6; // 0x6
819 field @Deprecated public static final int LOG_LEVEL_INFO = 3; // 0x3
820 field @Deprecated public static final int LOG_LEVEL_OFF = 7; // 0x7
821 field @Deprecated public static final int LOG_LEVEL_TRACE = 1; // 0x1
822 field @Deprecated public static final int LOG_LEVEL_WARN = 4; // 0x4
823 field @Deprecated protected int currentLogLevel;
824 field @Deprecated protected static java.text.DateFormat dateFormatter;
825 field @Deprecated protected static String dateTimeFormat;
826 field @Deprecated protected String logName;
827 field @Deprecated protected static boolean showDateTime;
828 field @Deprecated protected static boolean showLogName;
829 field @Deprecated protected static boolean showShortName;
830 field @Deprecated protected static final java.util.Properties simpleLogProps;
831 field @Deprecated protected static final String systemPrefix = "org.apache.commons.logging.simplelog.";
Paul Duffin03a95652017-07-14 13:48:42 +0100832 }
833
Tor Norbyebd65b232019-01-07 18:09:28 -0800834 @Deprecated public final class WeakHashtable extends java.util.Hashtable {
835 ctor @Deprecated public WeakHashtable();
836 method @Deprecated public java.util.Enumeration elements();
837 method @Deprecated public java.util.Set entrySet();
838 method @Deprecated public Object get(Object);
839 method @Deprecated public java.util.Set keySet();
840 method @Deprecated public java.util.Enumeration keys();
841 method @Deprecated public Object put(Object, Object);
842 method @Deprecated public void putAll(java.util.Map);
843 method @Deprecated public Object remove(Object);
844 method @Deprecated public java.util.Collection values();
Paul Duffin03a95652017-07-14 13:48:42 +0100845 }
846
847}
848
849package org.apache.http {
850
Tor Norbyebd65b232019-01-07 18:09:28 -0800851 @Deprecated public class ConnectionClosedException extends java.io.IOException {
852 ctor @Deprecated public ConnectionClosedException(String);
Paul Duffin03a95652017-07-14 13:48:42 +0100853 }
854
Tor Norbyebd65b232019-01-07 18:09:28 -0800855 @Deprecated public interface ConnectionReuseStrategy {
856 method @Deprecated public boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +0100857 }
858
Tor Norbyebd65b232019-01-07 18:09:28 -0800859 @Deprecated public interface FormattedHeader extends org.apache.http.Header {
860 method @Deprecated public org.apache.http.util.CharArrayBuffer getBuffer();
861 method @Deprecated public int getValuePos();
Paul Duffin03a95652017-07-14 13:48:42 +0100862 }
863
Tor Norbyebd65b232019-01-07 18:09:28 -0800864 @Deprecated public interface Header {
865 method @Deprecated public org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
866 method @Deprecated public String getName();
867 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +0100868 }
869
Tor Norbyebd65b232019-01-07 18:09:28 -0800870 @Deprecated public interface HeaderElement {
871 method @Deprecated public String getName();
872 method @Deprecated public org.apache.http.NameValuePair getParameter(int);
873 method @Deprecated public org.apache.http.NameValuePair getParameterByName(String);
874 method @Deprecated public int getParameterCount();
875 method @Deprecated public org.apache.http.NameValuePair[] getParameters();
876 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +0100877 }
878
Tor Norbyebd65b232019-01-07 18:09:28 -0800879 @Deprecated public interface HeaderElementIterator extends java.util.Iterator {
880 method @Deprecated public org.apache.http.HeaderElement nextElement();
Paul Duffin03a95652017-07-14 13:48:42 +0100881 }
882
Tor Norbyebd65b232019-01-07 18:09:28 -0800883 @Deprecated public interface HeaderIterator extends java.util.Iterator {
884 method @Deprecated public org.apache.http.Header nextHeader();
Paul Duffin03a95652017-07-14 13:48:42 +0100885 }
886
Tor Norbyebd65b232019-01-07 18:09:28 -0800887 @Deprecated public interface HttpClientConnection extends org.apache.http.HttpConnection {
888 method @Deprecated public void flush() throws java.io.IOException;
889 method @Deprecated public boolean isResponseAvailable(int) throws java.io.IOException;
890 method @Deprecated public void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
891 method @Deprecated public org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
892 method @Deprecated public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
893 method @Deprecated public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +0100894 }
895
Tor Norbyebd65b232019-01-07 18:09:28 -0800896 @Deprecated public interface HttpConnection {
897 method @Deprecated public void close() throws java.io.IOException;
898 method @Deprecated public org.apache.http.HttpConnectionMetrics getMetrics();
899 method @Deprecated public int getSocketTimeout();
900 method @Deprecated public boolean isOpen();
901 method @Deprecated public boolean isStale();
902 method @Deprecated public void setSocketTimeout(int);
903 method @Deprecated public void shutdown() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +0100904 }
905
Tor Norbyebd65b232019-01-07 18:09:28 -0800906 @Deprecated public interface HttpConnectionMetrics {
907 method @Deprecated public Object getMetric(String);
908 method @Deprecated public long getReceivedBytesCount();
909 method @Deprecated public long getRequestCount();
910 method @Deprecated public long getResponseCount();
911 method @Deprecated public long getSentBytesCount();
912 method @Deprecated public void reset();
Paul Duffin03a95652017-07-14 13:48:42 +0100913 }
914
Tor Norbyebd65b232019-01-07 18:09:28 -0800915 @Deprecated public interface HttpEntity {
916 method @Deprecated public void consumeContent() throws java.io.IOException;
917 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
918 method @Deprecated public org.apache.http.Header getContentEncoding();
919 method @Deprecated public long getContentLength();
920 method @Deprecated public org.apache.http.Header getContentType();
921 method @Deprecated public boolean isChunked();
922 method @Deprecated public boolean isRepeatable();
923 method @Deprecated public boolean isStreaming();
924 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +0100925 }
926
Tor Norbyebd65b232019-01-07 18:09:28 -0800927 @Deprecated public interface HttpEntityEnclosingRequest extends org.apache.http.HttpRequest {
928 method @Deprecated public boolean expectContinue();
929 method @Deprecated public org.apache.http.HttpEntity getEntity();
930 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
Paul Duffin03a95652017-07-14 13:48:42 +0100931 }
932
Tor Norbyebd65b232019-01-07 18:09:28 -0800933 @Deprecated public class HttpException extends java.lang.Exception {
934 ctor @Deprecated public HttpException();
935 ctor @Deprecated public HttpException(String);
936 ctor @Deprecated public HttpException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +0100937 }
938
Tor Norbyebd65b232019-01-07 18:09:28 -0800939 @Deprecated public final class HttpHost implements java.lang.Cloneable {
940 ctor @Deprecated public HttpHost(String, int, String);
941 ctor @Deprecated public HttpHost(String, int);
942 ctor @Deprecated public HttpHost(String);
943 ctor @Deprecated public HttpHost(org.apache.http.HttpHost);
944 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
945 method @Deprecated public String getHostName();
946 method @Deprecated public int getPort();
947 method @Deprecated public String getSchemeName();
948 method @Deprecated public String toHostString();
949 method @Deprecated public String toURI();
950 field @Deprecated public static final String DEFAULT_SCHEME_NAME = "http";
951 field @Deprecated protected final String hostname;
952 field @Deprecated protected final String lcHostname;
953 field @Deprecated protected final int port;
954 field @Deprecated protected final String schemeName;
Paul Duffin03a95652017-07-14 13:48:42 +0100955 }
956
Tor Norbyebd65b232019-01-07 18:09:28 -0800957 @Deprecated public interface HttpInetConnection extends org.apache.http.HttpConnection {
958 method @Deprecated public java.net.InetAddress getLocalAddress();
959 method @Deprecated public int getLocalPort();
960 method @Deprecated public java.net.InetAddress getRemoteAddress();
961 method @Deprecated public int getRemotePort();
Paul Duffin03a95652017-07-14 13:48:42 +0100962 }
963
Tor Norbyebd65b232019-01-07 18:09:28 -0800964 @Deprecated public interface HttpMessage {
965 method @Deprecated public void addHeader(org.apache.http.Header);
966 method @Deprecated public void addHeader(String, String);
967 method @Deprecated public boolean containsHeader(String);
968 method @Deprecated public org.apache.http.Header[] getAllHeaders();
969 method @Deprecated public org.apache.http.Header getFirstHeader(String);
970 method @Deprecated public org.apache.http.Header[] getHeaders(String);
971 method @Deprecated public org.apache.http.Header getLastHeader(String);
972 method @Deprecated public org.apache.http.params.HttpParams getParams();
973 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
974 method @Deprecated public org.apache.http.HeaderIterator headerIterator();
975 method @Deprecated public org.apache.http.HeaderIterator headerIterator(String);
976 method @Deprecated public void removeHeader(org.apache.http.Header);
977 method @Deprecated public void removeHeaders(String);
978 method @Deprecated public void setHeader(org.apache.http.Header);
979 method @Deprecated public void setHeader(String, String);
980 method @Deprecated public void setHeaders(org.apache.http.Header[]);
981 method @Deprecated public void setParams(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +0100982 }
983
Tor Norbyebd65b232019-01-07 18:09:28 -0800984 @Deprecated public interface HttpRequest extends org.apache.http.HttpMessage {
985 method @Deprecated public org.apache.http.RequestLine getRequestLine();
Paul Duffin03a95652017-07-14 13:48:42 +0100986 }
987
Tor Norbyebd65b232019-01-07 18:09:28 -0800988 @Deprecated public interface HttpRequestFactory {
989 method @Deprecated public org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine) throws org.apache.http.MethodNotSupportedException;
990 method @Deprecated public org.apache.http.HttpRequest newHttpRequest(String, String) throws org.apache.http.MethodNotSupportedException;
Paul Duffin03a95652017-07-14 13:48:42 +0100991 }
992
Tor Norbyebd65b232019-01-07 18:09:28 -0800993 @Deprecated public interface HttpRequestInterceptor {
994 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +0100995 }
996
Tor Norbyebd65b232019-01-07 18:09:28 -0800997 @Deprecated public interface HttpResponse extends org.apache.http.HttpMessage {
998 method @Deprecated public org.apache.http.HttpEntity getEntity();
999 method @Deprecated public java.util.Locale getLocale();
1000 method @Deprecated public org.apache.http.StatusLine getStatusLine();
1001 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
1002 method @Deprecated public void setLocale(java.util.Locale);
1003 method @Deprecated public void setReasonPhrase(String) throws java.lang.IllegalStateException;
1004 method @Deprecated public void setStatusCode(int) throws java.lang.IllegalStateException;
1005 method @Deprecated public void setStatusLine(org.apache.http.StatusLine);
1006 method @Deprecated public void setStatusLine(org.apache.http.ProtocolVersion, int);
1007 method @Deprecated public void setStatusLine(org.apache.http.ProtocolVersion, int, String);
Paul Duffin03a95652017-07-14 13:48:42 +01001008 }
1009
Tor Norbyebd65b232019-01-07 18:09:28 -08001010 @Deprecated public interface HttpResponseFactory {
1011 method @Deprecated public org.apache.http.HttpResponse newHttpResponse(org.apache.http.ProtocolVersion, int, org.apache.http.protocol.HttpContext);
1012 method @Deprecated public org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01001013 }
1014
Tor Norbyebd65b232019-01-07 18:09:28 -08001015 @Deprecated public interface HttpResponseInterceptor {
1016 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001017 }
1018
Tor Norbyebd65b232019-01-07 18:09:28 -08001019 @Deprecated public interface HttpServerConnection extends org.apache.http.HttpConnection {
1020 method @Deprecated public void flush() throws java.io.IOException;
1021 method @Deprecated public void receiveRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
1022 method @Deprecated public org.apache.http.HttpRequest receiveRequestHeader() throws org.apache.http.HttpException, java.io.IOException;
1023 method @Deprecated public void sendResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
1024 method @Deprecated public void sendResponseHeader(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001025 }
1026
Tor Norbyebd65b232019-01-07 18:09:28 -08001027 @Deprecated public interface HttpStatus {
1028 field @Deprecated public static final int SC_ACCEPTED = 202; // 0xca
1029 field @Deprecated public static final int SC_BAD_GATEWAY = 502; // 0x1f6
1030 field @Deprecated public static final int SC_BAD_REQUEST = 400; // 0x190
1031 field @Deprecated public static final int SC_CONFLICT = 409; // 0x199
1032 field @Deprecated public static final int SC_CONTINUE = 100; // 0x64
1033 field @Deprecated public static final int SC_CREATED = 201; // 0xc9
1034 field @Deprecated public static final int SC_EXPECTATION_FAILED = 417; // 0x1a1
1035 field @Deprecated public static final int SC_FAILED_DEPENDENCY = 424; // 0x1a8
1036 field @Deprecated public static final int SC_FORBIDDEN = 403; // 0x193
1037 field @Deprecated public static final int SC_GATEWAY_TIMEOUT = 504; // 0x1f8
1038 field @Deprecated public static final int SC_GONE = 410; // 0x19a
1039 field @Deprecated public static final int SC_HTTP_VERSION_NOT_SUPPORTED = 505; // 0x1f9
1040 field @Deprecated public static final int SC_INSUFFICIENT_SPACE_ON_RESOURCE = 419; // 0x1a3
1041 field @Deprecated public static final int SC_INSUFFICIENT_STORAGE = 507; // 0x1fb
1042 field @Deprecated public static final int SC_INTERNAL_SERVER_ERROR = 500; // 0x1f4
1043 field @Deprecated public static final int SC_LENGTH_REQUIRED = 411; // 0x19b
1044 field @Deprecated public static final int SC_LOCKED = 423; // 0x1a7
1045 field @Deprecated public static final int SC_METHOD_FAILURE = 420; // 0x1a4
1046 field @Deprecated public static final int SC_METHOD_NOT_ALLOWED = 405; // 0x195
1047 field @Deprecated public static final int SC_MOVED_PERMANENTLY = 301; // 0x12d
1048 field @Deprecated public static final int SC_MOVED_TEMPORARILY = 302; // 0x12e
1049 field @Deprecated public static final int SC_MULTIPLE_CHOICES = 300; // 0x12c
1050 field @Deprecated public static final int SC_MULTI_STATUS = 207; // 0xcf
1051 field @Deprecated public static final int SC_NON_AUTHORITATIVE_INFORMATION = 203; // 0xcb
1052 field @Deprecated public static final int SC_NOT_ACCEPTABLE = 406; // 0x196
1053 field @Deprecated public static final int SC_NOT_FOUND = 404; // 0x194
1054 field @Deprecated public static final int SC_NOT_IMPLEMENTED = 501; // 0x1f5
1055 field @Deprecated public static final int SC_NOT_MODIFIED = 304; // 0x130
1056 field @Deprecated public static final int SC_NO_CONTENT = 204; // 0xcc
1057 field @Deprecated public static final int SC_OK = 200; // 0xc8
1058 field @Deprecated public static final int SC_PARTIAL_CONTENT = 206; // 0xce
1059 field @Deprecated public static final int SC_PAYMENT_REQUIRED = 402; // 0x192
1060 field @Deprecated public static final int SC_PRECONDITION_FAILED = 412; // 0x19c
1061 field @Deprecated public static final int SC_PROCESSING = 102; // 0x66
1062 field @Deprecated public static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407; // 0x197
1063 field @Deprecated public static final int SC_REQUESTED_RANGE_NOT_SATISFIABLE = 416; // 0x1a0
1064 field @Deprecated public static final int SC_REQUEST_TIMEOUT = 408; // 0x198
1065 field @Deprecated public static final int SC_REQUEST_TOO_LONG = 413; // 0x19d
1066 field @Deprecated public static final int SC_REQUEST_URI_TOO_LONG = 414; // 0x19e
1067 field @Deprecated public static final int SC_RESET_CONTENT = 205; // 0xcd
1068 field @Deprecated public static final int SC_SEE_OTHER = 303; // 0x12f
1069 field @Deprecated public static final int SC_SERVICE_UNAVAILABLE = 503; // 0x1f7
1070 field @Deprecated public static final int SC_SWITCHING_PROTOCOLS = 101; // 0x65
1071 field @Deprecated public static final int SC_TEMPORARY_REDIRECT = 307; // 0x133
1072 field @Deprecated public static final int SC_UNAUTHORIZED = 401; // 0x191
1073 field @Deprecated public static final int SC_UNPROCESSABLE_ENTITY = 422; // 0x1a6
1074 field @Deprecated public static final int SC_UNSUPPORTED_MEDIA_TYPE = 415; // 0x19f
1075 field @Deprecated public static final int SC_USE_PROXY = 305; // 0x131
Paul Duffin03a95652017-07-14 13:48:42 +01001076 }
1077
Tor Norbyebd65b232019-01-07 18:09:28 -08001078 @Deprecated public final class HttpVersion extends org.apache.http.ProtocolVersion implements java.io.Serializable {
1079 ctor @Deprecated public HttpVersion(int, int);
1080 field @Deprecated public static final String HTTP = "HTTP";
1081 field @Deprecated public static final org.apache.http.HttpVersion HTTP_0_9;
1082 field @Deprecated public static final org.apache.http.HttpVersion HTTP_1_0;
1083 field @Deprecated public static final org.apache.http.HttpVersion HTTP_1_1;
Paul Duffin03a95652017-07-14 13:48:42 +01001084 }
1085
Tor Norbyebd65b232019-01-07 18:09:28 -08001086 @Deprecated public class MalformedChunkCodingException extends java.io.IOException {
1087 ctor @Deprecated public MalformedChunkCodingException();
1088 ctor @Deprecated public MalformedChunkCodingException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001089 }
1090
Tor Norbyebd65b232019-01-07 18:09:28 -08001091 @Deprecated public class MethodNotSupportedException extends org.apache.http.HttpException {
1092 ctor @Deprecated public MethodNotSupportedException(String);
1093 ctor @Deprecated public MethodNotSupportedException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001094 }
1095
Tor Norbyebd65b232019-01-07 18:09:28 -08001096 @Deprecated public interface NameValuePair {
1097 method @Deprecated public String getName();
1098 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +01001099 }
1100
Tor Norbyebd65b232019-01-07 18:09:28 -08001101 @Deprecated public class NoHttpResponseException extends java.io.IOException {
1102 ctor @Deprecated public NoHttpResponseException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001103 }
1104
Tor Norbyebd65b232019-01-07 18:09:28 -08001105 @Deprecated public class ParseException extends java.lang.RuntimeException {
1106 ctor @Deprecated public ParseException();
1107 ctor @Deprecated public ParseException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001108 }
1109
Tor Norbyebd65b232019-01-07 18:09:28 -08001110 @Deprecated public class ProtocolException extends org.apache.http.HttpException {
1111 ctor @Deprecated public ProtocolException();
1112 ctor @Deprecated public ProtocolException(String);
1113 ctor @Deprecated public ProtocolException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001114 }
1115
Tor Norbyebd65b232019-01-07 18:09:28 -08001116 @Deprecated public class ProtocolVersion implements java.lang.Cloneable java.io.Serializable {
1117 ctor @Deprecated public ProtocolVersion(String, int, int);
1118 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
1119 method @Deprecated public int compareToVersion(org.apache.http.ProtocolVersion);
1120 method @Deprecated public final boolean equals(Object);
1121 method @Deprecated public org.apache.http.ProtocolVersion forVersion(int, int);
1122 method @Deprecated public final int getMajor();
1123 method @Deprecated public final int getMinor();
1124 method @Deprecated public final String getProtocol();
1125 method @Deprecated public final boolean greaterEquals(org.apache.http.ProtocolVersion);
1126 method @Deprecated public final int hashCode();
1127 method @Deprecated public boolean isComparable(org.apache.http.ProtocolVersion);
1128 method @Deprecated public final boolean lessEquals(org.apache.http.ProtocolVersion);
1129 field @Deprecated protected final int major;
1130 field @Deprecated protected final int minor;
1131 field @Deprecated protected final String protocol;
Paul Duffin03a95652017-07-14 13:48:42 +01001132 }
1133
Tor Norbyebd65b232019-01-07 18:09:28 -08001134 @Deprecated public interface ReasonPhraseCatalog {
1135 method @Deprecated public String getReason(int, java.util.Locale);
Paul Duffin03a95652017-07-14 13:48:42 +01001136 }
1137
Tor Norbyebd65b232019-01-07 18:09:28 -08001138 @Deprecated public interface RequestLine {
1139 method @Deprecated public String getMethod();
1140 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
1141 method @Deprecated public String getUri();
Paul Duffin03a95652017-07-14 13:48:42 +01001142 }
1143
Tor Norbyebd65b232019-01-07 18:09:28 -08001144 @Deprecated public interface StatusLine {
1145 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
1146 method @Deprecated public String getReasonPhrase();
1147 method @Deprecated public int getStatusCode();
Paul Duffin03a95652017-07-14 13:48:42 +01001148 }
1149
Tor Norbyebd65b232019-01-07 18:09:28 -08001150 @Deprecated public interface TokenIterator extends java.util.Iterator {
1151 method @Deprecated public String nextToken();
Paul Duffin03a95652017-07-14 13:48:42 +01001152 }
1153
Tor Norbyebd65b232019-01-07 18:09:28 -08001154 @Deprecated public class UnsupportedHttpVersionException extends org.apache.http.ProtocolException {
1155 ctor @Deprecated public UnsupportedHttpVersionException();
1156 ctor @Deprecated public UnsupportedHttpVersionException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001157 }
1158
1159}
1160
1161package org.apache.http.auth {
1162
Tor Norbyebd65b232019-01-07 18:09:28 -08001163 @Deprecated public final class AUTH {
1164 field @Deprecated public static final String PROXY_AUTH = "Proxy-Authenticate";
1165 field @Deprecated public static final String PROXY_AUTH_RESP = "Proxy-Authorization";
1166 field @Deprecated public static final String WWW_AUTH = "WWW-Authenticate";
1167 field @Deprecated public static final String WWW_AUTH_RESP = "Authorization";
Paul Duffin03a95652017-07-14 13:48:42 +01001168 }
1169
Tor Norbyebd65b232019-01-07 18:09:28 -08001170 @Deprecated public interface AuthScheme {
1171 method @Deprecated public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
1172 method @Deprecated public String getParameter(String);
1173 method @Deprecated public String getRealm();
1174 method @Deprecated public String getSchemeName();
1175 method @Deprecated public boolean isComplete();
1176 method @Deprecated public boolean isConnectionBased();
1177 method @Deprecated public void processChallenge(org.apache.http.Header) throws org.apache.http.auth.MalformedChallengeException;
Paul Duffin03a95652017-07-14 13:48:42 +01001178 }
1179
Tor Norbyebd65b232019-01-07 18:09:28 -08001180 @Deprecated public interface AuthSchemeFactory {
1181 method @Deprecated public org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01001182 }
1183
Tor Norbyebd65b232019-01-07 18:09:28 -08001184 @Deprecated public final class AuthSchemeRegistry {
1185 ctor @Deprecated public AuthSchemeRegistry();
1186 method @Deprecated public org.apache.http.auth.AuthScheme getAuthScheme(String, org.apache.http.params.HttpParams) throws java.lang.IllegalStateException;
1187 method @Deprecated public java.util.List<java.lang.String> getSchemeNames();
1188 method @Deprecated public void register(String, org.apache.http.auth.AuthSchemeFactory);
1189 method @Deprecated public void setItems(java.util.Map<java.lang.String,org.apache.http.auth.AuthSchemeFactory>);
1190 method @Deprecated public void unregister(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001191 }
1192
Tor Norbyebd65b232019-01-07 18:09:28 -08001193 @Deprecated public class AuthScope {
1194 ctor @Deprecated public AuthScope(String, int, String, String);
1195 ctor @Deprecated public AuthScope(String, int, String);
1196 ctor @Deprecated public AuthScope(String, int);
1197 ctor @Deprecated public AuthScope(org.apache.http.auth.AuthScope);
1198 method @Deprecated public String getHost();
1199 method @Deprecated public int getPort();
1200 method @Deprecated public String getRealm();
1201 method @Deprecated public String getScheme();
1202 method @Deprecated public int match(org.apache.http.auth.AuthScope);
1203 field @Deprecated public static final org.apache.http.auth.AuthScope ANY;
1204 field @Deprecated public static final String ANY_HOST;
1205 field @Deprecated public static final int ANY_PORT = -1; // 0xffffffff
1206 field @Deprecated public static final String ANY_REALM;
1207 field @Deprecated public static final String ANY_SCHEME;
Paul Duffin03a95652017-07-14 13:48:42 +01001208 }
1209
Tor Norbyebd65b232019-01-07 18:09:28 -08001210 @Deprecated public class AuthState {
1211 ctor @Deprecated public AuthState();
1212 method @Deprecated public org.apache.http.auth.AuthScheme getAuthScheme();
1213 method @Deprecated public org.apache.http.auth.AuthScope getAuthScope();
1214 method @Deprecated public org.apache.http.auth.Credentials getCredentials();
1215 method @Deprecated public void invalidate();
1216 method @Deprecated public boolean isValid();
1217 method @Deprecated public void setAuthScheme(org.apache.http.auth.AuthScheme);
1218 method @Deprecated public void setAuthScope(org.apache.http.auth.AuthScope);
1219 method @Deprecated public void setCredentials(org.apache.http.auth.Credentials);
Paul Duffin03a95652017-07-14 13:48:42 +01001220 }
1221
Tor Norbyebd65b232019-01-07 18:09:28 -08001222 @Deprecated public class AuthenticationException extends org.apache.http.ProtocolException {
1223 ctor @Deprecated public AuthenticationException();
1224 ctor @Deprecated public AuthenticationException(String);
1225 ctor @Deprecated public AuthenticationException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001226 }
1227
Tor Norbyebd65b232019-01-07 18:09:28 -08001228 @Deprecated public final class BasicUserPrincipal implements java.security.Principal {
1229 ctor @Deprecated public BasicUserPrincipal(String);
1230 method @Deprecated public String getName();
Paul Duffin03a95652017-07-14 13:48:42 +01001231 }
1232
Tor Norbyebd65b232019-01-07 18:09:28 -08001233 @Deprecated public interface Credentials {
1234 method @Deprecated public String getPassword();
1235 method @Deprecated public java.security.Principal getUserPrincipal();
Paul Duffin03a95652017-07-14 13:48:42 +01001236 }
1237
Tor Norbyebd65b232019-01-07 18:09:28 -08001238 @Deprecated public class InvalidCredentialsException extends org.apache.http.auth.AuthenticationException {
1239 ctor @Deprecated public InvalidCredentialsException();
1240 ctor @Deprecated public InvalidCredentialsException(String);
1241 ctor @Deprecated public InvalidCredentialsException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001242 }
1243
Tor Norbyebd65b232019-01-07 18:09:28 -08001244 @Deprecated public class MalformedChallengeException extends org.apache.http.ProtocolException {
1245 ctor @Deprecated public MalformedChallengeException();
1246 ctor @Deprecated public MalformedChallengeException(String);
1247 ctor @Deprecated public MalformedChallengeException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001248 }
1249
Tor Norbyebd65b232019-01-07 18:09:28 -08001250 @Deprecated public class NTCredentials implements org.apache.http.auth.Credentials {
1251 ctor @Deprecated public NTCredentials(String);
1252 ctor @Deprecated public NTCredentials(String, String, String, String);
1253 method @Deprecated public String getDomain();
1254 method @Deprecated public String getPassword();
1255 method @Deprecated public String getUserName();
1256 method @Deprecated public java.security.Principal getUserPrincipal();
1257 method @Deprecated public String getWorkstation();
Paul Duffin03a95652017-07-14 13:48:42 +01001258 }
1259
Tor Norbyebd65b232019-01-07 18:09:28 -08001260 @Deprecated public class NTUserPrincipal implements java.security.Principal {
1261 ctor @Deprecated public NTUserPrincipal(String, String);
1262 method @Deprecated public String getDomain();
1263 method @Deprecated public String getName();
1264 method @Deprecated public String getUsername();
Paul Duffin03a95652017-07-14 13:48:42 +01001265 }
1266
Tor Norbyebd65b232019-01-07 18:09:28 -08001267 @Deprecated public class UsernamePasswordCredentials implements org.apache.http.auth.Credentials {
1268 ctor @Deprecated public UsernamePasswordCredentials(String);
1269 ctor @Deprecated public UsernamePasswordCredentials(String, String);
1270 method @Deprecated public String getPassword();
1271 method @Deprecated public String getUserName();
1272 method @Deprecated public java.security.Principal getUserPrincipal();
Paul Duffin03a95652017-07-14 13:48:42 +01001273 }
1274
1275}
1276
1277package org.apache.http.auth.params {
1278
Tor Norbyebd65b232019-01-07 18:09:28 -08001279 @Deprecated public interface AuthPNames {
1280 field @Deprecated public static final String CREDENTIAL_CHARSET = "http.auth.credential-charset";
Paul Duffin03a95652017-07-14 13:48:42 +01001281 }
1282
Tor Norbyebd65b232019-01-07 18:09:28 -08001283 @Deprecated public class AuthParamBean extends org.apache.http.params.HttpAbstractParamBean {
1284 ctor @Deprecated public AuthParamBean(org.apache.http.params.HttpParams);
1285 method @Deprecated public void setCredentialCharset(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001286 }
1287
Tor Norbyebd65b232019-01-07 18:09:28 -08001288 @Deprecated public final class AuthParams {
1289 method @Deprecated public static String getCredentialCharset(org.apache.http.params.HttpParams);
1290 method @Deprecated public static void setCredentialCharset(org.apache.http.params.HttpParams, String);
Paul Duffin03a95652017-07-14 13:48:42 +01001291 }
1292
1293}
1294
1295package org.apache.http.client {
1296
Tor Norbyebd65b232019-01-07 18:09:28 -08001297 @Deprecated public interface AuthenticationHandler {
1298 method @Deprecated public 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;
1299 method @Deprecated public boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
1300 method @Deprecated public 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;
Paul Duffin03a95652017-07-14 13:48:42 +01001301 }
1302
Tor Norbyebd65b232019-01-07 18:09:28 -08001303 @Deprecated public class CircularRedirectException extends org.apache.http.client.RedirectException {
1304 ctor @Deprecated public CircularRedirectException();
1305 ctor @Deprecated public CircularRedirectException(String);
1306 ctor @Deprecated public CircularRedirectException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001307 }
1308
Tor Norbyebd65b232019-01-07 18:09:28 -08001309 @Deprecated public class ClientProtocolException extends java.io.IOException {
1310 ctor @Deprecated public ClientProtocolException();
1311 ctor @Deprecated public ClientProtocolException(String);
1312 ctor @Deprecated public ClientProtocolException(Throwable);
1313 ctor @Deprecated public ClientProtocolException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001314 }
1315
Tor Norbyebd65b232019-01-07 18:09:28 -08001316 @Deprecated public interface CookieStore {
1317 method @Deprecated public void addCookie(org.apache.http.cookie.Cookie);
1318 method @Deprecated public void clear();
1319 method @Deprecated public boolean clearExpired(java.util.Date);
1320 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> getCookies();
Paul Duffin03a95652017-07-14 13:48:42 +01001321 }
1322
Tor Norbyebd65b232019-01-07 18:09:28 -08001323 @Deprecated public interface CredentialsProvider {
1324 method @Deprecated public void clear();
1325 method @Deprecated public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope);
1326 method @Deprecated public void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials);
Paul Duffin03a95652017-07-14 13:48:42 +01001327 }
1328
Tor Norbyebd65b232019-01-07 18:09:28 -08001329 @Deprecated public interface HttpClient {
1330 method @Deprecated public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1331 method @Deprecated public 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;
1332 method @Deprecated public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1333 method @Deprecated public 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;
1334 method @Deprecated 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;
1335 method @Deprecated 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;
1336 method @Deprecated 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;
1337 method @Deprecated 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;
1338 method @Deprecated public org.apache.http.conn.ClientConnectionManager getConnectionManager();
1339 method @Deprecated public org.apache.http.params.HttpParams getParams();
Paul Duffin03a95652017-07-14 13:48:42 +01001340 }
1341
Tor Norbyebd65b232019-01-07 18:09:28 -08001342 @Deprecated public interface HttpRequestRetryHandler {
1343 method @Deprecated public boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01001344 }
1345
Tor Norbyebd65b232019-01-07 18:09:28 -08001346 @Deprecated public class HttpResponseException extends org.apache.http.client.ClientProtocolException {
1347 ctor @Deprecated public HttpResponseException(int, String);
1348 method @Deprecated public int getStatusCode();
Paul Duffin03a95652017-07-14 13:48:42 +01001349 }
1350
Tor Norbyebd65b232019-01-07 18:09:28 -08001351 @Deprecated public class NonRepeatableRequestException extends org.apache.http.ProtocolException {
1352 ctor @Deprecated public NonRepeatableRequestException();
1353 ctor @Deprecated public NonRepeatableRequestException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001354 }
1355
Tor Norbyebd65b232019-01-07 18:09:28 -08001356 @Deprecated public class RedirectException extends org.apache.http.ProtocolException {
1357 ctor @Deprecated public RedirectException();
1358 ctor @Deprecated public RedirectException(String);
1359 ctor @Deprecated public RedirectException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01001360 }
1361
Tor Norbyebd65b232019-01-07 18:09:28 -08001362 @Deprecated public interface RedirectHandler {
1363 method @Deprecated public java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.ProtocolException;
1364 method @Deprecated public boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01001365 }
1366
Tor Norbyebd65b232019-01-07 18:09:28 -08001367 @Deprecated public interface RequestDirector {
1368 method @Deprecated public 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;
Paul Duffin03a95652017-07-14 13:48:42 +01001369 }
1370
Tor Norbyebd65b232019-01-07 18:09:28 -08001371 @Deprecated public interface ResponseHandler<T> {
1372 method @Deprecated public T handleResponse(org.apache.http.HttpResponse) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001373 }
1374
Tor Norbyebd65b232019-01-07 18:09:28 -08001375 @Deprecated public interface UserTokenHandler {
1376 method @Deprecated public Object getUserToken(org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01001377 }
1378
1379}
1380
1381package org.apache.http.client.entity {
1382
Tor Norbyebd65b232019-01-07 18:09:28 -08001383 @Deprecated public class UrlEncodedFormEntity extends org.apache.http.entity.StringEntity {
1384 ctor @Deprecated public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>, String) throws java.io.UnsupportedEncodingException;
1385 ctor @Deprecated public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>) throws java.io.UnsupportedEncodingException;
Paul Duffin03a95652017-07-14 13:48:42 +01001386 }
1387
1388}
1389
1390package org.apache.http.client.methods {
1391
Tor Norbyebd65b232019-01-07 18:09:28 -08001392 @Deprecated public interface AbortableHttpRequest {
1393 method @Deprecated public void abort();
1394 method @Deprecated public void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
1395 method @Deprecated public void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001396 }
1397
Tor Norbyebd65b232019-01-07 18:09:28 -08001398 @Deprecated public class HttpDelete extends org.apache.http.client.methods.HttpRequestBase {
1399 ctor @Deprecated public HttpDelete();
1400 ctor @Deprecated public HttpDelete(java.net.URI);
1401 ctor @Deprecated public HttpDelete(String);
1402 method @Deprecated public String getMethod();
1403 field @Deprecated public static final String METHOD_NAME = "DELETE";
Paul Duffin03a95652017-07-14 13:48:42 +01001404 }
1405
Tor Norbyebd65b232019-01-07 18:09:28 -08001406 @Deprecated public abstract class HttpEntityEnclosingRequestBase extends org.apache.http.client.methods.HttpRequestBase implements org.apache.http.HttpEntityEnclosingRequest {
1407 ctor @Deprecated public HttpEntityEnclosingRequestBase();
1408 method @Deprecated public boolean expectContinue();
1409 method @Deprecated public org.apache.http.HttpEntity getEntity();
1410 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
Paul Duffin03a95652017-07-14 13:48:42 +01001411 }
1412
Tor Norbyebd65b232019-01-07 18:09:28 -08001413 @Deprecated public class HttpGet extends org.apache.http.client.methods.HttpRequestBase {
1414 ctor @Deprecated public HttpGet();
1415 ctor @Deprecated public HttpGet(java.net.URI);
1416 ctor @Deprecated public HttpGet(String);
1417 method @Deprecated public String getMethod();
1418 field @Deprecated public static final String METHOD_NAME = "GET";
Paul Duffin03a95652017-07-14 13:48:42 +01001419 }
1420
Tor Norbyebd65b232019-01-07 18:09:28 -08001421 @Deprecated public class HttpHead extends org.apache.http.client.methods.HttpRequestBase {
1422 ctor @Deprecated public HttpHead();
1423 ctor @Deprecated public HttpHead(java.net.URI);
1424 ctor @Deprecated public HttpHead(String);
1425 method @Deprecated public String getMethod();
1426 field @Deprecated public static final String METHOD_NAME = "HEAD";
Paul Duffin03a95652017-07-14 13:48:42 +01001427 }
1428
Tor Norbyebd65b232019-01-07 18:09:28 -08001429 @Deprecated public class HttpOptions extends org.apache.http.client.methods.HttpRequestBase {
1430 ctor @Deprecated public HttpOptions();
1431 ctor @Deprecated public HttpOptions(java.net.URI);
1432 ctor @Deprecated public HttpOptions(String);
1433 method @Deprecated public java.util.Set<java.lang.String> getAllowedMethods(org.apache.http.HttpResponse);
1434 method @Deprecated public String getMethod();
1435 field @Deprecated public static final String METHOD_NAME = "OPTIONS";
Paul Duffin03a95652017-07-14 13:48:42 +01001436 }
1437
Tor Norbyebd65b232019-01-07 18:09:28 -08001438 @Deprecated public class HttpPost extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
1439 ctor @Deprecated public HttpPost();
1440 ctor @Deprecated public HttpPost(java.net.URI);
1441 ctor @Deprecated public HttpPost(String);
1442 method @Deprecated public String getMethod();
1443 field @Deprecated public static final String METHOD_NAME = "POST";
Paul Duffin03a95652017-07-14 13:48:42 +01001444 }
1445
Tor Norbyebd65b232019-01-07 18:09:28 -08001446 @Deprecated public class HttpPut extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
1447 ctor @Deprecated public HttpPut();
1448 ctor @Deprecated public HttpPut(java.net.URI);
1449 ctor @Deprecated public HttpPut(String);
1450 method @Deprecated public String getMethod();
1451 field @Deprecated public static final String METHOD_NAME = "PUT";
Paul Duffin03a95652017-07-14 13:48:42 +01001452 }
1453
Tor Norbyebd65b232019-01-07 18:09:28 -08001454 @Deprecated public abstract class HttpRequestBase extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.client.methods.AbortableHttpRequest java.lang.Cloneable org.apache.http.client.methods.HttpUriRequest {
1455 ctor @Deprecated public HttpRequestBase();
1456 method @Deprecated public void abort();
1457 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
1458 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
1459 method @Deprecated public org.apache.http.RequestLine getRequestLine();
1460 method @Deprecated public java.net.URI getURI();
1461 method @Deprecated public boolean isAborted();
1462 method @Deprecated public void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
1463 method @Deprecated public void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
1464 method @Deprecated public void setURI(java.net.URI);
Paul Duffin03a95652017-07-14 13:48:42 +01001465 }
1466
Tor Norbyebd65b232019-01-07 18:09:28 -08001467 @Deprecated public class HttpTrace extends org.apache.http.client.methods.HttpRequestBase {
1468 ctor @Deprecated public HttpTrace();
1469 ctor @Deprecated public HttpTrace(java.net.URI);
1470 ctor @Deprecated public HttpTrace(String);
1471 method @Deprecated public String getMethod();
1472 field @Deprecated public static final String METHOD_NAME = "TRACE";
Paul Duffin03a95652017-07-14 13:48:42 +01001473 }
1474
Tor Norbyebd65b232019-01-07 18:09:28 -08001475 @Deprecated public interface HttpUriRequest extends org.apache.http.HttpRequest {
1476 method @Deprecated public void abort() throws java.lang.UnsupportedOperationException;
1477 method @Deprecated public String getMethod();
1478 method @Deprecated public java.net.URI getURI();
1479 method @Deprecated public boolean isAborted();
Paul Duffin03a95652017-07-14 13:48:42 +01001480 }
1481
1482}
1483
1484package org.apache.http.client.params {
1485
Tor Norbyebd65b232019-01-07 18:09:28 -08001486 @Deprecated public interface AllClientPNames extends org.apache.http.params.CoreConnectionPNames 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.CoreProtocolPNames {
Paul Duffin03a95652017-07-14 13:48:42 +01001487 }
1488
Tor Norbyebd65b232019-01-07 18:09:28 -08001489 @Deprecated public final class AuthPolicy {
1490 field @Deprecated public static final String BASIC = "Basic";
1491 field @Deprecated public static final String DIGEST = "Digest";
1492 field @Deprecated public static final String NTLM = "NTLM";
Paul Duffin03a95652017-07-14 13:48:42 +01001493 }
1494
Tor Norbyebd65b232019-01-07 18:09:28 -08001495 @Deprecated public interface ClientPNames {
1496 field @Deprecated public static final String ALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects";
1497 field @Deprecated public static final String CONNECTION_MANAGER_FACTORY = "http.connection-manager.factory-object";
1498 field @Deprecated public static final String CONNECTION_MANAGER_FACTORY_CLASS_NAME = "http.connection-manager.factory-class-name";
1499 field @Deprecated public static final String COOKIE_POLICY = "http.protocol.cookie-policy";
1500 field @Deprecated public static final String DEFAULT_HEADERS = "http.default-headers";
1501 field @Deprecated public static final String DEFAULT_HOST = "http.default-host";
1502 field @Deprecated public static final String HANDLE_AUTHENTICATION = "http.protocol.handle-authentication";
1503 field @Deprecated public static final String HANDLE_REDIRECTS = "http.protocol.handle-redirects";
1504 field @Deprecated public static final String MAX_REDIRECTS = "http.protocol.max-redirects";
1505 field @Deprecated public static final String REJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect";
1506 field @Deprecated public static final String VIRTUAL_HOST = "http.virtual-host";
Paul Duffin03a95652017-07-14 13:48:42 +01001507 }
1508
Tor Norbyebd65b232019-01-07 18:09:28 -08001509 @Deprecated public class ClientParamBean extends org.apache.http.params.HttpAbstractParamBean {
1510 ctor @Deprecated public ClientParamBean(org.apache.http.params.HttpParams);
1511 method @Deprecated public void setAllowCircularRedirects(boolean);
1512 method @Deprecated public void setConnectionManagerFactory(org.apache.http.conn.ClientConnectionManagerFactory);
1513 method @Deprecated public void setConnectionManagerFactoryClassName(String);
1514 method @Deprecated public void setCookiePolicy(String);
1515 method @Deprecated public void setDefaultHeaders(java.util.Collection<org.apache.http.Header>);
1516 method @Deprecated public void setDefaultHost(org.apache.http.HttpHost);
1517 method @Deprecated public void setHandleAuthentication(boolean);
1518 method @Deprecated public void setHandleRedirects(boolean);
1519 method @Deprecated public void setMaxRedirects(int);
1520 method @Deprecated public void setRejectRelativeRedirect(boolean);
1521 method @Deprecated public void setVirtualHost(org.apache.http.HttpHost);
Paul Duffin03a95652017-07-14 13:48:42 +01001522 }
1523
Tor Norbyebd65b232019-01-07 18:09:28 -08001524 @Deprecated public final class CookiePolicy {
1525 field @Deprecated public static final String BEST_MATCH = "best-match";
1526 field @Deprecated public static final String BROWSER_COMPATIBILITY = "compatibility";
1527 field @Deprecated public static final String NETSCAPE = "netscape";
1528 field @Deprecated public static final String RFC_2109 = "rfc2109";
1529 field @Deprecated public static final String RFC_2965 = "rfc2965";
Paul Duffin03a95652017-07-14 13:48:42 +01001530 }
1531
Tor Norbyebd65b232019-01-07 18:09:28 -08001532 @Deprecated public class HttpClientParams {
1533 method @Deprecated public static String getCookiePolicy(org.apache.http.params.HttpParams);
1534 method @Deprecated public static boolean isAuthenticating(org.apache.http.params.HttpParams);
1535 method @Deprecated public static boolean isRedirecting(org.apache.http.params.HttpParams);
1536 method @Deprecated public static void setAuthenticating(org.apache.http.params.HttpParams, boolean);
1537 method @Deprecated public static void setCookiePolicy(org.apache.http.params.HttpParams, String);
1538 method @Deprecated public static void setRedirecting(org.apache.http.params.HttpParams, boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01001539 }
1540
1541}
1542
1543package org.apache.http.client.protocol {
1544
Tor Norbyebd65b232019-01-07 18:09:28 -08001545 @Deprecated public interface ClientContext {
1546 field @Deprecated public static final String AUTHSCHEME_REGISTRY = "http.authscheme-registry";
1547 field @Deprecated public static final String AUTH_SCHEME_PREF = "http.auth.scheme-pref";
1548 field @Deprecated public static final String COOKIESPEC_REGISTRY = "http.cookiespec-registry";
1549 field @Deprecated public static final String COOKIE_ORIGIN = "http.cookie-origin";
1550 field @Deprecated public static final String COOKIE_SPEC = "http.cookie-spec";
1551 field @Deprecated public static final String COOKIE_STORE = "http.cookie-store";
1552 field @Deprecated public static final String CREDS_PROVIDER = "http.auth.credentials-provider";
1553 field @Deprecated public static final String PROXY_AUTH_STATE = "http.auth.proxy-scope";
1554 field @Deprecated public static final String TARGET_AUTH_STATE = "http.auth.target-scope";
1555 field @Deprecated public static final String USER_TOKEN = "http.user-token";
Paul Duffin03a95652017-07-14 13:48:42 +01001556 }
1557
Tor Norbyebd65b232019-01-07 18:09:28 -08001558 @Deprecated public class ClientContextConfigurer implements org.apache.http.client.protocol.ClientContext {
1559 ctor @Deprecated public ClientContextConfigurer(org.apache.http.protocol.HttpContext);
1560 method @Deprecated public void setAuthSchemePref(java.util.List<java.lang.String>);
1561 method @Deprecated public void setAuthSchemeRegistry(org.apache.http.auth.AuthSchemeRegistry);
1562 method @Deprecated public void setCookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry);
1563 method @Deprecated public void setCookieStore(org.apache.http.client.CookieStore);
1564 method @Deprecated public void setCredentialsProvider(org.apache.http.client.CredentialsProvider);
Paul Duffin03a95652017-07-14 13:48:42 +01001565 }
1566
Tor Norbyebd65b232019-01-07 18:09:28 -08001567 @Deprecated public class RequestAddCookies implements org.apache.http.HttpRequestInterceptor {
1568 ctor @Deprecated public RequestAddCookies();
1569 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001570 }
1571
Tor Norbyebd65b232019-01-07 18:09:28 -08001572 @Deprecated public class RequestDefaultHeaders implements org.apache.http.HttpRequestInterceptor {
1573 ctor @Deprecated public RequestDefaultHeaders();
1574 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001575 }
1576
Tor Norbyebd65b232019-01-07 18:09:28 -08001577 @Deprecated public class RequestProxyAuthentication implements org.apache.http.HttpRequestInterceptor {
1578 ctor @Deprecated public RequestProxyAuthentication();
1579 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001580 }
1581
Tor Norbyebd65b232019-01-07 18:09:28 -08001582 @Deprecated public class RequestTargetAuthentication implements org.apache.http.HttpRequestInterceptor {
1583 ctor @Deprecated public RequestTargetAuthentication();
1584 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001585 }
1586
Tor Norbyebd65b232019-01-07 18:09:28 -08001587 @Deprecated public class ResponseProcessCookies implements org.apache.http.HttpResponseInterceptor {
1588 ctor @Deprecated public ResponseProcessCookies();
1589 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001590 }
1591
1592}
1593
1594package org.apache.http.client.utils {
1595
Tor Norbyebd65b232019-01-07 18:09:28 -08001596 @Deprecated public class CloneUtils {
1597 method @Deprecated public static Object clone(Object) throws java.lang.CloneNotSupportedException;
Paul Duffin03a95652017-07-14 13:48:42 +01001598 }
1599
Tor Norbyebd65b232019-01-07 18:09:28 -08001600 @Deprecated public class URIUtils {
1601 method @Deprecated public static java.net.URI createURI(String, String, int, String, String, String) throws java.net.URISyntaxException;
1602 method @Deprecated public static java.net.URI resolve(java.net.URI, String);
1603 method @Deprecated public static java.net.URI resolve(java.net.URI, java.net.URI);
1604 method @Deprecated public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean) throws java.net.URISyntaxException;
1605 method @Deprecated public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost) throws java.net.URISyntaxException;
Paul Duffin03a95652017-07-14 13:48:42 +01001606 }
1607
Tor Norbyebd65b232019-01-07 18:09:28 -08001608 @Deprecated public class URLEncodedUtils {
1609 ctor @Deprecated public URLEncodedUtils();
1610 method @Deprecated public static String format(java.util.List<? extends org.apache.http.NameValuePair>, String);
1611 method @Deprecated public static boolean isEncoded(org.apache.http.HttpEntity);
1612 method @Deprecated public static java.util.List<org.apache.http.NameValuePair> parse(java.net.URI, String);
1613 method @Deprecated public static java.util.List<org.apache.http.NameValuePair> parse(org.apache.http.HttpEntity) throws java.io.IOException;
1614 method @Deprecated public static void parse(java.util.List<org.apache.http.NameValuePair>, java.util.Scanner, String);
1615 field @Deprecated public static final String CONTENT_TYPE = "application/x-www-form-urlencoded";
Paul Duffin03a95652017-07-14 13:48:42 +01001616 }
1617
1618}
1619
1620package org.apache.http.conn {
1621
Tor Norbyebd65b232019-01-07 18:09:28 -08001622 @Deprecated public class BasicEofSensorWatcher implements org.apache.http.conn.EofSensorWatcher {
1623 ctor @Deprecated public BasicEofSensorWatcher(org.apache.http.conn.ManagedClientConnection, boolean);
1624 method @Deprecated public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1625 method @Deprecated public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1626 method @Deprecated public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
1627 field @Deprecated protected boolean attemptReuse;
1628 field @Deprecated protected org.apache.http.conn.ManagedClientConnection managedConn;
Paul Duffin03a95652017-07-14 13:48:42 +01001629 }
1630
Tor Norbyebd65b232019-01-07 18:09:28 -08001631 @Deprecated public class BasicManagedEntity extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.conn.EofSensorWatcher {
1632 ctor @Deprecated public BasicManagedEntity(org.apache.http.HttpEntity, org.apache.http.conn.ManagedClientConnection, boolean);
1633 method @Deprecated public void abortConnection() throws java.io.IOException;
1634 method @Deprecated public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1635 method @Deprecated public void releaseConnection() throws java.io.IOException;
1636 method @Deprecated protected void releaseManagedConnection() throws java.io.IOException;
1637 method @Deprecated public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1638 method @Deprecated public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
1639 field @Deprecated protected final boolean attemptReuse;
1640 field @Deprecated protected org.apache.http.conn.ManagedClientConnection managedConn;
Paul Duffin03a95652017-07-14 13:48:42 +01001641 }
1642
Tor Norbyebd65b232019-01-07 18:09:28 -08001643 @Deprecated public interface ClientConnectionManager {
1644 method @Deprecated public void closeExpiredConnections();
1645 method @Deprecated public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
1646 method @Deprecated public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
1647 method @Deprecated public void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
1648 method @Deprecated public org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, Object);
1649 method @Deprecated public void shutdown();
Paul Duffin03a95652017-07-14 13:48:42 +01001650 }
1651
Tor Norbyebd65b232019-01-07 18:09:28 -08001652 @Deprecated public interface ClientConnectionManagerFactory {
1653 method @Deprecated public org.apache.http.conn.ClientConnectionManager newInstance(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
Paul Duffin03a95652017-07-14 13:48:42 +01001654 }
1655
Tor Norbyebd65b232019-01-07 18:09:28 -08001656 @Deprecated public interface ClientConnectionOperator {
1657 method @Deprecated public org.apache.http.conn.OperatedClientConnection createConnection();
1658 method @Deprecated public 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;
1659 method @Deprecated public 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;
Paul Duffin03a95652017-07-14 13:48:42 +01001660 }
1661
Tor Norbyebd65b232019-01-07 18:09:28 -08001662 @Deprecated public interface ClientConnectionRequest {
1663 method @Deprecated public void abortRequest();
1664 method @Deprecated public org.apache.http.conn.ManagedClientConnection getConnection(long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
Paul Duffin03a95652017-07-14 13:48:42 +01001665 }
1666
Tor Norbyebd65b232019-01-07 18:09:28 -08001667 @Deprecated public interface ConnectionKeepAliveStrategy {
1668 method @Deprecated public long getKeepAliveDuration(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01001669 }
1670
Tor Norbyebd65b232019-01-07 18:09:28 -08001671 @Deprecated public class ConnectionPoolTimeoutException extends org.apache.http.conn.ConnectTimeoutException {
1672 ctor @Deprecated public ConnectionPoolTimeoutException();
1673 ctor @Deprecated public ConnectionPoolTimeoutException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001674 }
1675
Tor Norbyebd65b232019-01-07 18:09:28 -08001676 @Deprecated public interface ConnectionReleaseTrigger {
1677 method @Deprecated public void abortConnection() throws java.io.IOException;
1678 method @Deprecated public void releaseConnection() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001679 }
1680
Tor Norbyebd65b232019-01-07 18:09:28 -08001681 @Deprecated public class EofSensorInputStream extends java.io.InputStream implements org.apache.http.conn.ConnectionReleaseTrigger {
1682 ctor @Deprecated public EofSensorInputStream(java.io.InputStream, org.apache.http.conn.EofSensorWatcher);
1683 method @Deprecated public void abortConnection() throws java.io.IOException;
1684 method @Deprecated protected void checkAbort() throws java.io.IOException;
1685 method @Deprecated protected void checkClose() throws java.io.IOException;
1686 method @Deprecated protected void checkEOF(int) throws java.io.IOException;
1687 method @Deprecated protected boolean isReadAllowed() throws java.io.IOException;
1688 method @Deprecated public int read() throws java.io.IOException;
1689 method @Deprecated public void releaseConnection() throws java.io.IOException;
1690 field @Deprecated protected java.io.InputStream wrappedStream;
Paul Duffin03a95652017-07-14 13:48:42 +01001691 }
1692
Tor Norbyebd65b232019-01-07 18:09:28 -08001693 @Deprecated public interface EofSensorWatcher {
1694 method @Deprecated public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1695 method @Deprecated public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1696 method @Deprecated public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001697 }
1698
Tor Norbyebd65b232019-01-07 18:09:28 -08001699 @Deprecated public class HttpHostConnectException extends java.net.ConnectException {
1700 ctor @Deprecated public HttpHostConnectException(org.apache.http.HttpHost, java.net.ConnectException);
1701 method @Deprecated public org.apache.http.HttpHost getHost();
Paul Duffin03a95652017-07-14 13:48:42 +01001702 }
1703
Tor Norbyebd65b232019-01-07 18:09:28 -08001704 @Deprecated public interface ManagedClientConnection extends org.apache.http.HttpClientConnection org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.HttpInetConnection {
1705 method @Deprecated public org.apache.http.conn.routing.HttpRoute getRoute();
1706 method @Deprecated public javax.net.ssl.SSLSession getSSLSession();
1707 method @Deprecated public Object getState();
1708 method @Deprecated public boolean isMarkedReusable();
1709 method @Deprecated public boolean isSecure();
1710 method @Deprecated public void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1711 method @Deprecated public void markReusable();
1712 method @Deprecated public void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1713 method @Deprecated public void setIdleDuration(long, java.util.concurrent.TimeUnit);
1714 method @Deprecated public void setState(Object);
1715 method @Deprecated public void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1716 method @Deprecated public void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1717 method @Deprecated public void unmarkReusable();
Paul Duffin03a95652017-07-14 13:48:42 +01001718 }
1719
Tor Norbyebd65b232019-01-07 18:09:28 -08001720 @Deprecated public final class MultihomePlainSocketFactory implements org.apache.http.conn.scheme.SocketFactory {
1721 method @Deprecated public java.net.Socket connectSocket(java.net.Socket, String, int, java.net.InetAddress, int, org.apache.http.params.HttpParams) throws java.io.IOException;
1722 method @Deprecated public java.net.Socket createSocket();
1723 method @Deprecated public static org.apache.http.conn.MultihomePlainSocketFactory getSocketFactory();
1724 method @Deprecated public boolean isSecure(java.net.Socket) throws java.lang.IllegalArgumentException;
Paul Duffin03a95652017-07-14 13:48:42 +01001725 }
1726
Tor Norbyebd65b232019-01-07 18:09:28 -08001727 @Deprecated public interface OperatedClientConnection extends org.apache.http.HttpClientConnection org.apache.http.HttpInetConnection {
1728 method @Deprecated public java.net.Socket getSocket();
1729 method @Deprecated public org.apache.http.HttpHost getTargetHost();
1730 method @Deprecated public boolean isSecure();
1731 method @Deprecated public void openCompleted(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1732 method @Deprecated public void opening(java.net.Socket, org.apache.http.HttpHost) throws java.io.IOException;
1733 method @Deprecated public void update(java.net.Socket, org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01001734 }
1735
1736}
1737
1738package org.apache.http.conn.params {
1739
Tor Norbyebd65b232019-01-07 18:09:28 -08001740 @Deprecated public interface ConnConnectionPNames {
1741 field @Deprecated public static final String MAX_STATUS_LINE_GARBAGE = "http.connection.max-status-line-garbage";
Paul Duffin03a95652017-07-14 13:48:42 +01001742 }
1743
Tor Norbyebd65b232019-01-07 18:09:28 -08001744 @Deprecated public class ConnConnectionParamBean extends org.apache.http.params.HttpAbstractParamBean {
1745 ctor @Deprecated public ConnConnectionParamBean(org.apache.http.params.HttpParams);
1746 method @Deprecated public void setMaxStatusLineGarbage(int);
Paul Duffin03a95652017-07-14 13:48:42 +01001747 }
1748
Tor Norbyebd65b232019-01-07 18:09:28 -08001749 @Deprecated public interface ConnManagerPNames {
1750 field @Deprecated public static final String MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route";
1751 field @Deprecated public static final String MAX_TOTAL_CONNECTIONS = "http.conn-manager.max-total";
1752 field @Deprecated public static final String TIMEOUT = "http.conn-manager.timeout";
Paul Duffin03a95652017-07-14 13:48:42 +01001753 }
1754
Tor Norbyebd65b232019-01-07 18:09:28 -08001755 @Deprecated public class ConnManagerParamBean extends org.apache.http.params.HttpAbstractParamBean {
1756 ctor @Deprecated public ConnManagerParamBean(org.apache.http.params.HttpParams);
1757 method @Deprecated public void setConnectionsPerRoute(org.apache.http.conn.params.ConnPerRouteBean);
1758 method @Deprecated public void setMaxTotalConnections(int);
1759 method @Deprecated public void setTimeout(long);
Paul Duffin03a95652017-07-14 13:48:42 +01001760 }
1761
Tor Norbyebd65b232019-01-07 18:09:28 -08001762 @Deprecated public final class ConnManagerParams implements org.apache.http.conn.params.ConnManagerPNames {
1763 ctor @Deprecated public ConnManagerParams();
1764 method @Deprecated public static org.apache.http.conn.params.ConnPerRoute getMaxConnectionsPerRoute(org.apache.http.params.HttpParams);
1765 method @Deprecated public static int getMaxTotalConnections(org.apache.http.params.HttpParams);
1766 method @Deprecated public static long getTimeout(org.apache.http.params.HttpParams);
1767 method @Deprecated public static void setMaxConnectionsPerRoute(org.apache.http.params.HttpParams, org.apache.http.conn.params.ConnPerRoute);
1768 method @Deprecated public static void setMaxTotalConnections(org.apache.http.params.HttpParams, int);
1769 method @Deprecated public static void setTimeout(org.apache.http.params.HttpParams, long);
1770 field @Deprecated public static final int DEFAULT_MAX_TOTAL_CONNECTIONS = 20; // 0x14
Paul Duffin03a95652017-07-14 13:48:42 +01001771 }
1772
Tor Norbyebd65b232019-01-07 18:09:28 -08001773 @Deprecated public interface ConnPerRoute {
1774 method @Deprecated public int getMaxForRoute(org.apache.http.conn.routing.HttpRoute);
Paul Duffin03a95652017-07-14 13:48:42 +01001775 }
1776
Tor Norbyebd65b232019-01-07 18:09:28 -08001777 @Deprecated public final class ConnPerRouteBean implements org.apache.http.conn.params.ConnPerRoute {
1778 ctor @Deprecated public ConnPerRouteBean(int);
1779 ctor @Deprecated public ConnPerRouteBean();
1780 method @Deprecated public int getDefaultMax();
1781 method @Deprecated public int getMaxForRoute(org.apache.http.conn.routing.HttpRoute);
1782 method @Deprecated public void setDefaultMaxPerRoute(int);
1783 method @Deprecated public void setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int);
1784 method @Deprecated public void setMaxForRoutes(java.util.Map<org.apache.http.conn.routing.HttpRoute,java.lang.Integer>);
1785 field @Deprecated public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE = 2; // 0x2
Paul Duffin03a95652017-07-14 13:48:42 +01001786 }
1787
Tor Norbyebd65b232019-01-07 18:09:28 -08001788 @Deprecated public interface ConnRoutePNames {
1789 field @Deprecated public static final String DEFAULT_PROXY = "http.route.default-proxy";
1790 field @Deprecated public static final String FORCED_ROUTE = "http.route.forced-route";
1791 field @Deprecated public static final String LOCAL_ADDRESS = "http.route.local-address";
Paul Duffin03a95652017-07-14 13:48:42 +01001792 }
1793
Tor Norbyebd65b232019-01-07 18:09:28 -08001794 @Deprecated public class ConnRouteParamBean extends org.apache.http.params.HttpAbstractParamBean {
1795 ctor @Deprecated public ConnRouteParamBean(org.apache.http.params.HttpParams);
1796 method @Deprecated public void setDefaultProxy(org.apache.http.HttpHost);
1797 method @Deprecated public void setForcedRoute(org.apache.http.conn.routing.HttpRoute);
1798 method @Deprecated public void setLocalAddress(java.net.InetAddress);
Paul Duffin03a95652017-07-14 13:48:42 +01001799 }
1800
Tor Norbyebd65b232019-01-07 18:09:28 -08001801 @Deprecated public class ConnRouteParams implements org.apache.http.conn.params.ConnRoutePNames {
1802 method @Deprecated public static org.apache.http.HttpHost getDefaultProxy(org.apache.http.params.HttpParams);
1803 method @Deprecated public static org.apache.http.conn.routing.HttpRoute getForcedRoute(org.apache.http.params.HttpParams);
1804 method @Deprecated public static java.net.InetAddress getLocalAddress(org.apache.http.params.HttpParams);
1805 method @Deprecated public static void setDefaultProxy(org.apache.http.params.HttpParams, org.apache.http.HttpHost);
1806 method @Deprecated public static void setForcedRoute(org.apache.http.params.HttpParams, org.apache.http.conn.routing.HttpRoute);
1807 method @Deprecated public static void setLocalAddress(org.apache.http.params.HttpParams, java.net.InetAddress);
1808 field @Deprecated public static final org.apache.http.HttpHost NO_HOST;
1809 field @Deprecated public static final org.apache.http.conn.routing.HttpRoute NO_ROUTE;
Paul Duffin03a95652017-07-14 13:48:42 +01001810 }
1811
1812}
1813
1814package org.apache.http.conn.routing {
1815
Tor Norbyebd65b232019-01-07 18:09:28 -08001816 @Deprecated public class BasicRouteDirector implements org.apache.http.conn.routing.HttpRouteDirector {
1817 ctor @Deprecated public BasicRouteDirector();
1818 method @Deprecated protected int directStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1819 method @Deprecated protected int firstStep(org.apache.http.conn.routing.RouteInfo);
1820 method @Deprecated public int nextStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1821 method @Deprecated protected int proxiedStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
Paul Duffin03a95652017-07-14 13:48:42 +01001822 }
1823
Tor Norbyebd65b232019-01-07 18:09:28 -08001824 @Deprecated public final class HttpRoute implements java.lang.Cloneable org.apache.http.conn.routing.RouteInfo {
1825 ctor @Deprecated public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.HttpHost[], boolean, org.apache.http.conn.routing.RouteInfo.TunnelType, org.apache.http.conn.routing.RouteInfo.LayerType);
1826 ctor @Deprecated public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.HttpHost, boolean, org.apache.http.conn.routing.RouteInfo.TunnelType, org.apache.http.conn.routing.RouteInfo.LayerType);
1827 ctor @Deprecated public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, boolean);
1828 ctor @Deprecated public HttpRoute(org.apache.http.HttpHost);
1829 ctor @Deprecated public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.HttpHost, boolean);
1830 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
1831 method @Deprecated public int getHopCount();
1832 method @Deprecated public org.apache.http.HttpHost getHopTarget(int);
1833 method @Deprecated public org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1834 method @Deprecated public java.net.InetAddress getLocalAddress();
1835 method @Deprecated public org.apache.http.HttpHost getProxyHost();
1836 method @Deprecated public org.apache.http.HttpHost getTargetHost();
1837 method @Deprecated public org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1838 method @Deprecated public boolean isLayered();
1839 method @Deprecated public boolean isSecure();
1840 method @Deprecated public boolean isTunnelled();
Paul Duffin03a95652017-07-14 13:48:42 +01001841 }
1842
Tor Norbyebd65b232019-01-07 18:09:28 -08001843 @Deprecated public interface HttpRouteDirector {
1844 method @Deprecated public int nextStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1845 field @Deprecated public static final int COMPLETE = 0; // 0x0
1846 field @Deprecated public static final int CONNECT_PROXY = 2; // 0x2
1847 field @Deprecated public static final int CONNECT_TARGET = 1; // 0x1
1848 field @Deprecated public static final int LAYER_PROTOCOL = 5; // 0x5
1849 field @Deprecated public static final int TUNNEL_PROXY = 4; // 0x4
1850 field @Deprecated public static final int TUNNEL_TARGET = 3; // 0x3
1851 field @Deprecated public static final int UNREACHABLE = -1; // 0xffffffff
Paul Duffin03a95652017-07-14 13:48:42 +01001852 }
1853
Tor Norbyebd65b232019-01-07 18:09:28 -08001854 @Deprecated public interface HttpRoutePlanner {
1855 method @Deprecated public org.apache.http.conn.routing.HttpRoute determineRoute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
Paul Duffin03a95652017-07-14 13:48:42 +01001856 }
1857
Tor Norbyebd65b232019-01-07 18:09:28 -08001858 @Deprecated public interface RouteInfo {
1859 method @Deprecated public int getHopCount();
1860 method @Deprecated public org.apache.http.HttpHost getHopTarget(int);
1861 method @Deprecated public org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1862 method @Deprecated public java.net.InetAddress getLocalAddress();
1863 method @Deprecated public org.apache.http.HttpHost getProxyHost();
1864 method @Deprecated public org.apache.http.HttpHost getTargetHost();
1865 method @Deprecated public org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1866 method @Deprecated public boolean isLayered();
1867 method @Deprecated public boolean isSecure();
1868 method @Deprecated public boolean isTunnelled();
Paul Duffin03a95652017-07-14 13:48:42 +01001869 }
1870
Tor Norbyebd65b232019-01-07 18:09:28 -08001871 @Deprecated public enum RouteInfo.LayerType {
1872 enum_constant @Deprecated public static final org.apache.http.conn.routing.RouteInfo.LayerType LAYERED;
1873 enum_constant @Deprecated public static final org.apache.http.conn.routing.RouteInfo.LayerType PLAIN;
Paul Duffin03a95652017-07-14 13:48:42 +01001874 }
1875
Tor Norbyebd65b232019-01-07 18:09:28 -08001876 @Deprecated public enum RouteInfo.TunnelType {
1877 enum_constant @Deprecated public static final org.apache.http.conn.routing.RouteInfo.TunnelType PLAIN;
1878 enum_constant @Deprecated public static final org.apache.http.conn.routing.RouteInfo.TunnelType TUNNELLED;
Paul Duffin03a95652017-07-14 13:48:42 +01001879 }
1880
Tor Norbyebd65b232019-01-07 18:09:28 -08001881 @Deprecated public final class RouteTracker implements java.lang.Cloneable org.apache.http.conn.routing.RouteInfo {
1882 ctor @Deprecated public RouteTracker(org.apache.http.HttpHost, java.net.InetAddress);
1883 ctor @Deprecated public RouteTracker(org.apache.http.conn.routing.HttpRoute);
1884 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
1885 method @Deprecated public void connectProxy(org.apache.http.HttpHost, boolean);
1886 method @Deprecated public void connectTarget(boolean);
1887 method @Deprecated public int getHopCount();
1888 method @Deprecated public org.apache.http.HttpHost getHopTarget(int);
1889 method @Deprecated public org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1890 method @Deprecated public java.net.InetAddress getLocalAddress();
1891 method @Deprecated public org.apache.http.HttpHost getProxyHost();
1892 method @Deprecated public org.apache.http.HttpHost getTargetHost();
1893 method @Deprecated public org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1894 method @Deprecated public boolean isConnected();
1895 method @Deprecated public boolean isLayered();
1896 method @Deprecated public boolean isSecure();
1897 method @Deprecated public boolean isTunnelled();
1898 method @Deprecated public void layerProtocol(boolean);
1899 method @Deprecated public org.apache.http.conn.routing.HttpRoute toRoute();
1900 method @Deprecated public void tunnelProxy(org.apache.http.HttpHost, boolean);
1901 method @Deprecated public void tunnelTarget(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01001902 }
1903
1904}
1905
1906package org.apache.http.conn.scheme {
1907
Tor Norbyebd65b232019-01-07 18:09:28 -08001908 @Deprecated public final class PlainSocketFactory implements org.apache.http.conn.scheme.SocketFactory {
1909 ctor @Deprecated public PlainSocketFactory(org.apache.http.conn.scheme.HostNameResolver);
1910 ctor @Deprecated public PlainSocketFactory();
1911 method @Deprecated public java.net.Socket connectSocket(java.net.Socket, String, int, java.net.InetAddress, int, org.apache.http.params.HttpParams) throws java.io.IOException;
1912 method @Deprecated public java.net.Socket createSocket();
1913 method @Deprecated public static org.apache.http.conn.scheme.PlainSocketFactory getSocketFactory();
1914 method @Deprecated public boolean isSecure(java.net.Socket) throws java.lang.IllegalArgumentException;
Paul Duffin03a95652017-07-14 13:48:42 +01001915 }
1916
Tor Norbyebd65b232019-01-07 18:09:28 -08001917 @Deprecated public final class Scheme {
1918 ctor @Deprecated public Scheme(String, org.apache.http.conn.scheme.SocketFactory, int);
1919 method @Deprecated public int getDefaultPort();
1920 method @Deprecated public String getName();
1921 method @Deprecated public org.apache.http.conn.scheme.SocketFactory getSocketFactory();
1922 method @Deprecated public boolean isLayered();
1923 method @Deprecated public int resolvePort(int);
Paul Duffin03a95652017-07-14 13:48:42 +01001924 }
1925
Tor Norbyebd65b232019-01-07 18:09:28 -08001926 @Deprecated public final class SchemeRegistry {
1927 ctor @Deprecated public SchemeRegistry();
1928 method @Deprecated public org.apache.http.conn.scheme.Scheme get(String);
1929 method @Deprecated public org.apache.http.conn.scheme.Scheme getScheme(String);
1930 method @Deprecated public org.apache.http.conn.scheme.Scheme getScheme(org.apache.http.HttpHost);
1931 method @Deprecated public java.util.List<java.lang.String> getSchemeNames();
1932 method @Deprecated public org.apache.http.conn.scheme.Scheme register(org.apache.http.conn.scheme.Scheme);
1933 method @Deprecated public void setItems(java.util.Map<java.lang.String,org.apache.http.conn.scheme.Scheme>);
1934 method @Deprecated public org.apache.http.conn.scheme.Scheme unregister(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001935 }
1936
Paul Duffin03a95652017-07-14 13:48:42 +01001937}
1938
1939package org.apache.http.conn.util {
1940
Tor Norbyebd65b232019-01-07 18:09:28 -08001941 @Deprecated public class InetAddressUtils {
1942 method @Deprecated public static boolean isIPv4Address(String);
1943 method @Deprecated public static boolean isIPv6Address(String);
1944 method @Deprecated public static boolean isIPv6HexCompressedAddress(String);
1945 method @Deprecated public static boolean isIPv6StdAddress(String);
Paul Duffin03a95652017-07-14 13:48:42 +01001946 }
1947
1948}
1949
1950package org.apache.http.cookie {
1951
Tor Norbyebd65b232019-01-07 18:09:28 -08001952 @Deprecated public interface ClientCookie extends org.apache.http.cookie.Cookie {
1953 method @Deprecated public boolean containsAttribute(String);
1954 method @Deprecated public String getAttribute(String);
1955 field @Deprecated public static final String COMMENTURL_ATTR = "commenturl";
1956 field @Deprecated public static final String COMMENT_ATTR = "comment";
1957 field @Deprecated public static final String DISCARD_ATTR = "discard";
1958 field @Deprecated public static final String DOMAIN_ATTR = "domain";
1959 field @Deprecated public static final String EXPIRES_ATTR = "expires";
1960 field @Deprecated public static final String MAX_AGE_ATTR = "max-age";
1961 field @Deprecated public static final String PATH_ATTR = "path";
1962 field @Deprecated public static final String PORT_ATTR = "port";
1963 field @Deprecated public static final String SECURE_ATTR = "secure";
1964 field @Deprecated public static final String VERSION_ATTR = "version";
Paul Duffin03a95652017-07-14 13:48:42 +01001965 }
1966
Tor Norbyebd65b232019-01-07 18:09:28 -08001967 @Deprecated public interface Cookie {
1968 method @Deprecated public String getComment();
1969 method @Deprecated public String getCommentURL();
1970 method @Deprecated public String getDomain();
1971 method @Deprecated public java.util.Date getExpiryDate();
1972 method @Deprecated public String getName();
1973 method @Deprecated public String getPath();
1974 method @Deprecated public int[] getPorts();
1975 method @Deprecated public String getValue();
1976 method @Deprecated public int getVersion();
1977 method @Deprecated public boolean isExpired(java.util.Date);
1978 method @Deprecated public boolean isPersistent();
1979 method @Deprecated public boolean isSecure();
Paul Duffin03a95652017-07-14 13:48:42 +01001980 }
1981
Tor Norbyebd65b232019-01-07 18:09:28 -08001982 @Deprecated public interface CookieAttributeHandler {
1983 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
1984 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
1985 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01001986 }
1987
Tor Norbyebd65b232019-01-07 18:09:28 -08001988 @Deprecated public class CookieIdentityComparator implements java.util.Comparator<org.apache.http.cookie.Cookie> java.io.Serializable {
1989 ctor @Deprecated public CookieIdentityComparator();
1990 method @Deprecated public int compare(org.apache.http.cookie.Cookie, org.apache.http.cookie.Cookie);
Paul Duffin03a95652017-07-14 13:48:42 +01001991 }
1992
Tor Norbyebd65b232019-01-07 18:09:28 -08001993 @Deprecated public final class CookieOrigin {
1994 ctor @Deprecated public CookieOrigin(String, int, String, boolean);
1995 method @Deprecated public String getHost();
1996 method @Deprecated public String getPath();
1997 method @Deprecated public int getPort();
1998 method @Deprecated public boolean isSecure();
Paul Duffin03a95652017-07-14 13:48:42 +01001999 }
2000
Tor Norbyebd65b232019-01-07 18:09:28 -08002001 @Deprecated public class CookiePathComparator implements java.util.Comparator<org.apache.http.cookie.Cookie> java.io.Serializable {
2002 ctor @Deprecated public CookiePathComparator();
2003 method @Deprecated public int compare(org.apache.http.cookie.Cookie, org.apache.http.cookie.Cookie);
Paul Duffin03a95652017-07-14 13:48:42 +01002004 }
2005
Tor Norbyebd65b232019-01-07 18:09:28 -08002006 @Deprecated public interface CookieSpec {
2007 method @Deprecated public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
2008 method @Deprecated public int getVersion();
2009 method @Deprecated public org.apache.http.Header getVersionHeader();
2010 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
2011 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
2012 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01002013 }
2014
Tor Norbyebd65b232019-01-07 18:09:28 -08002015 @Deprecated public interface CookieSpecFactory {
2016 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01002017 }
2018
Tor Norbyebd65b232019-01-07 18:09:28 -08002019 @Deprecated public final class CookieSpecRegistry {
2020 ctor @Deprecated public CookieSpecRegistry();
2021 method @Deprecated public org.apache.http.cookie.CookieSpec getCookieSpec(String, org.apache.http.params.HttpParams) throws java.lang.IllegalStateException;
2022 method @Deprecated public org.apache.http.cookie.CookieSpec getCookieSpec(String) throws java.lang.IllegalStateException;
2023 method @Deprecated public java.util.List<java.lang.String> getSpecNames();
2024 method @Deprecated public void register(String, org.apache.http.cookie.CookieSpecFactory);
2025 method @Deprecated public void setItems(java.util.Map<java.lang.String,org.apache.http.cookie.CookieSpecFactory>);
2026 method @Deprecated public void unregister(String);
Paul Duffin03a95652017-07-14 13:48:42 +01002027 }
2028
Tor Norbyebd65b232019-01-07 18:09:28 -08002029 @Deprecated public class MalformedCookieException extends org.apache.http.ProtocolException {
2030 ctor @Deprecated public MalformedCookieException();
2031 ctor @Deprecated public MalformedCookieException(String);
2032 ctor @Deprecated public MalformedCookieException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01002033 }
2034
Tor Norbyebd65b232019-01-07 18:09:28 -08002035 @Deprecated public interface SM {
2036 field @Deprecated public static final String COOKIE = "Cookie";
2037 field @Deprecated public static final String COOKIE2 = "Cookie2";
2038 field @Deprecated public static final String SET_COOKIE = "Set-Cookie";
2039 field @Deprecated public static final String SET_COOKIE2 = "Set-Cookie2";
Paul Duffin03a95652017-07-14 13:48:42 +01002040 }
2041
Tor Norbyebd65b232019-01-07 18:09:28 -08002042 @Deprecated public interface SetCookie extends org.apache.http.cookie.Cookie {
2043 method @Deprecated public void setComment(String);
2044 method @Deprecated public void setDomain(String);
2045 method @Deprecated public void setExpiryDate(java.util.Date);
2046 method @Deprecated public void setPath(String);
2047 method @Deprecated public void setSecure(boolean);
2048 method @Deprecated public void setValue(String);
2049 method @Deprecated public void setVersion(int);
Paul Duffin03a95652017-07-14 13:48:42 +01002050 }
2051
Tor Norbyebd65b232019-01-07 18:09:28 -08002052 @Deprecated public interface SetCookie2 extends org.apache.http.cookie.SetCookie {
2053 method @Deprecated public void setCommentURL(String);
2054 method @Deprecated public void setDiscard(boolean);
2055 method @Deprecated public void setPorts(int[]);
Paul Duffin03a95652017-07-14 13:48:42 +01002056 }
2057
2058}
2059
2060package org.apache.http.cookie.params {
2061
Tor Norbyebd65b232019-01-07 18:09:28 -08002062 @Deprecated public interface CookieSpecPNames {
2063 field @Deprecated public static final String DATE_PATTERNS = "http.protocol.cookie-datepatterns";
2064 field @Deprecated public static final String SINGLE_COOKIE_HEADER = "http.protocol.single-cookie-header";
Paul Duffin03a95652017-07-14 13:48:42 +01002065 }
2066
Tor Norbyebd65b232019-01-07 18:09:28 -08002067 @Deprecated public class CookieSpecParamBean extends org.apache.http.params.HttpAbstractParamBean {
2068 ctor @Deprecated public CookieSpecParamBean(org.apache.http.params.HttpParams);
2069 method @Deprecated public void setDatePatterns(java.util.Collection<java.lang.String>);
2070 method @Deprecated public void setSingleHeader(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01002071 }
2072
2073}
2074
2075package org.apache.http.entity {
2076
Tor Norbyebd65b232019-01-07 18:09:28 -08002077 @Deprecated public abstract class AbstractHttpEntity implements org.apache.http.HttpEntity {
2078 ctor @Deprecated protected AbstractHttpEntity();
2079 method @Deprecated public void consumeContent() throws java.io.IOException, java.lang.UnsupportedOperationException;
2080 method @Deprecated public org.apache.http.Header getContentEncoding();
2081 method @Deprecated public org.apache.http.Header getContentType();
2082 method @Deprecated public boolean isChunked();
2083 method @Deprecated public void setChunked(boolean);
2084 method @Deprecated public void setContentEncoding(org.apache.http.Header);
2085 method @Deprecated public void setContentEncoding(String);
2086 method @Deprecated public void setContentType(org.apache.http.Header);
2087 method @Deprecated public void setContentType(String);
2088 field @Deprecated protected boolean chunked;
2089 field @Deprecated protected org.apache.http.Header contentEncoding;
2090 field @Deprecated protected org.apache.http.Header contentType;
Paul Duffin03a95652017-07-14 13:48:42 +01002091 }
2092
Tor Norbyebd65b232019-01-07 18:09:28 -08002093 @Deprecated public class BasicHttpEntity extends org.apache.http.entity.AbstractHttpEntity {
2094 ctor @Deprecated public BasicHttpEntity();
2095 method @Deprecated public void consumeContent() throws java.io.IOException;
2096 method @Deprecated public java.io.InputStream getContent() throws java.lang.IllegalStateException;
2097 method @Deprecated public long getContentLength();
2098 method @Deprecated public boolean isRepeatable();
2099 method @Deprecated public boolean isStreaming();
2100 method @Deprecated public void setContent(java.io.InputStream);
2101 method @Deprecated public void setContentLength(long);
2102 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002103 }
2104
Tor Norbyebd65b232019-01-07 18:09:28 -08002105 @Deprecated public class BufferedHttpEntity extends org.apache.http.entity.HttpEntityWrapper {
2106 ctor @Deprecated public BufferedHttpEntity(org.apache.http.HttpEntity) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002107 }
2108
Tor Norbyebd65b232019-01-07 18:09:28 -08002109 @Deprecated public class ByteArrayEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
2110 ctor @Deprecated public ByteArrayEntity(byte[]);
2111 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
2112 method @Deprecated public java.io.InputStream getContent();
2113 method @Deprecated public long getContentLength();
2114 method @Deprecated public boolean isRepeatable();
2115 method @Deprecated public boolean isStreaming();
2116 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
2117 field @Deprecated protected final byte[] content;
Paul Duffin03a95652017-07-14 13:48:42 +01002118 }
2119
Tor Norbyebd65b232019-01-07 18:09:28 -08002120 @Deprecated public interface ContentLengthStrategy {
2121 method @Deprecated public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
2122 field @Deprecated public static final int CHUNKED = -2; // 0xfffffffe
2123 field @Deprecated public static final int IDENTITY = -1; // 0xffffffff
Paul Duffin03a95652017-07-14 13:48:42 +01002124 }
2125
Tor Norbyebd65b232019-01-07 18:09:28 -08002126 @Deprecated public interface ContentProducer {
2127 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002128 }
2129
Tor Norbyebd65b232019-01-07 18:09:28 -08002130 @Deprecated public class EntityTemplate extends org.apache.http.entity.AbstractHttpEntity {
2131 ctor @Deprecated public EntityTemplate(org.apache.http.entity.ContentProducer);
2132 method @Deprecated public void consumeContent() throws java.io.IOException;
2133 method @Deprecated public java.io.InputStream getContent();
2134 method @Deprecated public long getContentLength();
2135 method @Deprecated public boolean isRepeatable();
2136 method @Deprecated public boolean isStreaming();
2137 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002138 }
2139
Tor Norbyebd65b232019-01-07 18:09:28 -08002140 @Deprecated public class FileEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
2141 ctor @Deprecated public FileEntity(java.io.File, String);
2142 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
2143 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException;
2144 method @Deprecated public long getContentLength();
2145 method @Deprecated public boolean isRepeatable();
2146 method @Deprecated public boolean isStreaming();
2147 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
2148 field @Deprecated protected final java.io.File file;
Paul Duffin03a95652017-07-14 13:48:42 +01002149 }
2150
Tor Norbyebd65b232019-01-07 18:09:28 -08002151 @Deprecated public class HttpEntityWrapper implements org.apache.http.HttpEntity {
2152 ctor @Deprecated public HttpEntityWrapper(org.apache.http.HttpEntity);
2153 method @Deprecated public void consumeContent() throws java.io.IOException;
2154 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException;
2155 method @Deprecated public org.apache.http.Header getContentEncoding();
2156 method @Deprecated public long getContentLength();
2157 method @Deprecated public org.apache.http.Header getContentType();
2158 method @Deprecated public boolean isChunked();
2159 method @Deprecated public boolean isRepeatable();
2160 method @Deprecated public boolean isStreaming();
2161 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
2162 field @Deprecated protected org.apache.http.HttpEntity wrappedEntity;
Paul Duffin03a95652017-07-14 13:48:42 +01002163 }
2164
Tor Norbyebd65b232019-01-07 18:09:28 -08002165 @Deprecated public class InputStreamEntity extends org.apache.http.entity.AbstractHttpEntity {
2166 ctor @Deprecated public InputStreamEntity(java.io.InputStream, long);
2167 method @Deprecated public void consumeContent() throws java.io.IOException;
2168 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException;
2169 method @Deprecated public long getContentLength();
2170 method @Deprecated public boolean isRepeatable();
2171 method @Deprecated public boolean isStreaming();
2172 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002173 }
2174
Tor Norbyebd65b232019-01-07 18:09:28 -08002175 @Deprecated public class SerializableEntity extends org.apache.http.entity.AbstractHttpEntity {
2176 ctor @Deprecated public SerializableEntity(java.io.Serializable, boolean) throws java.io.IOException;
2177 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
2178 method @Deprecated public long getContentLength();
2179 method @Deprecated public boolean isRepeatable();
2180 method @Deprecated public boolean isStreaming();
2181 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002182 }
2183
Tor Norbyebd65b232019-01-07 18:09:28 -08002184 @Deprecated public class StringEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
2185 ctor @Deprecated public StringEntity(String, String) throws java.io.UnsupportedEncodingException;
2186 ctor @Deprecated public StringEntity(String) throws java.io.UnsupportedEncodingException;
2187 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
2188 method @Deprecated public java.io.InputStream getContent() throws java.io.IOException;
2189 method @Deprecated public long getContentLength();
2190 method @Deprecated public boolean isRepeatable();
2191 method @Deprecated public boolean isStreaming();
2192 method @Deprecated public void writeTo(java.io.OutputStream) throws java.io.IOException;
2193 field @Deprecated protected final byte[] content;
Paul Duffin03a95652017-07-14 13:48:42 +01002194 }
2195
2196}
2197
2198package org.apache.http.impl {
2199
Tor Norbyebd65b232019-01-07 18:09:28 -08002200 @Deprecated public abstract class AbstractHttpClientConnection implements org.apache.http.HttpClientConnection {
2201 ctor @Deprecated public AbstractHttpClientConnection();
2202 method @Deprecated protected abstract void assertOpen() throws java.lang.IllegalStateException;
2203 method @Deprecated protected org.apache.http.impl.entity.EntityDeserializer createEntityDeserializer();
2204 method @Deprecated protected org.apache.http.impl.entity.EntitySerializer createEntitySerializer();
2205 method @Deprecated protected org.apache.http.HttpResponseFactory createHttpResponseFactory();
2206 method @Deprecated protected org.apache.http.io.HttpMessageWriter createRequestWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2207 method @Deprecated protected org.apache.http.io.HttpMessageParser createResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
2208 method @Deprecated protected void doFlush() throws java.io.IOException;
2209 method @Deprecated public void flush() throws java.io.IOException;
2210 method @Deprecated public org.apache.http.HttpConnectionMetrics getMetrics();
2211 method @Deprecated protected void init(org.apache.http.io.SessionInputBuffer, org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2212 method @Deprecated public boolean isResponseAvailable(int) throws java.io.IOException;
2213 method @Deprecated public boolean isStale();
2214 method @Deprecated public void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2215 method @Deprecated public org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
2216 method @Deprecated public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2217 method @Deprecated public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002218 }
2219
Tor Norbyebd65b232019-01-07 18:09:28 -08002220 @Deprecated public abstract class AbstractHttpServerConnection implements org.apache.http.HttpServerConnection {
2221 ctor @Deprecated public AbstractHttpServerConnection();
2222 method @Deprecated protected abstract void assertOpen() throws java.lang.IllegalStateException;
2223 method @Deprecated protected org.apache.http.impl.entity.EntityDeserializer createEntityDeserializer();
2224 method @Deprecated protected org.apache.http.impl.entity.EntitySerializer createEntitySerializer();
2225 method @Deprecated protected org.apache.http.HttpRequestFactory createHttpRequestFactory();
2226 method @Deprecated protected org.apache.http.io.HttpMessageParser createRequestParser(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpRequestFactory, org.apache.http.params.HttpParams);
2227 method @Deprecated protected org.apache.http.io.HttpMessageWriter createResponseWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2228 method @Deprecated protected void doFlush() throws java.io.IOException;
2229 method @Deprecated public void flush() throws java.io.IOException;
2230 method @Deprecated public org.apache.http.HttpConnectionMetrics getMetrics();
2231 method @Deprecated protected void init(org.apache.http.io.SessionInputBuffer, org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2232 method @Deprecated public boolean isStale();
2233 method @Deprecated public void receiveRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2234 method @Deprecated public org.apache.http.HttpRequest receiveRequestHeader() throws org.apache.http.HttpException, java.io.IOException;
2235 method @Deprecated public void sendResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2236 method @Deprecated public void sendResponseHeader(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002237 }
2238
Tor Norbyebd65b232019-01-07 18:09:28 -08002239 @Deprecated public class DefaultConnectionReuseStrategy implements org.apache.http.ConnectionReuseStrategy {
2240 ctor @Deprecated public DefaultConnectionReuseStrategy();
2241 method @Deprecated protected org.apache.http.TokenIterator createTokenIterator(org.apache.http.HeaderIterator);
2242 method @Deprecated public boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002243 }
2244
Tor Norbyebd65b232019-01-07 18:09:28 -08002245 @Deprecated public class DefaultHttpClientConnection extends org.apache.http.impl.SocketHttpClientConnection {
2246 ctor @Deprecated public DefaultHttpClientConnection();
2247 method @Deprecated public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002248 }
2249
Tor Norbyebd65b232019-01-07 18:09:28 -08002250 @Deprecated public class DefaultHttpRequestFactory implements org.apache.http.HttpRequestFactory {
2251 ctor @Deprecated public DefaultHttpRequestFactory();
2252 method @Deprecated public org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine) throws org.apache.http.MethodNotSupportedException;
2253 method @Deprecated public org.apache.http.HttpRequest newHttpRequest(String, String) throws org.apache.http.MethodNotSupportedException;
Paul Duffin03a95652017-07-14 13:48:42 +01002254 }
2255
Tor Norbyebd65b232019-01-07 18:09:28 -08002256 @Deprecated public class DefaultHttpResponseFactory implements org.apache.http.HttpResponseFactory {
2257 ctor @Deprecated public DefaultHttpResponseFactory(org.apache.http.ReasonPhraseCatalog);
2258 ctor @Deprecated public DefaultHttpResponseFactory();
2259 method @Deprecated protected java.util.Locale determineLocale(org.apache.http.protocol.HttpContext);
2260 method @Deprecated public org.apache.http.HttpResponse newHttpResponse(org.apache.http.ProtocolVersion, int, org.apache.http.protocol.HttpContext);
2261 method @Deprecated public org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine, org.apache.http.protocol.HttpContext);
2262 field @Deprecated protected final org.apache.http.ReasonPhraseCatalog reasonCatalog;
Paul Duffin03a95652017-07-14 13:48:42 +01002263 }
2264
Tor Norbyebd65b232019-01-07 18:09:28 -08002265 @Deprecated public class DefaultHttpServerConnection extends org.apache.http.impl.SocketHttpServerConnection {
2266 ctor @Deprecated public DefaultHttpServerConnection();
2267 method @Deprecated public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002268 }
2269
Tor Norbyebd65b232019-01-07 18:09:28 -08002270 @Deprecated public class EnglishReasonPhraseCatalog implements org.apache.http.ReasonPhraseCatalog {
2271 ctor @Deprecated protected EnglishReasonPhraseCatalog();
2272 method @Deprecated public String getReason(int, java.util.Locale);
2273 field @Deprecated public static final org.apache.http.impl.EnglishReasonPhraseCatalog INSTANCE;
Paul Duffin03a95652017-07-14 13:48:42 +01002274 }
2275
Tor Norbyebd65b232019-01-07 18:09:28 -08002276 @Deprecated public class HttpConnectionMetricsImpl implements org.apache.http.HttpConnectionMetrics {
2277 ctor @Deprecated public HttpConnectionMetricsImpl(org.apache.http.io.HttpTransportMetrics, org.apache.http.io.HttpTransportMetrics);
2278 method @Deprecated public Object getMetric(String);
2279 method @Deprecated public long getReceivedBytesCount();
2280 method @Deprecated public long getRequestCount();
2281 method @Deprecated public long getResponseCount();
2282 method @Deprecated public long getSentBytesCount();
2283 method @Deprecated public void incrementRequestCount();
2284 method @Deprecated public void incrementResponseCount();
2285 method @Deprecated public void reset();
2286 method @Deprecated public void setMetric(String, Object);
2287 field @Deprecated public static final String RECEIVED_BYTES_COUNT = "http.received-bytes-count";
2288 field @Deprecated public static final String REQUEST_COUNT = "http.request-count";
2289 field @Deprecated public static final String RESPONSE_COUNT = "http.response-count";
2290 field @Deprecated public static final String SENT_BYTES_COUNT = "http.sent-bytes-count";
Paul Duffin03a95652017-07-14 13:48:42 +01002291 }
2292
Tor Norbyebd65b232019-01-07 18:09:28 -08002293 @Deprecated public class NoConnectionReuseStrategy implements org.apache.http.ConnectionReuseStrategy {
2294 ctor @Deprecated public NoConnectionReuseStrategy();
2295 method @Deprecated public boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002296 }
2297
Tor Norbyebd65b232019-01-07 18:09:28 -08002298 @Deprecated public class SocketHttpClientConnection extends org.apache.http.impl.AbstractHttpClientConnection implements org.apache.http.HttpInetConnection {
2299 ctor @Deprecated public SocketHttpClientConnection();
2300 method @Deprecated protected void assertNotOpen();
2301 method @Deprecated protected void assertOpen();
2302 method @Deprecated protected void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2303 method @Deprecated public void close() throws java.io.IOException;
2304 method @Deprecated protected org.apache.http.io.SessionInputBuffer createSessionInputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2305 method @Deprecated protected org.apache.http.io.SessionOutputBuffer createSessionOutputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2306 method @Deprecated public java.net.InetAddress getLocalAddress();
2307 method @Deprecated public int getLocalPort();
2308 method @Deprecated public java.net.InetAddress getRemoteAddress();
2309 method @Deprecated public int getRemotePort();
2310 method @Deprecated protected java.net.Socket getSocket();
2311 method @Deprecated public int getSocketTimeout();
2312 method @Deprecated public boolean isOpen();
2313 method @Deprecated public void setSocketTimeout(int);
2314 method @Deprecated public void shutdown() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002315 }
2316
Tor Norbyebd65b232019-01-07 18:09:28 -08002317 @Deprecated public class SocketHttpServerConnection extends org.apache.http.impl.AbstractHttpServerConnection implements org.apache.http.HttpInetConnection {
2318 ctor @Deprecated public SocketHttpServerConnection();
2319 method @Deprecated protected void assertNotOpen();
2320 method @Deprecated protected void assertOpen();
2321 method @Deprecated protected void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2322 method @Deprecated public void close() throws java.io.IOException;
2323 method @Deprecated protected org.apache.http.io.SessionInputBuffer createHttpDataReceiver(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2324 method @Deprecated protected org.apache.http.io.SessionOutputBuffer createHttpDataTransmitter(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2325 method @Deprecated public java.net.InetAddress getLocalAddress();
2326 method @Deprecated public int getLocalPort();
2327 method @Deprecated public java.net.InetAddress getRemoteAddress();
2328 method @Deprecated public int getRemotePort();
2329 method @Deprecated protected java.net.Socket getSocket();
2330 method @Deprecated public int getSocketTimeout();
2331 method @Deprecated public boolean isOpen();
2332 method @Deprecated public void setSocketTimeout(int);
2333 method @Deprecated public void shutdown() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002334 }
2335
2336}
2337
2338package org.apache.http.impl.auth {
2339
Tor Norbyebd65b232019-01-07 18:09:28 -08002340 @Deprecated public abstract class AuthSchemeBase implements org.apache.http.auth.AuthScheme {
2341 ctor @Deprecated public AuthSchemeBase();
2342 method @Deprecated public boolean isProxy();
2343 method @Deprecated protected abstract void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
2344 method @Deprecated public void processChallenge(org.apache.http.Header) throws org.apache.http.auth.MalformedChallengeException;
Paul Duffin03a95652017-07-14 13:48:42 +01002345 }
2346
Tor Norbyebd65b232019-01-07 18:09:28 -08002347 @Deprecated public class BasicScheme extends org.apache.http.impl.auth.RFC2617Scheme {
2348 ctor @Deprecated public BasicScheme();
2349 method @Deprecated public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2350 method @Deprecated public static org.apache.http.Header authenticate(org.apache.http.auth.Credentials, String, boolean);
2351 method @Deprecated public String getSchemeName();
2352 method @Deprecated public boolean isComplete();
2353 method @Deprecated public boolean isConnectionBased();
Paul Duffin03a95652017-07-14 13:48:42 +01002354 }
2355
Tor Norbyebd65b232019-01-07 18:09:28 -08002356 @Deprecated public class BasicSchemeFactory implements org.apache.http.auth.AuthSchemeFactory {
2357 ctor @Deprecated public BasicSchemeFactory();
2358 method @Deprecated public org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01002359 }
2360
Tor Norbyebd65b232019-01-07 18:09:28 -08002361 @Deprecated public class DigestScheme extends org.apache.http.impl.auth.RFC2617Scheme {
2362 ctor @Deprecated public DigestScheme();
2363 method @Deprecated public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2364 method @Deprecated public static String createCnonce();
2365 method @Deprecated public String getSchemeName();
2366 method @Deprecated public boolean isComplete();
2367 method @Deprecated public boolean isConnectionBased();
2368 method @Deprecated public void overrideParamter(String, String);
Paul Duffin03a95652017-07-14 13:48:42 +01002369 }
2370
Tor Norbyebd65b232019-01-07 18:09:28 -08002371 @Deprecated public class DigestSchemeFactory implements org.apache.http.auth.AuthSchemeFactory {
2372 ctor @Deprecated public DigestSchemeFactory();
2373 method @Deprecated public org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01002374 }
2375
Tor Norbyebd65b232019-01-07 18:09:28 -08002376 @Deprecated public interface NTLMEngine {
2377 method @Deprecated public String generateType1Msg(String, String) throws org.apache.http.impl.auth.NTLMEngineException;
2378 method @Deprecated public String generateType3Msg(String, String, String, String, String) throws org.apache.http.impl.auth.NTLMEngineException;
Paul Duffin03a95652017-07-14 13:48:42 +01002379 }
2380
Tor Norbyebd65b232019-01-07 18:09:28 -08002381 @Deprecated public class NTLMEngineException extends org.apache.http.auth.AuthenticationException {
2382 ctor @Deprecated public NTLMEngineException();
2383 ctor @Deprecated public NTLMEngineException(String);
2384 ctor @Deprecated public NTLMEngineException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01002385 }
2386
Tor Norbyebd65b232019-01-07 18:09:28 -08002387 @Deprecated public class NTLMScheme extends org.apache.http.impl.auth.AuthSchemeBase {
2388 ctor @Deprecated public NTLMScheme(org.apache.http.impl.auth.NTLMEngine);
2389 method @Deprecated public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2390 method @Deprecated public String getParameter(String);
2391 method @Deprecated public String getRealm();
2392 method @Deprecated public String getSchemeName();
2393 method @Deprecated public boolean isComplete();
2394 method @Deprecated public boolean isConnectionBased();
2395 method @Deprecated protected void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
Paul Duffin03a95652017-07-14 13:48:42 +01002396 }
2397
Tor Norbyebd65b232019-01-07 18:09:28 -08002398 @Deprecated public abstract class RFC2617Scheme extends org.apache.http.impl.auth.AuthSchemeBase {
2399 ctor @Deprecated public RFC2617Scheme();
2400 method @Deprecated public String getParameter(String);
2401 method @Deprecated protected java.util.Map<java.lang.String,java.lang.String> getParameters();
2402 method @Deprecated public String getRealm();
2403 method @Deprecated protected void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
Paul Duffin03a95652017-07-14 13:48:42 +01002404 }
2405
Tor Norbyebd65b232019-01-07 18:09:28 -08002406 @Deprecated public class UnsupportedDigestAlgorithmException extends java.lang.RuntimeException {
2407 ctor @Deprecated public UnsupportedDigestAlgorithmException();
2408 ctor @Deprecated public UnsupportedDigestAlgorithmException(String);
2409 ctor @Deprecated public UnsupportedDigestAlgorithmException(String, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01002410 }
2411
2412}
2413
2414package org.apache.http.impl.client {
2415
Tor Norbyebd65b232019-01-07 18:09:28 -08002416 @Deprecated public abstract class AbstractAuthenticationHandler implements org.apache.http.client.AuthenticationHandler {
2417 ctor @Deprecated public AbstractAuthenticationHandler();
2418 method @Deprecated protected java.util.List<java.lang.String> getAuthPreferences();
2419 method @Deprecated protected java.util.Map<java.lang.String,org.apache.http.Header> parseChallenges(org.apache.http.Header[]) throws org.apache.http.auth.MalformedChallengeException;
2420 method @Deprecated public 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;
Paul Duffin03a95652017-07-14 13:48:42 +01002421 }
2422
Tor Norbyebd65b232019-01-07 18:09:28 -08002423 @Deprecated public abstract class AbstractHttpClient implements org.apache.http.client.HttpClient {
2424 ctor @Deprecated protected AbstractHttpClient(org.apache.http.conn.ClientConnectionManager, org.apache.http.params.HttpParams);
2425 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
2426 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
2427 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
2428 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
2429 method @Deprecated public void clearRequestInterceptors();
2430 method @Deprecated public void clearResponseInterceptors();
2431 method @Deprecated protected abstract org.apache.http.auth.AuthSchemeRegistry createAuthSchemeRegistry();
2432 method @Deprecated protected abstract org.apache.http.conn.ClientConnectionManager createClientConnectionManager();
2433 method @Deprecated protected org.apache.http.client.RequestDirector createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams);
2434 method @Deprecated protected abstract org.apache.http.conn.ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy();
2435 method @Deprecated protected abstract org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy();
2436 method @Deprecated protected abstract org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry();
2437 method @Deprecated protected abstract org.apache.http.client.CookieStore createCookieStore();
2438 method @Deprecated protected abstract org.apache.http.client.CredentialsProvider createCredentialsProvider();
2439 method @Deprecated protected abstract org.apache.http.protocol.HttpContext createHttpContext();
2440 method @Deprecated protected abstract org.apache.http.params.HttpParams createHttpParams();
2441 method @Deprecated protected abstract org.apache.http.protocol.BasicHttpProcessor createHttpProcessor();
2442 method @Deprecated protected abstract org.apache.http.client.HttpRequestRetryHandler createHttpRequestRetryHandler();
2443 method @Deprecated protected abstract org.apache.http.conn.routing.HttpRoutePlanner createHttpRoutePlanner();
2444 method @Deprecated protected abstract org.apache.http.client.AuthenticationHandler createProxyAuthenticationHandler();
2445 method @Deprecated protected abstract org.apache.http.client.RedirectHandler createRedirectHandler();
2446 method @Deprecated protected abstract org.apache.http.protocol.HttpRequestExecutor createRequestExecutor();
2447 method @Deprecated protected abstract org.apache.http.client.AuthenticationHandler createTargetAuthenticationHandler();
2448 method @Deprecated protected abstract org.apache.http.client.UserTokenHandler createUserTokenHandler();
2449 method @Deprecated protected org.apache.http.params.HttpParams determineParams(org.apache.http.HttpRequest);
2450 method @Deprecated public final org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
2451 method @Deprecated public final 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;
2452 method @Deprecated public final org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
2453 method @Deprecated public final 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;
2454 method @Deprecated 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;
2455 method @Deprecated 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;
2456 method @Deprecated 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;
2457 method @Deprecated 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;
2458 method @Deprecated public final org.apache.http.auth.AuthSchemeRegistry getAuthSchemes();
2459 method @Deprecated public final org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy();
2460 method @Deprecated public final org.apache.http.conn.ClientConnectionManager getConnectionManager();
2461 method @Deprecated public final org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy();
2462 method @Deprecated public final org.apache.http.cookie.CookieSpecRegistry getCookieSpecs();
2463 method @Deprecated public final org.apache.http.client.CookieStore getCookieStore();
2464 method @Deprecated public final org.apache.http.client.CredentialsProvider getCredentialsProvider();
2465 method @Deprecated protected final org.apache.http.protocol.BasicHttpProcessor getHttpProcessor();
2466 method @Deprecated public final org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler();
2467 method @Deprecated public final org.apache.http.params.HttpParams getParams();
2468 method @Deprecated public final org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler();
2469 method @Deprecated public final org.apache.http.client.RedirectHandler getRedirectHandler();
2470 method @Deprecated public final org.apache.http.protocol.HttpRequestExecutor getRequestExecutor();
2471 method @Deprecated public org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
2472 method @Deprecated public int getRequestInterceptorCount();
2473 method @Deprecated public org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
2474 method @Deprecated public int getResponseInterceptorCount();
2475 method @Deprecated public final org.apache.http.conn.routing.HttpRoutePlanner getRoutePlanner();
2476 method @Deprecated public final org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler();
2477 method @Deprecated public final org.apache.http.client.UserTokenHandler getUserTokenHandler();
2478 method @Deprecated public void removeRequestInterceptorByClass(Class<? extends org.apache.http.HttpRequestInterceptor>);
2479 method @Deprecated public void removeResponseInterceptorByClass(Class<? extends org.apache.http.HttpResponseInterceptor>);
2480 method @Deprecated public void setAuthSchemes(org.apache.http.auth.AuthSchemeRegistry);
2481 method @Deprecated public void setCookieSpecs(org.apache.http.cookie.CookieSpecRegistry);
2482 method @Deprecated public void setCookieStore(org.apache.http.client.CookieStore);
2483 method @Deprecated public void setCredentialsProvider(org.apache.http.client.CredentialsProvider);
2484 method @Deprecated public void setHttpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler);
2485 method @Deprecated public void setKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy);
2486 method @Deprecated public void setParams(org.apache.http.params.HttpParams);
2487 method @Deprecated public void setProxyAuthenticationHandler(org.apache.http.client.AuthenticationHandler);
2488 method @Deprecated public void setRedirectHandler(org.apache.http.client.RedirectHandler);
2489 method @Deprecated public void setReuseStrategy(org.apache.http.ConnectionReuseStrategy);
2490 method @Deprecated public void setRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner);
2491 method @Deprecated public void setTargetAuthenticationHandler(org.apache.http.client.AuthenticationHandler);
2492 method @Deprecated public void setUserTokenHandler(org.apache.http.client.UserTokenHandler);
Paul Duffin03a95652017-07-14 13:48:42 +01002493 }
2494
Tor Norbyebd65b232019-01-07 18:09:28 -08002495 @Deprecated public class BasicCookieStore implements org.apache.http.client.CookieStore {
2496 ctor @Deprecated public BasicCookieStore();
2497 method @Deprecated public void addCookie(org.apache.http.cookie.Cookie);
2498 method @Deprecated public void addCookies(org.apache.http.cookie.Cookie[]);
2499 method @Deprecated public void clear();
2500 method @Deprecated public boolean clearExpired(java.util.Date);
2501 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> getCookies();
Paul Duffin03a95652017-07-14 13:48:42 +01002502 }
2503
Tor Norbyebd65b232019-01-07 18:09:28 -08002504 @Deprecated public class BasicCredentialsProvider implements org.apache.http.client.CredentialsProvider {
2505 ctor @Deprecated public BasicCredentialsProvider();
2506 method @Deprecated public void clear();
2507 method @Deprecated public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope);
2508 method @Deprecated public void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials);
Paul Duffin03a95652017-07-14 13:48:42 +01002509 }
2510
Tor Norbyebd65b232019-01-07 18:09:28 -08002511 @Deprecated public class BasicResponseHandler implements org.apache.http.client.ResponseHandler<java.lang.String> {
2512 ctor @Deprecated public BasicResponseHandler();
2513 method @Deprecated public String handleResponse(org.apache.http.HttpResponse) throws org.apache.http.client.HttpResponseException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002514 }
2515
Tor Norbyebd65b232019-01-07 18:09:28 -08002516 @Deprecated public class ClientParamsStack extends org.apache.http.params.AbstractHttpParams {
2517 ctor @Deprecated public ClientParamsStack(org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams);
2518 ctor @Deprecated public ClientParamsStack(org.apache.http.impl.client.ClientParamsStack);
2519 ctor @Deprecated public ClientParamsStack(org.apache.http.impl.client.ClientParamsStack, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams);
2520 method @Deprecated public org.apache.http.params.HttpParams copy();
2521 method @Deprecated public final org.apache.http.params.HttpParams getApplicationParams();
2522 method @Deprecated public final org.apache.http.params.HttpParams getClientParams();
2523 method @Deprecated public final org.apache.http.params.HttpParams getOverrideParams();
2524 method @Deprecated public Object getParameter(String);
2525 method @Deprecated public final org.apache.http.params.HttpParams getRequestParams();
2526 method @Deprecated public boolean removeParameter(String);
2527 method @Deprecated public org.apache.http.params.HttpParams setParameter(String, Object) throws java.lang.UnsupportedOperationException;
2528 field @Deprecated protected final org.apache.http.params.HttpParams applicationParams;
2529 field @Deprecated protected final org.apache.http.params.HttpParams clientParams;
2530 field @Deprecated protected final org.apache.http.params.HttpParams overrideParams;
2531 field @Deprecated protected final org.apache.http.params.HttpParams requestParams;
Paul Duffin03a95652017-07-14 13:48:42 +01002532 }
2533
Tor Norbyebd65b232019-01-07 18:09:28 -08002534 @Deprecated public class DefaultConnectionKeepAliveStrategy implements org.apache.http.conn.ConnectionKeepAliveStrategy {
2535 ctor @Deprecated public DefaultConnectionKeepAliveStrategy();
2536 method @Deprecated public long getKeepAliveDuration(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002537 }
2538
Tor Norbyebd65b232019-01-07 18:09:28 -08002539 @Deprecated public class DefaultHttpClient extends org.apache.http.impl.client.AbstractHttpClient {
2540 ctor @Deprecated public DefaultHttpClient(org.apache.http.conn.ClientConnectionManager, org.apache.http.params.HttpParams);
2541 ctor @Deprecated public DefaultHttpClient(org.apache.http.params.HttpParams);
2542 ctor @Deprecated public DefaultHttpClient();
2543 method @Deprecated protected org.apache.http.auth.AuthSchemeRegistry createAuthSchemeRegistry();
2544 method @Deprecated protected org.apache.http.conn.ClientConnectionManager createClientConnectionManager();
2545 method @Deprecated protected org.apache.http.conn.ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy();
2546 method @Deprecated protected org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy();
2547 method @Deprecated protected org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry();
2548 method @Deprecated protected org.apache.http.client.CookieStore createCookieStore();
2549 method @Deprecated protected org.apache.http.client.CredentialsProvider createCredentialsProvider();
2550 method @Deprecated protected org.apache.http.protocol.HttpContext createHttpContext();
2551 method @Deprecated protected org.apache.http.params.HttpParams createHttpParams();
2552 method @Deprecated protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor();
2553 method @Deprecated protected org.apache.http.client.HttpRequestRetryHandler createHttpRequestRetryHandler();
2554 method @Deprecated protected org.apache.http.conn.routing.HttpRoutePlanner createHttpRoutePlanner();
2555 method @Deprecated protected org.apache.http.client.AuthenticationHandler createProxyAuthenticationHandler();
2556 method @Deprecated protected org.apache.http.client.RedirectHandler createRedirectHandler();
2557 method @Deprecated protected org.apache.http.protocol.HttpRequestExecutor createRequestExecutor();
2558 method @Deprecated protected org.apache.http.client.AuthenticationHandler createTargetAuthenticationHandler();
2559 method @Deprecated protected org.apache.http.client.UserTokenHandler createUserTokenHandler();
Paul Duffin03a95652017-07-14 13:48:42 +01002560 }
2561
Tor Norbyebd65b232019-01-07 18:09:28 -08002562 @Deprecated public class DefaultHttpRequestRetryHandler implements org.apache.http.client.HttpRequestRetryHandler {
2563 ctor @Deprecated public DefaultHttpRequestRetryHandler(int, boolean);
2564 ctor @Deprecated public DefaultHttpRequestRetryHandler();
2565 method @Deprecated public int getRetryCount();
2566 method @Deprecated public boolean isRequestSentRetryEnabled();
2567 method @Deprecated public boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002568 }
2569
Tor Norbyebd65b232019-01-07 18:09:28 -08002570 @Deprecated public class DefaultProxyAuthenticationHandler extends org.apache.http.impl.client.AbstractAuthenticationHandler {
2571 ctor @Deprecated public DefaultProxyAuthenticationHandler();
2572 method @Deprecated public 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;
2573 method @Deprecated public boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002574 }
2575
Tor Norbyebd65b232019-01-07 18:09:28 -08002576 @Deprecated public class DefaultRedirectHandler implements org.apache.http.client.RedirectHandler {
2577 ctor @Deprecated public DefaultRedirectHandler();
2578 method @Deprecated public java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.ProtocolException;
2579 method @Deprecated public boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002580 }
2581
Tor Norbyebd65b232019-01-07 18:09:28 -08002582 @Deprecated public class DefaultRequestDirector implements org.apache.http.client.RequestDirector {
2583 ctor @Deprecated public DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams);
2584 method @Deprecated protected org.apache.http.HttpRequest createConnectRequest(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext);
2585 method @Deprecated protected boolean createTunnelToProxy(org.apache.http.conn.routing.HttpRoute, int, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2586 method @Deprecated protected boolean createTunnelToTarget(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2587 method @Deprecated protected org.apache.http.conn.routing.HttpRoute determineRoute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
2588 method @Deprecated protected void establishRoute(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2589 method @Deprecated public 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;
2590 method @Deprecated protected org.apache.http.impl.client.RoutedRequest handleResponse(org.apache.http.impl.client.RoutedRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2591 method @Deprecated protected void releaseConnection();
2592 method @Deprecated protected void rewriteRequestURI(org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute) throws org.apache.http.ProtocolException;
2593 field @Deprecated protected final org.apache.http.conn.ClientConnectionManager connManager;
2594 field @Deprecated protected final org.apache.http.protocol.HttpProcessor httpProcessor;
2595 field @Deprecated protected final org.apache.http.conn.ConnectionKeepAliveStrategy keepAliveStrategy;
2596 field @Deprecated protected org.apache.http.conn.ManagedClientConnection managedConn;
2597 field @Deprecated protected final org.apache.http.params.HttpParams params;
2598 field @Deprecated protected final org.apache.http.client.RedirectHandler redirectHandler;
2599 field @Deprecated protected final org.apache.http.protocol.HttpRequestExecutor requestExec;
2600 field @Deprecated protected final org.apache.http.client.HttpRequestRetryHandler retryHandler;
2601 field @Deprecated protected final org.apache.http.ConnectionReuseStrategy reuseStrategy;
2602 field @Deprecated protected final org.apache.http.conn.routing.HttpRoutePlanner routePlanner;
Paul Duffin03a95652017-07-14 13:48:42 +01002603 }
2604
Tor Norbyebd65b232019-01-07 18:09:28 -08002605 @Deprecated public class DefaultTargetAuthenticationHandler extends org.apache.http.impl.client.AbstractAuthenticationHandler {
2606 ctor @Deprecated public DefaultTargetAuthenticationHandler();
2607 method @Deprecated public 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;
2608 method @Deprecated public boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002609 }
2610
Tor Norbyebd65b232019-01-07 18:09:28 -08002611 @Deprecated public class DefaultUserTokenHandler implements org.apache.http.client.UserTokenHandler {
2612 ctor @Deprecated public DefaultUserTokenHandler();
2613 method @Deprecated public Object getUserToken(org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01002614 }
2615
Tor Norbyebd65b232019-01-07 18:09:28 -08002616 @Deprecated public class EntityEnclosingRequestWrapper extends org.apache.http.impl.client.RequestWrapper implements org.apache.http.HttpEntityEnclosingRequest {
2617 ctor @Deprecated public EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.ProtocolException;
2618 method @Deprecated public boolean expectContinue();
2619 method @Deprecated public org.apache.http.HttpEntity getEntity();
2620 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
Paul Duffin03a95652017-07-14 13:48:42 +01002621 }
2622
Tor Norbyebd65b232019-01-07 18:09:28 -08002623 @Deprecated public class RedirectLocations {
2624 ctor @Deprecated public RedirectLocations();
2625 method @Deprecated public void add(java.net.URI);
2626 method @Deprecated public boolean contains(java.net.URI);
2627 method @Deprecated public boolean remove(java.net.URI);
Paul Duffin03a95652017-07-14 13:48:42 +01002628 }
2629
Tor Norbyebd65b232019-01-07 18:09:28 -08002630 @Deprecated public class RequestWrapper extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.client.methods.HttpUriRequest {
2631 ctor @Deprecated public RequestWrapper(org.apache.http.HttpRequest) throws org.apache.http.ProtocolException;
2632 method @Deprecated public void abort() throws java.lang.UnsupportedOperationException;
2633 method @Deprecated public int getExecCount();
2634 method @Deprecated public String getMethod();
2635 method @Deprecated public org.apache.http.HttpRequest getOriginal();
2636 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
2637 method @Deprecated public org.apache.http.RequestLine getRequestLine();
2638 method @Deprecated public java.net.URI getURI();
2639 method @Deprecated public void incrementExecCount();
2640 method @Deprecated public boolean isAborted();
2641 method @Deprecated public boolean isRepeatable();
2642 method @Deprecated public void resetHeaders();
2643 method @Deprecated public void setMethod(String);
2644 method @Deprecated public void setProtocolVersion(org.apache.http.ProtocolVersion);
2645 method @Deprecated public void setURI(java.net.URI);
Paul Duffin03a95652017-07-14 13:48:42 +01002646 }
2647
Tor Norbyebd65b232019-01-07 18:09:28 -08002648 @Deprecated public class RoutedRequest {
2649 ctor @Deprecated public RoutedRequest(org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute);
2650 method @Deprecated public final org.apache.http.impl.client.RequestWrapper getRequest();
2651 method @Deprecated public final org.apache.http.conn.routing.HttpRoute getRoute();
2652 field @Deprecated protected final org.apache.http.impl.client.RequestWrapper request;
2653 field @Deprecated protected final org.apache.http.conn.routing.HttpRoute route;
Paul Duffin03a95652017-07-14 13:48:42 +01002654 }
2655
Tor Norbyebd65b232019-01-07 18:09:28 -08002656 @Deprecated public class TunnelRefusedException extends org.apache.http.HttpException {
2657 ctor @Deprecated public TunnelRefusedException(String, org.apache.http.HttpResponse);
2658 method @Deprecated public org.apache.http.HttpResponse getResponse();
Paul Duffin03a95652017-07-14 13:48:42 +01002659 }
2660
2661}
2662
2663package org.apache.http.impl.conn {
2664
Tor Norbyebd65b232019-01-07 18:09:28 -08002665 @Deprecated public abstract class AbstractClientConnAdapter implements org.apache.http.conn.ManagedClientConnection {
2666 ctor @Deprecated protected AbstractClientConnAdapter(org.apache.http.conn.ClientConnectionManager, org.apache.http.conn.OperatedClientConnection);
2667 method @Deprecated public void abortConnection();
2668 method @Deprecated protected final void assertNotAborted() throws java.io.InterruptedIOException;
2669 method @Deprecated protected final void assertValid(org.apache.http.conn.OperatedClientConnection);
2670 method @Deprecated protected void detach();
2671 method @Deprecated public void flush() throws java.io.IOException;
2672 method @Deprecated public java.net.InetAddress getLocalAddress();
2673 method @Deprecated public int getLocalPort();
2674 method @Deprecated protected org.apache.http.conn.ClientConnectionManager getManager();
2675 method @Deprecated public org.apache.http.HttpConnectionMetrics getMetrics();
2676 method @Deprecated public java.net.InetAddress getRemoteAddress();
2677 method @Deprecated public int getRemotePort();
2678 method @Deprecated public javax.net.ssl.SSLSession getSSLSession();
2679 method @Deprecated public int getSocketTimeout();
2680 method @Deprecated protected org.apache.http.conn.OperatedClientConnection getWrappedConnection();
2681 method @Deprecated public boolean isMarkedReusable();
2682 method @Deprecated public boolean isOpen();
2683 method @Deprecated public boolean isResponseAvailable(int) throws java.io.IOException;
2684 method @Deprecated public boolean isSecure();
2685 method @Deprecated public boolean isStale();
2686 method @Deprecated public void markReusable();
2687 method @Deprecated public void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2688 method @Deprecated public org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
2689 method @Deprecated public void releaseConnection();
2690 method @Deprecated public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2691 method @Deprecated public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
2692 method @Deprecated public void setIdleDuration(long, java.util.concurrent.TimeUnit);
2693 method @Deprecated public void setSocketTimeout(int);
2694 method @Deprecated public void unmarkReusable();
Paul Duffin03a95652017-07-14 13:48:42 +01002695 }
2696
Tor Norbyebd65b232019-01-07 18:09:28 -08002697 @Deprecated public abstract class AbstractPoolEntry {
2698 ctor @Deprecated protected AbstractPoolEntry(org.apache.http.conn.ClientConnectionOperator, org.apache.http.conn.routing.HttpRoute);
2699 method @Deprecated public Object getState();
2700 method @Deprecated public void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2701 method @Deprecated public void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2702 method @Deprecated public void setState(Object);
2703 method @Deprecated protected void shutdownEntry();
2704 method @Deprecated public void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2705 method @Deprecated public void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2706 field @Deprecated protected final org.apache.http.conn.ClientConnectionOperator connOperator;
2707 field @Deprecated protected final org.apache.http.conn.OperatedClientConnection connection;
2708 field @Deprecated protected volatile org.apache.http.conn.routing.HttpRoute route;
2709 field @Deprecated protected volatile Object state;
2710 field @Deprecated protected volatile org.apache.http.conn.routing.RouteTracker tracker;
Paul Duffin03a95652017-07-14 13:48:42 +01002711 }
2712
Tor Norbyebd65b232019-01-07 18:09:28 -08002713 @Deprecated public abstract class AbstractPooledConnAdapter extends org.apache.http.impl.conn.AbstractClientConnAdapter {
2714 ctor @Deprecated protected AbstractPooledConnAdapter(org.apache.http.conn.ClientConnectionManager, org.apache.http.impl.conn.AbstractPoolEntry);
2715 method @Deprecated protected final void assertAttached();
2716 method @Deprecated public void close() throws java.io.IOException;
2717 method @Deprecated public org.apache.http.conn.routing.HttpRoute getRoute();
2718 method @Deprecated public Object getState();
2719 method @Deprecated public void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2720 method @Deprecated public void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2721 method @Deprecated public void setState(Object);
2722 method @Deprecated public void shutdown() throws java.io.IOException;
2723 method @Deprecated public void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2724 method @Deprecated public void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2725 field @Deprecated protected volatile org.apache.http.impl.conn.AbstractPoolEntry poolEntry;
Paul Duffin03a95652017-07-14 13:48:42 +01002726 }
2727
Tor Norbyebd65b232019-01-07 18:09:28 -08002728 @Deprecated public class DefaultClientConnection extends org.apache.http.impl.SocketHttpClientConnection implements org.apache.http.conn.OperatedClientConnection {
2729 ctor @Deprecated public DefaultClientConnection();
2730 method @Deprecated public final java.net.Socket getSocket();
2731 method @Deprecated public final org.apache.http.HttpHost getTargetHost();
2732 method @Deprecated public final boolean isSecure();
2733 method @Deprecated public void openCompleted(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2734 method @Deprecated public void opening(java.net.Socket, org.apache.http.HttpHost) throws java.io.IOException;
2735 method @Deprecated public void update(java.net.Socket, org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002736 }
2737
Tor Norbyebd65b232019-01-07 18:09:28 -08002738 @Deprecated public class DefaultClientConnectionOperator implements org.apache.http.conn.ClientConnectionOperator {
2739 ctor @Deprecated public DefaultClientConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
2740 method @Deprecated public org.apache.http.conn.OperatedClientConnection createConnection();
2741 method @Deprecated public 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;
2742 method @Deprecated protected void prepareSocket(java.net.Socket, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2743 method @Deprecated public 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;
2744 field @Deprecated protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
Paul Duffin03a95652017-07-14 13:48:42 +01002745 }
2746
Tor Norbyebd65b232019-01-07 18:09:28 -08002747 @Deprecated public class DefaultHttpRoutePlanner implements org.apache.http.conn.routing.HttpRoutePlanner {
2748 ctor @Deprecated public DefaultHttpRoutePlanner(org.apache.http.conn.scheme.SchemeRegistry);
2749 method @Deprecated public org.apache.http.conn.routing.HttpRoute determineRoute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
2750 field @Deprecated protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
Paul Duffin03a95652017-07-14 13:48:42 +01002751 }
2752
Tor Norbyebd65b232019-01-07 18:09:28 -08002753 @Deprecated public class DefaultResponseParser extends org.apache.http.impl.io.AbstractMessageParser {
2754 ctor @Deprecated public DefaultResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
2755 method @Deprecated protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002756 }
2757
Tor Norbyebd65b232019-01-07 18:09:28 -08002758 @Deprecated public class IdleConnectionHandler {
2759 ctor @Deprecated public IdleConnectionHandler();
2760 method @Deprecated public void add(org.apache.http.HttpConnection, long, java.util.concurrent.TimeUnit);
2761 method @Deprecated public void closeExpiredConnections();
2762 method @Deprecated public void closeIdleConnections(long);
2763 method @Deprecated public boolean remove(org.apache.http.HttpConnection);
2764 method @Deprecated public void removeAll();
Paul Duffin03a95652017-07-14 13:48:42 +01002765 }
2766
Tor Norbyebd65b232019-01-07 18:09:28 -08002767 @Deprecated public class LoggingSessionInputBuffer implements org.apache.http.io.SessionInputBuffer {
2768 ctor @Deprecated public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer, org.apache.http.impl.conn.Wire);
2769 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
2770 method @Deprecated public boolean isDataAvailable(int) throws java.io.IOException;
2771 method @Deprecated public int read(byte[], int, int) throws java.io.IOException;
2772 method @Deprecated public int read() throws java.io.IOException;
2773 method @Deprecated public int read(byte[]) throws java.io.IOException;
2774 method @Deprecated public String readLine() throws java.io.IOException;
2775 method @Deprecated public int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002776 }
2777
Tor Norbyebd65b232019-01-07 18:09:28 -08002778 @Deprecated public class LoggingSessionOutputBuffer implements org.apache.http.io.SessionOutputBuffer {
2779 ctor @Deprecated public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer, org.apache.http.impl.conn.Wire);
2780 method @Deprecated public void flush() throws java.io.IOException;
2781 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
2782 method @Deprecated public void write(byte[], int, int) throws java.io.IOException;
2783 method @Deprecated public void write(int) throws java.io.IOException;
2784 method @Deprecated public void write(byte[]) throws java.io.IOException;
2785 method @Deprecated public void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
2786 method @Deprecated public void writeLine(String) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002787 }
2788
Tor Norbyebd65b232019-01-07 18:09:28 -08002789 @Deprecated public class ProxySelectorRoutePlanner implements org.apache.http.conn.routing.HttpRoutePlanner {
2790 ctor @Deprecated public ProxySelectorRoutePlanner(org.apache.http.conn.scheme.SchemeRegistry, java.net.ProxySelector);
2791 method @Deprecated protected java.net.Proxy chooseProxy(java.util.List<java.net.Proxy>, org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
2792 method @Deprecated protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
2793 method @Deprecated public org.apache.http.conn.routing.HttpRoute determineRoute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
2794 method @Deprecated protected String getHost(java.net.InetSocketAddress);
2795 method @Deprecated public java.net.ProxySelector getProxySelector();
2796 method @Deprecated public void setProxySelector(java.net.ProxySelector);
2797 field @Deprecated protected java.net.ProxySelector proxySelector;
2798 field @Deprecated protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
Paul Duffin03a95652017-07-14 13:48:42 +01002799 }
2800
Tor Norbyebd65b232019-01-07 18:09:28 -08002801 @Deprecated public class SingleClientConnManager implements org.apache.http.conn.ClientConnectionManager {
2802 ctor @Deprecated public SingleClientConnManager(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
2803 method @Deprecated protected final void assertStillUp() throws java.lang.IllegalStateException;
2804 method @Deprecated public void closeExpiredConnections();
2805 method @Deprecated public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
2806 method @Deprecated protected org.apache.http.conn.ClientConnectionOperator createConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
2807 method @Deprecated public org.apache.http.conn.ManagedClientConnection getConnection(org.apache.http.conn.routing.HttpRoute, Object);
2808 method @Deprecated public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
2809 method @Deprecated public void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
2810 method @Deprecated public final org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, Object);
2811 method @Deprecated protected void revokeConnection();
2812 method @Deprecated public void shutdown();
2813 field @Deprecated public static final String MISUSE_MESSAGE = "Invalid use of SingleClientConnManager: connection still allocated.\nMake sure to release the connection before allocating another one.";
2814 field @Deprecated protected boolean alwaysShutDown;
2815 field @Deprecated protected org.apache.http.conn.ClientConnectionOperator connOperator;
2816 field @Deprecated protected long connectionExpiresTime;
2817 field @Deprecated protected volatile boolean isShutDown;
2818 field @Deprecated protected long lastReleaseTime;
2819 field @Deprecated protected org.apache.http.impl.conn.SingleClientConnManager.ConnAdapter managedConn;
2820 field @Deprecated protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
2821 field @Deprecated protected org.apache.http.impl.conn.SingleClientConnManager.PoolEntry uniquePoolEntry;
Paul Duffin03a95652017-07-14 13:48:42 +01002822 }
2823
Tor Norbyebd65b232019-01-07 18:09:28 -08002824 @Deprecated protected class SingleClientConnManager.ConnAdapter extends org.apache.http.impl.conn.AbstractPooledConnAdapter {
2825 ctor @Deprecated protected SingleClientConnManager.ConnAdapter(org.apache.http.impl.conn.SingleClientConnManager.PoolEntry, org.apache.http.conn.routing.HttpRoute);
Paul Duffin03a95652017-07-14 13:48:42 +01002826 }
2827
Tor Norbyebd65b232019-01-07 18:09:28 -08002828 @Deprecated protected class SingleClientConnManager.PoolEntry extends org.apache.http.impl.conn.AbstractPoolEntry {
2829 ctor @Deprecated protected SingleClientConnManager.PoolEntry();
2830 method @Deprecated protected void close() throws java.io.IOException;
2831 method @Deprecated protected void shutdown() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002832 }
2833
Tor Norbyebd65b232019-01-07 18:09:28 -08002834 @Deprecated public class Wire {
2835 ctor @Deprecated public Wire(org.apache.commons.logging.Log);
2836 method @Deprecated public boolean enabled();
2837 method @Deprecated public void input(java.io.InputStream) throws java.io.IOException;
2838 method @Deprecated public void input(byte[], int, int) throws java.io.IOException;
2839 method @Deprecated public void input(byte[]) throws java.io.IOException;
2840 method @Deprecated public void input(int) throws java.io.IOException;
2841 method @Deprecated public void input(String) throws java.io.IOException;
2842 method @Deprecated public void output(java.io.InputStream) throws java.io.IOException;
2843 method @Deprecated public void output(byte[], int, int) throws java.io.IOException;
2844 method @Deprecated public void output(byte[]) throws java.io.IOException;
2845 method @Deprecated public void output(int) throws java.io.IOException;
2846 method @Deprecated public void output(String) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01002847 }
2848
2849}
2850
2851package org.apache.http.impl.conn.tsccm {
2852
Tor Norbyebd65b232019-01-07 18:09:28 -08002853 @Deprecated public abstract class AbstractConnPool implements org.apache.http.impl.conn.tsccm.RefQueueHandler {
2854 ctor @Deprecated protected AbstractConnPool();
2855 method @Deprecated protected void closeConnection(org.apache.http.conn.OperatedClientConnection);
2856 method @Deprecated public void closeExpiredConnections();
2857 method @Deprecated public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
2858 method @Deprecated public abstract void deleteClosedConnections();
2859 method @Deprecated public void enableConnectionGC() throws java.lang.IllegalStateException;
2860 method @Deprecated public abstract void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry, boolean, long, java.util.concurrent.TimeUnit);
2861 method @Deprecated public final org.apache.http.impl.conn.tsccm.BasicPoolEntry getEntry(org.apache.http.conn.routing.HttpRoute, Object, long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
2862 method @Deprecated protected abstract void handleLostEntry(org.apache.http.conn.routing.HttpRoute);
2863 method @Deprecated public void handleReference(java.lang.ref.Reference);
2864 method @Deprecated public abstract org.apache.http.impl.conn.tsccm.PoolEntryRequest requestPoolEntry(org.apache.http.conn.routing.HttpRoute, Object);
2865 method @Deprecated public void shutdown();
2866 field @Deprecated protected org.apache.http.impl.conn.IdleConnectionHandler idleConnHandler;
2867 field @Deprecated protected volatile boolean isShutDown;
2868 field @Deprecated protected java.util.Set<org.apache.http.impl.conn.tsccm.BasicPoolEntryRef> issuedConnections;
2869 field @Deprecated protected int numConnections;
2870 field @Deprecated protected final java.util.concurrent.locks.Lock poolLock;
2871 field @Deprecated protected java.lang.ref.ReferenceQueue<java.lang.Object> refQueue;
Paul Duffin03a95652017-07-14 13:48:42 +01002872 }
2873
Tor Norbyebd65b232019-01-07 18:09:28 -08002874 @Deprecated public class BasicPoolEntry extends org.apache.http.impl.conn.AbstractPoolEntry {
2875 ctor @Deprecated public BasicPoolEntry(org.apache.http.conn.ClientConnectionOperator, org.apache.http.conn.routing.HttpRoute, java.lang.ref.ReferenceQueue<java.lang.Object>);
2876 method @Deprecated protected final org.apache.http.conn.OperatedClientConnection getConnection();
2877 method @Deprecated protected final org.apache.http.conn.routing.HttpRoute getPlannedRoute();
2878 method @Deprecated protected final org.apache.http.impl.conn.tsccm.BasicPoolEntryRef getWeakRef();
Paul Duffin03a95652017-07-14 13:48:42 +01002879 }
2880
Tor Norbyebd65b232019-01-07 18:09:28 -08002881 @Deprecated public class BasicPoolEntryRef extends java.lang.ref.WeakReference<org.apache.http.impl.conn.tsccm.BasicPoolEntry> {
2882 ctor @Deprecated public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry, java.lang.ref.ReferenceQueue<java.lang.Object>);
2883 method @Deprecated public final org.apache.http.conn.routing.HttpRoute getRoute();
Paul Duffin03a95652017-07-14 13:48:42 +01002884 }
2885
Tor Norbyebd65b232019-01-07 18:09:28 -08002886 @Deprecated public class BasicPooledConnAdapter extends org.apache.http.impl.conn.AbstractPooledConnAdapter {
2887 ctor @Deprecated protected BasicPooledConnAdapter(org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager, org.apache.http.impl.conn.AbstractPoolEntry);
2888 method @Deprecated protected org.apache.http.impl.conn.AbstractPoolEntry getPoolEntry();
Paul Duffin03a95652017-07-14 13:48:42 +01002889 }
2890
Tor Norbyebd65b232019-01-07 18:09:28 -08002891 @Deprecated public class ConnPoolByRoute extends org.apache.http.impl.conn.tsccm.AbstractConnPool {
2892 ctor @Deprecated public ConnPoolByRoute(org.apache.http.conn.ClientConnectionOperator, org.apache.http.params.HttpParams);
2893 method @Deprecated protected org.apache.http.impl.conn.tsccm.BasicPoolEntry createEntry(org.apache.http.impl.conn.tsccm.RouteSpecificPool, org.apache.http.conn.ClientConnectionOperator);
2894 method @Deprecated protected java.util.Queue<org.apache.http.impl.conn.tsccm.BasicPoolEntry> createFreeConnQueue();
2895 method @Deprecated protected java.util.Map<org.apache.http.conn.routing.HttpRoute,org.apache.http.impl.conn.tsccm.RouteSpecificPool> createRouteToPoolMap();
2896 method @Deprecated protected java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> createWaitingThreadQueue();
2897 method @Deprecated public void deleteClosedConnections();
2898 method @Deprecated protected void deleteEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
2899 method @Deprecated protected void deleteLeastUsedEntry();
2900 method @Deprecated public void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry, boolean, long, java.util.concurrent.TimeUnit);
2901 method @Deprecated public int getConnectionsInPool(org.apache.http.conn.routing.HttpRoute);
2902 method @Deprecated protected org.apache.http.impl.conn.tsccm.BasicPoolEntry getEntryBlocking(org.apache.http.conn.routing.HttpRoute, Object, long, java.util.concurrent.TimeUnit, org.apache.http.impl.conn.tsccm.WaitingThreadAborter) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
2903 method @Deprecated protected org.apache.http.impl.conn.tsccm.BasicPoolEntry getFreeEntry(org.apache.http.impl.conn.tsccm.RouteSpecificPool, Object);
2904 method @Deprecated protected org.apache.http.impl.conn.tsccm.RouteSpecificPool getRoutePool(org.apache.http.conn.routing.HttpRoute, boolean);
2905 method @Deprecated protected void handleLostEntry(org.apache.http.conn.routing.HttpRoute);
2906 method @Deprecated protected org.apache.http.impl.conn.tsccm.RouteSpecificPool newRouteSpecificPool(org.apache.http.conn.routing.HttpRoute);
2907 method @Deprecated protected org.apache.http.impl.conn.tsccm.WaitingThread newWaitingThread(java.util.concurrent.locks.Condition, org.apache.http.impl.conn.tsccm.RouteSpecificPool);
2908 method @Deprecated protected void notifyWaitingThread(org.apache.http.impl.conn.tsccm.RouteSpecificPool);
2909 method @Deprecated public org.apache.http.impl.conn.tsccm.PoolEntryRequest requestPoolEntry(org.apache.http.conn.routing.HttpRoute, Object);
2910 field @Deprecated protected java.util.Queue<org.apache.http.impl.conn.tsccm.BasicPoolEntry> freeConnections;
2911 field @Deprecated protected final int maxTotalConnections;
2912 field @Deprecated protected final org.apache.http.conn.ClientConnectionOperator operator;
2913 field @Deprecated protected final java.util.Map<org.apache.http.conn.routing.HttpRoute,org.apache.http.impl.conn.tsccm.RouteSpecificPool> routeToPool;
2914 field @Deprecated protected java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> waitingThreads;
Paul Duffin03a95652017-07-14 13:48:42 +01002915 }
2916
Tor Norbyebd65b232019-01-07 18:09:28 -08002917 @Deprecated public interface PoolEntryRequest {
2918 method @Deprecated public void abortRequest();
2919 method @Deprecated public org.apache.http.impl.conn.tsccm.BasicPoolEntry getPoolEntry(long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
Paul Duffin03a95652017-07-14 13:48:42 +01002920 }
2921
Tor Norbyebd65b232019-01-07 18:09:28 -08002922 @Deprecated public interface RefQueueHandler {
2923 method @Deprecated public void handleReference(java.lang.ref.Reference<?>);
Paul Duffin03a95652017-07-14 13:48:42 +01002924 }
2925
Tor Norbyebd65b232019-01-07 18:09:28 -08002926 @Deprecated public class RefQueueWorker implements java.lang.Runnable {
2927 ctor @Deprecated public RefQueueWorker(java.lang.ref.ReferenceQueue<?>, org.apache.http.impl.conn.tsccm.RefQueueHandler);
2928 method @Deprecated public void run();
2929 method @Deprecated public void shutdown();
2930 field @Deprecated protected final org.apache.http.impl.conn.tsccm.RefQueueHandler refHandler;
2931 field @Deprecated protected final java.lang.ref.ReferenceQueue<?> refQueue;
2932 field @Deprecated protected volatile Thread workerThread;
Paul Duffin03a95652017-07-14 13:48:42 +01002933 }
2934
Tor Norbyebd65b232019-01-07 18:09:28 -08002935 @Deprecated public class RouteSpecificPool {
2936 ctor @Deprecated public RouteSpecificPool(org.apache.http.conn.routing.HttpRoute, int);
2937 method @Deprecated public org.apache.http.impl.conn.tsccm.BasicPoolEntry allocEntry(Object);
2938 method @Deprecated public void createdEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
2939 method @Deprecated public boolean deleteEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
2940 method @Deprecated public void dropEntry();
2941 method @Deprecated public void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
2942 method @Deprecated public int getCapacity();
2943 method @Deprecated public final int getEntryCount();
2944 method @Deprecated public final int getMaxEntries();
2945 method @Deprecated public final org.apache.http.conn.routing.HttpRoute getRoute();
2946 method @Deprecated public boolean hasThread();
2947 method @Deprecated public boolean isUnused();
2948 method @Deprecated public org.apache.http.impl.conn.tsccm.WaitingThread nextThread();
2949 method @Deprecated public void queueThread(org.apache.http.impl.conn.tsccm.WaitingThread);
2950 method @Deprecated public void removeThread(org.apache.http.impl.conn.tsccm.WaitingThread);
2951 field @Deprecated protected final java.util.LinkedList<org.apache.http.impl.conn.tsccm.BasicPoolEntry> freeEntries;
2952 field @Deprecated protected final int maxEntries;
2953 field @Deprecated protected int numEntries;
2954 field @Deprecated protected final org.apache.http.conn.routing.HttpRoute route;
2955 field @Deprecated protected final java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> waitingThreads;
Paul Duffin03a95652017-07-14 13:48:42 +01002956 }
2957
Tor Norbyebd65b232019-01-07 18:09:28 -08002958 @Deprecated public class ThreadSafeClientConnManager implements org.apache.http.conn.ClientConnectionManager {
2959 ctor @Deprecated public ThreadSafeClientConnManager(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
2960 method @Deprecated public void closeExpiredConnections();
2961 method @Deprecated public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
2962 method @Deprecated protected org.apache.http.conn.ClientConnectionOperator createConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
2963 method @Deprecated protected org.apache.http.impl.conn.tsccm.AbstractConnPool createConnectionPool(org.apache.http.params.HttpParams);
2964 method @Deprecated public int getConnectionsInPool(org.apache.http.conn.routing.HttpRoute);
2965 method @Deprecated public int getConnectionsInPool();
2966 method @Deprecated public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
2967 method @Deprecated public void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
2968 method @Deprecated public org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, Object);
2969 method @Deprecated public void shutdown();
2970 field @Deprecated protected org.apache.http.conn.ClientConnectionOperator connOperator;
2971 field @Deprecated protected final org.apache.http.impl.conn.tsccm.AbstractConnPool connectionPool;
2972 field @Deprecated protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
Paul Duffin03a95652017-07-14 13:48:42 +01002973 }
2974
Tor Norbyebd65b232019-01-07 18:09:28 -08002975 @Deprecated public class WaitingThread {
2976 ctor @Deprecated public WaitingThread(java.util.concurrent.locks.Condition, org.apache.http.impl.conn.tsccm.RouteSpecificPool);
2977 method @Deprecated public boolean await(java.util.Date) throws java.lang.InterruptedException;
2978 method @Deprecated public final java.util.concurrent.locks.Condition getCondition();
2979 method @Deprecated public final org.apache.http.impl.conn.tsccm.RouteSpecificPool getPool();
2980 method @Deprecated public final Thread getThread();
2981 method @Deprecated public void interrupt();
2982 method @Deprecated public void wakeup();
Paul Duffin03a95652017-07-14 13:48:42 +01002983 }
2984
Tor Norbyebd65b232019-01-07 18:09:28 -08002985 @Deprecated public class WaitingThreadAborter {
2986 ctor @Deprecated public WaitingThreadAborter();
2987 method @Deprecated public void abort();
2988 method @Deprecated public void setWaitingThread(org.apache.http.impl.conn.tsccm.WaitingThread);
Paul Duffin03a95652017-07-14 13:48:42 +01002989 }
2990
2991}
2992
2993package org.apache.http.impl.cookie {
2994
Tor Norbyebd65b232019-01-07 18:09:28 -08002995 @Deprecated public abstract class AbstractCookieAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
2996 ctor @Deprecated public AbstractCookieAttributeHandler();
2997 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
2998 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01002999 }
3000
Tor Norbyebd65b232019-01-07 18:09:28 -08003001 @Deprecated public abstract class AbstractCookieSpec implements org.apache.http.cookie.CookieSpec {
3002 ctor @Deprecated public AbstractCookieSpec();
3003 method @Deprecated protected org.apache.http.cookie.CookieAttributeHandler findAttribHandler(String);
3004 method @Deprecated protected org.apache.http.cookie.CookieAttributeHandler getAttribHandler(String);
3005 method @Deprecated protected java.util.Collection<org.apache.http.cookie.CookieAttributeHandler> getAttribHandlers();
3006 method @Deprecated public void registerAttribHandler(String, org.apache.http.cookie.CookieAttributeHandler);
Paul Duffin03a95652017-07-14 13:48:42 +01003007 }
3008
Tor Norbyebd65b232019-01-07 18:09:28 -08003009 @Deprecated public class BasicClientCookie implements org.apache.http.cookie.ClientCookie java.lang.Cloneable org.apache.http.cookie.SetCookie {
3010 ctor @Deprecated public BasicClientCookie(String, String);
3011 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3012 method @Deprecated public boolean containsAttribute(String);
3013 method @Deprecated public String getAttribute(String);
3014 method @Deprecated public String getComment();
3015 method @Deprecated public String getCommentURL();
3016 method @Deprecated public String getDomain();
3017 method @Deprecated public java.util.Date getExpiryDate();
3018 method @Deprecated public String getName();
3019 method @Deprecated public String getPath();
3020 method @Deprecated public int[] getPorts();
3021 method @Deprecated public String getValue();
3022 method @Deprecated public int getVersion();
3023 method @Deprecated public boolean isExpired(java.util.Date);
3024 method @Deprecated public boolean isPersistent();
3025 method @Deprecated public boolean isSecure();
3026 method @Deprecated public void setAttribute(String, String);
3027 method @Deprecated public void setComment(String);
3028 method @Deprecated public void setDomain(String);
3029 method @Deprecated public void setExpiryDate(java.util.Date);
3030 method @Deprecated public void setPath(String);
3031 method @Deprecated public void setSecure(boolean);
3032 method @Deprecated public void setValue(String);
3033 method @Deprecated public void setVersion(int);
Paul Duffin03a95652017-07-14 13:48:42 +01003034 }
3035
Tor Norbyebd65b232019-01-07 18:09:28 -08003036 @Deprecated public class BasicClientCookie2 extends org.apache.http.impl.cookie.BasicClientCookie implements org.apache.http.cookie.SetCookie2 {
3037 ctor @Deprecated public BasicClientCookie2(String, String);
3038 method @Deprecated public void setCommentURL(String);
3039 method @Deprecated public void setDiscard(boolean);
3040 method @Deprecated public void setPorts(int[]);
Paul Duffin03a95652017-07-14 13:48:42 +01003041 }
3042
Tor Norbyebd65b232019-01-07 18:09:28 -08003043 @Deprecated public class BasicCommentHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3044 ctor @Deprecated public BasicCommentHandler();
3045 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003046 }
3047
Tor Norbyebd65b232019-01-07 18:09:28 -08003048 @Deprecated public class BasicDomainHandler implements org.apache.http.cookie.CookieAttributeHandler {
3049 ctor @Deprecated public BasicDomainHandler();
3050 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3051 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3052 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003053 }
3054
Tor Norbyebd65b232019-01-07 18:09:28 -08003055 @Deprecated public class BasicExpiresHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3056 ctor @Deprecated public BasicExpiresHandler(String[]);
3057 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003058 }
3059
Tor Norbyebd65b232019-01-07 18:09:28 -08003060 @Deprecated public class BasicMaxAgeHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3061 ctor @Deprecated public BasicMaxAgeHandler();
3062 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003063 }
3064
Tor Norbyebd65b232019-01-07 18:09:28 -08003065 @Deprecated public class BasicPathHandler implements org.apache.http.cookie.CookieAttributeHandler {
3066 ctor @Deprecated public BasicPathHandler();
3067 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3068 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3069 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003070 }
3071
Tor Norbyebd65b232019-01-07 18:09:28 -08003072 @Deprecated public class BasicSecureHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3073 ctor @Deprecated public BasicSecureHandler();
3074 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003075 }
3076
Tor Norbyebd65b232019-01-07 18:09:28 -08003077 @Deprecated public class BestMatchSpec implements org.apache.http.cookie.CookieSpec {
3078 ctor @Deprecated public BestMatchSpec(String[], boolean);
3079 ctor @Deprecated public BestMatchSpec();
3080 method @Deprecated public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3081 method @Deprecated public int getVersion();
3082 method @Deprecated public org.apache.http.Header getVersionHeader();
3083 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3084 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3085 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003086 }
3087
Tor Norbyebd65b232019-01-07 18:09:28 -08003088 @Deprecated public class BestMatchSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3089 ctor @Deprecated public BestMatchSpecFactory();
3090 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003091 }
3092
Tor Norbyebd65b232019-01-07 18:09:28 -08003093 @Deprecated public class BrowserCompatSpec extends org.apache.http.impl.cookie.CookieSpecBase {
3094 ctor @Deprecated public BrowserCompatSpec(String[]);
3095 ctor @Deprecated public BrowserCompatSpec();
3096 method @Deprecated public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3097 method @Deprecated public int getVersion();
3098 method @Deprecated public org.apache.http.Header getVersionHeader();
3099 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3100 field @Deprecated protected static final String[] DATE_PATTERNS;
Paul Duffin03a95652017-07-14 13:48:42 +01003101 }
3102
Tor Norbyebd65b232019-01-07 18:09:28 -08003103 @Deprecated public class BrowserCompatSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3104 ctor @Deprecated public BrowserCompatSpecFactory();
3105 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003106 }
3107
Tor Norbyebd65b232019-01-07 18:09:28 -08003108 @Deprecated public abstract class CookieSpecBase extends org.apache.http.impl.cookie.AbstractCookieSpec {
3109 ctor @Deprecated public CookieSpecBase();
3110 method @Deprecated protected static String getDefaultDomain(org.apache.http.cookie.CookieOrigin);
3111 method @Deprecated protected static String getDefaultPath(org.apache.http.cookie.CookieOrigin);
3112 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3113 method @Deprecated protected java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.HeaderElement[], org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3114 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003115 }
3116
Tor Norbyebd65b232019-01-07 18:09:28 -08003117 @Deprecated public class DateParseException extends java.lang.Exception {
3118 ctor @Deprecated public DateParseException();
3119 ctor @Deprecated public DateParseException(String);
Paul Duffin03a95652017-07-14 13:48:42 +01003120 }
3121
Tor Norbyebd65b232019-01-07 18:09:28 -08003122 @Deprecated public final class DateUtils {
3123 method @Deprecated public static String formatDate(java.util.Date);
3124 method @Deprecated public static String formatDate(java.util.Date, String);
3125 method @Deprecated public static java.util.Date parseDate(String) throws org.apache.http.impl.cookie.DateParseException;
3126 method @Deprecated public static java.util.Date parseDate(String, String[]) throws org.apache.http.impl.cookie.DateParseException;
3127 method @Deprecated public static java.util.Date parseDate(String, String[], java.util.Date) throws org.apache.http.impl.cookie.DateParseException;
3128 field @Deprecated public static final java.util.TimeZone GMT;
3129 field @Deprecated public static final String PATTERN_ASCTIME = "EEE MMM d HH:mm:ss yyyy";
3130 field @Deprecated public static final String PATTERN_RFC1036 = "EEEE, dd-MMM-yy HH:mm:ss zzz";
3131 field @Deprecated public static final String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
Paul Duffin03a95652017-07-14 13:48:42 +01003132 }
3133
Tor Norbyebd65b232019-01-07 18:09:28 -08003134 @Deprecated public class NetscapeDomainHandler extends org.apache.http.impl.cookie.BasicDomainHandler {
3135 ctor @Deprecated public NetscapeDomainHandler();
Paul Duffin03a95652017-07-14 13:48:42 +01003136 }
3137
Tor Norbyebd65b232019-01-07 18:09:28 -08003138 @Deprecated public class NetscapeDraftHeaderParser {
3139 ctor @Deprecated public NetscapeDraftHeaderParser();
3140 method @Deprecated public org.apache.http.HeaderElement parseHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3141 field @Deprecated public static final org.apache.http.impl.cookie.NetscapeDraftHeaderParser DEFAULT;
Paul Duffin03a95652017-07-14 13:48:42 +01003142 }
3143
Tor Norbyebd65b232019-01-07 18:09:28 -08003144 @Deprecated public class NetscapeDraftSpec extends org.apache.http.impl.cookie.CookieSpecBase {
3145 ctor @Deprecated public NetscapeDraftSpec(String[]);
3146 ctor @Deprecated public NetscapeDraftSpec();
3147 method @Deprecated public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3148 method @Deprecated public int getVersion();
3149 method @Deprecated public org.apache.http.Header getVersionHeader();
3150 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3151 field @Deprecated protected static final String EXPIRES_PATTERN = "EEE, dd-MMM-yyyy HH:mm:ss z";
Paul Duffin03a95652017-07-14 13:48:42 +01003152 }
3153
Tor Norbyebd65b232019-01-07 18:09:28 -08003154 @Deprecated public class NetscapeDraftSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3155 ctor @Deprecated public NetscapeDraftSpecFactory();
3156 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003157 }
3158
Tor Norbyebd65b232019-01-07 18:09:28 -08003159 @Deprecated public class RFC2109DomainHandler implements org.apache.http.cookie.CookieAttributeHandler {
3160 ctor @Deprecated public RFC2109DomainHandler();
3161 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3162 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3163 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003164 }
3165
Tor Norbyebd65b232019-01-07 18:09:28 -08003166 @Deprecated public class RFC2109Spec extends org.apache.http.impl.cookie.CookieSpecBase {
3167 ctor @Deprecated public RFC2109Spec(String[], boolean);
3168 ctor @Deprecated public RFC2109Spec();
3169 method @Deprecated protected void formatCookieAsVer(org.apache.http.util.CharArrayBuffer, org.apache.http.cookie.Cookie, int);
3170 method @Deprecated public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3171 method @Deprecated protected void formatParamAsVer(org.apache.http.util.CharArrayBuffer, String, String, int);
3172 method @Deprecated public int getVersion();
3173 method @Deprecated public org.apache.http.Header getVersionHeader();
3174 method @Deprecated public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003175 }
3176
Tor Norbyebd65b232019-01-07 18:09:28 -08003177 @Deprecated public class RFC2109SpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3178 ctor @Deprecated public RFC2109SpecFactory();
3179 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003180 }
3181
Tor Norbyebd65b232019-01-07 18:09:28 -08003182 @Deprecated public class RFC2109VersionHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3183 ctor @Deprecated public RFC2109VersionHandler();
3184 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003185 }
3186
Tor Norbyebd65b232019-01-07 18:09:28 -08003187 @Deprecated public class RFC2965CommentUrlAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3188 ctor @Deprecated public RFC2965CommentUrlAttributeHandler();
3189 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3190 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3191 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003192 }
3193
Tor Norbyebd65b232019-01-07 18:09:28 -08003194 @Deprecated public class RFC2965DiscardAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3195 ctor @Deprecated public RFC2965DiscardAttributeHandler();
3196 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3197 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3198 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003199 }
3200
Tor Norbyebd65b232019-01-07 18:09:28 -08003201 @Deprecated public class RFC2965DomainAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3202 ctor @Deprecated public RFC2965DomainAttributeHandler();
3203 method @Deprecated public boolean domainMatch(String, String);
3204 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3205 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3206 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003207 }
3208
Tor Norbyebd65b232019-01-07 18:09:28 -08003209 @Deprecated public class RFC2965PortAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3210 ctor @Deprecated public RFC2965PortAttributeHandler();
3211 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3212 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3213 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003214 }
3215
Tor Norbyebd65b232019-01-07 18:09:28 -08003216 @Deprecated public class RFC2965Spec extends org.apache.http.impl.cookie.RFC2109Spec {
3217 ctor @Deprecated public RFC2965Spec();
3218 ctor @Deprecated public RFC2965Spec(String[], boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01003219 }
3220
Tor Norbyebd65b232019-01-07 18:09:28 -08003221 @Deprecated public class RFC2965SpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3222 ctor @Deprecated public RFC2965SpecFactory();
3223 method @Deprecated public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003224 }
3225
Tor Norbyebd65b232019-01-07 18:09:28 -08003226 @Deprecated public class RFC2965VersionAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3227 ctor @Deprecated public RFC2965VersionAttributeHandler();
3228 method @Deprecated public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3229 method @Deprecated public void parse(org.apache.http.cookie.SetCookie, String) throws org.apache.http.cookie.MalformedCookieException;
3230 method @Deprecated public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
Paul Duffin03a95652017-07-14 13:48:42 +01003231 }
3232
3233}
3234
3235package org.apache.http.impl.entity {
3236
Tor Norbyebd65b232019-01-07 18:09:28 -08003237 @Deprecated public class EntityDeserializer {
3238 ctor @Deprecated public EntityDeserializer(org.apache.http.entity.ContentLengthStrategy);
3239 method @Deprecated public org.apache.http.HttpEntity deserialize(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3240 method @Deprecated protected org.apache.http.entity.BasicHttpEntity doDeserialize(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003241 }
3242
Tor Norbyebd65b232019-01-07 18:09:28 -08003243 @Deprecated public class EntitySerializer {
3244 ctor @Deprecated public EntitySerializer(org.apache.http.entity.ContentLengthStrategy);
3245 method @Deprecated protected java.io.OutputStream doSerialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3246 method @Deprecated public void serialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage, org.apache.http.HttpEntity) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003247 }
3248
Tor Norbyebd65b232019-01-07 18:09:28 -08003249 @Deprecated public class LaxContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {
3250 ctor @Deprecated public LaxContentLengthStrategy();
3251 method @Deprecated public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
Paul Duffin03a95652017-07-14 13:48:42 +01003252 }
3253
Tor Norbyebd65b232019-01-07 18:09:28 -08003254 @Deprecated public class StrictContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {
3255 ctor @Deprecated public StrictContentLengthStrategy();
3256 method @Deprecated public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
Paul Duffin03a95652017-07-14 13:48:42 +01003257 }
3258
3259}
3260
3261package org.apache.http.impl.io {
3262
Tor Norbyebd65b232019-01-07 18:09:28 -08003263 @Deprecated public abstract class AbstractMessageParser implements org.apache.http.io.HttpMessageParser {
3264 ctor @Deprecated public AbstractMessageParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.params.HttpParams);
3265 method @Deprecated public org.apache.http.HttpMessage parse() throws org.apache.http.HttpException, java.io.IOException;
3266 method @Deprecated protected abstract org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
3267 method @Deprecated public static org.apache.http.Header[] parseHeaders(org.apache.http.io.SessionInputBuffer, int, int, org.apache.http.message.LineParser) throws org.apache.http.HttpException, java.io.IOException;
3268 field @Deprecated protected final org.apache.http.message.LineParser lineParser;
Paul Duffin03a95652017-07-14 13:48:42 +01003269 }
3270
Tor Norbyebd65b232019-01-07 18:09:28 -08003271 @Deprecated public abstract class AbstractMessageWriter implements org.apache.http.io.HttpMessageWriter {
3272 ctor @Deprecated public AbstractMessageWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3273 method @Deprecated public void write(org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3274 method @Deprecated protected abstract void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
3275 field @Deprecated protected final org.apache.http.util.CharArrayBuffer lineBuf;
3276 field @Deprecated protected final org.apache.http.message.LineFormatter lineFormatter;
3277 field @Deprecated protected final org.apache.http.io.SessionOutputBuffer sessionBuffer;
Paul Duffin03a95652017-07-14 13:48:42 +01003278 }
3279
Tor Norbyebd65b232019-01-07 18:09:28 -08003280 @Deprecated public abstract class AbstractSessionInputBuffer implements org.apache.http.io.SessionInputBuffer {
3281 ctor @Deprecated public AbstractSessionInputBuffer();
3282 method @Deprecated protected int fillBuffer() throws java.io.IOException;
3283 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
3284 method @Deprecated protected boolean hasBufferedData();
3285 method @Deprecated protected void init(java.io.InputStream, int, org.apache.http.params.HttpParams);
3286 method @Deprecated public int read() throws java.io.IOException;
3287 method @Deprecated public int read(byte[], int, int) throws java.io.IOException;
3288 method @Deprecated public int read(byte[]) throws java.io.IOException;
3289 method @Deprecated public int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3290 method @Deprecated public String readLine() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003291 }
3292
Tor Norbyebd65b232019-01-07 18:09:28 -08003293 @Deprecated public abstract class AbstractSessionOutputBuffer implements org.apache.http.io.SessionOutputBuffer {
3294 ctor @Deprecated public AbstractSessionOutputBuffer();
3295 method @Deprecated public void flush() throws java.io.IOException;
3296 method @Deprecated protected void flushBuffer() throws java.io.IOException;
3297 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
3298 method @Deprecated protected void init(java.io.OutputStream, int, org.apache.http.params.HttpParams);
3299 method @Deprecated public void write(byte[], int, int) throws java.io.IOException;
3300 method @Deprecated public void write(byte[]) throws java.io.IOException;
3301 method @Deprecated public void write(int) throws java.io.IOException;
3302 method @Deprecated public void writeLine(String) throws java.io.IOException;
3303 method @Deprecated public void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003304 }
3305
Tor Norbyebd65b232019-01-07 18:09:28 -08003306 @Deprecated public class ChunkedInputStream extends java.io.InputStream {
3307 ctor @Deprecated public ChunkedInputStream(org.apache.http.io.SessionInputBuffer);
3308 method @Deprecated public org.apache.http.Header[] getFooters();
3309 method @Deprecated public int read() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003310 }
3311
Tor Norbyebd65b232019-01-07 18:09:28 -08003312 @Deprecated public class ChunkedOutputStream extends java.io.OutputStream {
3313 ctor @Deprecated public ChunkedOutputStream(org.apache.http.io.SessionOutputBuffer, int) throws java.io.IOException;
3314 ctor @Deprecated public ChunkedOutputStream(org.apache.http.io.SessionOutputBuffer) throws java.io.IOException;
3315 method @Deprecated public void finish() throws java.io.IOException;
3316 method @Deprecated protected void flushCache() throws java.io.IOException;
3317 method @Deprecated protected void flushCacheWithAppend(byte[], int, int) throws java.io.IOException;
3318 method @Deprecated public void write(int) throws java.io.IOException;
3319 method @Deprecated protected void writeClosingChunk() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003320 }
3321
Tor Norbyebd65b232019-01-07 18:09:28 -08003322 @Deprecated public class ContentLengthInputStream extends java.io.InputStream {
3323 ctor @Deprecated public ContentLengthInputStream(org.apache.http.io.SessionInputBuffer, long);
3324 method @Deprecated public int read() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003325 }
3326
Tor Norbyebd65b232019-01-07 18:09:28 -08003327 @Deprecated public class ContentLengthOutputStream extends java.io.OutputStream {
3328 ctor @Deprecated public ContentLengthOutputStream(org.apache.http.io.SessionOutputBuffer, long);
3329 method @Deprecated public void write(int) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003330 }
3331
Tor Norbyebd65b232019-01-07 18:09:28 -08003332 @Deprecated public class HttpRequestParser extends org.apache.http.impl.io.AbstractMessageParser {
3333 ctor @Deprecated public HttpRequestParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpRequestFactory, org.apache.http.params.HttpParams);
3334 method @Deprecated protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
Paul Duffin03a95652017-07-14 13:48:42 +01003335 }
3336
Tor Norbyebd65b232019-01-07 18:09:28 -08003337 @Deprecated public class HttpRequestWriter extends org.apache.http.impl.io.AbstractMessageWriter {
3338 ctor @Deprecated public HttpRequestWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3339 method @Deprecated protected void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003340 }
3341
Tor Norbyebd65b232019-01-07 18:09:28 -08003342 @Deprecated public class HttpResponseParser extends org.apache.http.impl.io.AbstractMessageParser {
3343 ctor @Deprecated public HttpResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
3344 method @Deprecated protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
Paul Duffin03a95652017-07-14 13:48:42 +01003345 }
3346
Tor Norbyebd65b232019-01-07 18:09:28 -08003347 @Deprecated public class HttpResponseWriter extends org.apache.http.impl.io.AbstractMessageWriter {
3348 ctor @Deprecated public HttpResponseWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3349 method @Deprecated protected void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003350 }
3351
Tor Norbyebd65b232019-01-07 18:09:28 -08003352 @Deprecated public class HttpTransportMetricsImpl implements org.apache.http.io.HttpTransportMetrics {
3353 ctor @Deprecated public HttpTransportMetricsImpl();
3354 method @Deprecated public long getBytesTransferred();
3355 method @Deprecated public void incrementBytesTransferred(long);
3356 method @Deprecated public void reset();
3357 method @Deprecated public void setBytesTransferred(long);
Paul Duffin03a95652017-07-14 13:48:42 +01003358 }
3359
Tor Norbyebd65b232019-01-07 18:09:28 -08003360 @Deprecated public class IdentityInputStream extends java.io.InputStream {
3361 ctor @Deprecated public IdentityInputStream(org.apache.http.io.SessionInputBuffer);
3362 method @Deprecated public int read() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003363 }
3364
Tor Norbyebd65b232019-01-07 18:09:28 -08003365 @Deprecated public class IdentityOutputStream extends java.io.OutputStream {
3366 ctor @Deprecated public IdentityOutputStream(org.apache.http.io.SessionOutputBuffer);
3367 method @Deprecated public void write(int) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003368 }
3369
Tor Norbyebd65b232019-01-07 18:09:28 -08003370 @Deprecated public class SocketInputBuffer extends org.apache.http.impl.io.AbstractSessionInputBuffer {
3371 ctor @Deprecated public SocketInputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
3372 method @Deprecated public boolean isDataAvailable(int) throws java.io.IOException;
3373 method @Deprecated public boolean isStale() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003374 }
3375
Tor Norbyebd65b232019-01-07 18:09:28 -08003376 @Deprecated public class SocketOutputBuffer extends org.apache.http.impl.io.AbstractSessionOutputBuffer {
3377 ctor @Deprecated public SocketOutputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003378 }
3379
3380}
3381
3382package org.apache.http.io {
3383
Tor Norbyebd65b232019-01-07 18:09:28 -08003384 @Deprecated public interface HttpMessageParser {
3385 method @Deprecated public org.apache.http.HttpMessage parse() throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003386 }
3387
Tor Norbyebd65b232019-01-07 18:09:28 -08003388 @Deprecated public interface HttpMessageWriter {
3389 method @Deprecated public void write(org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003390 }
3391
Tor Norbyebd65b232019-01-07 18:09:28 -08003392 @Deprecated public interface HttpTransportMetrics {
3393 method @Deprecated public long getBytesTransferred();
3394 method @Deprecated public void reset();
Paul Duffin03a95652017-07-14 13:48:42 +01003395 }
3396
Tor Norbyebd65b232019-01-07 18:09:28 -08003397 @Deprecated public interface SessionInputBuffer {
3398 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
3399 method @Deprecated public boolean isDataAvailable(int) throws java.io.IOException;
3400 method @Deprecated public int read(byte[], int, int) throws java.io.IOException;
3401 method @Deprecated public int read(byte[]) throws java.io.IOException;
3402 method @Deprecated public int read() throws java.io.IOException;
3403 method @Deprecated public int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3404 method @Deprecated public String readLine() throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003405 }
3406
Tor Norbyebd65b232019-01-07 18:09:28 -08003407 @Deprecated public interface SessionOutputBuffer {
3408 method @Deprecated public void flush() throws java.io.IOException;
3409 method @Deprecated public org.apache.http.io.HttpTransportMetrics getMetrics();
3410 method @Deprecated public void write(byte[], int, int) throws java.io.IOException;
3411 method @Deprecated public void write(byte[]) throws java.io.IOException;
3412 method @Deprecated public void write(int) throws java.io.IOException;
3413 method @Deprecated public void writeLine(String) throws java.io.IOException;
3414 method @Deprecated public void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003415 }
3416
3417}
3418
3419package org.apache.http.message {
3420
Tor Norbyebd65b232019-01-07 18:09:28 -08003421 @Deprecated public abstract class AbstractHttpMessage implements org.apache.http.HttpMessage {
3422 ctor @Deprecated protected AbstractHttpMessage(org.apache.http.params.HttpParams);
3423 ctor @Deprecated protected AbstractHttpMessage();
3424 method @Deprecated public void addHeader(org.apache.http.Header);
3425 method @Deprecated public void addHeader(String, String);
3426 method @Deprecated public boolean containsHeader(String);
3427 method @Deprecated public org.apache.http.Header[] getAllHeaders();
3428 method @Deprecated public org.apache.http.Header getFirstHeader(String);
3429 method @Deprecated public org.apache.http.Header[] getHeaders(String);
3430 method @Deprecated public org.apache.http.Header getLastHeader(String);
3431 method @Deprecated public org.apache.http.params.HttpParams getParams();
3432 method @Deprecated public org.apache.http.HeaderIterator headerIterator();
3433 method @Deprecated public org.apache.http.HeaderIterator headerIterator(String);
3434 method @Deprecated public void removeHeader(org.apache.http.Header);
3435 method @Deprecated public void removeHeaders(String);
3436 method @Deprecated public void setHeader(org.apache.http.Header);
3437 method @Deprecated public void setHeader(String, String);
3438 method @Deprecated public void setHeaders(org.apache.http.Header[]);
3439 method @Deprecated public void setParams(org.apache.http.params.HttpParams);
3440 field @Deprecated protected org.apache.http.message.HeaderGroup headergroup;
3441 field @Deprecated protected org.apache.http.params.HttpParams params;
Paul Duffin03a95652017-07-14 13:48:42 +01003442 }
3443
Tor Norbyebd65b232019-01-07 18:09:28 -08003444 @Deprecated public class BasicHeader implements java.lang.Cloneable org.apache.http.Header {
3445 ctor @Deprecated public BasicHeader(String, String);
3446 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3447 method @Deprecated public org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
3448 method @Deprecated public String getName();
3449 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +01003450 }
3451
Tor Norbyebd65b232019-01-07 18:09:28 -08003452 @Deprecated public class BasicHeaderElement implements java.lang.Cloneable org.apache.http.HeaderElement {
3453 ctor @Deprecated public BasicHeaderElement(String, String, org.apache.http.NameValuePair[]);
3454 ctor @Deprecated public BasicHeaderElement(String, String);
3455 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3456 method @Deprecated public String getName();
3457 method @Deprecated public org.apache.http.NameValuePair getParameter(int);
3458 method @Deprecated public org.apache.http.NameValuePair getParameterByName(String);
3459 method @Deprecated public int getParameterCount();
3460 method @Deprecated public org.apache.http.NameValuePair[] getParameters();
3461 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +01003462 }
3463
Tor Norbyebd65b232019-01-07 18:09:28 -08003464 @Deprecated public class BasicHeaderElementIterator implements org.apache.http.HeaderElementIterator {
3465 ctor @Deprecated public BasicHeaderElementIterator(org.apache.http.HeaderIterator, org.apache.http.message.HeaderValueParser);
3466 ctor @Deprecated public BasicHeaderElementIterator(org.apache.http.HeaderIterator);
3467 method @Deprecated public boolean hasNext();
3468 method @Deprecated public final Object next() throws java.util.NoSuchElementException;
3469 method @Deprecated public org.apache.http.HeaderElement nextElement() throws java.util.NoSuchElementException;
3470 method @Deprecated public void remove() throws java.lang.UnsupportedOperationException;
Paul Duffin03a95652017-07-14 13:48:42 +01003471 }
3472
Tor Norbyebd65b232019-01-07 18:09:28 -08003473 @Deprecated public class BasicHeaderIterator implements org.apache.http.HeaderIterator {
3474 ctor @Deprecated public BasicHeaderIterator(org.apache.http.Header[], String);
3475 method @Deprecated protected boolean filterHeader(int);
3476 method @Deprecated protected int findNext(int);
3477 method @Deprecated public boolean hasNext();
3478 method @Deprecated public final Object next() throws java.util.NoSuchElementException;
3479 method @Deprecated public org.apache.http.Header nextHeader() throws java.util.NoSuchElementException;
3480 method @Deprecated public void remove() throws java.lang.UnsupportedOperationException;
3481 field @Deprecated protected final org.apache.http.Header[] allHeaders;
3482 field @Deprecated protected int currentIndex;
3483 field @Deprecated protected String headerName;
Paul Duffin03a95652017-07-14 13:48:42 +01003484 }
3485
Tor Norbyebd65b232019-01-07 18:09:28 -08003486 @Deprecated public class BasicHeaderValueFormatter implements org.apache.http.message.HeaderValueFormatter {
3487 ctor @Deprecated public BasicHeaderValueFormatter();
3488 method @Deprecated protected void doFormatValue(org.apache.http.util.CharArrayBuffer, String, boolean);
3489 method @Deprecated protected int estimateElementsLen(org.apache.http.HeaderElement[]);
3490 method @Deprecated protected int estimateHeaderElementLen(org.apache.http.HeaderElement);
3491 method @Deprecated protected int estimateNameValuePairLen(org.apache.http.NameValuePair);
3492 method @Deprecated protected int estimateParametersLen(org.apache.http.NameValuePair[]);
3493 method @Deprecated public static final String formatElements(org.apache.http.HeaderElement[], boolean, org.apache.http.message.HeaderValueFormatter);
3494 method @Deprecated public org.apache.http.util.CharArrayBuffer formatElements(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement[], boolean);
3495 method @Deprecated public static final String formatHeaderElement(org.apache.http.HeaderElement, boolean, org.apache.http.message.HeaderValueFormatter);
3496 method @Deprecated public org.apache.http.util.CharArrayBuffer formatHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement, boolean);
3497 method @Deprecated public static final String formatNameValuePair(org.apache.http.NameValuePair, boolean, org.apache.http.message.HeaderValueFormatter);
3498 method @Deprecated public org.apache.http.util.CharArrayBuffer formatNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair, boolean);
3499 method @Deprecated public static final String formatParameters(org.apache.http.NameValuePair[], boolean, org.apache.http.message.HeaderValueFormatter);
3500 method @Deprecated public org.apache.http.util.CharArrayBuffer formatParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair[], boolean);
3501 method @Deprecated protected boolean isSeparator(char);
3502 method @Deprecated protected boolean isUnsafe(char);
3503 field @Deprecated public static final org.apache.http.message.BasicHeaderValueFormatter DEFAULT;
3504 field @Deprecated public static final String SEPARATORS = " ;,:@()<>\\\"/[]?={}\t";
3505 field @Deprecated public static final String UNSAFE_CHARS = "\"\\";
Paul Duffin03a95652017-07-14 13:48:42 +01003506 }
3507
Tor Norbyebd65b232019-01-07 18:09:28 -08003508 @Deprecated public class BasicHeaderValueParser implements org.apache.http.message.HeaderValueParser {
3509 ctor @Deprecated public BasicHeaderValueParser();
3510 method @Deprecated protected org.apache.http.HeaderElement createHeaderElement(String, String, org.apache.http.NameValuePair[]);
3511 method @Deprecated protected org.apache.http.NameValuePair createNameValuePair(String, String);
3512 method @Deprecated public static final org.apache.http.HeaderElement[] parseElements(String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3513 method @Deprecated public org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3514 method @Deprecated public static final org.apache.http.HeaderElement parseHeaderElement(String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3515 method @Deprecated public org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3516 method @Deprecated public static final org.apache.http.NameValuePair parseNameValuePair(String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3517 method @Deprecated public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3518 method @Deprecated public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor, char[]);
3519 method @Deprecated public static final org.apache.http.NameValuePair[] parseParameters(String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3520 method @Deprecated public org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3521 field @Deprecated public static final org.apache.http.message.BasicHeaderValueParser DEFAULT;
Paul Duffin03a95652017-07-14 13:48:42 +01003522 }
3523
Tor Norbyebd65b232019-01-07 18:09:28 -08003524 @Deprecated public class BasicHttpEntityEnclosingRequest extends org.apache.http.message.BasicHttpRequest implements org.apache.http.HttpEntityEnclosingRequest {
3525 ctor @Deprecated public BasicHttpEntityEnclosingRequest(String, String);
3526 ctor @Deprecated public BasicHttpEntityEnclosingRequest(String, String, org.apache.http.ProtocolVersion);
3527 ctor @Deprecated public BasicHttpEntityEnclosingRequest(org.apache.http.RequestLine);
3528 method @Deprecated public boolean expectContinue();
3529 method @Deprecated public org.apache.http.HttpEntity getEntity();
3530 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
Paul Duffin03a95652017-07-14 13:48:42 +01003531 }
3532
Tor Norbyebd65b232019-01-07 18:09:28 -08003533 @Deprecated public class BasicHttpRequest extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.HttpRequest {
3534 ctor @Deprecated public BasicHttpRequest(String, String);
3535 ctor @Deprecated public BasicHttpRequest(String, String, org.apache.http.ProtocolVersion);
3536 ctor @Deprecated public BasicHttpRequest(org.apache.http.RequestLine);
3537 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
3538 method @Deprecated public org.apache.http.RequestLine getRequestLine();
Paul Duffin03a95652017-07-14 13:48:42 +01003539 }
3540
Tor Norbyebd65b232019-01-07 18:09:28 -08003541 @Deprecated public class BasicHttpResponse extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.HttpResponse {
3542 ctor @Deprecated public BasicHttpResponse(org.apache.http.StatusLine, org.apache.http.ReasonPhraseCatalog, java.util.Locale);
3543 ctor @Deprecated public BasicHttpResponse(org.apache.http.StatusLine);
3544 ctor @Deprecated public BasicHttpResponse(org.apache.http.ProtocolVersion, int, String);
3545 method @Deprecated public org.apache.http.HttpEntity getEntity();
3546 method @Deprecated public java.util.Locale getLocale();
3547 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
3548 method @Deprecated protected String getReason(int);
3549 method @Deprecated public org.apache.http.StatusLine getStatusLine();
3550 method @Deprecated public void setEntity(org.apache.http.HttpEntity);
3551 method @Deprecated public void setLocale(java.util.Locale);
3552 method @Deprecated public void setReasonPhrase(String);
3553 method @Deprecated public void setStatusCode(int);
3554 method @Deprecated public void setStatusLine(org.apache.http.StatusLine);
3555 method @Deprecated public void setStatusLine(org.apache.http.ProtocolVersion, int);
3556 method @Deprecated public void setStatusLine(org.apache.http.ProtocolVersion, int, String);
Paul Duffin03a95652017-07-14 13:48:42 +01003557 }
3558
Tor Norbyebd65b232019-01-07 18:09:28 -08003559 @Deprecated public class BasicLineFormatter implements org.apache.http.message.LineFormatter {
3560 ctor @Deprecated public BasicLineFormatter();
3561 method @Deprecated public org.apache.http.util.CharArrayBuffer appendProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.ProtocolVersion);
3562 method @Deprecated protected void doFormatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3563 method @Deprecated protected void doFormatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3564 method @Deprecated protected void doFormatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
3565 method @Deprecated protected int estimateProtocolVersionLen(org.apache.http.ProtocolVersion);
3566 method @Deprecated public static final String formatHeader(org.apache.http.Header, org.apache.http.message.LineFormatter);
3567 method @Deprecated public org.apache.http.util.CharArrayBuffer formatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3568 method @Deprecated public static final String formatProtocolVersion(org.apache.http.ProtocolVersion, org.apache.http.message.LineFormatter);
3569 method @Deprecated public static final String formatRequestLine(org.apache.http.RequestLine, org.apache.http.message.LineFormatter);
3570 method @Deprecated public org.apache.http.util.CharArrayBuffer formatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3571 method @Deprecated public static final String formatStatusLine(org.apache.http.StatusLine, org.apache.http.message.LineFormatter);
3572 method @Deprecated public org.apache.http.util.CharArrayBuffer formatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
3573 method @Deprecated protected org.apache.http.util.CharArrayBuffer initBuffer(org.apache.http.util.CharArrayBuffer);
3574 field @Deprecated public static final org.apache.http.message.BasicLineFormatter DEFAULT;
Paul Duffin03a95652017-07-14 13:48:42 +01003575 }
3576
Tor Norbyebd65b232019-01-07 18:09:28 -08003577 @Deprecated public class BasicLineParser implements org.apache.http.message.LineParser {
3578 ctor @Deprecated public BasicLineParser(org.apache.http.ProtocolVersion);
3579 ctor @Deprecated public BasicLineParser();
3580 method @Deprecated protected org.apache.http.ProtocolVersion createProtocolVersion(int, int);
3581 method @Deprecated protected org.apache.http.RequestLine createRequestLine(String, String, org.apache.http.ProtocolVersion);
3582 method @Deprecated protected org.apache.http.StatusLine createStatusLine(org.apache.http.ProtocolVersion, int, String);
3583 method @Deprecated public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3584 method @Deprecated public static final org.apache.http.Header parseHeader(String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3585 method @Deprecated public org.apache.http.Header parseHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3586 method @Deprecated public static final org.apache.http.ProtocolVersion parseProtocolVersion(String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3587 method @Deprecated public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3588 method @Deprecated public static final org.apache.http.RequestLine parseRequestLine(String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3589 method @Deprecated public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3590 method @Deprecated public static final org.apache.http.StatusLine parseStatusLine(String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3591 method @Deprecated public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3592 method @Deprecated protected void skipWhitespace(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3593 field @Deprecated public static final org.apache.http.message.BasicLineParser DEFAULT;
3594 field @Deprecated protected final org.apache.http.ProtocolVersion protocol;
Paul Duffin03a95652017-07-14 13:48:42 +01003595 }
3596
Tor Norbyebd65b232019-01-07 18:09:28 -08003597 @Deprecated public class BasicListHeaderIterator implements org.apache.http.HeaderIterator {
3598 ctor @Deprecated public BasicListHeaderIterator(java.util.List, String);
3599 method @Deprecated protected boolean filterHeader(int);
3600 method @Deprecated protected int findNext(int);
3601 method @Deprecated public boolean hasNext();
3602 method @Deprecated public final Object next() throws java.util.NoSuchElementException;
3603 method @Deprecated public org.apache.http.Header nextHeader() throws java.util.NoSuchElementException;
3604 method @Deprecated public void remove() throws java.lang.UnsupportedOperationException;
3605 field @Deprecated protected final java.util.List allHeaders;
3606 field @Deprecated protected int currentIndex;
3607 field @Deprecated protected String headerName;
3608 field @Deprecated protected int lastIndex;
Paul Duffin03a95652017-07-14 13:48:42 +01003609 }
3610
Tor Norbyebd65b232019-01-07 18:09:28 -08003611 @Deprecated public class BasicNameValuePair implements java.lang.Cloneable org.apache.http.NameValuePair {
3612 ctor @Deprecated public BasicNameValuePair(String, String);
3613 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3614 method @Deprecated public String getName();
3615 method @Deprecated public String getValue();
Paul Duffin03a95652017-07-14 13:48:42 +01003616 }
3617
Tor Norbyebd65b232019-01-07 18:09:28 -08003618 @Deprecated public class BasicRequestLine implements java.lang.Cloneable org.apache.http.RequestLine {
3619 ctor @Deprecated public BasicRequestLine(String, String, org.apache.http.ProtocolVersion);
3620 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3621 method @Deprecated public String getMethod();
3622 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
3623 method @Deprecated public String getUri();
Paul Duffin03a95652017-07-14 13:48:42 +01003624 }
3625
Tor Norbyebd65b232019-01-07 18:09:28 -08003626 @Deprecated public class BasicStatusLine implements java.lang.Cloneable org.apache.http.StatusLine {
3627 ctor @Deprecated public BasicStatusLine(org.apache.http.ProtocolVersion, int, String);
3628 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3629 method @Deprecated public org.apache.http.ProtocolVersion getProtocolVersion();
3630 method @Deprecated public String getReasonPhrase();
3631 method @Deprecated public int getStatusCode();
Paul Duffin03a95652017-07-14 13:48:42 +01003632 }
3633
Tor Norbyebd65b232019-01-07 18:09:28 -08003634 @Deprecated public class BasicTokenIterator implements org.apache.http.TokenIterator {
3635 ctor @Deprecated public BasicTokenIterator(org.apache.http.HeaderIterator);
3636 method @Deprecated protected String createToken(String, int, int);
3637 method @Deprecated protected int findNext(int) throws org.apache.http.ParseException;
3638 method @Deprecated protected int findTokenEnd(int);
3639 method @Deprecated protected int findTokenSeparator(int);
3640 method @Deprecated protected int findTokenStart(int);
3641 method @Deprecated public boolean hasNext();
3642 method @Deprecated protected boolean isHttpSeparator(char);
3643 method @Deprecated protected boolean isTokenChar(char);
3644 method @Deprecated protected boolean isTokenSeparator(char);
3645 method @Deprecated protected boolean isWhitespace(char);
3646 method @Deprecated public final Object next() throws java.util.NoSuchElementException, org.apache.http.ParseException;
3647 method @Deprecated public String nextToken() throws java.util.NoSuchElementException, org.apache.http.ParseException;
3648 method @Deprecated public final void remove() throws java.lang.UnsupportedOperationException;
3649 field @Deprecated public static final String HTTP_SEPARATORS = " ,;=()<>@:\\\"/[]?{}\t";
3650 field @Deprecated protected String currentHeader;
3651 field @Deprecated protected String currentToken;
3652 field @Deprecated protected final org.apache.http.HeaderIterator headerIt;
3653 field @Deprecated protected int searchPos;
Paul Duffin03a95652017-07-14 13:48:42 +01003654 }
3655
Tor Norbyebd65b232019-01-07 18:09:28 -08003656 @Deprecated public class BufferedHeader implements java.lang.Cloneable org.apache.http.FormattedHeader {
3657 ctor @Deprecated public BufferedHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3658 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3659 method @Deprecated public org.apache.http.util.CharArrayBuffer getBuffer();
3660 method @Deprecated public org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
3661 method @Deprecated public String getName();
3662 method @Deprecated public String getValue();
3663 method @Deprecated public int getValuePos();
Paul Duffin03a95652017-07-14 13:48:42 +01003664 }
3665
Tor Norbyebd65b232019-01-07 18:09:28 -08003666 @Deprecated public class HeaderGroup implements java.lang.Cloneable {
3667 ctor @Deprecated public HeaderGroup();
3668 method @Deprecated public void addHeader(org.apache.http.Header);
3669 method @Deprecated public void clear();
3670 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3671 method @Deprecated public boolean containsHeader(String);
3672 method @Deprecated public org.apache.http.message.HeaderGroup copy();
3673 method @Deprecated public org.apache.http.Header[] getAllHeaders();
3674 method @Deprecated public org.apache.http.Header getCondensedHeader(String);
3675 method @Deprecated public org.apache.http.Header getFirstHeader(String);
3676 method @Deprecated public org.apache.http.Header[] getHeaders(String);
3677 method @Deprecated public org.apache.http.Header getLastHeader(String);
3678 method @Deprecated public org.apache.http.HeaderIterator iterator();
3679 method @Deprecated public org.apache.http.HeaderIterator iterator(String);
3680 method @Deprecated public void removeHeader(org.apache.http.Header);
3681 method @Deprecated public void setHeaders(org.apache.http.Header[]);
3682 method @Deprecated public void updateHeader(org.apache.http.Header);
Paul Duffin03a95652017-07-14 13:48:42 +01003683 }
3684
Tor Norbyebd65b232019-01-07 18:09:28 -08003685 @Deprecated public interface HeaderValueFormatter {
3686 method @Deprecated public org.apache.http.util.CharArrayBuffer formatElements(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement[], boolean);
3687 method @Deprecated public org.apache.http.util.CharArrayBuffer formatHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement, boolean);
3688 method @Deprecated public org.apache.http.util.CharArrayBuffer formatNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair, boolean);
3689 method @Deprecated public org.apache.http.util.CharArrayBuffer formatParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair[], boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01003690 }
3691
Tor Norbyebd65b232019-01-07 18:09:28 -08003692 @Deprecated public interface HeaderValueParser {
3693 method @Deprecated public org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3694 method @Deprecated public org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3695 method @Deprecated public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3696 method @Deprecated public org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
Paul Duffin03a95652017-07-14 13:48:42 +01003697 }
3698
Tor Norbyebd65b232019-01-07 18:09:28 -08003699 @Deprecated public interface LineFormatter {
3700 method @Deprecated public org.apache.http.util.CharArrayBuffer appendProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.ProtocolVersion);
3701 method @Deprecated public org.apache.http.util.CharArrayBuffer formatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3702 method @Deprecated public org.apache.http.util.CharArrayBuffer formatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3703 method @Deprecated public org.apache.http.util.CharArrayBuffer formatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
Paul Duffin03a95652017-07-14 13:48:42 +01003704 }
3705
Tor Norbyebd65b232019-01-07 18:09:28 -08003706 @Deprecated public interface LineParser {
3707 method @Deprecated public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3708 method @Deprecated public org.apache.http.Header parseHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3709 method @Deprecated public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3710 method @Deprecated public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3711 method @Deprecated public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
Paul Duffin03a95652017-07-14 13:48:42 +01003712 }
3713
Tor Norbyebd65b232019-01-07 18:09:28 -08003714 @Deprecated public class ParserCursor {
3715 ctor @Deprecated public ParserCursor(int, int);
3716 method @Deprecated public boolean atEnd();
3717 method @Deprecated public int getLowerBound();
3718 method @Deprecated public int getPos();
3719 method @Deprecated public int getUpperBound();
3720 method @Deprecated public void updatePos(int);
Paul Duffin03a95652017-07-14 13:48:42 +01003721 }
3722
3723}
3724
3725package org.apache.http.params {
3726
Tor Norbyebd65b232019-01-07 18:09:28 -08003727 @Deprecated public abstract class AbstractHttpParams implements org.apache.http.params.HttpParams {
3728 ctor @Deprecated protected AbstractHttpParams();
3729 method @Deprecated public boolean getBooleanParameter(String, boolean);
3730 method @Deprecated public double getDoubleParameter(String, double);
3731 method @Deprecated public int getIntParameter(String, int);
3732 method @Deprecated public long getLongParameter(String, long);
3733 method @Deprecated public boolean isParameterFalse(String);
3734 method @Deprecated public boolean isParameterTrue(String);
3735 method @Deprecated public org.apache.http.params.HttpParams setBooleanParameter(String, boolean);
3736 method @Deprecated public org.apache.http.params.HttpParams setDoubleParameter(String, double);
3737 method @Deprecated public org.apache.http.params.HttpParams setIntParameter(String, int);
3738 method @Deprecated public org.apache.http.params.HttpParams setLongParameter(String, long);
Paul Duffin03a95652017-07-14 13:48:42 +01003739 }
3740
Tor Norbyebd65b232019-01-07 18:09:28 -08003741 @Deprecated public final class BasicHttpParams extends org.apache.http.params.AbstractHttpParams implements java.lang.Cloneable java.io.Serializable {
3742 ctor @Deprecated public BasicHttpParams();
3743 method @Deprecated public void clear();
3744 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3745 method @Deprecated public org.apache.http.params.HttpParams copy();
3746 method @Deprecated protected void copyParams(org.apache.http.params.HttpParams);
3747 method @Deprecated public Object getParameter(String);
3748 method @Deprecated public boolean isParameterSet(String);
3749 method @Deprecated public boolean isParameterSetLocally(String);
3750 method @Deprecated public boolean removeParameter(String);
3751 method @Deprecated public org.apache.http.params.HttpParams setParameter(String, Object);
3752 method @Deprecated public void setParameters(String[], Object);
Paul Duffin03a95652017-07-14 13:48:42 +01003753 }
3754
Tor Norbyebd65b232019-01-07 18:09:28 -08003755 @Deprecated public interface CoreProtocolPNames {
3756 field @Deprecated public static final String HTTP_CONTENT_CHARSET = "http.protocol.content-charset";
3757 field @Deprecated public static final String HTTP_ELEMENT_CHARSET = "http.protocol.element-charset";
3758 field @Deprecated public static final String ORIGIN_SERVER = "http.origin-server";
3759 field @Deprecated public static final String PROTOCOL_VERSION = "http.protocol.version";
3760 field @Deprecated public static final String STRICT_TRANSFER_ENCODING = "http.protocol.strict-transfer-encoding";
3761 field @Deprecated public static final String USER_AGENT = "http.useragent";
3762 field @Deprecated public static final String USE_EXPECT_CONTINUE = "http.protocol.expect-continue";
3763 field @Deprecated public static final String WAIT_FOR_CONTINUE = "http.protocol.wait-for-continue";
Paul Duffin03a95652017-07-14 13:48:42 +01003764 }
3765
Tor Norbyebd65b232019-01-07 18:09:28 -08003766 @Deprecated public final class DefaultedHttpParams extends org.apache.http.params.AbstractHttpParams {
3767 ctor @Deprecated public DefaultedHttpParams(org.apache.http.params.HttpParams, org.apache.http.params.HttpParams);
3768 method @Deprecated public org.apache.http.params.HttpParams copy();
3769 method @Deprecated public org.apache.http.params.HttpParams getDefaults();
3770 method @Deprecated public Object getParameter(String);
3771 method @Deprecated public boolean removeParameter(String);
3772 method @Deprecated public org.apache.http.params.HttpParams setParameter(String, Object);
Paul Duffin03a95652017-07-14 13:48:42 +01003773 }
3774
Tor Norbyebd65b232019-01-07 18:09:28 -08003775 @Deprecated public abstract class HttpAbstractParamBean {
3776 ctor @Deprecated public HttpAbstractParamBean(org.apache.http.params.HttpParams);
3777 field @Deprecated protected final org.apache.http.params.HttpParams params;
Paul Duffin03a95652017-07-14 13:48:42 +01003778 }
3779
Tor Norbyebd65b232019-01-07 18:09:28 -08003780 @Deprecated public class HttpConnectionParamBean extends org.apache.http.params.HttpAbstractParamBean {
3781 ctor @Deprecated public HttpConnectionParamBean(org.apache.http.params.HttpParams);
3782 method @Deprecated public void setConnectionTimeout(int);
3783 method @Deprecated public void setLinger(int);
3784 method @Deprecated public void setSoTimeout(int);
3785 method @Deprecated public void setSocketBufferSize(int);
3786 method @Deprecated public void setStaleCheckingEnabled(boolean);
3787 method @Deprecated public void setTcpNoDelay(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01003788 }
3789
Tor Norbyebd65b232019-01-07 18:09:28 -08003790 @Deprecated public class HttpProtocolParamBean extends org.apache.http.params.HttpAbstractParamBean {
3791 ctor @Deprecated public HttpProtocolParamBean(org.apache.http.params.HttpParams);
3792 method @Deprecated public void setContentCharset(String);
3793 method @Deprecated public void setHttpElementCharset(String);
3794 method @Deprecated public void setUseExpectContinue(boolean);
3795 method @Deprecated public void setUserAgent(String);
3796 method @Deprecated public void setVersion(org.apache.http.HttpVersion);
Paul Duffin03a95652017-07-14 13:48:42 +01003797 }
3798
Tor Norbyebd65b232019-01-07 18:09:28 -08003799 @Deprecated public final class HttpProtocolParams implements org.apache.http.params.CoreProtocolPNames {
3800 method @Deprecated public static String getContentCharset(org.apache.http.params.HttpParams);
3801 method @Deprecated public static String getHttpElementCharset(org.apache.http.params.HttpParams);
3802 method @Deprecated public static String getUserAgent(org.apache.http.params.HttpParams);
3803 method @Deprecated public static org.apache.http.ProtocolVersion getVersion(org.apache.http.params.HttpParams);
3804 method @Deprecated public static void setContentCharset(org.apache.http.params.HttpParams, String);
3805 method @Deprecated public static void setHttpElementCharset(org.apache.http.params.HttpParams, String);
3806 method @Deprecated public static void setUseExpectContinue(org.apache.http.params.HttpParams, boolean);
3807 method @Deprecated public static void setUserAgent(org.apache.http.params.HttpParams, String);
3808 method @Deprecated public static void setVersion(org.apache.http.params.HttpParams, org.apache.http.ProtocolVersion);
3809 method @Deprecated public static boolean useExpectContinue(org.apache.http.params.HttpParams);
Paul Duffin03a95652017-07-14 13:48:42 +01003810 }
3811
3812}
3813
3814package org.apache.http.protocol {
3815
Tor Norbyebd65b232019-01-07 18:09:28 -08003816 @Deprecated public class BasicHttpContext implements org.apache.http.protocol.HttpContext {
3817 ctor @Deprecated public BasicHttpContext();
3818 ctor @Deprecated public BasicHttpContext(org.apache.http.protocol.HttpContext);
3819 method @Deprecated public Object getAttribute(String);
3820 method @Deprecated public Object removeAttribute(String);
3821 method @Deprecated public void setAttribute(String, Object);
Paul Duffin03a95652017-07-14 13:48:42 +01003822 }
3823
Tor Norbyebd65b232019-01-07 18:09:28 -08003824 @Deprecated public final class BasicHttpProcessor implements java.lang.Cloneable org.apache.http.protocol.HttpProcessor org.apache.http.protocol.HttpRequestInterceptorList org.apache.http.protocol.HttpResponseInterceptorList {
3825 ctor @Deprecated public BasicHttpProcessor();
3826 method @Deprecated public void addInterceptor(org.apache.http.HttpRequestInterceptor);
3827 method @Deprecated public void addInterceptor(org.apache.http.HttpRequestInterceptor, int);
3828 method @Deprecated public void addInterceptor(org.apache.http.HttpResponseInterceptor);
3829 method @Deprecated public void addInterceptor(org.apache.http.HttpResponseInterceptor, int);
3830 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
3831 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
3832 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
3833 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
3834 method @Deprecated public void clearInterceptors();
3835 method @Deprecated public void clearRequestInterceptors();
3836 method @Deprecated public void clearResponseInterceptors();
3837 method @Deprecated public Object clone() throws java.lang.CloneNotSupportedException;
3838 method @Deprecated public org.apache.http.protocol.BasicHttpProcessor copy();
3839 method @Deprecated protected void copyInterceptors(org.apache.http.protocol.BasicHttpProcessor);
3840 method @Deprecated public org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
3841 method @Deprecated public int getRequestInterceptorCount();
3842 method @Deprecated public org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
3843 method @Deprecated public int getResponseInterceptorCount();
3844 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3845 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3846 method @Deprecated public void removeRequestInterceptorByClass(Class);
3847 method @Deprecated public void removeResponseInterceptorByClass(Class);
3848 method @Deprecated public void setInterceptors(java.util.List);
3849 field @Deprecated protected java.util.List requestInterceptors;
3850 field @Deprecated protected java.util.List responseInterceptors;
Paul Duffin03a95652017-07-14 13:48:42 +01003851 }
3852
Tor Norbyebd65b232019-01-07 18:09:28 -08003853 @Deprecated public final class DefaultedHttpContext implements org.apache.http.protocol.HttpContext {
3854 ctor @Deprecated public DefaultedHttpContext(org.apache.http.protocol.HttpContext, org.apache.http.protocol.HttpContext);
3855 method @Deprecated public Object getAttribute(String);
3856 method @Deprecated public org.apache.http.protocol.HttpContext getDefaults();
3857 method @Deprecated public Object removeAttribute(String);
3858 method @Deprecated public void setAttribute(String, Object);
Paul Duffin03a95652017-07-14 13:48:42 +01003859 }
3860
Tor Norbyebd65b232019-01-07 18:09:28 -08003861 @Deprecated public interface ExecutionContext {
3862 field @Deprecated public static final String HTTP_CONNECTION = "http.connection";
3863 field @Deprecated public static final String HTTP_PROXY_HOST = "http.proxy_host";
3864 field @Deprecated public static final String HTTP_REQUEST = "http.request";
3865 field @Deprecated public static final String HTTP_REQ_SENT = "http.request_sent";
3866 field @Deprecated public static final String HTTP_RESPONSE = "http.response";
3867 field @Deprecated public static final String HTTP_TARGET_HOST = "http.target_host";
Paul Duffin03a95652017-07-14 13:48:42 +01003868 }
3869
Tor Norbyebd65b232019-01-07 18:09:28 -08003870 @Deprecated public final class HTTP {
3871 method @Deprecated public static boolean isWhitespace(char);
3872 field @Deprecated public static final String ASCII = "ASCII";
3873 field @Deprecated public static final String CHARSET_PARAM = "; charset=";
3874 field @Deprecated public static final String CHUNK_CODING = "chunked";
3875 field @Deprecated public static final String CONN_CLOSE = "Close";
3876 field @Deprecated public static final String CONN_DIRECTIVE = "Connection";
3877 field @Deprecated public static final String CONN_KEEP_ALIVE = "Keep-Alive";
3878 field @Deprecated public static final String CONTENT_ENCODING = "Content-Encoding";
3879 field @Deprecated public static final String CONTENT_LEN = "Content-Length";
3880 field @Deprecated public static final String CONTENT_TYPE = "Content-Type";
3881 field @Deprecated public static final int CR = 13; // 0xd
3882 field @Deprecated public static final String DATE_HEADER = "Date";
3883 field @Deprecated public static final String DEFAULT_CONTENT_CHARSET = "ISO-8859-1";
3884 field @Deprecated public static final String DEFAULT_CONTENT_TYPE = "application/octet-stream";
3885 field @Deprecated public static final String DEFAULT_PROTOCOL_CHARSET = "US-ASCII";
3886 field @Deprecated public static final String EXPECT_CONTINUE = "100-continue";
3887 field @Deprecated public static final String EXPECT_DIRECTIVE = "Expect";
3888 field @Deprecated public static final int HT = 9; // 0x9
3889 field @Deprecated public static final String IDENTITY_CODING = "identity";
3890 field @Deprecated public static final String ISO_8859_1 = "ISO-8859-1";
3891 field @Deprecated public static final int LF = 10; // 0xa
3892 field @Deprecated public static final String OCTET_STREAM_TYPE = "application/octet-stream";
3893 field @Deprecated public static final String PLAIN_TEXT_TYPE = "text/plain";
3894 field @Deprecated public static final String SERVER_HEADER = "Server";
3895 field @Deprecated public static final int SP = 32; // 0x20
3896 field @Deprecated public static final String TARGET_HOST = "Host";
3897 field @Deprecated public static final String TRANSFER_ENCODING = "Transfer-Encoding";
3898 field @Deprecated public static final String USER_AGENT = "User-Agent";
3899 field @Deprecated public static final String US_ASCII = "US-ASCII";
3900 field @Deprecated public static final String UTF_16 = "UTF-16";
3901 field @Deprecated public static final String UTF_8 = "UTF-8";
Paul Duffin03a95652017-07-14 13:48:42 +01003902 }
3903
Tor Norbyebd65b232019-01-07 18:09:28 -08003904 @Deprecated public interface HttpContext {
3905 method @Deprecated public Object getAttribute(String);
3906 method @Deprecated public Object removeAttribute(String);
3907 method @Deprecated public void setAttribute(String, Object);
3908 field @Deprecated public static final String RESERVED_PREFIX = "http.";
Paul Duffin03a95652017-07-14 13:48:42 +01003909 }
3910
Tor Norbyebd65b232019-01-07 18:09:28 -08003911 @Deprecated public class HttpDateGenerator {
3912 ctor @Deprecated public HttpDateGenerator();
3913 method @Deprecated public String getCurrentDate();
3914 field @Deprecated public static final java.util.TimeZone GMT;
3915 field @Deprecated public static final String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
Paul Duffin03a95652017-07-14 13:48:42 +01003916 }
3917
Tor Norbyebd65b232019-01-07 18:09:28 -08003918 @Deprecated public interface HttpExpectationVerifier {
3919 method @Deprecated public void verify(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
Paul Duffin03a95652017-07-14 13:48:42 +01003920 }
3921
Tor Norbyebd65b232019-01-07 18:09:28 -08003922 @Deprecated public interface HttpProcessor extends org.apache.http.HttpRequestInterceptor org.apache.http.HttpResponseInterceptor {
Paul Duffin03a95652017-07-14 13:48:42 +01003923 }
3924
Tor Norbyebd65b232019-01-07 18:09:28 -08003925 @Deprecated public class HttpRequestExecutor {
3926 ctor @Deprecated public HttpRequestExecutor();
3927 method @Deprecated protected boolean canResponseHaveBody(org.apache.http.HttpRequest, org.apache.http.HttpResponse);
3928 method @Deprecated protected org.apache.http.HttpResponse doReceiveResponse(org.apache.http.HttpRequest, org.apache.http.HttpClientConnection, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3929 method @Deprecated protected org.apache.http.HttpResponse doSendRequest(org.apache.http.HttpRequest, org.apache.http.HttpClientConnection, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3930 method @Deprecated public org.apache.http.HttpResponse execute(org.apache.http.HttpRequest, org.apache.http.HttpClientConnection, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3931 method @Deprecated public void postProcess(org.apache.http.HttpResponse, org.apache.http.protocol.HttpProcessor, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3932 method @Deprecated public void preProcess(org.apache.http.HttpRequest, org.apache.http.protocol.HttpProcessor, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003933 }
3934
Tor Norbyebd65b232019-01-07 18:09:28 -08003935 @Deprecated public interface HttpRequestHandler {
3936 method @Deprecated public void handle(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003937 }
3938
Tor Norbyebd65b232019-01-07 18:09:28 -08003939 @Deprecated public class HttpRequestHandlerRegistry implements org.apache.http.protocol.HttpRequestHandlerResolver {
3940 ctor @Deprecated public HttpRequestHandlerRegistry();
3941 method @Deprecated public org.apache.http.protocol.HttpRequestHandler lookup(String);
3942 method @Deprecated protected boolean matchUriRequestPattern(String, String);
3943 method @Deprecated public void register(String, org.apache.http.protocol.HttpRequestHandler);
3944 method @Deprecated public void setHandlers(java.util.Map);
3945 method @Deprecated public void unregister(String);
Paul Duffin03a95652017-07-14 13:48:42 +01003946 }
3947
Tor Norbyebd65b232019-01-07 18:09:28 -08003948 @Deprecated public interface HttpRequestHandlerResolver {
3949 method @Deprecated public org.apache.http.protocol.HttpRequestHandler lookup(String);
Paul Duffin03a95652017-07-14 13:48:42 +01003950 }
3951
Tor Norbyebd65b232019-01-07 18:09:28 -08003952 @Deprecated public interface HttpRequestInterceptorList {
3953 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
3954 method @Deprecated public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
3955 method @Deprecated public void clearRequestInterceptors();
3956 method @Deprecated public org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
3957 method @Deprecated public int getRequestInterceptorCount();
3958 method @Deprecated public void removeRequestInterceptorByClass(Class);
3959 method @Deprecated public void setInterceptors(java.util.List);
Paul Duffin03a95652017-07-14 13:48:42 +01003960 }
3961
Tor Norbyebd65b232019-01-07 18:09:28 -08003962 @Deprecated public interface HttpResponseInterceptorList {
3963 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
3964 method @Deprecated public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
3965 method @Deprecated public void clearResponseInterceptors();
3966 method @Deprecated public org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
3967 method @Deprecated public int getResponseInterceptorCount();
3968 method @Deprecated public void removeResponseInterceptorByClass(Class);
3969 method @Deprecated public void setInterceptors(java.util.List);
Paul Duffin03a95652017-07-14 13:48:42 +01003970 }
3971
Tor Norbyebd65b232019-01-07 18:09:28 -08003972 @Deprecated public class HttpService {
3973 ctor @Deprecated public HttpService(org.apache.http.protocol.HttpProcessor, org.apache.http.ConnectionReuseStrategy, org.apache.http.HttpResponseFactory);
3974 method @Deprecated protected void doService(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3975 method @Deprecated public org.apache.http.params.HttpParams getParams();
3976 method @Deprecated protected void handleException(org.apache.http.HttpException, org.apache.http.HttpResponse);
3977 method @Deprecated public void handleRequest(org.apache.http.HttpServerConnection, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3978 method @Deprecated public void setConnReuseStrategy(org.apache.http.ConnectionReuseStrategy);
3979 method @Deprecated public void setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier);
3980 method @Deprecated public void setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver);
3981 method @Deprecated public void setHttpProcessor(org.apache.http.protocol.HttpProcessor);
3982 method @Deprecated public void setParams(org.apache.http.params.HttpParams);
3983 method @Deprecated public void setResponseFactory(org.apache.http.HttpResponseFactory);
Paul Duffin03a95652017-07-14 13:48:42 +01003984 }
3985
Tor Norbyebd65b232019-01-07 18:09:28 -08003986 @Deprecated public class RequestConnControl implements org.apache.http.HttpRequestInterceptor {
3987 ctor @Deprecated public RequestConnControl();
3988 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003989 }
3990
Tor Norbyebd65b232019-01-07 18:09:28 -08003991 @Deprecated public class RequestContent implements org.apache.http.HttpRequestInterceptor {
3992 ctor @Deprecated public RequestContent();
3993 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003994 }
3995
Tor Norbyebd65b232019-01-07 18:09:28 -08003996 @Deprecated public class RequestDate implements org.apache.http.HttpRequestInterceptor {
3997 ctor @Deprecated public RequestDate();
3998 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01003999 }
4000
Tor Norbyebd65b232019-01-07 18:09:28 -08004001 @Deprecated public class RequestExpectContinue implements org.apache.http.HttpRequestInterceptor {
4002 ctor @Deprecated public RequestExpectContinue();
4003 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004004 }
4005
Tor Norbyebd65b232019-01-07 18:09:28 -08004006 @Deprecated public class RequestTargetHost implements org.apache.http.HttpRequestInterceptor {
4007 ctor @Deprecated public RequestTargetHost();
4008 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004009 }
4010
Tor Norbyebd65b232019-01-07 18:09:28 -08004011 @Deprecated public class RequestUserAgent implements org.apache.http.HttpRequestInterceptor {
4012 ctor @Deprecated public RequestUserAgent();
4013 method @Deprecated public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004014 }
4015
Tor Norbyebd65b232019-01-07 18:09:28 -08004016 @Deprecated public class ResponseConnControl implements org.apache.http.HttpResponseInterceptor {
4017 ctor @Deprecated public ResponseConnControl();
4018 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004019 }
4020
Tor Norbyebd65b232019-01-07 18:09:28 -08004021 @Deprecated public class ResponseContent implements org.apache.http.HttpResponseInterceptor {
4022 ctor @Deprecated public ResponseContent();
4023 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004024 }
4025
Tor Norbyebd65b232019-01-07 18:09:28 -08004026 @Deprecated public class ResponseDate implements org.apache.http.HttpResponseInterceptor {
4027 ctor @Deprecated public ResponseDate();
4028 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004029 }
4030
Tor Norbyebd65b232019-01-07 18:09:28 -08004031 @Deprecated public class ResponseServer implements org.apache.http.HttpResponseInterceptor {
4032 ctor @Deprecated public ResponseServer();
4033 method @Deprecated public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
Paul Duffin03a95652017-07-14 13:48:42 +01004034 }
4035
Tor Norbyebd65b232019-01-07 18:09:28 -08004036 @Deprecated public class SyncBasicHttpContext extends org.apache.http.protocol.BasicHttpContext {
4037 ctor @Deprecated public SyncBasicHttpContext(org.apache.http.protocol.HttpContext);
Paul Duffin03a95652017-07-14 13:48:42 +01004038 }
4039
Tor Norbyebd65b232019-01-07 18:09:28 -08004040 @Deprecated public class UriPatternMatcher {
4041 ctor @Deprecated public UriPatternMatcher();
4042 method @Deprecated public Object lookup(String);
4043 method @Deprecated protected boolean matchUriRequestPattern(String, String);
4044 method @Deprecated public void register(String, Object);
4045 method @Deprecated public void setHandlers(java.util.Map);
4046 method @Deprecated public void unregister(String);
Paul Duffin03a95652017-07-14 13:48:42 +01004047 }
4048
4049}
4050
4051package org.apache.http.util {
4052
Tor Norbyebd65b232019-01-07 18:09:28 -08004053 @Deprecated public final class ByteArrayBuffer {
4054 ctor @Deprecated public ByteArrayBuffer(int);
4055 method @Deprecated public void append(byte[], int, int);
4056 method @Deprecated public void append(int);
4057 method @Deprecated public void append(char[], int, int);
4058 method @Deprecated public void append(org.apache.http.util.CharArrayBuffer, int, int);
4059 method @Deprecated public byte[] buffer();
4060 method @Deprecated public int byteAt(int);
4061 method @Deprecated public int capacity();
4062 method @Deprecated public void clear();
4063 method @Deprecated public boolean isEmpty();
4064 method @Deprecated public boolean isFull();
4065 method @Deprecated public int length();
4066 method @Deprecated public void setLength(int);
4067 method @Deprecated public byte[] toByteArray();
Paul Duffin03a95652017-07-14 13:48:42 +01004068 }
4069
Tor Norbyebd65b232019-01-07 18:09:28 -08004070 @Deprecated public final class CharArrayBuffer {
4071 ctor @Deprecated public CharArrayBuffer(int);
4072 method @Deprecated public void append(char[], int, int);
4073 method @Deprecated public void append(String);
4074 method @Deprecated public void append(org.apache.http.util.CharArrayBuffer, int, int);
4075 method @Deprecated public void append(org.apache.http.util.CharArrayBuffer);
4076 method @Deprecated public void append(char);
4077 method @Deprecated public void append(byte[], int, int);
4078 method @Deprecated public void append(org.apache.http.util.ByteArrayBuffer, int, int);
4079 method @Deprecated public void append(Object);
4080 method @Deprecated public char[] buffer();
4081 method @Deprecated public int capacity();
4082 method @Deprecated public char charAt(int);
4083 method @Deprecated public void clear();
4084 method @Deprecated public void ensureCapacity(int);
4085 method @Deprecated public int indexOf(int, int, int);
4086 method @Deprecated public int indexOf(int);
4087 method @Deprecated public boolean isEmpty();
4088 method @Deprecated public boolean isFull();
4089 method @Deprecated public int length();
4090 method @Deprecated public void setLength(int);
4091 method @Deprecated public String substring(int, int);
4092 method @Deprecated public String substringTrimmed(int, int);
4093 method @Deprecated public char[] toCharArray();
Paul Duffin03a95652017-07-14 13:48:42 +01004094 }
4095
Tor Norbyebd65b232019-01-07 18:09:28 -08004096 @Deprecated public final class EncodingUtils {
4097 method @Deprecated public static byte[] getAsciiBytes(String);
4098 method @Deprecated public static String getAsciiString(byte[], int, int);
4099 method @Deprecated public static String getAsciiString(byte[]);
4100 method @Deprecated public static byte[] getBytes(String, String);
4101 method @Deprecated public static String getString(byte[], int, int, String);
4102 method @Deprecated public static String getString(byte[], String);
Paul Duffin03a95652017-07-14 13:48:42 +01004103 }
4104
Tor Norbyebd65b232019-01-07 18:09:28 -08004105 @Deprecated public final class EntityUtils {
4106 method @Deprecated public static String getContentCharSet(org.apache.http.HttpEntity) throws org.apache.http.ParseException;
4107 method @Deprecated public static byte[] toByteArray(org.apache.http.HttpEntity) throws java.io.IOException;
4108 method @Deprecated public static String toString(org.apache.http.HttpEntity, String) throws java.io.IOException, org.apache.http.ParseException;
4109 method @Deprecated public static String toString(org.apache.http.HttpEntity) throws java.io.IOException, org.apache.http.ParseException;
Paul Duffin03a95652017-07-14 13:48:42 +01004110 }
4111
Tor Norbyebd65b232019-01-07 18:09:28 -08004112 @Deprecated public final class ExceptionUtils {
4113 method @Deprecated public static void initCause(Throwable, Throwable);
Paul Duffin03a95652017-07-14 13:48:42 +01004114 }
4115
Tor Norbyebd65b232019-01-07 18:09:28 -08004116 @Deprecated public final class LangUtils {
4117 method @Deprecated public static boolean equals(Object, Object);
4118 method @Deprecated public static boolean equals(Object[], Object[]);
4119 method @Deprecated public static int hashCode(int, int);
4120 method @Deprecated public static int hashCode(int, boolean);
4121 method @Deprecated public static int hashCode(int, Object);
4122 field @Deprecated public static final int HASH_OFFSET = 37; // 0x25
4123 field @Deprecated public static final int HASH_SEED = 17; // 0x11
Paul Duffin03a95652017-07-14 13:48:42 +01004124 }
4125
Tor Norbyebd65b232019-01-07 18:09:28 -08004126 @Deprecated public class VersionInfo {
4127 ctor @Deprecated protected VersionInfo(String, String, String, String, String);
4128 method @Deprecated protected static final org.apache.http.util.VersionInfo fromMap(String, java.util.Map, ClassLoader);
4129 method @Deprecated public final String getClassloader();
4130 method @Deprecated public final String getModule();
4131 method @Deprecated public final String getPackage();
4132 method @Deprecated public final String getRelease();
4133 method @Deprecated public final String getTimestamp();
4134 method @Deprecated public static final org.apache.http.util.VersionInfo[] loadVersionInfo(String[], ClassLoader);
4135 method @Deprecated public static final org.apache.http.util.VersionInfo loadVersionInfo(String, ClassLoader);
4136 field @Deprecated public static final String PROPERTY_MODULE = "info.module";
4137 field @Deprecated public static final String PROPERTY_RELEASE = "info.release";
4138 field @Deprecated public static final String PROPERTY_TIMESTAMP = "info.timestamp";
4139 field @Deprecated public static final String UNAVAILABLE = "UNAVAILABLE";
4140 field @Deprecated public static final String VERSION_PROPERTY_FILE = "version.properties";
Paul Duffin03a95652017-07-14 13:48:42 +01004141 }
4142
4143}
4144