blob: fc5482e9eb4a6d631b08652cb32af79ef14d0d9c [file] [log] [blame]
Paul Duffin03a95652017-07-14 13:48:42 +01001package android.net.compatibility {
2
3 public class WebAddress {
4 ctor public WebAddress(java.lang.String) throws java.lang.IllegalArgumentException;
5 method public java.lang.String getAuthInfo();
6 method public java.lang.String getHost();
7 method public java.lang.String getPath();
8 method public int getPort();
9 method public java.lang.String getScheme();
10 method public void setAuthInfo(java.lang.String);
11 method public void setHost(java.lang.String);
12 method public void setPath(java.lang.String);
13 method public void setPort(int);
14 method public void setScheme(java.lang.String);
15 }
16
17}
18
19package android.net.http {
20
21 public final class AndroidHttpClient implements org.apache.http.client.HttpClient {
22 method public void close();
23 method public void disableCurlLogging();
24 method public void enableCurlLogging(java.lang.String, int);
25 method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws java.io.IOException;
26 method public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
27 method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws java.io.IOException;
28 method public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException;
29 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;
30 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;
31 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;
32 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;
33 method public static org.apache.http.entity.AbstractHttpEntity getCompressedEntity(byte[], android.content.ContentResolver) throws java.io.IOException;
34 method public org.apache.http.conn.ClientConnectionManager getConnectionManager();
35 method public static long getMinGzipSize(android.content.ContentResolver);
36 method public org.apache.http.params.HttpParams getParams();
37 method public static java.io.InputStream getUngzippedContent(org.apache.http.HttpEntity) throws java.io.IOException;
38 method public static void modifyRequestToAcceptGzipResponse(org.apache.http.HttpRequest);
39 method public static android.net.http.AndroidHttpClient newInstance(java.lang.String, android.content.Context);
40 method public static android.net.http.AndroidHttpClient newInstance(java.lang.String);
41 method public static long parseDate(java.lang.String);
42 field public static long DEFAULT_SYNC_MIN_GZIP_BYTES;
43 }
44
45 public class AndroidHttpClientConnection implements org.apache.http.HttpConnection org.apache.http.HttpInetConnection {
46 ctor public AndroidHttpClientConnection();
47 method public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
48 method public void close() throws java.io.IOException;
49 method protected void doFlush() throws java.io.IOException;
50 method public void flush() throws java.io.IOException;
51 method public java.net.InetAddress getLocalAddress();
52 method public int getLocalPort();
53 method public org.apache.http.HttpConnectionMetrics getMetrics();
54 method public java.net.InetAddress getRemoteAddress();
55 method public int getRemotePort();
56 method public int getSocketTimeout();
57 method public boolean isOpen();
58 method public boolean isStale();
59 method public org.apache.http.StatusLine parseResponseHeader(android.net.http.Headers) throws java.io.IOException, org.apache.http.ParseException;
60 method public org.apache.http.HttpEntity receiveResponseEntity(android.net.http.Headers);
61 method public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
62 method public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
63 method public void setSocketTimeout(int);
64 method public void shutdown() throws java.io.IOException;
65 }
66
67 public class CertificateChainValidator {
68 method public android.net.http.SslError doHandshakeAndValidateServerCertificates(android.net.http.HttpsConnection, javax.net.ssl.SSLSocket, java.lang.String) throws java.io.IOException;
69 method public static android.net.http.CertificateChainValidator getInstance();
70 method public static void handleTrustStorageUpdate();
71 method public static android.net.http.SslError verifyServerCertificates(byte[][], java.lang.String, java.lang.String) throws java.io.IOException;
72 }
73
Paul Duffin03a95652017-07-14 13:48:42 +010074 public class DelegatingSSLSession implements javax.net.ssl.SSLSession {
75 ctor protected DelegatingSSLSession();
76 method public int getApplicationBufferSize();
77 method public java.lang.String getCipherSuite();
78 method public long getCreationTime();
79 method public byte[] getId();
80 method public long getLastAccessedTime();
81 method public java.security.cert.Certificate[] getLocalCertificates();
82 method public java.security.Principal getLocalPrincipal();
83 method public int getPacketBufferSize();
84 method public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException;
85 method public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException;
86 method public java.lang.String getPeerHost();
87 method public int getPeerPort();
88 method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException;
89 method public java.lang.String getProtocol();
90 method public javax.net.ssl.SSLSessionContext getSessionContext();
91 method public java.lang.Object getValue(java.lang.String);
92 method public java.lang.String[] getValueNames();
93 method public void invalidate();
94 method public boolean isValid();
95 method public void putValue(java.lang.String, java.lang.Object);
96 method public void removeValue(java.lang.String);
97 }
98
99 public static class DelegatingSSLSession.CertificateWrap extends android.net.http.DelegatingSSLSession {
100 ctor public DelegatingSSLSession.CertificateWrap(java.security.cert.Certificate);
101 }
102
103 public abstract interface EventHandler {
104 method public abstract void certificate(android.net.http.SslCertificate);
105 method public abstract void data(byte[], int);
106 method public abstract void endData();
107 method public abstract void error(int, java.lang.String);
108 method public abstract boolean handleSslErrorRequest(android.net.http.SslError);
109 method public abstract void headers(android.net.http.Headers);
110 method public abstract void status(int, int, int, java.lang.String);
111 field public static final int ERROR = -1; // 0xffffffff
112 field public static final int ERROR_AUTH = -4; // 0xfffffffc
113 field public static final int ERROR_BAD_URL = -12; // 0xfffffff4
114 field public static final int ERROR_CONNECT = -6; // 0xfffffffa
115 field public static final int ERROR_FAILED_SSL_HANDSHAKE = -11; // 0xfffffff5
116 field public static final int ERROR_IO = -7; // 0xfffffff9
117 field public static final int ERROR_LOOKUP = -2; // 0xfffffffe
118 field public static final int ERROR_PROXYAUTH = -5; // 0xfffffffb
119 field public static final int ERROR_REDIRECT_LOOP = -9; // 0xfffffff7
120 field public static final int ERROR_TIMEOUT = -8; // 0xfffffff8
121 field public static final int ERROR_UNSUPPORTED_AUTH_SCHEME = -3; // 0xfffffffd
122 field public static final int ERROR_UNSUPPORTED_SCHEME = -10; // 0xfffffff6
123 field public static final int FILE_ERROR = -13; // 0xfffffff3
124 field public static final int FILE_NOT_FOUND_ERROR = -14; // 0xfffffff2
125 field public static final int OK = 0; // 0x0
126 field public static final int TOO_MANY_REQUESTS_ERROR = -15; // 0xfffffff1
127 }
128
129 public final class Headers {
130 ctor public Headers();
131 method public java.lang.String getAcceptRanges();
132 method public java.lang.String getCacheControl();
133 method public int getConnectionType();
134 method public java.lang.String getContentDisposition();
135 method public java.lang.String getContentEncoding();
136 method public long getContentLength();
137 method public java.lang.String getContentType();
138 method public java.lang.String getEtag();
139 method public java.lang.String getExpires();
140 method public void getHeaders(android.net.http.Headers.HeaderCallback);
141 method public java.lang.String getLastModified();
142 method public java.lang.String getLocation();
143 method public java.lang.String getPragma();
144 method public java.lang.String getProxyAuthenticate();
145 method public java.lang.String getRefresh();
146 method public java.util.ArrayList<java.lang.String> getSetCookie();
147 method public long getTransferEncoding();
148 method public java.lang.String getWwwAuthenticate();
149 method public java.lang.String getXPermittedCrossDomainPolicies();
150 method public void parseHeader(org.apache.http.util.CharArrayBuffer);
151 method public void setAcceptRanges(java.lang.String);
152 method public void setCacheControl(java.lang.String);
153 method public void setContentDisposition(java.lang.String);
154 method public void setContentEncoding(java.lang.String);
155 method public void setContentLength(long);
156 method public void setContentType(java.lang.String);
157 method public void setEtag(java.lang.String);
158 method public void setExpires(java.lang.String);
159 method public void setLastModified(java.lang.String);
160 method public void setLocation(java.lang.String);
161 method public void setProxyAuthenticate(java.lang.String);
162 method public void setWwwAuthenticate(java.lang.String);
163 method public void setXPermittedCrossDomainPolicies(java.lang.String);
164 field public static final java.lang.String ACCEPT_RANGES = "accept-ranges";
165 field public static final java.lang.String CACHE_CONTROL = "cache-control";
166 field public static final int CONN_CLOSE = 1; // 0x1
167 field public static final java.lang.String CONN_DIRECTIVE = "connection";
168 field public static final int CONN_KEEP_ALIVE = 2; // 0x2
169 field public static final java.lang.String CONTENT_DISPOSITION = "content-disposition";
170 field public static final java.lang.String CONTENT_ENCODING = "content-encoding";
171 field public static final java.lang.String CONTENT_LEN = "content-length";
172 field public static final java.lang.String CONTENT_TYPE = "content-type";
173 field public static final java.lang.String ETAG = "etag";
174 field public static final java.lang.String EXPIRES = "expires";
175 field public static final java.lang.String LAST_MODIFIED = "last-modified";
176 field public static final java.lang.String LOCATION = "location";
177 field public static final int NO_CONN_TYPE = 0; // 0x0
178 field public static final long NO_CONTENT_LENGTH = -1L; // 0xffffffffffffffffL
179 field public static final long NO_TRANSFER_ENCODING = 0L; // 0x0L
180 field public static final java.lang.String PRAGMA = "pragma";
181 field public static final java.lang.String PROXY_AUTHENTICATE = "proxy-authenticate";
182 field public static final java.lang.String PROXY_CONNECTION = "proxy-connection";
183 field public static final java.lang.String REFRESH = "refresh";
184 field public static final java.lang.String SET_COOKIE = "set-cookie";
185 field public static final java.lang.String TRANSFER_ENCODING = "transfer-encoding";
186 field public static final java.lang.String WWW_AUTHENTICATE = "www-authenticate";
187 field public static final java.lang.String X_PERMITTED_CROSS_DOMAIN_POLICIES = "x-permitted-cross-domain-policies";
188 }
189
190 public static abstract interface Headers.HeaderCallback {
191 method public abstract void header(java.lang.String, java.lang.String);
192 }
193
194 public class HttpAuthHeader {
195 ctor public HttpAuthHeader(java.lang.String);
196 method public java.lang.String getAlgorithm();
197 method public java.lang.String getNonce();
198 method public java.lang.String getOpaque();
199 method public java.lang.String getPassword();
200 method public java.lang.String getQop();
201 method public java.lang.String getRealm();
202 method public int getScheme();
203 method public boolean getStale();
204 method public java.lang.String getUsername();
205 method public boolean isBasic();
206 method public boolean isDigest();
207 method public boolean isProxy();
208 method public boolean isSupportedScheme();
209 method public void setPassword(java.lang.String);
210 method public void setProxy();
211 method public void setUsername(java.lang.String);
212 field public static final int BASIC = 1; // 0x1
213 field public static final java.lang.String BASIC_TOKEN = "Basic";
214 field public static final int DIGEST = 2; // 0x2
215 field public static final java.lang.String DIGEST_TOKEN = "Digest";
216 field public static final int UNKNOWN = 0; // 0x0
217 }
218
Paul Duffin7ac610f2018-01-10 19:50:43 +0000219 public final class HttpResponseCache extends java.net.ResponseCache implements java.io.Closeable {
Paul Duffin03a95652017-07-14 13:48:42 +0100220 method public void close() throws java.io.IOException;
221 method public void delete() throws java.io.IOException;
222 method public void flush();
223 method public java.net.CacheResponse get(java.net.URI, java.lang.String, java.util.Map<java.lang.String, java.util.List<java.lang.String>>) throws java.io.IOException;
224 method public int getHitCount();
225 method public static android.net.http.HttpResponseCache getInstalled();
226 method public int getNetworkCount();
227 method public int getRequestCount();
228 method public static synchronized android.net.http.HttpResponseCache install(java.io.File, long) throws java.io.IOException;
229 method public long maxSize();
230 method public java.net.CacheRequest put(java.net.URI, java.net.URLConnection) throws java.io.IOException;
231 method public long size();
232 }
233
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -0700234 public class HttpsConnection {
Paul Duffin03a95652017-07-14 13:48:42 +0100235 method public static void initializeEngine(java.io.File);
Paul Duffin03a95652017-07-14 13:48:42 +0100236 }
237
238 public class LoggingEventHandler implements android.net.http.EventHandler {
239 ctor public LoggingEventHandler();
240 method public void certificate(android.net.http.SslCertificate);
241 method public void data(byte[], int);
242 method public void endData();
243 method public void error(int, java.lang.String);
244 method public boolean handleSslErrorRequest(android.net.http.SslError);
245 method public void headers(android.net.http.Headers);
246 method public void locationChanged(java.lang.String, boolean);
247 method public void requestSent();
248 method public void status(int, int, int, java.lang.String);
249 }
250
Paul Duffin03a95652017-07-14 13:48:42 +0100251 public class RequestHandle {
252 ctor public RequestHandle(android.net.http.RequestQueue, java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.io.InputStream, int, android.net.http.Request);
253 ctor public RequestHandle(android.net.http.RequestQueue, java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.io.InputStream, int, android.net.http.Request, android.net.http.Connection);
254 method public static java.lang.String authorizationHeader(boolean);
255 method public void cancel();
256 method public static java.lang.String computeBasicAuthResponse(java.lang.String, java.lang.String);
257 method public java.lang.String getMethod();
258 method public int getRedirectCount();
259 method public void handleSslErrorResponse(boolean);
260 method public boolean isRedirectMax();
261 method public void pauseRequest(boolean);
262 method public void processRequest();
263 method public void setRedirectCount(int);
264 method public void setupBasicAuthResponse(boolean, java.lang.String, java.lang.String);
265 method public void setupDigestAuthResponse(boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
266 method public boolean setupRedirect(java.lang.String, int, java.util.Map<java.lang.String, java.lang.String>);
267 method public void waitUntilComplete();
268 field public static final int MAX_REDIRECT_COUNT = 16; // 0x10
269 }
270
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -0700271 public class RequestQueue {
Paul Duffin03a95652017-07-14 13:48:42 +0100272 ctor public RequestQueue(android.content.Context);
273 ctor public RequestQueue(android.content.Context, int);
274 method public synchronized void disablePlatformNotifications();
275 method public synchronized void enablePlatformNotifications();
276 method public org.apache.http.HttpHost getProxyHost();
277 method public synchronized android.net.http.Request getRequest();
278 method public synchronized android.net.http.Request getRequest(org.apache.http.HttpHost);
279 method public synchronized boolean haveRequest(org.apache.http.HttpHost);
280 method public android.net.http.RequestHandle queueRequest(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
281 method public android.net.http.RequestHandle queueRequest(java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
282 method protected synchronized void queueRequest(android.net.http.Request, boolean);
283 method public android.net.http.RequestHandle queueSynchronousRequest(java.lang.String, android.net.compatibility.WebAddress, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.http.EventHandler, java.io.InputStream, int);
284 method public void requeueRequest(android.net.http.Request);
285 method public void shutdown();
286 method public void startTiming();
287 method public void stopTiming();
288 }
289
290 public class SslCertificate {
291 ctor public deprecated SslCertificate(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
292 ctor public deprecated SslCertificate(java.lang.String, java.lang.String, java.util.Date, java.util.Date);
293 ctor public SslCertificate(java.security.cert.X509Certificate);
294 method public android.net.http.SslCertificate.DName getIssuedBy();
295 method public android.net.http.SslCertificate.DName getIssuedTo();
296 method public deprecated java.lang.String getValidNotAfter();
297 method public java.util.Date getValidNotAfterDate();
298 method public deprecated java.lang.String getValidNotBefore();
299 method public java.util.Date getValidNotBeforeDate();
300 method public static android.net.http.SslCertificate restoreState(android.os.Bundle);
301 method public static android.os.Bundle saveState(android.net.http.SslCertificate);
302 }
303
304 public class SslCertificate.DName {
305 ctor public SslCertificate.DName(java.lang.String);
306 method public java.lang.String getCName();
307 method public java.lang.String getDName();
308 method public java.lang.String getOName();
309 method public java.lang.String getUName();
310 }
311
312 public class SslError {
313 ctor public deprecated SslError(int, android.net.http.SslCertificate);
314 ctor public deprecated SslError(int, java.security.cert.X509Certificate);
315 ctor public SslError(int, android.net.http.SslCertificate, java.lang.String);
316 ctor public SslError(int, java.security.cert.X509Certificate, java.lang.String);
317 method public boolean addError(int);
318 method public android.net.http.SslCertificate getCertificate();
319 method public int getPrimaryError();
320 method public java.lang.String getUrl();
321 method public boolean hasError(int);
322 field public static final int SSL_DATE_INVALID = 4; // 0x4
323 field public static final int SSL_EXPIRED = 1; // 0x1
324 field public static final int SSL_IDMISMATCH = 2; // 0x2
325 field public static final int SSL_INVALID = 5; // 0x5
326 field public static final deprecated int SSL_MAX_ERROR = 6; // 0x6
327 field public static final int SSL_NOTYETVALID = 0; // 0x0
328 field public static final int SSL_UNTRUSTED = 3; // 0x3
329 }
330
331}
332
333package com.android.internal.http.multipart {
334
335 public class ByteArrayPartSource implements com.android.internal.http.multipart.PartSource {
336 ctor public ByteArrayPartSource(java.lang.String, byte[]);
337 method public java.io.InputStream createInputStream();
338 method public java.lang.String getFileName();
339 method public long getLength();
340 }
341
342 public class FilePart extends com.android.internal.http.multipart.PartBase {
343 ctor public FilePart(java.lang.String, com.android.internal.http.multipart.PartSource, java.lang.String, java.lang.String);
344 ctor public FilePart(java.lang.String, com.android.internal.http.multipart.PartSource);
345 ctor public FilePart(java.lang.String, java.io.File) throws java.io.FileNotFoundException;
346 ctor public FilePart(java.lang.String, java.io.File, java.lang.String, java.lang.String) throws java.io.FileNotFoundException;
347 ctor public FilePart(java.lang.String, java.lang.String, java.io.File) throws java.io.FileNotFoundException;
348 ctor public FilePart(java.lang.String, java.lang.String, java.io.File, java.lang.String, java.lang.String) throws java.io.FileNotFoundException;
349 method protected com.android.internal.http.multipart.PartSource getSource();
350 method protected long lengthOfData();
351 method protected void sendData(java.io.OutputStream) throws java.io.IOException;
352 field public static final java.lang.String DEFAULT_CHARSET = "ISO-8859-1";
353 field public static final java.lang.String DEFAULT_CONTENT_TYPE = "application/octet-stream";
354 field public static final java.lang.String DEFAULT_TRANSFER_ENCODING = "binary";
355 field protected static final java.lang.String FILE_NAME = "; filename=";
356 }
357
358 public class FilePartSource implements com.android.internal.http.multipart.PartSource {
359 ctor public FilePartSource(java.io.File) throws java.io.FileNotFoundException;
360 ctor public FilePartSource(java.lang.String, java.io.File) throws java.io.FileNotFoundException;
361 method public java.io.InputStream createInputStream() throws java.io.IOException;
362 method public java.lang.String getFileName();
363 method public long getLength();
364 }
365
366 public class MultipartEntity extends org.apache.http.entity.AbstractHttpEntity {
367 ctor public MultipartEntity(com.android.internal.http.multipart.Part[], org.apache.http.params.HttpParams);
368 ctor public MultipartEntity(com.android.internal.http.multipart.Part[]);
369 method public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
370 method public long getContentLength();
371 method protected byte[] getMultipartBoundary();
372 method public boolean isRepeatable();
373 method public boolean isStreaming();
374 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
375 field public static final java.lang.String MULTIPART_BOUNDARY = "http.method.multipart.boundary";
376 field protected com.android.internal.http.multipart.Part[] parts;
377 }
378
379 public abstract class Part {
380 ctor public Part();
381 method public static deprecated java.lang.String getBoundary();
382 method public abstract java.lang.String getCharSet();
383 method public abstract java.lang.String getContentType();
384 method public static long getLengthOfParts(com.android.internal.http.multipart.Part[]) throws java.io.IOException;
385 method public static long getLengthOfParts(com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
386 method public abstract java.lang.String getName();
387 method protected byte[] getPartBoundary();
388 method public abstract java.lang.String getTransferEncoding();
389 method public boolean isRepeatable();
390 method public long length() throws java.io.IOException;
391 method protected abstract long lengthOfData() throws java.io.IOException;
392 method public void send(java.io.OutputStream) throws java.io.IOException;
393 method protected void sendContentTypeHeader(java.io.OutputStream) throws java.io.IOException;
394 method protected abstract void sendData(java.io.OutputStream) throws java.io.IOException;
395 method protected void sendDispositionHeader(java.io.OutputStream) throws java.io.IOException;
396 method protected void sendEnd(java.io.OutputStream) throws java.io.IOException;
397 method protected void sendEndOfHeader(java.io.OutputStream) throws java.io.IOException;
398 method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[]) throws java.io.IOException;
399 method public static void sendParts(java.io.OutputStream, com.android.internal.http.multipart.Part[], byte[]) throws java.io.IOException;
400 method protected void sendStart(java.io.OutputStream) throws java.io.IOException;
401 method protected void sendTransferEncodingHeader(java.io.OutputStream) throws java.io.IOException;
402 field protected static final deprecated java.lang.String BOUNDARY = "----------------314159265358979323846";
403 field protected static final deprecated byte[] BOUNDARY_BYTES;
404 field protected static final java.lang.String CHARSET = "; charset=";
405 field protected static final byte[] CHARSET_BYTES;
406 field protected static final java.lang.String CONTENT_DISPOSITION = "Content-Disposition: form-data; name=";
407 field protected static final byte[] CONTENT_DISPOSITION_BYTES;
408 field protected static final java.lang.String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding: ";
409 field protected static final byte[] CONTENT_TRANSFER_ENCODING_BYTES;
410 field protected static final java.lang.String CONTENT_TYPE = "Content-Type: ";
411 field protected static final byte[] CONTENT_TYPE_BYTES;
412 field protected static final java.lang.String CRLF = "\r\n";
413 field protected static final byte[] CRLF_BYTES;
414 field protected static final java.lang.String EXTRA = "--";
415 field protected static final byte[] EXTRA_BYTES;
416 field protected static final java.lang.String QUOTE = "\"";
417 field protected static final byte[] QUOTE_BYTES;
418 }
419
420 public abstract class PartBase extends com.android.internal.http.multipart.Part {
421 ctor public PartBase(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
422 method public java.lang.String getCharSet();
423 method public java.lang.String getContentType();
424 method public java.lang.String getName();
425 method public java.lang.String getTransferEncoding();
426 method public void setCharSet(java.lang.String);
427 method public void setContentType(java.lang.String);
428 method public void setName(java.lang.String);
429 method public void setTransferEncoding(java.lang.String);
430 }
431
432 public abstract interface PartSource {
433 method public abstract java.io.InputStream createInputStream() throws java.io.IOException;
434 method public abstract java.lang.String getFileName();
435 method public abstract long getLength();
436 }
437
438 public class StringPart extends com.android.internal.http.multipart.PartBase {
439 ctor public StringPart(java.lang.String, java.lang.String, java.lang.String);
440 ctor public StringPart(java.lang.String, java.lang.String);
441 method protected long lengthOfData();
442 method protected void sendData(java.io.OutputStream) throws java.io.IOException;
443 field public static final java.lang.String DEFAULT_CHARSET = "US-ASCII";
444 field public static final java.lang.String DEFAULT_CONTENT_TYPE = "text/plain";
445 field public static final java.lang.String DEFAULT_TRANSFER_ENCODING = "8bit";
446 }
447
448}
449
450package org.apache.commons.codec {
451
452 public abstract deprecated interface BinaryDecoder implements org.apache.commons.codec.Decoder {
453 method public abstract byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
454 }
455
456 public abstract deprecated interface BinaryEncoder implements org.apache.commons.codec.Encoder {
457 method public abstract byte[] encode(byte[]) throws org.apache.commons.codec.EncoderException;
458 }
459
460 public abstract deprecated interface Decoder {
461 method public abstract java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
462 }
463
464 public deprecated class DecoderException extends java.lang.Exception {
465 ctor public DecoderException(java.lang.String);
466 }
467
468 public abstract deprecated interface Encoder {
469 method public abstract java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
470 }
471
472 public deprecated class EncoderException extends java.lang.Exception {
473 ctor public EncoderException(java.lang.String);
474 }
475
476 public abstract deprecated interface StringDecoder implements org.apache.commons.codec.Decoder {
477 method public abstract java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
478 }
479
480 public abstract deprecated interface StringEncoder implements org.apache.commons.codec.Encoder {
481 method public abstract java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
482 }
483
484 public deprecated class StringEncoderComparator implements java.util.Comparator {
485 ctor public StringEncoderComparator();
486 ctor public StringEncoderComparator(org.apache.commons.codec.StringEncoder);
487 method public int compare(java.lang.Object, java.lang.Object);
488 }
489
490}
491
492package org.apache.commons.codec.binary {
493
494 public deprecated class Base64 implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
495 ctor public Base64();
496 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
497 method public byte[] decode(byte[]);
498 method public static byte[] decodeBase64(byte[]);
499 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
500 method public byte[] encode(byte[]);
501 method public static byte[] encodeBase64(byte[]);
502 method public static byte[] encodeBase64(byte[], boolean);
503 method public static byte[] encodeBase64Chunked(byte[]);
504 method public static boolean isArrayByteBase64(byte[]);
505 }
506
507 public deprecated class BinaryCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
508 ctor public BinaryCodec();
509 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
510 method public byte[] decode(byte[]);
511 method public byte[] encode(byte[]);
512 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
513 method public static byte[] fromAscii(char[]);
514 method public static byte[] fromAscii(byte[]);
515 method public static byte[] toAsciiBytes(byte[]);
516 method public static char[] toAsciiChars(byte[]);
517 method public static java.lang.String toAsciiString(byte[]);
518 method public byte[] toByteArray(java.lang.String);
519 }
520
521 public deprecated class Hex implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder {
522 ctor public Hex();
523 method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
524 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
525 method public static byte[] decodeHex(char[]) throws org.apache.commons.codec.DecoderException;
526 method public byte[] encode(byte[]);
527 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
528 method public static char[] encodeHex(byte[]);
529 method protected static int toDigit(char, int) throws org.apache.commons.codec.DecoderException;
530 }
531
532}
533
534package org.apache.commons.codec.language {
535
536 public deprecated class DoubleMetaphone implements org.apache.commons.codec.StringEncoder {
537 ctor public DoubleMetaphone();
538 method protected char charAt(java.lang.String, int);
539 method protected static boolean contains(java.lang.String, int, int, java.lang.String[]);
540 method public java.lang.String doubleMetaphone(java.lang.String);
541 method public java.lang.String doubleMetaphone(java.lang.String, boolean);
542 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
543 method public java.lang.String encode(java.lang.String);
544 method public int getMaxCodeLen();
545 method public boolean isDoubleMetaphoneEqual(java.lang.String, java.lang.String);
546 method public boolean isDoubleMetaphoneEqual(java.lang.String, java.lang.String, boolean);
547 method public void setMaxCodeLen(int);
548 field protected int maxCodeLen;
549 }
550
551 public class DoubleMetaphone.DoubleMetaphoneResult {
552 ctor public DoubleMetaphone.DoubleMetaphoneResult(int);
553 method public void append(char);
554 method public void append(char, char);
555 method public void append(java.lang.String);
556 method public void append(java.lang.String, java.lang.String);
557 method public void appendAlternate(char);
558 method public void appendAlternate(java.lang.String);
559 method public void appendPrimary(char);
560 method public void appendPrimary(java.lang.String);
561 method public java.lang.String getAlternate();
562 method public java.lang.String getPrimary();
563 method public boolean isComplete();
564 }
565
566 public deprecated class Metaphone implements org.apache.commons.codec.StringEncoder {
567 ctor public Metaphone();
568 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
569 method public java.lang.String encode(java.lang.String);
570 method public int getMaxCodeLen();
571 method public boolean isMetaphoneEqual(java.lang.String, java.lang.String);
572 method public java.lang.String metaphone(java.lang.String);
573 method public void setMaxCodeLen(int);
574 }
575
576 public deprecated class RefinedSoundex implements org.apache.commons.codec.StringEncoder {
577 ctor public RefinedSoundex();
578 ctor public RefinedSoundex(char[]);
579 method public int difference(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
580 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
581 method public java.lang.String encode(java.lang.String);
582 method public java.lang.String soundex(java.lang.String);
583 field public static final org.apache.commons.codec.language.RefinedSoundex US_ENGLISH;
584 field public static final char[] US_ENGLISH_MAPPING;
585 }
586
587 public deprecated class Soundex implements org.apache.commons.codec.StringEncoder {
588 ctor public Soundex();
589 ctor public Soundex(char[]);
590 method public int difference(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
591 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
592 method public java.lang.String encode(java.lang.String);
593 method public deprecated int getMaxLength();
594 method public deprecated void setMaxLength(int);
595 method public java.lang.String soundex(java.lang.String);
596 field public static final org.apache.commons.codec.language.Soundex US_ENGLISH;
597 field public static final char[] US_ENGLISH_MAPPING;
598 field public static final java.lang.String US_ENGLISH_MAPPING_STRING = "01230120022455012623010202";
599 }
600
601}
602
603package org.apache.commons.codec.net {
604
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -0700605 public deprecated class BCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
Paul Duffin03a95652017-07-14 13:48:42 +0100606 ctor public BCodec();
607 ctor public BCodec(java.lang.String);
608 method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
609 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
610 method protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
611 method protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
612 method public java.lang.String encode(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
613 method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
614 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
615 method public java.lang.String getDefaultCharset();
616 method protected java.lang.String getEncoding();
617 }
618
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -0700619 public deprecated class QCodec implements org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
Paul Duffin03a95652017-07-14 13:48:42 +0100620 ctor public QCodec();
621 ctor public QCodec(java.lang.String);
622 method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
623 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
624 method protected byte[] doDecoding(byte[]) throws org.apache.commons.codec.DecoderException;
625 method protected byte[] doEncoding(byte[]) throws org.apache.commons.codec.EncoderException;
626 method public java.lang.String encode(java.lang.String, java.lang.String) throws org.apache.commons.codec.EncoderException;
627 method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
628 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
629 method public java.lang.String getDefaultCharset();
630 method protected java.lang.String getEncoding();
631 method public boolean isEncodeBlanks();
632 method public void setEncodeBlanks(boolean);
633 }
634
635 public deprecated class QuotedPrintableCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
636 ctor public QuotedPrintableCodec();
637 ctor public QuotedPrintableCodec(java.lang.String);
638 method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
639 method public java.lang.String decode(java.lang.String, java.lang.String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
640 method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
641 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
642 method public static final byte[] decodeQuotedPrintable(byte[]) throws org.apache.commons.codec.DecoderException;
643 method public byte[] encode(byte[]);
644 method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
645 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
646 method public java.lang.String encode(java.lang.String, java.lang.String) throws java.io.UnsupportedEncodingException;
647 method public static final byte[] encodeQuotedPrintable(java.util.BitSet, byte[]);
648 method public java.lang.String getDefaultCharset();
649 }
650
Paul Duffin03a95652017-07-14 13:48:42 +0100651 public deprecated class URLCodec implements org.apache.commons.codec.BinaryDecoder org.apache.commons.codec.BinaryEncoder org.apache.commons.codec.StringDecoder org.apache.commons.codec.StringEncoder {
652 ctor public URLCodec();
653 ctor public URLCodec(java.lang.String);
654 method public byte[] decode(byte[]) throws org.apache.commons.codec.DecoderException;
655 method public java.lang.String decode(java.lang.String, java.lang.String) throws org.apache.commons.codec.DecoderException, java.io.UnsupportedEncodingException;
656 method public java.lang.String decode(java.lang.String) throws org.apache.commons.codec.DecoderException;
657 method public java.lang.Object decode(java.lang.Object) throws org.apache.commons.codec.DecoderException;
658 method public static final byte[] decodeUrl(byte[]) throws org.apache.commons.codec.DecoderException;
659 method public byte[] encode(byte[]);
660 method public java.lang.String encode(java.lang.String, java.lang.String) throws java.io.UnsupportedEncodingException;
661 method public java.lang.String encode(java.lang.String) throws org.apache.commons.codec.EncoderException;
662 method public java.lang.Object encode(java.lang.Object) throws org.apache.commons.codec.EncoderException;
663 method public static final byte[] encodeUrl(java.util.BitSet, byte[]);
664 method public java.lang.String getDefaultCharset();
665 method public deprecated java.lang.String getEncoding();
666 field protected static byte ESCAPE_CHAR;
667 field protected static final java.util.BitSet WWW_FORM_URL;
668 field protected java.lang.String charset;
669 }
670
671}
672
673package org.apache.commons.logging {
674
675 public abstract deprecated interface Log {
676 method public abstract void debug(java.lang.Object);
677 method public abstract void debug(java.lang.Object, java.lang.Throwable);
678 method public abstract void error(java.lang.Object);
679 method public abstract void error(java.lang.Object, java.lang.Throwable);
680 method public abstract void fatal(java.lang.Object);
681 method public abstract void fatal(java.lang.Object, java.lang.Throwable);
682 method public abstract void info(java.lang.Object);
683 method public abstract void info(java.lang.Object, java.lang.Throwable);
684 method public abstract boolean isDebugEnabled();
685 method public abstract boolean isErrorEnabled();
686 method public abstract boolean isFatalEnabled();
687 method public abstract boolean isInfoEnabled();
688 method public abstract boolean isTraceEnabled();
689 method public abstract boolean isWarnEnabled();
690 method public abstract void trace(java.lang.Object);
691 method public abstract void trace(java.lang.Object, java.lang.Throwable);
692 method public abstract void warn(java.lang.Object);
693 method public abstract void warn(java.lang.Object, java.lang.Throwable);
694 }
695
696 public deprecated class LogConfigurationException extends java.lang.RuntimeException {
697 ctor public LogConfigurationException();
698 ctor public LogConfigurationException(java.lang.String);
699 ctor public LogConfigurationException(java.lang.Throwable);
700 ctor public LogConfigurationException(java.lang.String, java.lang.Throwable);
701 field protected java.lang.Throwable cause;
702 }
703
704 public abstract deprecated class LogFactory {
705 ctor protected LogFactory();
706 method protected static java.lang.Object createFactory(java.lang.String, java.lang.ClassLoader);
707 method protected static java.lang.ClassLoader directGetContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
708 method public abstract java.lang.Object getAttribute(java.lang.String);
709 method public abstract java.lang.String[] getAttributeNames();
710 method protected static java.lang.ClassLoader getClassLoader(java.lang.Class);
711 method protected static java.lang.ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
712 method public static org.apache.commons.logging.LogFactory getFactory() throws org.apache.commons.logging.LogConfigurationException;
713 method public abstract org.apache.commons.logging.Log getInstance(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
714 method public abstract org.apache.commons.logging.Log getInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
715 method public static org.apache.commons.logging.Log getLog(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
716 method public static org.apache.commons.logging.Log getLog(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
717 method protected static boolean isDiagnosticsEnabled();
718 method protected static final void logRawDiagnostic(java.lang.String);
719 method protected static org.apache.commons.logging.LogFactory newFactory(java.lang.String, java.lang.ClassLoader, java.lang.ClassLoader) throws org.apache.commons.logging.LogConfigurationException;
720 method protected static org.apache.commons.logging.LogFactory newFactory(java.lang.String, java.lang.ClassLoader);
721 method public static java.lang.String objectId(java.lang.Object);
722 method public abstract void release();
723 method public static void release(java.lang.ClassLoader);
724 method public static void releaseAll();
725 method public abstract void removeAttribute(java.lang.String);
726 method public abstract void setAttribute(java.lang.String, java.lang.Object);
727 field public static final java.lang.String DIAGNOSTICS_DEST_PROPERTY = "org.apache.commons.logging.diagnostics.dest";
728 field public static final java.lang.String FACTORY_DEFAULT = "org.apache.commons.logging.impl.LogFactoryImpl";
729 field public static final java.lang.String FACTORY_PROPERTIES = "commons-logging.properties";
730 field public static final java.lang.String FACTORY_PROPERTY = "org.apache.commons.logging.LogFactory";
731 field public static final java.lang.String HASHTABLE_IMPLEMENTATION_PROPERTY = "org.apache.commons.logging.LogFactory.HashtableImpl";
732 field public static final java.lang.String PRIORITY_KEY = "priority";
733 field protected static final java.lang.String SERVICE_ID = "META-INF/services/org.apache.commons.logging.LogFactory";
734 field public static final java.lang.String TCCL_KEY = "use_tccl";
735 field protected static java.util.Hashtable factories;
736 field protected static org.apache.commons.logging.LogFactory nullClassLoaderFactory;
737 }
738
739 public deprecated class LogSource {
740 method public static org.apache.commons.logging.Log getInstance(java.lang.String);
741 method public static org.apache.commons.logging.Log getInstance(java.lang.Class);
742 method public static java.lang.String[] getLogNames();
743 method public static org.apache.commons.logging.Log makeNewLogInstance(java.lang.String);
744 method public static void setLogImplementation(java.lang.String) throws java.lang.ClassNotFoundException, java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
745 method public static void setLogImplementation(java.lang.Class) throws java.lang.ExceptionInInitializerError, java.lang.LinkageError, java.lang.NoSuchMethodException, java.lang.SecurityException;
746 field protected static boolean jdk14IsAvailable;
747 field protected static boolean log4jIsAvailable;
748 field protected static java.lang.reflect.Constructor logImplctor;
749 field protected static java.util.Hashtable logs;
750 }
751
752}
753
754package org.apache.commons.logging.impl {
755
756 public deprecated class Jdk14Logger implements org.apache.commons.logging.Log java.io.Serializable {
757 ctor public Jdk14Logger(java.lang.String);
758 method public void debug(java.lang.Object);
759 method public void debug(java.lang.Object, java.lang.Throwable);
760 method public void error(java.lang.Object);
761 method public void error(java.lang.Object, java.lang.Throwable);
762 method public void fatal(java.lang.Object);
763 method public void fatal(java.lang.Object, java.lang.Throwable);
764 method public java.util.logging.Logger getLogger();
765 method public void info(java.lang.Object);
766 method public void info(java.lang.Object, java.lang.Throwable);
767 method public boolean isDebugEnabled();
768 method public boolean isErrorEnabled();
769 method public boolean isFatalEnabled();
770 method public boolean isInfoEnabled();
771 method public boolean isTraceEnabled();
772 method public boolean isWarnEnabled();
773 method public void trace(java.lang.Object);
774 method public void trace(java.lang.Object, java.lang.Throwable);
775 method public void warn(java.lang.Object);
776 method public void warn(java.lang.Object, java.lang.Throwable);
777 field protected static final java.util.logging.Level dummyLevel;
778 field protected transient java.util.logging.Logger logger;
779 field protected java.lang.String name;
780 }
781
782 public deprecated class LogFactoryImpl extends org.apache.commons.logging.LogFactory {
783 ctor public LogFactoryImpl();
784 method public java.lang.Object getAttribute(java.lang.String);
785 method public java.lang.String[] getAttributeNames();
786 method protected static java.lang.ClassLoader getClassLoader(java.lang.Class);
787 method protected static java.lang.ClassLoader getContextClassLoader() throws org.apache.commons.logging.LogConfigurationException;
788 method public org.apache.commons.logging.Log getInstance(java.lang.Class) throws org.apache.commons.logging.LogConfigurationException;
789 method public org.apache.commons.logging.Log getInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
790 method protected deprecated java.lang.String getLogClassName();
791 method protected deprecated java.lang.reflect.Constructor getLogConstructor() throws org.apache.commons.logging.LogConfigurationException;
792 method protected static boolean isDiagnosticsEnabled();
793 method protected deprecated boolean isJdk13LumberjackAvailable();
794 method protected deprecated boolean isJdk14Available();
795 method protected deprecated boolean isLog4JAvailable();
796 method protected void logDiagnostic(java.lang.String);
797 method protected org.apache.commons.logging.Log newInstance(java.lang.String) throws org.apache.commons.logging.LogConfigurationException;
798 method public void release();
799 method public void removeAttribute(java.lang.String);
800 method public void setAttribute(java.lang.String, java.lang.Object);
801 field public static final java.lang.String ALLOW_FLAWED_CONTEXT_PROPERTY = "org.apache.commons.logging.Log.allowFlawedContext";
802 field public static final java.lang.String ALLOW_FLAWED_DISCOVERY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedDiscovery";
803 field public static final java.lang.String ALLOW_FLAWED_HIERARCHY_PROPERTY = "org.apache.commons.logging.Log.allowFlawedHierarchy";
804 field public static final java.lang.String LOG_PROPERTY = "org.apache.commons.logging.Log";
805 field protected static final java.lang.String LOG_PROPERTY_OLD = "org.apache.commons.logging.log";
806 field protected java.util.Hashtable attributes;
807 field protected java.util.Hashtable instances;
808 field protected java.lang.reflect.Constructor logConstructor;
809 field protected java.lang.Class[] logConstructorSignature;
810 field protected java.lang.reflect.Method logMethod;
811 field protected java.lang.Class[] logMethodSignature;
812 }
813
814 public deprecated class NoOpLog implements org.apache.commons.logging.Log java.io.Serializable {
815 ctor public NoOpLog();
816 ctor public NoOpLog(java.lang.String);
817 method public void debug(java.lang.Object);
818 method public void debug(java.lang.Object, java.lang.Throwable);
819 method public void error(java.lang.Object);
820 method public void error(java.lang.Object, java.lang.Throwable);
821 method public void fatal(java.lang.Object);
822 method public void fatal(java.lang.Object, java.lang.Throwable);
823 method public void info(java.lang.Object);
824 method public void info(java.lang.Object, java.lang.Throwable);
825 method public final boolean isDebugEnabled();
826 method public final boolean isErrorEnabled();
827 method public final boolean isFatalEnabled();
828 method public final boolean isInfoEnabled();
829 method public final boolean isTraceEnabled();
830 method public final boolean isWarnEnabled();
831 method public void trace(java.lang.Object);
832 method public void trace(java.lang.Object, java.lang.Throwable);
833 method public void warn(java.lang.Object);
834 method public void warn(java.lang.Object, java.lang.Throwable);
835 }
836
837 public deprecated class SimpleLog implements org.apache.commons.logging.Log java.io.Serializable {
838 ctor public SimpleLog(java.lang.String);
839 method public final void debug(java.lang.Object);
840 method public final void debug(java.lang.Object, java.lang.Throwable);
841 method public final void error(java.lang.Object);
842 method public final void error(java.lang.Object, java.lang.Throwable);
843 method public final void fatal(java.lang.Object);
844 method public final void fatal(java.lang.Object, java.lang.Throwable);
845 method public int getLevel();
846 method public final void info(java.lang.Object);
847 method public final void info(java.lang.Object, java.lang.Throwable);
848 method public final boolean isDebugEnabled();
849 method public final boolean isErrorEnabled();
850 method public final boolean isFatalEnabled();
851 method public final boolean isInfoEnabled();
852 method protected boolean isLevelEnabled(int);
853 method public final boolean isTraceEnabled();
854 method public final boolean isWarnEnabled();
855 method protected void log(int, java.lang.Object, java.lang.Throwable);
856 method public void setLevel(int);
857 method public final void trace(java.lang.Object);
858 method public final void trace(java.lang.Object, java.lang.Throwable);
859 method public final void warn(java.lang.Object);
860 method public final void warn(java.lang.Object, java.lang.Throwable);
861 method protected void write(java.lang.StringBuffer);
862 field protected static final java.lang.String DEFAULT_DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss:SSS zzz";
863 field public static final int LOG_LEVEL_ALL = 0; // 0x0
864 field public static final int LOG_LEVEL_DEBUG = 2; // 0x2
865 field public static final int LOG_LEVEL_ERROR = 5; // 0x5
866 field public static final int LOG_LEVEL_FATAL = 6; // 0x6
867 field public static final int LOG_LEVEL_INFO = 3; // 0x3
868 field public static final int LOG_LEVEL_OFF = 7; // 0x7
869 field public static final int LOG_LEVEL_TRACE = 1; // 0x1
870 field public static final int LOG_LEVEL_WARN = 4; // 0x4
871 field protected int currentLogLevel;
872 field protected static java.text.DateFormat dateFormatter;
873 field protected static java.lang.String dateTimeFormat;
874 field protected java.lang.String logName;
875 field protected static boolean showDateTime;
876 field protected static boolean showLogName;
877 field protected static boolean showShortName;
878 field protected static final java.util.Properties simpleLogProps;
879 field protected static final java.lang.String systemPrefix = "org.apache.commons.logging.simplelog.";
880 }
881
882 public final deprecated class WeakHashtable extends java.util.Hashtable {
883 ctor public WeakHashtable();
884 method public boolean containsKey(java.lang.Object);
885 method public java.util.Enumeration elements();
886 method public java.util.Set entrySet();
887 method public java.lang.Object get(java.lang.Object);
888 method public boolean isEmpty();
889 method public java.util.Set keySet();
890 method public java.util.Enumeration keys();
891 method public java.lang.Object put(java.lang.Object, java.lang.Object);
892 method public void putAll(java.util.Map);
893 method public java.lang.Object remove(java.lang.Object);
894 method public int size();
Paul Duffin03a95652017-07-14 13:48:42 +0100895 method public java.util.Collection values();
896 }
897
898}
899
900package org.apache.http {
901
902 public deprecated class ConnectionClosedException extends java.io.IOException {
903 ctor public ConnectionClosedException(java.lang.String);
904 }
905
906 public abstract deprecated interface ConnectionReuseStrategy {
907 method public abstract boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
908 }
909
910 public abstract deprecated interface FormattedHeader implements org.apache.http.Header {
911 method public abstract org.apache.http.util.CharArrayBuffer getBuffer();
912 method public abstract int getValuePos();
913 }
914
915 public abstract deprecated interface Header {
916 method public abstract org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
917 method public abstract java.lang.String getName();
918 method public abstract java.lang.String getValue();
919 }
920
921 public abstract deprecated interface HeaderElement {
922 method public abstract java.lang.String getName();
923 method public abstract org.apache.http.NameValuePair getParameter(int);
924 method public abstract org.apache.http.NameValuePair getParameterByName(java.lang.String);
925 method public abstract int getParameterCount();
926 method public abstract org.apache.http.NameValuePair[] getParameters();
927 method public abstract java.lang.String getValue();
928 }
929
930 public abstract deprecated interface HeaderElementIterator implements java.util.Iterator {
Paul Duffin03a95652017-07-14 13:48:42 +0100931 method public abstract org.apache.http.HeaderElement nextElement();
932 }
933
934 public abstract deprecated interface HeaderIterator implements java.util.Iterator {
Paul Duffin03a95652017-07-14 13:48:42 +0100935 method public abstract org.apache.http.Header nextHeader();
936 }
937
938 public abstract deprecated interface HttpClientConnection implements org.apache.http.HttpConnection {
939 method public abstract void flush() throws java.io.IOException;
940 method public abstract boolean isResponseAvailable(int) throws java.io.IOException;
941 method public abstract void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
942 method public abstract org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
943 method public abstract void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
944 method public abstract void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
945 }
946
947 public abstract deprecated interface HttpConnection {
948 method public abstract void close() throws java.io.IOException;
949 method public abstract org.apache.http.HttpConnectionMetrics getMetrics();
950 method public abstract int getSocketTimeout();
951 method public abstract boolean isOpen();
952 method public abstract boolean isStale();
953 method public abstract void setSocketTimeout(int);
954 method public abstract void shutdown() throws java.io.IOException;
955 }
956
957 public abstract deprecated interface HttpConnectionMetrics {
958 method public abstract java.lang.Object getMetric(java.lang.String);
959 method public abstract long getReceivedBytesCount();
960 method public abstract long getRequestCount();
961 method public abstract long getResponseCount();
962 method public abstract long getSentBytesCount();
963 method public abstract void reset();
964 }
965
966 public abstract deprecated interface HttpEntity {
967 method public abstract void consumeContent() throws java.io.IOException;
968 method public abstract java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
969 method public abstract org.apache.http.Header getContentEncoding();
970 method public abstract long getContentLength();
971 method public abstract org.apache.http.Header getContentType();
972 method public abstract boolean isChunked();
973 method public abstract boolean isRepeatable();
974 method public abstract boolean isStreaming();
975 method public abstract void writeTo(java.io.OutputStream) throws java.io.IOException;
976 }
977
978 public abstract deprecated interface HttpEntityEnclosingRequest implements org.apache.http.HttpRequest {
979 method public abstract boolean expectContinue();
980 method public abstract org.apache.http.HttpEntity getEntity();
981 method public abstract void setEntity(org.apache.http.HttpEntity);
982 }
983
984 public deprecated class HttpException extends java.lang.Exception {
985 ctor public HttpException();
986 ctor public HttpException(java.lang.String);
987 ctor public HttpException(java.lang.String, java.lang.Throwable);
988 }
989
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -0700990 public final deprecated class HttpHost implements java.lang.Cloneable {
Paul Duffin03a95652017-07-14 13:48:42 +0100991 ctor public HttpHost(java.lang.String, int, java.lang.String);
992 ctor public HttpHost(java.lang.String, int);
993 ctor public HttpHost(java.lang.String);
994 ctor public HttpHost(org.apache.http.HttpHost);
995 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
996 method public java.lang.String getHostName();
997 method public int getPort();
998 method public java.lang.String getSchemeName();
999 method public java.lang.String toHostString();
1000 method public java.lang.String toURI();
1001 field public static final java.lang.String DEFAULT_SCHEME_NAME = "http";
1002 field protected final java.lang.String hostname;
1003 field protected final java.lang.String lcHostname;
1004 field protected final int port;
1005 field protected final java.lang.String schemeName;
1006 }
1007
1008 public abstract deprecated interface HttpInetConnection implements org.apache.http.HttpConnection {
1009 method public abstract java.net.InetAddress getLocalAddress();
1010 method public abstract int getLocalPort();
1011 method public abstract java.net.InetAddress getRemoteAddress();
1012 method public abstract int getRemotePort();
1013 }
1014
1015 public abstract deprecated interface HttpMessage {
1016 method public abstract void addHeader(org.apache.http.Header);
1017 method public abstract void addHeader(java.lang.String, java.lang.String);
1018 method public abstract boolean containsHeader(java.lang.String);
1019 method public abstract org.apache.http.Header[] getAllHeaders();
1020 method public abstract org.apache.http.Header getFirstHeader(java.lang.String);
1021 method public abstract org.apache.http.Header[] getHeaders(java.lang.String);
1022 method public abstract org.apache.http.Header getLastHeader(java.lang.String);
1023 method public abstract org.apache.http.params.HttpParams getParams();
1024 method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
1025 method public abstract org.apache.http.HeaderIterator headerIterator();
1026 method public abstract org.apache.http.HeaderIterator headerIterator(java.lang.String);
1027 method public abstract void removeHeader(org.apache.http.Header);
1028 method public abstract void removeHeaders(java.lang.String);
1029 method public abstract void setHeader(org.apache.http.Header);
1030 method public abstract void setHeader(java.lang.String, java.lang.String);
1031 method public abstract void setHeaders(org.apache.http.Header[]);
1032 method public abstract void setParams(org.apache.http.params.HttpParams);
1033 }
1034
1035 public abstract deprecated interface HttpRequest implements org.apache.http.HttpMessage {
1036 method public abstract org.apache.http.RequestLine getRequestLine();
1037 }
1038
1039 public abstract deprecated interface HttpRequestFactory {
1040 method public abstract org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine) throws org.apache.http.MethodNotSupportedException;
1041 method public abstract org.apache.http.HttpRequest newHttpRequest(java.lang.String, java.lang.String) throws org.apache.http.MethodNotSupportedException;
1042 }
1043
1044 public abstract deprecated interface HttpRequestInterceptor {
1045 method public abstract void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1046 }
1047
1048 public abstract deprecated interface HttpResponse implements org.apache.http.HttpMessage {
1049 method public abstract org.apache.http.HttpEntity getEntity();
1050 method public abstract java.util.Locale getLocale();
1051 method public abstract org.apache.http.StatusLine getStatusLine();
1052 method public abstract void setEntity(org.apache.http.HttpEntity);
1053 method public abstract void setLocale(java.util.Locale);
1054 method public abstract void setReasonPhrase(java.lang.String) throws java.lang.IllegalStateException;
1055 method public abstract void setStatusCode(int) throws java.lang.IllegalStateException;
1056 method public abstract void setStatusLine(org.apache.http.StatusLine);
1057 method public abstract void setStatusLine(org.apache.http.ProtocolVersion, int);
1058 method public abstract void setStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
1059 }
1060
1061 public abstract deprecated interface HttpResponseFactory {
1062 method public abstract org.apache.http.HttpResponse newHttpResponse(org.apache.http.ProtocolVersion, int, org.apache.http.protocol.HttpContext);
1063 method public abstract org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine, org.apache.http.protocol.HttpContext);
1064 }
1065
1066 public abstract deprecated interface HttpResponseInterceptor {
1067 method public abstract void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1068 }
1069
1070 public abstract deprecated interface HttpServerConnection implements org.apache.http.HttpConnection {
1071 method public abstract void flush() throws java.io.IOException;
1072 method public abstract void receiveRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
1073 method public abstract org.apache.http.HttpRequest receiveRequestHeader() throws org.apache.http.HttpException, java.io.IOException;
1074 method public abstract void sendResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
1075 method public abstract void sendResponseHeader(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
1076 }
1077
1078 public abstract deprecated interface HttpStatus {
1079 field public static final int SC_ACCEPTED = 202; // 0xca
1080 field public static final int SC_BAD_GATEWAY = 502; // 0x1f6
1081 field public static final int SC_BAD_REQUEST = 400; // 0x190
1082 field public static final int SC_CONFLICT = 409; // 0x199
1083 field public static final int SC_CONTINUE = 100; // 0x64
1084 field public static final int SC_CREATED = 201; // 0xc9
1085 field public static final int SC_EXPECTATION_FAILED = 417; // 0x1a1
1086 field public static final int SC_FAILED_DEPENDENCY = 424; // 0x1a8
1087 field public static final int SC_FORBIDDEN = 403; // 0x193
1088 field public static final int SC_GATEWAY_TIMEOUT = 504; // 0x1f8
1089 field public static final int SC_GONE = 410; // 0x19a
1090 field public static final int SC_HTTP_VERSION_NOT_SUPPORTED = 505; // 0x1f9
1091 field public static final int SC_INSUFFICIENT_SPACE_ON_RESOURCE = 419; // 0x1a3
1092 field public static final int SC_INSUFFICIENT_STORAGE = 507; // 0x1fb
1093 field public static final int SC_INTERNAL_SERVER_ERROR = 500; // 0x1f4
1094 field public static final int SC_LENGTH_REQUIRED = 411; // 0x19b
1095 field public static final int SC_LOCKED = 423; // 0x1a7
1096 field public static final int SC_METHOD_FAILURE = 420; // 0x1a4
1097 field public static final int SC_METHOD_NOT_ALLOWED = 405; // 0x195
1098 field public static final int SC_MOVED_PERMANENTLY = 301; // 0x12d
1099 field public static final int SC_MOVED_TEMPORARILY = 302; // 0x12e
1100 field public static final int SC_MULTIPLE_CHOICES = 300; // 0x12c
1101 field public static final int SC_MULTI_STATUS = 207; // 0xcf
1102 field public static final int SC_NON_AUTHORITATIVE_INFORMATION = 203; // 0xcb
1103 field public static final int SC_NOT_ACCEPTABLE = 406; // 0x196
1104 field public static final int SC_NOT_FOUND = 404; // 0x194
1105 field public static final int SC_NOT_IMPLEMENTED = 501; // 0x1f5
1106 field public static final int SC_NOT_MODIFIED = 304; // 0x130
1107 field public static final int SC_NO_CONTENT = 204; // 0xcc
1108 field public static final int SC_OK = 200; // 0xc8
1109 field public static final int SC_PARTIAL_CONTENT = 206; // 0xce
1110 field public static final int SC_PAYMENT_REQUIRED = 402; // 0x192
1111 field public static final int SC_PRECONDITION_FAILED = 412; // 0x19c
1112 field public static final int SC_PROCESSING = 102; // 0x66
1113 field public static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407; // 0x197
1114 field public static final int SC_REQUESTED_RANGE_NOT_SATISFIABLE = 416; // 0x1a0
1115 field public static final int SC_REQUEST_TIMEOUT = 408; // 0x198
1116 field public static final int SC_REQUEST_TOO_LONG = 413; // 0x19d
1117 field public static final int SC_REQUEST_URI_TOO_LONG = 414; // 0x19e
1118 field public static final int SC_RESET_CONTENT = 205; // 0xcd
1119 field public static final int SC_SEE_OTHER = 303; // 0x12f
1120 field public static final int SC_SERVICE_UNAVAILABLE = 503; // 0x1f7
1121 field public static final int SC_SWITCHING_PROTOCOLS = 101; // 0x65
1122 field public static final int SC_TEMPORARY_REDIRECT = 307; // 0x133
1123 field public static final int SC_UNAUTHORIZED = 401; // 0x191
1124 field public static final int SC_UNPROCESSABLE_ENTITY = 422; // 0x1a6
1125 field public static final int SC_UNSUPPORTED_MEDIA_TYPE = 415; // 0x19f
1126 field public static final int SC_USE_PROXY = 305; // 0x131
1127 }
1128
1129 public final deprecated class HttpVersion extends org.apache.http.ProtocolVersion implements java.io.Serializable {
1130 ctor public HttpVersion(int, int);
1131 field public static final java.lang.String HTTP = "HTTP";
1132 field public static final org.apache.http.HttpVersion HTTP_0_9;
1133 field public static final org.apache.http.HttpVersion HTTP_1_0;
1134 field public static final org.apache.http.HttpVersion HTTP_1_1;
1135 }
1136
1137 public deprecated class MalformedChunkCodingException extends java.io.IOException {
1138 ctor public MalformedChunkCodingException();
1139 ctor public MalformedChunkCodingException(java.lang.String);
1140 }
1141
1142 public deprecated class MethodNotSupportedException extends org.apache.http.HttpException {
1143 ctor public MethodNotSupportedException(java.lang.String);
1144 ctor public MethodNotSupportedException(java.lang.String, java.lang.Throwable);
1145 }
1146
1147 public abstract deprecated interface NameValuePair {
1148 method public abstract java.lang.String getName();
1149 method public abstract java.lang.String getValue();
1150 }
1151
1152 public deprecated class NoHttpResponseException extends java.io.IOException {
1153 ctor public NoHttpResponseException(java.lang.String);
1154 }
1155
1156 public deprecated class ParseException extends java.lang.RuntimeException {
1157 ctor public ParseException();
1158 ctor public ParseException(java.lang.String);
1159 }
1160
1161 public deprecated class ProtocolException extends org.apache.http.HttpException {
1162 ctor public ProtocolException();
1163 ctor public ProtocolException(java.lang.String);
1164 ctor public ProtocolException(java.lang.String, java.lang.Throwable);
1165 }
1166
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07001167 public deprecated class ProtocolVersion implements java.lang.Cloneable java.io.Serializable {
Paul Duffin03a95652017-07-14 13:48:42 +01001168 ctor public ProtocolVersion(java.lang.String, int, int);
1169 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
1170 method public int compareToVersion(org.apache.http.ProtocolVersion);
1171 method public final boolean equals(java.lang.Object);
1172 method public org.apache.http.ProtocolVersion forVersion(int, int);
1173 method public final int getMajor();
1174 method public final int getMinor();
1175 method public final java.lang.String getProtocol();
1176 method public final boolean greaterEquals(org.apache.http.ProtocolVersion);
1177 method public final int hashCode();
1178 method public boolean isComparable(org.apache.http.ProtocolVersion);
1179 method public final boolean lessEquals(org.apache.http.ProtocolVersion);
1180 field protected final int major;
1181 field protected final int minor;
1182 field protected final java.lang.String protocol;
1183 }
1184
1185 public abstract deprecated interface ReasonPhraseCatalog {
1186 method public abstract java.lang.String getReason(int, java.util.Locale);
1187 }
1188
1189 public abstract deprecated interface RequestLine {
1190 method public abstract java.lang.String getMethod();
1191 method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
1192 method public abstract java.lang.String getUri();
1193 }
1194
1195 public abstract deprecated interface StatusLine {
1196 method public abstract org.apache.http.ProtocolVersion getProtocolVersion();
1197 method public abstract java.lang.String getReasonPhrase();
1198 method public abstract int getStatusCode();
1199 }
1200
1201 public abstract deprecated interface TokenIterator implements java.util.Iterator {
Paul Duffin03a95652017-07-14 13:48:42 +01001202 method public abstract java.lang.String nextToken();
1203 }
1204
1205 public deprecated class UnsupportedHttpVersionException extends org.apache.http.ProtocolException {
1206 ctor public UnsupportedHttpVersionException();
1207 ctor public UnsupportedHttpVersionException(java.lang.String);
1208 }
1209
1210}
1211
1212package org.apache.http.auth {
1213
1214 public final deprecated class AUTH {
1215 field public static final java.lang.String PROXY_AUTH = "Proxy-Authenticate";
1216 field public static final java.lang.String PROXY_AUTH_RESP = "Proxy-Authorization";
1217 field public static final java.lang.String WWW_AUTH = "WWW-Authenticate";
1218 field public static final java.lang.String WWW_AUTH_RESP = "Authorization";
1219 }
1220
1221 public abstract deprecated interface AuthScheme {
1222 method public abstract org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
1223 method public abstract java.lang.String getParameter(java.lang.String);
1224 method public abstract java.lang.String getRealm();
1225 method public abstract java.lang.String getSchemeName();
1226 method public abstract boolean isComplete();
1227 method public abstract boolean isConnectionBased();
1228 method public abstract void processChallenge(org.apache.http.Header) throws org.apache.http.auth.MalformedChallengeException;
1229 }
1230
1231 public abstract deprecated interface AuthSchemeFactory {
1232 method public abstract org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
1233 }
1234
1235 public final deprecated class AuthSchemeRegistry {
1236 ctor public AuthSchemeRegistry();
1237 method public synchronized org.apache.http.auth.AuthScheme getAuthScheme(java.lang.String, org.apache.http.params.HttpParams) throws java.lang.IllegalStateException;
1238 method public synchronized java.util.List<java.lang.String> getSchemeNames();
1239 method public synchronized void register(java.lang.String, org.apache.http.auth.AuthSchemeFactory);
1240 method public synchronized void setItems(java.util.Map<java.lang.String, org.apache.http.auth.AuthSchemeFactory>);
1241 method public synchronized void unregister(java.lang.String);
1242 }
1243
1244 public deprecated class AuthScope {
1245 ctor public AuthScope(java.lang.String, int, java.lang.String, java.lang.String);
1246 ctor public AuthScope(java.lang.String, int, java.lang.String);
1247 ctor public AuthScope(java.lang.String, int);
1248 ctor public AuthScope(org.apache.http.auth.AuthScope);
1249 method public java.lang.String getHost();
1250 method public int getPort();
1251 method public java.lang.String getRealm();
1252 method public java.lang.String getScheme();
1253 method public int match(org.apache.http.auth.AuthScope);
1254 field public static final org.apache.http.auth.AuthScope ANY;
1255 field public static final java.lang.String ANY_HOST;
1256 field public static final int ANY_PORT = -1; // 0xffffffff
1257 field public static final java.lang.String ANY_REALM;
1258 field public static final java.lang.String ANY_SCHEME;
1259 }
1260
1261 public deprecated class AuthState {
1262 ctor public AuthState();
1263 method public org.apache.http.auth.AuthScheme getAuthScheme();
1264 method public org.apache.http.auth.AuthScope getAuthScope();
1265 method public org.apache.http.auth.Credentials getCredentials();
1266 method public void invalidate();
1267 method public boolean isValid();
1268 method public void setAuthScheme(org.apache.http.auth.AuthScheme);
1269 method public void setAuthScope(org.apache.http.auth.AuthScope);
1270 method public void setCredentials(org.apache.http.auth.Credentials);
1271 }
1272
1273 public deprecated class AuthenticationException extends org.apache.http.ProtocolException {
1274 ctor public AuthenticationException();
1275 ctor public AuthenticationException(java.lang.String);
1276 ctor public AuthenticationException(java.lang.String, java.lang.Throwable);
1277 }
1278
1279 public final deprecated class BasicUserPrincipal implements java.security.Principal {
1280 ctor public BasicUserPrincipal(java.lang.String);
1281 method public java.lang.String getName();
1282 }
1283
1284 public abstract deprecated interface Credentials {
1285 method public abstract java.lang.String getPassword();
1286 method public abstract java.security.Principal getUserPrincipal();
1287 }
1288
1289 public deprecated class InvalidCredentialsException extends org.apache.http.auth.AuthenticationException {
1290 ctor public InvalidCredentialsException();
1291 ctor public InvalidCredentialsException(java.lang.String);
1292 ctor public InvalidCredentialsException(java.lang.String, java.lang.Throwable);
1293 }
1294
1295 public deprecated class MalformedChallengeException extends org.apache.http.ProtocolException {
1296 ctor public MalformedChallengeException();
1297 ctor public MalformedChallengeException(java.lang.String);
1298 ctor public MalformedChallengeException(java.lang.String, java.lang.Throwable);
1299 }
1300
1301 public deprecated class NTCredentials implements org.apache.http.auth.Credentials {
1302 ctor public NTCredentials(java.lang.String);
1303 ctor public NTCredentials(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
1304 method public java.lang.String getDomain();
1305 method public java.lang.String getPassword();
1306 method public java.lang.String getUserName();
1307 method public java.security.Principal getUserPrincipal();
1308 method public java.lang.String getWorkstation();
1309 }
1310
1311 public deprecated class NTUserPrincipal implements java.security.Principal {
1312 ctor public NTUserPrincipal(java.lang.String, java.lang.String);
1313 method public java.lang.String getDomain();
1314 method public java.lang.String getName();
1315 method public java.lang.String getUsername();
1316 }
1317
1318 public deprecated class UsernamePasswordCredentials implements org.apache.http.auth.Credentials {
1319 ctor public UsernamePasswordCredentials(java.lang.String);
1320 ctor public UsernamePasswordCredentials(java.lang.String, java.lang.String);
1321 method public java.lang.String getPassword();
1322 method public java.lang.String getUserName();
1323 method public java.security.Principal getUserPrincipal();
1324 }
1325
1326}
1327
1328package org.apache.http.auth.params {
1329
1330 public abstract deprecated interface AuthPNames {
1331 field public static final java.lang.String CREDENTIAL_CHARSET = "http.auth.credential-charset";
1332 }
1333
1334 public deprecated class AuthParamBean extends org.apache.http.params.HttpAbstractParamBean {
1335 ctor public AuthParamBean(org.apache.http.params.HttpParams);
1336 method public void setCredentialCharset(java.lang.String);
1337 }
1338
1339 public final deprecated class AuthParams {
1340 method public static java.lang.String getCredentialCharset(org.apache.http.params.HttpParams);
1341 method public static void setCredentialCharset(org.apache.http.params.HttpParams, java.lang.String);
1342 }
1343
1344}
1345
1346package org.apache.http.client {
1347
1348 public abstract deprecated interface AuthenticationHandler {
1349 method public abstract java.util.Map<java.lang.String, org.apache.http.Header> getChallenges(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.auth.MalformedChallengeException;
1350 method public abstract boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
1351 method public abstract org.apache.http.auth.AuthScheme selectScheme(java.util.Map<java.lang.String, org.apache.http.Header>, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.auth.AuthenticationException;
1352 }
1353
1354 public deprecated class CircularRedirectException extends org.apache.http.client.RedirectException {
1355 ctor public CircularRedirectException();
1356 ctor public CircularRedirectException(java.lang.String);
1357 ctor public CircularRedirectException(java.lang.String, java.lang.Throwable);
1358 }
1359
1360 public deprecated class ClientProtocolException extends java.io.IOException {
1361 ctor public ClientProtocolException();
1362 ctor public ClientProtocolException(java.lang.String);
1363 ctor public ClientProtocolException(java.lang.Throwable);
1364 ctor public ClientProtocolException(java.lang.String, java.lang.Throwable);
1365 }
1366
1367 public abstract deprecated interface CookieStore {
1368 method public abstract void addCookie(org.apache.http.cookie.Cookie);
1369 method public abstract void clear();
1370 method public abstract boolean clearExpired(java.util.Date);
1371 method public abstract java.util.List<org.apache.http.cookie.Cookie> getCookies();
1372 }
1373
1374 public abstract deprecated interface CredentialsProvider {
1375 method public abstract void clear();
1376 method public abstract org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope);
1377 method public abstract void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials);
1378 }
1379
1380 public abstract deprecated interface HttpClient {
1381 method public abstract org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1382 method public abstract org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1383 method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1384 method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1385 method public abstract <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1386 method public abstract <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1387 method public abstract <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1388 method public abstract <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1389 method public abstract org.apache.http.conn.ClientConnectionManager getConnectionManager();
1390 method public abstract org.apache.http.params.HttpParams getParams();
1391 }
1392
1393 public abstract deprecated interface HttpRequestRetryHandler {
1394 method public abstract boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext);
1395 }
1396
1397 public deprecated class HttpResponseException extends org.apache.http.client.ClientProtocolException {
1398 ctor public HttpResponseException(int, java.lang.String);
1399 method public int getStatusCode();
1400 }
1401
1402 public deprecated class NonRepeatableRequestException extends org.apache.http.ProtocolException {
1403 ctor public NonRepeatableRequestException();
1404 ctor public NonRepeatableRequestException(java.lang.String);
1405 }
1406
1407 public deprecated class RedirectException extends org.apache.http.ProtocolException {
1408 ctor public RedirectException();
1409 ctor public RedirectException(java.lang.String);
1410 ctor public RedirectException(java.lang.String, java.lang.Throwable);
1411 }
1412
1413 public abstract deprecated interface RedirectHandler {
1414 method public abstract java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.ProtocolException;
1415 method public abstract boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
1416 }
1417
1418 public abstract deprecated interface RequestDirector {
1419 method public abstract org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1420 }
1421
1422 public abstract deprecated interface ResponseHandler<T> {
1423 method public abstract T handleResponse(org.apache.http.HttpResponse) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
1424 }
1425
1426 public abstract deprecated interface UserTokenHandler {
1427 method public abstract java.lang.Object getUserToken(org.apache.http.protocol.HttpContext);
1428 }
1429
1430}
1431
1432package org.apache.http.client.entity {
1433
1434 public deprecated class UrlEncodedFormEntity extends org.apache.http.entity.StringEntity {
1435 ctor public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>, java.lang.String) throws java.io.UnsupportedEncodingException;
1436 ctor public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>) throws java.io.UnsupportedEncodingException;
1437 }
1438
1439}
1440
1441package org.apache.http.client.methods {
1442
1443 public abstract deprecated interface AbortableHttpRequest {
1444 method public abstract void abort();
1445 method public abstract void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
1446 method public abstract void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
1447 }
1448
1449 public deprecated class HttpDelete extends org.apache.http.client.methods.HttpRequestBase {
1450 ctor public HttpDelete();
1451 ctor public HttpDelete(java.net.URI);
1452 ctor public HttpDelete(java.lang.String);
1453 method public java.lang.String getMethod();
1454 field public static final java.lang.String METHOD_NAME = "DELETE";
1455 }
1456
1457 public abstract deprecated class HttpEntityEnclosingRequestBase extends org.apache.http.client.methods.HttpRequestBase implements org.apache.http.HttpEntityEnclosingRequest {
1458 ctor public HttpEntityEnclosingRequestBase();
1459 method public boolean expectContinue();
1460 method public org.apache.http.HttpEntity getEntity();
1461 method public void setEntity(org.apache.http.HttpEntity);
1462 }
1463
1464 public deprecated class HttpGet extends org.apache.http.client.methods.HttpRequestBase {
1465 ctor public HttpGet();
1466 ctor public HttpGet(java.net.URI);
1467 ctor public HttpGet(java.lang.String);
1468 method public java.lang.String getMethod();
1469 field public static final java.lang.String METHOD_NAME = "GET";
1470 }
1471
1472 public deprecated class HttpHead extends org.apache.http.client.methods.HttpRequestBase {
1473 ctor public HttpHead();
1474 ctor public HttpHead(java.net.URI);
1475 ctor public HttpHead(java.lang.String);
1476 method public java.lang.String getMethod();
1477 field public static final java.lang.String METHOD_NAME = "HEAD";
1478 }
1479
1480 public deprecated class HttpOptions extends org.apache.http.client.methods.HttpRequestBase {
1481 ctor public HttpOptions();
1482 ctor public HttpOptions(java.net.URI);
1483 ctor public HttpOptions(java.lang.String);
1484 method public java.util.Set<java.lang.String> getAllowedMethods(org.apache.http.HttpResponse);
1485 method public java.lang.String getMethod();
1486 field public static final java.lang.String METHOD_NAME = "OPTIONS";
1487 }
1488
1489 public deprecated class HttpPost extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
1490 ctor public HttpPost();
1491 ctor public HttpPost(java.net.URI);
1492 ctor public HttpPost(java.lang.String);
1493 method public java.lang.String getMethod();
1494 field public static final java.lang.String METHOD_NAME = "POST";
1495 }
1496
1497 public deprecated class HttpPut extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase {
1498 ctor public HttpPut();
1499 ctor public HttpPut(java.net.URI);
1500 ctor public HttpPut(java.lang.String);
1501 method public java.lang.String getMethod();
1502 field public static final java.lang.String METHOD_NAME = "PUT";
1503 }
1504
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07001505 public abstract deprecated class HttpRequestBase extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.client.methods.AbortableHttpRequest java.lang.Cloneable org.apache.http.client.methods.HttpUriRequest {
Paul Duffin03a95652017-07-14 13:48:42 +01001506 ctor public HttpRequestBase();
1507 method public void abort();
1508 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Paul Duffin03a95652017-07-14 13:48:42 +01001509 method public org.apache.http.ProtocolVersion getProtocolVersion();
1510 method public org.apache.http.RequestLine getRequestLine();
1511 method public java.net.URI getURI();
1512 method public boolean isAborted();
1513 method public void setConnectionRequest(org.apache.http.conn.ClientConnectionRequest) throws java.io.IOException;
1514 method public void setReleaseTrigger(org.apache.http.conn.ConnectionReleaseTrigger) throws java.io.IOException;
1515 method public void setURI(java.net.URI);
1516 }
1517
1518 public deprecated class HttpTrace extends org.apache.http.client.methods.HttpRequestBase {
1519 ctor public HttpTrace();
1520 ctor public HttpTrace(java.net.URI);
1521 ctor public HttpTrace(java.lang.String);
1522 method public java.lang.String getMethod();
1523 field public static final java.lang.String METHOD_NAME = "TRACE";
1524 }
1525
1526 public abstract deprecated interface HttpUriRequest implements org.apache.http.HttpRequest {
1527 method public abstract void abort() throws java.lang.UnsupportedOperationException;
1528 method public abstract java.lang.String getMethod();
1529 method public abstract java.net.URI getURI();
1530 method public abstract boolean isAborted();
1531 }
1532
1533}
1534
1535package org.apache.http.client.params {
1536
1537 public abstract deprecated interface AllClientPNames implements org.apache.http.auth.params.AuthPNames org.apache.http.client.params.ClientPNames org.apache.http.conn.params.ConnConnectionPNames org.apache.http.conn.params.ConnManagerPNames org.apache.http.conn.params.ConnRoutePNames org.apache.http.cookie.params.CookieSpecPNames org.apache.http.params.CoreConnectionPNames org.apache.http.params.CoreProtocolPNames {
1538 }
1539
1540 public final deprecated class AuthPolicy {
1541 field public static final java.lang.String BASIC = "Basic";
1542 field public static final java.lang.String DIGEST = "Digest";
1543 field public static final java.lang.String NTLM = "NTLM";
1544 }
1545
1546 public abstract deprecated interface ClientPNames {
1547 field public static final java.lang.String ALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects";
1548 field public static final java.lang.String CONNECTION_MANAGER_FACTORY = "http.connection-manager.factory-object";
1549 field public static final java.lang.String CONNECTION_MANAGER_FACTORY_CLASS_NAME = "http.connection-manager.factory-class-name";
1550 field public static final java.lang.String COOKIE_POLICY = "http.protocol.cookie-policy";
1551 field public static final java.lang.String DEFAULT_HEADERS = "http.default-headers";
1552 field public static final java.lang.String DEFAULT_HOST = "http.default-host";
1553 field public static final java.lang.String HANDLE_AUTHENTICATION = "http.protocol.handle-authentication";
1554 field public static final java.lang.String HANDLE_REDIRECTS = "http.protocol.handle-redirects";
1555 field public static final java.lang.String MAX_REDIRECTS = "http.protocol.max-redirects";
1556 field public static final java.lang.String REJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect";
1557 field public static final java.lang.String VIRTUAL_HOST = "http.virtual-host";
1558 }
1559
1560 public deprecated class ClientParamBean extends org.apache.http.params.HttpAbstractParamBean {
1561 ctor public ClientParamBean(org.apache.http.params.HttpParams);
1562 method public void setAllowCircularRedirects(boolean);
1563 method public void setConnectionManagerFactory(org.apache.http.conn.ClientConnectionManagerFactory);
1564 method public void setConnectionManagerFactoryClassName(java.lang.String);
1565 method public void setCookiePolicy(java.lang.String);
1566 method public void setDefaultHeaders(java.util.Collection<org.apache.http.Header>);
1567 method public void setDefaultHost(org.apache.http.HttpHost);
1568 method public void setHandleAuthentication(boolean);
1569 method public void setHandleRedirects(boolean);
1570 method public void setMaxRedirects(int);
1571 method public void setRejectRelativeRedirect(boolean);
1572 method public void setVirtualHost(org.apache.http.HttpHost);
1573 }
1574
1575 public final deprecated class CookiePolicy {
1576 field public static final java.lang.String BEST_MATCH = "best-match";
1577 field public static final java.lang.String BROWSER_COMPATIBILITY = "compatibility";
1578 field public static final java.lang.String NETSCAPE = "netscape";
1579 field public static final java.lang.String RFC_2109 = "rfc2109";
1580 field public static final java.lang.String RFC_2965 = "rfc2965";
1581 }
1582
1583 public deprecated class HttpClientParams {
1584 method public static java.lang.String getCookiePolicy(org.apache.http.params.HttpParams);
1585 method public static boolean isAuthenticating(org.apache.http.params.HttpParams);
1586 method public static boolean isRedirecting(org.apache.http.params.HttpParams);
1587 method public static void setAuthenticating(org.apache.http.params.HttpParams, boolean);
1588 method public static void setCookiePolicy(org.apache.http.params.HttpParams, java.lang.String);
1589 method public static void setRedirecting(org.apache.http.params.HttpParams, boolean);
1590 }
1591
1592}
1593
1594package org.apache.http.client.protocol {
1595
1596 public abstract deprecated interface ClientContext {
1597 field public static final java.lang.String AUTHSCHEME_REGISTRY = "http.authscheme-registry";
1598 field public static final java.lang.String AUTH_SCHEME_PREF = "http.auth.scheme-pref";
1599 field public static final java.lang.String COOKIESPEC_REGISTRY = "http.cookiespec-registry";
1600 field public static final java.lang.String COOKIE_ORIGIN = "http.cookie-origin";
1601 field public static final java.lang.String COOKIE_SPEC = "http.cookie-spec";
1602 field public static final java.lang.String COOKIE_STORE = "http.cookie-store";
1603 field public static final java.lang.String CREDS_PROVIDER = "http.auth.credentials-provider";
1604 field public static final java.lang.String PROXY_AUTH_STATE = "http.auth.proxy-scope";
1605 field public static final java.lang.String TARGET_AUTH_STATE = "http.auth.target-scope";
1606 field public static final java.lang.String USER_TOKEN = "http.user-token";
1607 }
1608
1609 public deprecated class ClientContextConfigurer implements org.apache.http.client.protocol.ClientContext {
1610 ctor public ClientContextConfigurer(org.apache.http.protocol.HttpContext);
1611 method public void setAuthSchemePref(java.util.List<java.lang.String>);
1612 method public void setAuthSchemeRegistry(org.apache.http.auth.AuthSchemeRegistry);
1613 method public void setCookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry);
1614 method public void setCookieStore(org.apache.http.client.CookieStore);
1615 method public void setCredentialsProvider(org.apache.http.client.CredentialsProvider);
1616 }
1617
1618 public deprecated class RequestAddCookies implements org.apache.http.HttpRequestInterceptor {
1619 ctor public RequestAddCookies();
1620 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1621 }
1622
1623 public deprecated class RequestDefaultHeaders implements org.apache.http.HttpRequestInterceptor {
1624 ctor public RequestDefaultHeaders();
1625 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1626 }
1627
1628 public deprecated class RequestProxyAuthentication implements org.apache.http.HttpRequestInterceptor {
1629 ctor public RequestProxyAuthentication();
1630 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1631 }
1632
1633 public deprecated class RequestTargetAuthentication implements org.apache.http.HttpRequestInterceptor {
1634 ctor public RequestTargetAuthentication();
1635 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1636 }
1637
1638 public deprecated class ResponseProcessCookies implements org.apache.http.HttpResponseInterceptor {
1639 ctor public ResponseProcessCookies();
1640 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
1641 }
1642
1643}
1644
1645package org.apache.http.client.utils {
1646
1647 public deprecated class CloneUtils {
1648 method public static java.lang.Object clone(java.lang.Object) throws java.lang.CloneNotSupportedException;
1649 }
1650
1651 public deprecated class URIUtils {
1652 method public static java.net.URI createURI(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) throws java.net.URISyntaxException;
1653 method public static java.net.URI resolve(java.net.URI, java.lang.String);
1654 method public static java.net.URI resolve(java.net.URI, java.net.URI);
1655 method public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean) throws java.net.URISyntaxException;
1656 method public static java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost) throws java.net.URISyntaxException;
1657 }
1658
1659 public deprecated class URLEncodedUtils {
1660 ctor public URLEncodedUtils();
1661 method public static java.lang.String format(java.util.List<? extends org.apache.http.NameValuePair>, java.lang.String);
1662 method public static boolean isEncoded(org.apache.http.HttpEntity);
1663 method public static java.util.List<org.apache.http.NameValuePair> parse(java.net.URI, java.lang.String);
1664 method public static java.util.List<org.apache.http.NameValuePair> parse(org.apache.http.HttpEntity) throws java.io.IOException;
1665 method public static void parse(java.util.List<org.apache.http.NameValuePair>, java.util.Scanner, java.lang.String);
1666 field public static final java.lang.String CONTENT_TYPE = "application/x-www-form-urlencoded";
1667 }
1668
1669}
1670
1671package org.apache.http.conn {
1672
1673 public deprecated class BasicEofSensorWatcher implements org.apache.http.conn.EofSensorWatcher {
1674 ctor public BasicEofSensorWatcher(org.apache.http.conn.ManagedClientConnection, boolean);
1675 method public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1676 method public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1677 method public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
1678 field protected boolean attemptReuse;
1679 field protected org.apache.http.conn.ManagedClientConnection managedConn;
1680 }
1681
1682 public deprecated class BasicManagedEntity extends org.apache.http.entity.HttpEntityWrapper implements org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.conn.EofSensorWatcher {
1683 ctor public BasicManagedEntity(org.apache.http.HttpEntity, org.apache.http.conn.ManagedClientConnection, boolean);
1684 method public void abortConnection() throws java.io.IOException;
1685 method public boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1686 method public void releaseConnection() throws java.io.IOException;
1687 method protected void releaseManagedConnection() throws java.io.IOException;
1688 method public boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1689 method public boolean streamClosed(java.io.InputStream) throws java.io.IOException;
1690 field protected final boolean attemptReuse;
1691 field protected org.apache.http.conn.ManagedClientConnection managedConn;
1692 }
1693
1694 public abstract deprecated interface ClientConnectionManager {
1695 method public abstract void closeExpiredConnections();
1696 method public abstract void closeIdleConnections(long, java.util.concurrent.TimeUnit);
1697 method public abstract org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
1698 method public abstract void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
1699 method public abstract org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
1700 method public abstract void shutdown();
1701 }
1702
1703 public abstract deprecated interface ClientConnectionManagerFactory {
1704 method public abstract org.apache.http.conn.ClientConnectionManager newInstance(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
1705 }
1706
1707 public abstract deprecated interface ClientConnectionOperator {
1708 method public abstract org.apache.http.conn.OperatedClientConnection createConnection();
1709 method public abstract void openConnection(org.apache.http.conn.OperatedClientConnection, org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1710 method public abstract void updateSecureConnection(org.apache.http.conn.OperatedClientConnection, org.apache.http.HttpHost, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1711 }
1712
1713 public abstract deprecated interface ClientConnectionRequest {
1714 method public abstract void abortRequest();
1715 method public abstract org.apache.http.conn.ManagedClientConnection getConnection(long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
1716 }
1717
1718 public deprecated class ConnectTimeoutException extends java.io.InterruptedIOException {
1719 ctor public ConnectTimeoutException();
1720 ctor public ConnectTimeoutException(java.lang.String);
1721 }
1722
1723 public abstract deprecated interface ConnectionKeepAliveStrategy {
1724 method public abstract long getKeepAliveDuration(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
1725 }
1726
1727 public deprecated class ConnectionPoolTimeoutException extends org.apache.http.conn.ConnectTimeoutException {
1728 ctor public ConnectionPoolTimeoutException();
1729 ctor public ConnectionPoolTimeoutException(java.lang.String);
1730 }
1731
1732 public abstract deprecated interface ConnectionReleaseTrigger {
1733 method public abstract void abortConnection() throws java.io.IOException;
1734 method public abstract void releaseConnection() throws java.io.IOException;
1735 }
1736
1737 public deprecated class EofSensorInputStream extends java.io.InputStream implements org.apache.http.conn.ConnectionReleaseTrigger {
1738 ctor public EofSensorInputStream(java.io.InputStream, org.apache.http.conn.EofSensorWatcher);
1739 method public void abortConnection() throws java.io.IOException;
1740 method protected void checkAbort() throws java.io.IOException;
1741 method protected void checkClose() throws java.io.IOException;
1742 method protected void checkEOF(int) throws java.io.IOException;
1743 method protected boolean isReadAllowed() throws java.io.IOException;
1744 method public int read() throws java.io.IOException;
1745 method public void releaseConnection() throws java.io.IOException;
1746 field protected java.io.InputStream wrappedStream;
1747 }
1748
1749 public abstract deprecated interface EofSensorWatcher {
1750 method public abstract boolean eofDetected(java.io.InputStream) throws java.io.IOException;
1751 method public abstract boolean streamAbort(java.io.InputStream) throws java.io.IOException;
1752 method public abstract boolean streamClosed(java.io.InputStream) throws java.io.IOException;
1753 }
1754
1755 public deprecated class HttpHostConnectException extends java.net.ConnectException {
1756 ctor public HttpHostConnectException(org.apache.http.HttpHost, java.net.ConnectException);
1757 method public org.apache.http.HttpHost getHost();
1758 }
1759
1760 public abstract deprecated interface ManagedClientConnection implements org.apache.http.conn.ConnectionReleaseTrigger org.apache.http.HttpClientConnection org.apache.http.HttpInetConnection {
1761 method public abstract org.apache.http.conn.routing.HttpRoute getRoute();
1762 method public abstract javax.net.ssl.SSLSession getSSLSession();
1763 method public abstract java.lang.Object getState();
1764 method public abstract boolean isMarkedReusable();
1765 method public abstract boolean isSecure();
1766 method public abstract void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1767 method public abstract void markReusable();
1768 method public abstract void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
1769 method public abstract void setIdleDuration(long, java.util.concurrent.TimeUnit);
1770 method public abstract void setState(java.lang.Object);
1771 method public abstract void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1772 method public abstract void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1773 method public abstract void unmarkReusable();
1774 }
1775
1776 public final deprecated class MultihomePlainSocketFactory implements org.apache.http.conn.scheme.SocketFactory {
1777 method public java.net.Socket connectSocket(java.net.Socket, java.lang.String, int, java.net.InetAddress, int, org.apache.http.params.HttpParams) throws java.io.IOException;
1778 method public java.net.Socket createSocket();
1779 method public static org.apache.http.conn.MultihomePlainSocketFactory getSocketFactory();
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001780 method public boolean isSecure(java.net.Socket) throws java.lang.IllegalArgumentException;
Paul Duffin03a95652017-07-14 13:48:42 +01001781 }
1782
1783 public abstract deprecated interface OperatedClientConnection implements org.apache.http.HttpClientConnection org.apache.http.HttpInetConnection {
1784 method public abstract java.net.Socket getSocket();
1785 method public abstract org.apache.http.HttpHost getTargetHost();
1786 method public abstract boolean isSecure();
1787 method public abstract void openCompleted(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1788 method public abstract void opening(java.net.Socket, org.apache.http.HttpHost) throws java.io.IOException;
1789 method public abstract void update(java.net.Socket, org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
1790 }
1791
1792}
1793
1794package org.apache.http.conn.params {
1795
1796 public abstract deprecated interface ConnConnectionPNames {
1797 field public static final java.lang.String MAX_STATUS_LINE_GARBAGE = "http.connection.max-status-line-garbage";
1798 }
1799
1800 public deprecated class ConnConnectionParamBean extends org.apache.http.params.HttpAbstractParamBean {
1801 ctor public ConnConnectionParamBean(org.apache.http.params.HttpParams);
1802 method public void setMaxStatusLineGarbage(int);
1803 }
1804
1805 public abstract deprecated interface ConnManagerPNames {
1806 field public static final java.lang.String MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route";
1807 field public static final java.lang.String MAX_TOTAL_CONNECTIONS = "http.conn-manager.max-total";
1808 field public static final java.lang.String TIMEOUT = "http.conn-manager.timeout";
1809 }
1810
1811 public deprecated class ConnManagerParamBean extends org.apache.http.params.HttpAbstractParamBean {
1812 ctor public ConnManagerParamBean(org.apache.http.params.HttpParams);
1813 method public void setConnectionsPerRoute(org.apache.http.conn.params.ConnPerRouteBean);
1814 method public void setMaxTotalConnections(int);
1815 method public void setTimeout(long);
1816 }
1817
1818 public final deprecated class ConnManagerParams implements org.apache.http.conn.params.ConnManagerPNames {
1819 ctor public ConnManagerParams();
1820 method public static org.apache.http.conn.params.ConnPerRoute getMaxConnectionsPerRoute(org.apache.http.params.HttpParams);
1821 method public static int getMaxTotalConnections(org.apache.http.params.HttpParams);
1822 method public static long getTimeout(org.apache.http.params.HttpParams);
1823 method public static void setMaxConnectionsPerRoute(org.apache.http.params.HttpParams, org.apache.http.conn.params.ConnPerRoute);
1824 method public static void setMaxTotalConnections(org.apache.http.params.HttpParams, int);
1825 method public static void setTimeout(org.apache.http.params.HttpParams, long);
1826 field public static final int DEFAULT_MAX_TOTAL_CONNECTIONS = 20; // 0x14
1827 }
1828
1829 public abstract deprecated interface ConnPerRoute {
1830 method public abstract int getMaxForRoute(org.apache.http.conn.routing.HttpRoute);
1831 }
1832
1833 public final deprecated class ConnPerRouteBean implements org.apache.http.conn.params.ConnPerRoute {
1834 ctor public ConnPerRouteBean(int);
1835 ctor public ConnPerRouteBean();
1836 method public int getDefaultMax();
1837 method public int getMaxForRoute(org.apache.http.conn.routing.HttpRoute);
1838 method public void setDefaultMaxPerRoute(int);
1839 method public void setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int);
1840 method public void setMaxForRoutes(java.util.Map<org.apache.http.conn.routing.HttpRoute, java.lang.Integer>);
1841 field public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE = 2; // 0x2
1842 }
1843
1844 public abstract deprecated interface ConnRoutePNames {
1845 field public static final java.lang.String DEFAULT_PROXY = "http.route.default-proxy";
1846 field public static final java.lang.String FORCED_ROUTE = "http.route.forced-route";
1847 field public static final java.lang.String LOCAL_ADDRESS = "http.route.local-address";
1848 }
1849
1850 public deprecated class ConnRouteParamBean extends org.apache.http.params.HttpAbstractParamBean {
1851 ctor public ConnRouteParamBean(org.apache.http.params.HttpParams);
1852 method public void setDefaultProxy(org.apache.http.HttpHost);
1853 method public void setForcedRoute(org.apache.http.conn.routing.HttpRoute);
1854 method public void setLocalAddress(java.net.InetAddress);
1855 }
1856
1857 public deprecated class ConnRouteParams implements org.apache.http.conn.params.ConnRoutePNames {
1858 method public static org.apache.http.HttpHost getDefaultProxy(org.apache.http.params.HttpParams);
1859 method public static org.apache.http.conn.routing.HttpRoute getForcedRoute(org.apache.http.params.HttpParams);
1860 method public static java.net.InetAddress getLocalAddress(org.apache.http.params.HttpParams);
1861 method public static void setDefaultProxy(org.apache.http.params.HttpParams, org.apache.http.HttpHost);
1862 method public static void setForcedRoute(org.apache.http.params.HttpParams, org.apache.http.conn.routing.HttpRoute);
1863 method public static void setLocalAddress(org.apache.http.params.HttpParams, java.net.InetAddress);
1864 field public static final org.apache.http.HttpHost NO_HOST;
1865 field public static final org.apache.http.conn.routing.HttpRoute NO_ROUTE;
1866 }
1867
1868}
1869
1870package org.apache.http.conn.routing {
1871
1872 public deprecated class BasicRouteDirector implements org.apache.http.conn.routing.HttpRouteDirector {
1873 ctor public BasicRouteDirector();
1874 method protected int directStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1875 method protected int firstStep(org.apache.http.conn.routing.RouteInfo);
1876 method public int nextStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1877 method protected int proxiedStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1878 }
1879
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07001880 public final deprecated class HttpRoute implements java.lang.Cloneable org.apache.http.conn.routing.RouteInfo {
Paul Duffin03a95652017-07-14 13:48:42 +01001881 ctor 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);
1882 ctor 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);
1883 ctor public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, boolean);
1884 ctor public HttpRoute(org.apache.http.HttpHost);
1885 ctor public HttpRoute(org.apache.http.HttpHost, java.net.InetAddress, org.apache.http.HttpHost, boolean);
1886 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001887 method public int getHopCount();
1888 method public org.apache.http.HttpHost getHopTarget(int);
1889 method public org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1890 method public java.net.InetAddress getLocalAddress();
1891 method public org.apache.http.HttpHost getProxyHost();
1892 method public org.apache.http.HttpHost getTargetHost();
1893 method public org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1894 method public boolean isLayered();
1895 method public boolean isSecure();
1896 method public boolean isTunnelled();
Paul Duffin03a95652017-07-14 13:48:42 +01001897 }
1898
1899 public abstract deprecated interface HttpRouteDirector {
1900 method public abstract int nextStep(org.apache.http.conn.routing.RouteInfo, org.apache.http.conn.routing.RouteInfo);
1901 field public static final int COMPLETE = 0; // 0x0
1902 field public static final int CONNECT_PROXY = 2; // 0x2
1903 field public static final int CONNECT_TARGET = 1; // 0x1
1904 field public static final int LAYER_PROTOCOL = 5; // 0x5
1905 field public static final int TUNNEL_PROXY = 4; // 0x4
1906 field public static final int TUNNEL_TARGET = 3; // 0x3
1907 field public static final int UNREACHABLE = -1; // 0xffffffff
1908 }
1909
1910 public abstract deprecated interface HttpRoutePlanner {
1911 method public abstract 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;
1912 }
1913
1914 public abstract deprecated interface RouteInfo {
1915 method public abstract int getHopCount();
1916 method public abstract org.apache.http.HttpHost getHopTarget(int);
1917 method public abstract org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1918 method public abstract java.net.InetAddress getLocalAddress();
1919 method public abstract org.apache.http.HttpHost getProxyHost();
1920 method public abstract org.apache.http.HttpHost getTargetHost();
1921 method public abstract org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1922 method public abstract boolean isLayered();
1923 method public abstract boolean isSecure();
1924 method public abstract boolean isTunnelled();
1925 }
1926
1927 public static final class RouteInfo.LayerType extends java.lang.Enum {
1928 method public static org.apache.http.conn.routing.RouteInfo.LayerType valueOf(java.lang.String);
1929 method public static final org.apache.http.conn.routing.RouteInfo.LayerType[] values();
1930 enum_constant public static final org.apache.http.conn.routing.RouteInfo.LayerType LAYERED;
1931 enum_constant public static final org.apache.http.conn.routing.RouteInfo.LayerType PLAIN;
1932 }
1933
1934 public static final class RouteInfo.TunnelType extends java.lang.Enum {
1935 method public static org.apache.http.conn.routing.RouteInfo.TunnelType valueOf(java.lang.String);
1936 method public static final org.apache.http.conn.routing.RouteInfo.TunnelType[] values();
1937 enum_constant public static final org.apache.http.conn.routing.RouteInfo.TunnelType PLAIN;
1938 enum_constant public static final org.apache.http.conn.routing.RouteInfo.TunnelType TUNNELLED;
1939 }
1940
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07001941 public final deprecated class RouteTracker implements java.lang.Cloneable org.apache.http.conn.routing.RouteInfo {
Paul Duffin03a95652017-07-14 13:48:42 +01001942 ctor public RouteTracker(org.apache.http.HttpHost, java.net.InetAddress);
1943 ctor public RouteTracker(org.apache.http.conn.routing.HttpRoute);
1944 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001945 method public void connectProxy(org.apache.http.HttpHost, boolean);
1946 method public void connectTarget(boolean);
1947 method public int getHopCount();
1948 method public org.apache.http.HttpHost getHopTarget(int);
1949 method public org.apache.http.conn.routing.RouteInfo.LayerType getLayerType();
1950 method public java.net.InetAddress getLocalAddress();
1951 method public org.apache.http.HttpHost getProxyHost();
1952 method public org.apache.http.HttpHost getTargetHost();
1953 method public org.apache.http.conn.routing.RouteInfo.TunnelType getTunnelType();
1954 method public boolean isConnected();
1955 method public boolean isLayered();
1956 method public boolean isSecure();
1957 method public boolean isTunnelled();
1958 method public void layerProtocol(boolean);
1959 method public org.apache.http.conn.routing.HttpRoute toRoute();
1960 method public void tunnelProxy(org.apache.http.HttpHost, boolean);
1961 method public void tunnelTarget(boolean);
Paul Duffin03a95652017-07-14 13:48:42 +01001962 }
1963
1964}
1965
1966package org.apache.http.conn.scheme {
1967
1968 public abstract deprecated interface HostNameResolver {
1969 method public abstract java.net.InetAddress resolve(java.lang.String) throws java.io.IOException;
1970 }
1971
1972 public abstract deprecated interface LayeredSocketFactory implements org.apache.http.conn.scheme.SocketFactory {
1973 method public abstract java.net.Socket createSocket(java.net.Socket, java.lang.String, int, boolean) throws java.io.IOException, java.net.UnknownHostException;
1974 }
1975
1976 public final deprecated class PlainSocketFactory implements org.apache.http.conn.scheme.SocketFactory {
1977 ctor public PlainSocketFactory(org.apache.http.conn.scheme.HostNameResolver);
1978 ctor public PlainSocketFactory();
1979 method public java.net.Socket connectSocket(java.net.Socket, java.lang.String, int, java.net.InetAddress, int, org.apache.http.params.HttpParams) throws java.io.IOException;
1980 method public java.net.Socket createSocket();
1981 method public static org.apache.http.conn.scheme.PlainSocketFactory getSocketFactory();
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001982 method public boolean isSecure(java.net.Socket) throws java.lang.IllegalArgumentException;
Paul Duffin03a95652017-07-14 13:48:42 +01001983 }
1984
1985 public final deprecated class Scheme {
1986 ctor public Scheme(java.lang.String, org.apache.http.conn.scheme.SocketFactory, int);
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001987 method public int getDefaultPort();
1988 method public java.lang.String getName();
1989 method public org.apache.http.conn.scheme.SocketFactory getSocketFactory();
1990 method public boolean isLayered();
1991 method public int resolvePort(int);
Paul Duffin03a95652017-07-14 13:48:42 +01001992 }
1993
1994 public final deprecated class SchemeRegistry {
1995 ctor public SchemeRegistry();
Adam Lesinskiabd039a2018-01-24 12:52:46 -08001996 method public synchronized org.apache.http.conn.scheme.Scheme get(java.lang.String);
1997 method public synchronized org.apache.http.conn.scheme.Scheme getScheme(java.lang.String);
1998 method public synchronized org.apache.http.conn.scheme.Scheme getScheme(org.apache.http.HttpHost);
1999 method public synchronized java.util.List<java.lang.String> getSchemeNames();
2000 method public synchronized org.apache.http.conn.scheme.Scheme register(org.apache.http.conn.scheme.Scheme);
Paul Duffin03a95652017-07-14 13:48:42 +01002001 method public synchronized void setItems(java.util.Map<java.lang.String, org.apache.http.conn.scheme.Scheme>);
Adam Lesinskiabd039a2018-01-24 12:52:46 -08002002 method public synchronized org.apache.http.conn.scheme.Scheme unregister(java.lang.String);
Paul Duffin03a95652017-07-14 13:48:42 +01002003 }
2004
2005 public abstract deprecated interface SocketFactory {
2006 method public abstract java.net.Socket connectSocket(java.net.Socket, java.lang.String, int, java.net.InetAddress, int, org.apache.http.params.HttpParams) throws org.apache.http.conn.ConnectTimeoutException, java.io.IOException, java.net.UnknownHostException;
2007 method public abstract java.net.Socket createSocket() throws java.io.IOException;
2008 method public abstract boolean isSecure(java.net.Socket) throws java.lang.IllegalArgumentException;
2009 }
2010
2011}
2012
2013package org.apache.http.conn.util {
2014
2015 public deprecated class InetAddressUtils {
2016 method public static boolean isIPv4Address(java.lang.String);
2017 method public static boolean isIPv6Address(java.lang.String);
2018 method public static boolean isIPv6HexCompressedAddress(java.lang.String);
2019 method public static boolean isIPv6StdAddress(java.lang.String);
2020 }
2021
2022}
2023
2024package org.apache.http.cookie {
2025
2026 public abstract deprecated interface ClientCookie implements org.apache.http.cookie.Cookie {
2027 method public abstract boolean containsAttribute(java.lang.String);
2028 method public abstract java.lang.String getAttribute(java.lang.String);
2029 field public static final java.lang.String COMMENTURL_ATTR = "commenturl";
2030 field public static final java.lang.String COMMENT_ATTR = "comment";
2031 field public static final java.lang.String DISCARD_ATTR = "discard";
2032 field public static final java.lang.String DOMAIN_ATTR = "domain";
2033 field public static final java.lang.String EXPIRES_ATTR = "expires";
2034 field public static final java.lang.String MAX_AGE_ATTR = "max-age";
2035 field public static final java.lang.String PATH_ATTR = "path";
2036 field public static final java.lang.String PORT_ATTR = "port";
2037 field public static final java.lang.String SECURE_ATTR = "secure";
2038 field public static final java.lang.String VERSION_ATTR = "version";
2039 }
2040
2041 public abstract deprecated interface Cookie {
2042 method public abstract java.lang.String getComment();
2043 method public abstract java.lang.String getCommentURL();
2044 method public abstract java.lang.String getDomain();
2045 method public abstract java.util.Date getExpiryDate();
2046 method public abstract java.lang.String getName();
2047 method public abstract java.lang.String getPath();
2048 method public abstract int[] getPorts();
2049 method public abstract java.lang.String getValue();
2050 method public abstract int getVersion();
2051 method public abstract boolean isExpired(java.util.Date);
2052 method public abstract boolean isPersistent();
2053 method public abstract boolean isSecure();
2054 }
2055
2056 public abstract deprecated interface CookieAttributeHandler {
2057 method public abstract boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
2058 method public abstract void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
2059 method public abstract void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
2060 }
2061
2062 public deprecated class CookieIdentityComparator implements java.util.Comparator java.io.Serializable {
2063 ctor public CookieIdentityComparator();
2064 method public int compare(org.apache.http.cookie.Cookie, org.apache.http.cookie.Cookie);
2065 }
2066
2067 public final deprecated class CookieOrigin {
2068 ctor public CookieOrigin(java.lang.String, int, java.lang.String, boolean);
2069 method public java.lang.String getHost();
2070 method public java.lang.String getPath();
2071 method public int getPort();
2072 method public boolean isSecure();
2073 }
2074
2075 public deprecated class CookiePathComparator implements java.util.Comparator java.io.Serializable {
2076 ctor public CookiePathComparator();
2077 method public int compare(org.apache.http.cookie.Cookie, org.apache.http.cookie.Cookie);
2078 }
2079
2080 public abstract deprecated interface CookieSpec {
2081 method public abstract java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
2082 method public abstract int getVersion();
2083 method public abstract org.apache.http.Header getVersionHeader();
2084 method public abstract boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
2085 method public abstract java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
2086 method public abstract void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
2087 }
2088
2089 public abstract deprecated interface CookieSpecFactory {
2090 method public abstract org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
2091 }
2092
2093 public final deprecated class CookieSpecRegistry {
2094 ctor public CookieSpecRegistry();
2095 method public synchronized org.apache.http.cookie.CookieSpec getCookieSpec(java.lang.String, org.apache.http.params.HttpParams) throws java.lang.IllegalStateException;
2096 method public synchronized org.apache.http.cookie.CookieSpec getCookieSpec(java.lang.String) throws java.lang.IllegalStateException;
2097 method public synchronized java.util.List<java.lang.String> getSpecNames();
2098 method public synchronized void register(java.lang.String, org.apache.http.cookie.CookieSpecFactory);
2099 method public synchronized void setItems(java.util.Map<java.lang.String, org.apache.http.cookie.CookieSpecFactory>);
2100 method public synchronized void unregister(java.lang.String);
2101 }
2102
2103 public deprecated class MalformedCookieException extends org.apache.http.ProtocolException {
2104 ctor public MalformedCookieException();
2105 ctor public MalformedCookieException(java.lang.String);
2106 ctor public MalformedCookieException(java.lang.String, java.lang.Throwable);
2107 }
2108
2109 public abstract deprecated interface SM {
2110 field public static final java.lang.String COOKIE = "Cookie";
2111 field public static final java.lang.String COOKIE2 = "Cookie2";
2112 field public static final java.lang.String SET_COOKIE = "Set-Cookie";
2113 field public static final java.lang.String SET_COOKIE2 = "Set-Cookie2";
2114 }
2115
2116 public abstract deprecated interface SetCookie implements org.apache.http.cookie.Cookie {
2117 method public abstract void setComment(java.lang.String);
2118 method public abstract void setDomain(java.lang.String);
2119 method public abstract void setExpiryDate(java.util.Date);
2120 method public abstract void setPath(java.lang.String);
2121 method public abstract void setSecure(boolean);
2122 method public abstract void setValue(java.lang.String);
2123 method public abstract void setVersion(int);
2124 }
2125
2126 public abstract deprecated interface SetCookie2 implements org.apache.http.cookie.SetCookie {
2127 method public abstract void setCommentURL(java.lang.String);
2128 method public abstract void setDiscard(boolean);
2129 method public abstract void setPorts(int[]);
2130 }
2131
2132}
2133
2134package org.apache.http.cookie.params {
2135
2136 public abstract deprecated interface CookieSpecPNames {
2137 field public static final java.lang.String DATE_PATTERNS = "http.protocol.cookie-datepatterns";
2138 field public static final java.lang.String SINGLE_COOKIE_HEADER = "http.protocol.single-cookie-header";
2139 }
2140
2141 public deprecated class CookieSpecParamBean extends org.apache.http.params.HttpAbstractParamBean {
2142 ctor public CookieSpecParamBean(org.apache.http.params.HttpParams);
2143 method public void setDatePatterns(java.util.Collection<java.lang.String>);
2144 method public void setSingleHeader(boolean);
2145 }
2146
2147}
2148
2149package org.apache.http.entity {
2150
2151 public abstract deprecated class AbstractHttpEntity implements org.apache.http.HttpEntity {
2152 ctor protected AbstractHttpEntity();
2153 method public void consumeContent() throws java.io.IOException, java.lang.UnsupportedOperationException;
2154 method public org.apache.http.Header getContentEncoding();
2155 method public org.apache.http.Header getContentType();
2156 method public boolean isChunked();
2157 method public void setChunked(boolean);
2158 method public void setContentEncoding(org.apache.http.Header);
2159 method public void setContentEncoding(java.lang.String);
2160 method public void setContentType(org.apache.http.Header);
2161 method public void setContentType(java.lang.String);
2162 field protected boolean chunked;
2163 field protected org.apache.http.Header contentEncoding;
2164 field protected org.apache.http.Header contentType;
2165 }
2166
2167 public deprecated class BasicHttpEntity extends org.apache.http.entity.AbstractHttpEntity {
2168 ctor public BasicHttpEntity();
2169 method public void consumeContent() throws java.io.IOException;
2170 method public java.io.InputStream getContent() throws java.lang.IllegalStateException;
2171 method public long getContentLength();
2172 method public boolean isRepeatable();
2173 method public boolean isStreaming();
2174 method public void setContent(java.io.InputStream);
2175 method public void setContentLength(long);
2176 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2177 }
2178
2179 public deprecated class BufferedHttpEntity extends org.apache.http.entity.HttpEntityWrapper {
2180 ctor public BufferedHttpEntity(org.apache.http.HttpEntity) throws java.io.IOException;
2181 }
2182
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07002183 public deprecated class ByteArrayEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
Paul Duffin03a95652017-07-14 13:48:42 +01002184 ctor public ByteArrayEntity(byte[]);
2185 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
2186 method public java.io.InputStream getContent();
2187 method public long getContentLength();
2188 method public boolean isRepeatable();
2189 method public boolean isStreaming();
2190 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2191 field protected final byte[] content;
2192 }
2193
2194 public abstract deprecated interface ContentLengthStrategy {
2195 method public abstract long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
2196 field public static final int CHUNKED = -2; // 0xfffffffe
2197 field public static final int IDENTITY = -1; // 0xffffffff
2198 }
2199
2200 public abstract deprecated interface ContentProducer {
2201 method public abstract void writeTo(java.io.OutputStream) throws java.io.IOException;
2202 }
2203
2204 public deprecated class EntityTemplate extends org.apache.http.entity.AbstractHttpEntity {
2205 ctor public EntityTemplate(org.apache.http.entity.ContentProducer);
2206 method public void consumeContent() throws java.io.IOException;
2207 method public java.io.InputStream getContent();
2208 method public long getContentLength();
2209 method public boolean isRepeatable();
2210 method public boolean isStreaming();
2211 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2212 }
2213
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07002214 public deprecated class FileEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
Paul Duffin03a95652017-07-14 13:48:42 +01002215 ctor public FileEntity(java.io.File, java.lang.String);
2216 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
2217 method public java.io.InputStream getContent() throws java.io.IOException;
2218 method public long getContentLength();
2219 method public boolean isRepeatable();
2220 method public boolean isStreaming();
2221 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2222 field protected final java.io.File file;
2223 }
2224
2225 public deprecated class HttpEntityWrapper implements org.apache.http.HttpEntity {
2226 ctor public HttpEntityWrapper(org.apache.http.HttpEntity);
2227 method public void consumeContent() throws java.io.IOException;
2228 method public java.io.InputStream getContent() throws java.io.IOException;
2229 method public org.apache.http.Header getContentEncoding();
2230 method public long getContentLength();
2231 method public org.apache.http.Header getContentType();
2232 method public boolean isChunked();
2233 method public boolean isRepeatable();
2234 method public boolean isStreaming();
2235 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2236 field protected org.apache.http.HttpEntity wrappedEntity;
2237 }
2238
2239 public deprecated class InputStreamEntity extends org.apache.http.entity.AbstractHttpEntity {
2240 ctor public InputStreamEntity(java.io.InputStream, long);
2241 method public void consumeContent() throws java.io.IOException;
2242 method public java.io.InputStream getContent() throws java.io.IOException;
2243 method public long getContentLength();
2244 method public boolean isRepeatable();
2245 method public boolean isStreaming();
2246 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2247 }
2248
2249 public deprecated class SerializableEntity extends org.apache.http.entity.AbstractHttpEntity {
2250 ctor public SerializableEntity(java.io.Serializable, boolean) throws java.io.IOException;
2251 method public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException;
2252 method public long getContentLength();
2253 method public boolean isRepeatable();
2254 method public boolean isStreaming();
2255 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2256 }
2257
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07002258 public deprecated class StringEntity extends org.apache.http.entity.AbstractHttpEntity implements java.lang.Cloneable {
Paul Duffin03a95652017-07-14 13:48:42 +01002259 ctor public StringEntity(java.lang.String, java.lang.String) throws java.io.UnsupportedEncodingException;
2260 ctor public StringEntity(java.lang.String) throws java.io.UnsupportedEncodingException;
2261 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
2262 method public java.io.InputStream getContent() throws java.io.IOException;
2263 method public long getContentLength();
2264 method public boolean isRepeatable();
2265 method public boolean isStreaming();
2266 method public void writeTo(java.io.OutputStream) throws java.io.IOException;
2267 field protected final byte[] content;
2268 }
2269
2270}
2271
2272package org.apache.http.impl {
2273
2274 public abstract deprecated class AbstractHttpClientConnection implements org.apache.http.HttpClientConnection {
2275 ctor public AbstractHttpClientConnection();
2276 method protected abstract void assertOpen() throws java.lang.IllegalStateException;
2277 method protected org.apache.http.impl.entity.EntityDeserializer createEntityDeserializer();
2278 method protected org.apache.http.impl.entity.EntitySerializer createEntitySerializer();
2279 method protected org.apache.http.HttpResponseFactory createHttpResponseFactory();
2280 method protected org.apache.http.io.HttpMessageWriter createRequestWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2281 method protected org.apache.http.io.HttpMessageParser createResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
2282 method protected void doFlush() throws java.io.IOException;
2283 method public void flush() throws java.io.IOException;
2284 method public org.apache.http.HttpConnectionMetrics getMetrics();
2285 method protected void init(org.apache.http.io.SessionInputBuffer, org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2286 method public boolean isResponseAvailable(int) throws java.io.IOException;
2287 method public boolean isStale();
2288 method public void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2289 method public org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
2290 method public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2291 method public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
2292 }
2293
2294 public abstract deprecated class AbstractHttpServerConnection implements org.apache.http.HttpServerConnection {
2295 ctor public AbstractHttpServerConnection();
2296 method protected abstract void assertOpen() throws java.lang.IllegalStateException;
2297 method protected org.apache.http.impl.entity.EntityDeserializer createEntityDeserializer();
2298 method protected org.apache.http.impl.entity.EntitySerializer createEntitySerializer();
2299 method protected org.apache.http.HttpRequestFactory createHttpRequestFactory();
2300 method protected org.apache.http.io.HttpMessageParser createRequestParser(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpRequestFactory, org.apache.http.params.HttpParams);
2301 method protected org.apache.http.io.HttpMessageWriter createResponseWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2302 method protected void doFlush() throws java.io.IOException;
2303 method public void flush() throws java.io.IOException;
2304 method public org.apache.http.HttpConnectionMetrics getMetrics();
2305 method protected void init(org.apache.http.io.SessionInputBuffer, org.apache.http.io.SessionOutputBuffer, org.apache.http.params.HttpParams);
2306 method public boolean isStale();
2307 method public void receiveRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2308 method public org.apache.http.HttpRequest receiveRequestHeader() throws org.apache.http.HttpException, java.io.IOException;
2309 method public void sendResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2310 method public void sendResponseHeader(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2311 }
2312
2313 public deprecated class DefaultConnectionReuseStrategy implements org.apache.http.ConnectionReuseStrategy {
2314 ctor public DefaultConnectionReuseStrategy();
2315 method protected org.apache.http.TokenIterator createTokenIterator(org.apache.http.HeaderIterator);
2316 method public boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2317 }
2318
2319 public deprecated class DefaultHttpClientConnection extends org.apache.http.impl.SocketHttpClientConnection {
2320 ctor public DefaultHttpClientConnection();
2321 method public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2322 }
2323
2324 public deprecated class DefaultHttpRequestFactory implements org.apache.http.HttpRequestFactory {
2325 ctor public DefaultHttpRequestFactory();
2326 method public org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine) throws org.apache.http.MethodNotSupportedException;
2327 method public org.apache.http.HttpRequest newHttpRequest(java.lang.String, java.lang.String) throws org.apache.http.MethodNotSupportedException;
2328 }
2329
2330 public deprecated class DefaultHttpResponseFactory implements org.apache.http.HttpResponseFactory {
2331 ctor public DefaultHttpResponseFactory(org.apache.http.ReasonPhraseCatalog);
2332 ctor public DefaultHttpResponseFactory();
2333 method protected java.util.Locale determineLocale(org.apache.http.protocol.HttpContext);
2334 method public org.apache.http.HttpResponse newHttpResponse(org.apache.http.ProtocolVersion, int, org.apache.http.protocol.HttpContext);
2335 method public org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine, org.apache.http.protocol.HttpContext);
2336 field protected final org.apache.http.ReasonPhraseCatalog reasonCatalog;
2337 }
2338
2339 public deprecated class DefaultHttpServerConnection extends org.apache.http.impl.SocketHttpServerConnection {
2340 ctor public DefaultHttpServerConnection();
2341 method public void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2342 }
2343
2344 public deprecated class EnglishReasonPhraseCatalog implements org.apache.http.ReasonPhraseCatalog {
2345 ctor protected EnglishReasonPhraseCatalog();
2346 method public java.lang.String getReason(int, java.util.Locale);
2347 field public static final org.apache.http.impl.EnglishReasonPhraseCatalog INSTANCE;
2348 }
2349
2350 public deprecated class HttpConnectionMetricsImpl implements org.apache.http.HttpConnectionMetrics {
2351 ctor public HttpConnectionMetricsImpl(org.apache.http.io.HttpTransportMetrics, org.apache.http.io.HttpTransportMetrics);
2352 method public java.lang.Object getMetric(java.lang.String);
2353 method public long getReceivedBytesCount();
2354 method public long getRequestCount();
2355 method public long getResponseCount();
2356 method public long getSentBytesCount();
2357 method public void incrementRequestCount();
2358 method public void incrementResponseCount();
2359 method public void reset();
2360 method public void setMetric(java.lang.String, java.lang.Object);
2361 field public static final java.lang.String RECEIVED_BYTES_COUNT = "http.received-bytes-count";
2362 field public static final java.lang.String REQUEST_COUNT = "http.request-count";
2363 field public static final java.lang.String RESPONSE_COUNT = "http.response-count";
2364 field public static final java.lang.String SENT_BYTES_COUNT = "http.sent-bytes-count";
2365 }
2366
2367 public deprecated class NoConnectionReuseStrategy implements org.apache.http.ConnectionReuseStrategy {
2368 ctor public NoConnectionReuseStrategy();
2369 method public boolean keepAlive(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2370 }
2371
2372 public deprecated class SocketHttpClientConnection extends org.apache.http.impl.AbstractHttpClientConnection implements org.apache.http.HttpInetConnection {
2373 ctor public SocketHttpClientConnection();
2374 method protected void assertNotOpen();
2375 method protected void assertOpen();
2376 method protected void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2377 method public void close() throws java.io.IOException;
2378 method protected org.apache.http.io.SessionInputBuffer createSessionInputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2379 method protected org.apache.http.io.SessionOutputBuffer createSessionOutputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2380 method public java.net.InetAddress getLocalAddress();
2381 method public int getLocalPort();
2382 method public java.net.InetAddress getRemoteAddress();
2383 method public int getRemotePort();
2384 method protected java.net.Socket getSocket();
2385 method public int getSocketTimeout();
2386 method public boolean isOpen();
2387 method public void setSocketTimeout(int);
2388 method public void shutdown() throws java.io.IOException;
2389 }
2390
2391 public deprecated class SocketHttpServerConnection extends org.apache.http.impl.AbstractHttpServerConnection implements org.apache.http.HttpInetConnection {
2392 ctor public SocketHttpServerConnection();
2393 method protected void assertNotOpen();
2394 method protected void assertOpen();
2395 method protected void bind(java.net.Socket, org.apache.http.params.HttpParams) throws java.io.IOException;
2396 method public void close() throws java.io.IOException;
2397 method protected org.apache.http.io.SessionInputBuffer createHttpDataReceiver(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2398 method protected org.apache.http.io.SessionOutputBuffer createHttpDataTransmitter(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
2399 method public java.net.InetAddress getLocalAddress();
2400 method public int getLocalPort();
2401 method public java.net.InetAddress getRemoteAddress();
2402 method public int getRemotePort();
2403 method protected java.net.Socket getSocket();
2404 method public int getSocketTimeout();
2405 method public boolean isOpen();
2406 method public void setSocketTimeout(int);
2407 method public void shutdown() throws java.io.IOException;
2408 }
2409
2410}
2411
2412package org.apache.http.impl.auth {
2413
2414 public abstract deprecated class AuthSchemeBase implements org.apache.http.auth.AuthScheme {
2415 ctor public AuthSchemeBase();
2416 method public boolean isProxy();
2417 method protected abstract void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
2418 method public void processChallenge(org.apache.http.Header) throws org.apache.http.auth.MalformedChallengeException;
2419 }
2420
2421 public deprecated class BasicScheme extends org.apache.http.impl.auth.RFC2617Scheme {
2422 ctor public BasicScheme();
2423 method public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2424 method public static org.apache.http.Header authenticate(org.apache.http.auth.Credentials, java.lang.String, boolean);
2425 method public java.lang.String getSchemeName();
2426 method public boolean isComplete();
2427 method public boolean isConnectionBased();
2428 }
2429
2430 public deprecated class BasicSchemeFactory implements org.apache.http.auth.AuthSchemeFactory {
2431 ctor public BasicSchemeFactory();
2432 method public org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
2433 }
2434
2435 public deprecated class DigestScheme extends org.apache.http.impl.auth.RFC2617Scheme {
2436 ctor public DigestScheme();
2437 method public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2438 method public static java.lang.String createCnonce();
2439 method public java.lang.String getSchemeName();
2440 method public boolean isComplete();
2441 method public boolean isConnectionBased();
2442 method public void overrideParamter(java.lang.String, java.lang.String);
2443 }
2444
2445 public deprecated class DigestSchemeFactory implements org.apache.http.auth.AuthSchemeFactory {
2446 ctor public DigestSchemeFactory();
2447 method public org.apache.http.auth.AuthScheme newInstance(org.apache.http.params.HttpParams);
2448 }
2449
2450 public abstract deprecated interface NTLMEngine {
2451 method public abstract java.lang.String generateType1Msg(java.lang.String, java.lang.String) throws org.apache.http.impl.auth.NTLMEngineException;
2452 method public abstract java.lang.String generateType3Msg(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws org.apache.http.impl.auth.NTLMEngineException;
2453 }
2454
2455 public deprecated class NTLMEngineException extends org.apache.http.auth.AuthenticationException {
2456 ctor public NTLMEngineException();
2457 ctor public NTLMEngineException(java.lang.String);
2458 ctor public NTLMEngineException(java.lang.String, java.lang.Throwable);
2459 }
2460
2461 public deprecated class NTLMScheme extends org.apache.http.impl.auth.AuthSchemeBase {
2462 ctor public NTLMScheme(org.apache.http.impl.auth.NTLMEngine);
2463 method public org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.apache.http.HttpRequest) throws org.apache.http.auth.AuthenticationException;
2464 method public java.lang.String getParameter(java.lang.String);
2465 method public java.lang.String getRealm();
2466 method public java.lang.String getSchemeName();
2467 method public boolean isComplete();
2468 method public boolean isConnectionBased();
2469 method protected void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
2470 }
2471
2472 public abstract deprecated class RFC2617Scheme extends org.apache.http.impl.auth.AuthSchemeBase {
2473 ctor public RFC2617Scheme();
2474 method public java.lang.String getParameter(java.lang.String);
2475 method protected java.util.Map<java.lang.String, java.lang.String> getParameters();
2476 method public java.lang.String getRealm();
2477 method protected void parseChallenge(org.apache.http.util.CharArrayBuffer, int, int) throws org.apache.http.auth.MalformedChallengeException;
2478 }
2479
2480 public deprecated class UnsupportedDigestAlgorithmException extends java.lang.RuntimeException {
2481 ctor public UnsupportedDigestAlgorithmException();
2482 ctor public UnsupportedDigestAlgorithmException(java.lang.String);
2483 ctor public UnsupportedDigestAlgorithmException(java.lang.String, java.lang.Throwable);
2484 }
2485
2486}
2487
2488package org.apache.http.impl.client {
2489
2490 public abstract deprecated class AbstractAuthenticationHandler implements org.apache.http.client.AuthenticationHandler {
2491 ctor public AbstractAuthenticationHandler();
2492 method protected java.util.List<java.lang.String> getAuthPreferences();
2493 method protected java.util.Map<java.lang.String, org.apache.http.Header> parseChallenges(org.apache.http.Header[]) throws org.apache.http.auth.MalformedChallengeException;
2494 method 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;
2495 }
2496
2497 public abstract deprecated class AbstractHttpClient implements org.apache.http.client.HttpClient {
2498 ctor protected AbstractHttpClient(org.apache.http.conn.ClientConnectionManager, org.apache.http.params.HttpParams);
2499 method public synchronized void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
2500 method public synchronized void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
2501 method public synchronized void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
2502 method public synchronized void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
2503 method public synchronized void clearRequestInterceptors();
2504 method public synchronized void clearResponseInterceptors();
2505 method protected abstract org.apache.http.auth.AuthSchemeRegistry createAuthSchemeRegistry();
2506 method protected abstract org.apache.http.conn.ClientConnectionManager createClientConnectionManager();
2507 method 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);
2508 method protected abstract org.apache.http.conn.ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy();
2509 method protected abstract org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy();
2510 method protected abstract org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry();
2511 method protected abstract org.apache.http.client.CookieStore createCookieStore();
2512 method protected abstract org.apache.http.client.CredentialsProvider createCredentialsProvider();
2513 method protected abstract org.apache.http.protocol.HttpContext createHttpContext();
2514 method protected abstract org.apache.http.params.HttpParams createHttpParams();
2515 method protected abstract org.apache.http.protocol.BasicHttpProcessor createHttpProcessor();
2516 method protected abstract org.apache.http.client.HttpRequestRetryHandler createHttpRequestRetryHandler();
2517 method protected abstract org.apache.http.conn.routing.HttpRoutePlanner createHttpRoutePlanner();
2518 method protected abstract org.apache.http.client.AuthenticationHandler createProxyAuthenticationHandler();
2519 method protected abstract org.apache.http.client.RedirectHandler createRedirectHandler();
2520 method protected abstract org.apache.http.protocol.HttpRequestExecutor createRequestExecutor();
2521 method protected abstract org.apache.http.client.AuthenticationHandler createTargetAuthenticationHandler();
2522 method protected abstract org.apache.http.client.UserTokenHandler createUserTokenHandler();
2523 method protected org.apache.http.params.HttpParams determineParams(org.apache.http.HttpRequest);
2524 method public final org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
2525 method 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;
2526 method public final org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) throws org.apache.http.client.ClientProtocolException, java.io.IOException;
2527 method 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;
2528 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;
2529 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;
2530 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;
2531 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;
2532 method public final synchronized org.apache.http.auth.AuthSchemeRegistry getAuthSchemes();
2533 method public final synchronized org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy();
2534 method public final synchronized org.apache.http.conn.ClientConnectionManager getConnectionManager();
2535 method public final synchronized org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy();
2536 method public final synchronized org.apache.http.cookie.CookieSpecRegistry getCookieSpecs();
2537 method public final synchronized org.apache.http.client.CookieStore getCookieStore();
2538 method public final synchronized org.apache.http.client.CredentialsProvider getCredentialsProvider();
2539 method protected final synchronized org.apache.http.protocol.BasicHttpProcessor getHttpProcessor();
2540 method public final synchronized org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler();
2541 method public final synchronized org.apache.http.params.HttpParams getParams();
2542 method public final synchronized org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler();
2543 method public final synchronized org.apache.http.client.RedirectHandler getRedirectHandler();
2544 method public final synchronized org.apache.http.protocol.HttpRequestExecutor getRequestExecutor();
2545 method public synchronized org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
2546 method public synchronized int getRequestInterceptorCount();
2547 method public synchronized org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
2548 method public synchronized int getResponseInterceptorCount();
2549 method public final synchronized org.apache.http.conn.routing.HttpRoutePlanner getRoutePlanner();
2550 method public final synchronized org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler();
2551 method public final synchronized org.apache.http.client.UserTokenHandler getUserTokenHandler();
2552 method public void removeRequestInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpRequestInterceptor>);
2553 method public void removeResponseInterceptorByClass(java.lang.Class<? extends org.apache.http.HttpResponseInterceptor>);
2554 method public synchronized void setAuthSchemes(org.apache.http.auth.AuthSchemeRegistry);
2555 method public synchronized void setCookieSpecs(org.apache.http.cookie.CookieSpecRegistry);
2556 method public synchronized void setCookieStore(org.apache.http.client.CookieStore);
2557 method public synchronized void setCredentialsProvider(org.apache.http.client.CredentialsProvider);
2558 method public synchronized void setHttpRequestRetryHandler(org.apache.http.client.HttpRequestRetryHandler);
2559 method public synchronized void setKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy);
2560 method public synchronized void setParams(org.apache.http.params.HttpParams);
2561 method public synchronized void setProxyAuthenticationHandler(org.apache.http.client.AuthenticationHandler);
2562 method public synchronized void setRedirectHandler(org.apache.http.client.RedirectHandler);
2563 method public synchronized void setReuseStrategy(org.apache.http.ConnectionReuseStrategy);
2564 method public synchronized void setRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner);
2565 method public synchronized void setTargetAuthenticationHandler(org.apache.http.client.AuthenticationHandler);
2566 method public synchronized void setUserTokenHandler(org.apache.http.client.UserTokenHandler);
2567 }
2568
2569 public deprecated class BasicCookieStore implements org.apache.http.client.CookieStore {
2570 ctor public BasicCookieStore();
2571 method public synchronized void addCookie(org.apache.http.cookie.Cookie);
2572 method public synchronized void addCookies(org.apache.http.cookie.Cookie[]);
2573 method public synchronized void clear();
2574 method public synchronized boolean clearExpired(java.util.Date);
2575 method public synchronized java.util.List<org.apache.http.cookie.Cookie> getCookies();
2576 }
2577
2578 public deprecated class BasicCredentialsProvider implements org.apache.http.client.CredentialsProvider {
2579 ctor public BasicCredentialsProvider();
2580 method public synchronized void clear();
2581 method public synchronized org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope);
2582 method public synchronized void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials);
2583 }
2584
2585 public deprecated class BasicResponseHandler implements org.apache.http.client.ResponseHandler {
2586 ctor public BasicResponseHandler();
2587 method public java.lang.String handleResponse(org.apache.http.HttpResponse) throws org.apache.http.client.HttpResponseException, java.io.IOException;
2588 }
2589
2590 public deprecated class ClientParamsStack extends org.apache.http.params.AbstractHttpParams {
2591 ctor public ClientParamsStack(org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams, org.apache.http.params.HttpParams);
2592 ctor public ClientParamsStack(org.apache.http.impl.client.ClientParamsStack);
2593 ctor 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);
2594 method public org.apache.http.params.HttpParams copy();
2595 method public final org.apache.http.params.HttpParams getApplicationParams();
2596 method public final org.apache.http.params.HttpParams getClientParams();
2597 method public final org.apache.http.params.HttpParams getOverrideParams();
2598 method public java.lang.Object getParameter(java.lang.String);
2599 method public final org.apache.http.params.HttpParams getRequestParams();
2600 method public boolean removeParameter(java.lang.String);
2601 method public org.apache.http.params.HttpParams setParameter(java.lang.String, java.lang.Object) throws java.lang.UnsupportedOperationException;
2602 field protected final org.apache.http.params.HttpParams applicationParams;
2603 field protected final org.apache.http.params.HttpParams clientParams;
2604 field protected final org.apache.http.params.HttpParams overrideParams;
2605 field protected final org.apache.http.params.HttpParams requestParams;
2606 }
2607
2608 public deprecated class DefaultConnectionKeepAliveStrategy implements org.apache.http.conn.ConnectionKeepAliveStrategy {
2609 ctor public DefaultConnectionKeepAliveStrategy();
2610 method public long getKeepAliveDuration(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2611 }
2612
2613 public deprecated class DefaultHttpClient extends org.apache.http.impl.client.AbstractHttpClient {
2614 ctor public DefaultHttpClient(org.apache.http.conn.ClientConnectionManager, org.apache.http.params.HttpParams);
2615 ctor public DefaultHttpClient(org.apache.http.params.HttpParams);
2616 ctor public DefaultHttpClient();
2617 method protected org.apache.http.auth.AuthSchemeRegistry createAuthSchemeRegistry();
2618 method protected org.apache.http.conn.ClientConnectionManager createClientConnectionManager();
2619 method protected org.apache.http.conn.ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy();
2620 method protected org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy();
2621 method protected org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry();
2622 method protected org.apache.http.client.CookieStore createCookieStore();
2623 method protected org.apache.http.client.CredentialsProvider createCredentialsProvider();
2624 method protected org.apache.http.protocol.HttpContext createHttpContext();
2625 method protected org.apache.http.params.HttpParams createHttpParams();
2626 method protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor();
2627 method protected org.apache.http.client.HttpRequestRetryHandler createHttpRequestRetryHandler();
2628 method protected org.apache.http.conn.routing.HttpRoutePlanner createHttpRoutePlanner();
2629 method protected org.apache.http.client.AuthenticationHandler createProxyAuthenticationHandler();
2630 method protected org.apache.http.client.RedirectHandler createRedirectHandler();
2631 method protected org.apache.http.protocol.HttpRequestExecutor createRequestExecutor();
2632 method protected org.apache.http.client.AuthenticationHandler createTargetAuthenticationHandler();
2633 method protected org.apache.http.client.UserTokenHandler createUserTokenHandler();
2634 }
2635
2636 public deprecated class DefaultHttpRequestRetryHandler implements org.apache.http.client.HttpRequestRetryHandler {
2637 ctor public DefaultHttpRequestRetryHandler(int, boolean);
2638 ctor public DefaultHttpRequestRetryHandler();
2639 method public int getRetryCount();
2640 method public boolean isRequestSentRetryEnabled();
2641 method public boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext);
2642 }
2643
2644 public deprecated class DefaultProxyAuthenticationHandler extends org.apache.http.impl.client.AbstractAuthenticationHandler {
2645 ctor public DefaultProxyAuthenticationHandler();
2646 method 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;
2647 method public boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2648 }
2649
2650 public deprecated class DefaultRedirectHandler implements org.apache.http.client.RedirectHandler {
2651 ctor public DefaultRedirectHandler();
2652 method public java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.ProtocolException;
2653 method public boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2654 }
2655
2656 public deprecated class DefaultRequestDirector implements org.apache.http.client.RequestDirector {
2657 ctor 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);
2658 method protected org.apache.http.HttpRequest createConnectRequest(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext);
2659 method protected boolean createTunnelToProxy(org.apache.http.conn.routing.HttpRoute, int, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2660 method protected boolean createTunnelToTarget(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2661 method 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;
2662 method protected void establishRoute(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
2663 method 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;
2664 method 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;
2665 method protected void releaseConnection();
2666 method protected void rewriteRequestURI(org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute) throws org.apache.http.ProtocolException;
2667 field protected final org.apache.http.conn.ClientConnectionManager connManager;
2668 field protected final org.apache.http.protocol.HttpProcessor httpProcessor;
2669 field protected final org.apache.http.conn.ConnectionKeepAliveStrategy keepAliveStrategy;
2670 field protected org.apache.http.conn.ManagedClientConnection managedConn;
2671 field protected final org.apache.http.params.HttpParams params;
2672 field protected final org.apache.http.client.RedirectHandler redirectHandler;
2673 field protected final org.apache.http.protocol.HttpRequestExecutor requestExec;
2674 field protected final org.apache.http.client.HttpRequestRetryHandler retryHandler;
2675 field protected final org.apache.http.ConnectionReuseStrategy reuseStrategy;
2676 field protected final org.apache.http.conn.routing.HttpRoutePlanner routePlanner;
2677 }
2678
2679 public deprecated class DefaultTargetAuthenticationHandler extends org.apache.http.impl.client.AbstractAuthenticationHandler {
2680 ctor public DefaultTargetAuthenticationHandler();
2681 method 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;
2682 method public boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext);
2683 }
2684
2685 public deprecated class DefaultUserTokenHandler implements org.apache.http.client.UserTokenHandler {
2686 ctor public DefaultUserTokenHandler();
2687 method public java.lang.Object getUserToken(org.apache.http.protocol.HttpContext);
2688 }
2689
2690 public deprecated class EntityEnclosingRequestWrapper extends org.apache.http.impl.client.RequestWrapper implements org.apache.http.HttpEntityEnclosingRequest {
2691 ctor public EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.ProtocolException;
2692 method public boolean expectContinue();
2693 method public org.apache.http.HttpEntity getEntity();
2694 method public void setEntity(org.apache.http.HttpEntity);
2695 }
2696
2697 public deprecated class RedirectLocations {
2698 ctor public RedirectLocations();
2699 method public void add(java.net.URI);
2700 method public boolean contains(java.net.URI);
2701 method public boolean remove(java.net.URI);
2702 }
2703
2704 public deprecated class RequestWrapper extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.client.methods.HttpUriRequest {
2705 ctor public RequestWrapper(org.apache.http.HttpRequest) throws org.apache.http.ProtocolException;
2706 method public void abort() throws java.lang.UnsupportedOperationException;
2707 method public int getExecCount();
2708 method public java.lang.String getMethod();
2709 method public org.apache.http.HttpRequest getOriginal();
2710 method public org.apache.http.ProtocolVersion getProtocolVersion();
2711 method public org.apache.http.RequestLine getRequestLine();
2712 method public java.net.URI getURI();
2713 method public void incrementExecCount();
2714 method public boolean isAborted();
2715 method public boolean isRepeatable();
2716 method public void resetHeaders();
2717 method public void setMethod(java.lang.String);
2718 method public void setProtocolVersion(org.apache.http.ProtocolVersion);
2719 method public void setURI(java.net.URI);
2720 }
2721
2722 public deprecated class RoutedRequest {
2723 ctor public RoutedRequest(org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute);
2724 method public final org.apache.http.impl.client.RequestWrapper getRequest();
2725 method public final org.apache.http.conn.routing.HttpRoute getRoute();
2726 field protected final org.apache.http.impl.client.RequestWrapper request;
2727 field protected final org.apache.http.conn.routing.HttpRoute route;
2728 }
2729
2730 public deprecated class TunnelRefusedException extends org.apache.http.HttpException {
2731 ctor public TunnelRefusedException(java.lang.String, org.apache.http.HttpResponse);
2732 method public org.apache.http.HttpResponse getResponse();
2733 }
2734
2735}
2736
2737package org.apache.http.impl.conn {
2738
2739 public abstract deprecated class AbstractClientConnAdapter implements org.apache.http.conn.ManagedClientConnection {
2740 ctor protected AbstractClientConnAdapter(org.apache.http.conn.ClientConnectionManager, org.apache.http.conn.OperatedClientConnection);
2741 method public void abortConnection();
2742 method protected final void assertNotAborted() throws java.io.InterruptedIOException;
2743 method protected final void assertValid(org.apache.http.conn.OperatedClientConnection);
2744 method protected void detach();
2745 method public void flush() throws java.io.IOException;
2746 method public java.net.InetAddress getLocalAddress();
2747 method public int getLocalPort();
2748 method protected org.apache.http.conn.ClientConnectionManager getManager();
2749 method public org.apache.http.HttpConnectionMetrics getMetrics();
2750 method public java.net.InetAddress getRemoteAddress();
2751 method public int getRemotePort();
2752 method public javax.net.ssl.SSLSession getSSLSession();
2753 method public int getSocketTimeout();
2754 method protected org.apache.http.conn.OperatedClientConnection getWrappedConnection();
2755 method public boolean isMarkedReusable();
2756 method public boolean isOpen();
2757 method public boolean isResponseAvailable(int) throws java.io.IOException;
2758 method public boolean isSecure();
2759 method public boolean isStale();
2760 method public void markReusable();
2761 method public void receiveResponseEntity(org.apache.http.HttpResponse) throws org.apache.http.HttpException, java.io.IOException;
2762 method public org.apache.http.HttpResponse receiveResponseHeader() throws org.apache.http.HttpException, java.io.IOException;
2763 method public void releaseConnection();
2764 method public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest) throws org.apache.http.HttpException, java.io.IOException;
2765 method public void sendRequestHeader(org.apache.http.HttpRequest) throws org.apache.http.HttpException, java.io.IOException;
2766 method public void setIdleDuration(long, java.util.concurrent.TimeUnit);
2767 method public void setSocketTimeout(int);
2768 method public void unmarkReusable();
2769 }
2770
2771 public abstract deprecated class AbstractPoolEntry {
2772 ctor protected AbstractPoolEntry(org.apache.http.conn.ClientConnectionOperator, org.apache.http.conn.routing.HttpRoute);
2773 method public java.lang.Object getState();
2774 method public void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2775 method public void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2776 method public void setState(java.lang.Object);
2777 method protected void shutdownEntry();
2778 method public void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2779 method public void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2780 field protected final org.apache.http.conn.ClientConnectionOperator connOperator;
2781 field protected final org.apache.http.conn.OperatedClientConnection connection;
2782 field protected volatile org.apache.http.conn.routing.HttpRoute route;
2783 field protected volatile java.lang.Object state;
2784 field protected volatile org.apache.http.conn.routing.RouteTracker tracker;
2785 }
2786
2787 public abstract deprecated class AbstractPooledConnAdapter extends org.apache.http.impl.conn.AbstractClientConnAdapter {
2788 ctor protected AbstractPooledConnAdapter(org.apache.http.conn.ClientConnectionManager, org.apache.http.impl.conn.AbstractPoolEntry);
2789 method protected final void assertAttached();
2790 method public void close() throws java.io.IOException;
2791 method public org.apache.http.conn.routing.HttpRoute getRoute();
2792 method public java.lang.Object getState();
2793 method public void layerProtocol(org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2794 method public void open(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2795 method public void setState(java.lang.Object);
2796 method public void shutdown() throws java.io.IOException;
2797 method public void tunnelProxy(org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2798 method public void tunnelTarget(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2799 field protected volatile org.apache.http.impl.conn.AbstractPoolEntry poolEntry;
2800 }
2801
2802 public deprecated class DefaultClientConnection extends org.apache.http.impl.SocketHttpClientConnection implements org.apache.http.conn.OperatedClientConnection {
2803 ctor public DefaultClientConnection();
2804 method public final java.net.Socket getSocket();
2805 method public final org.apache.http.HttpHost getTargetHost();
2806 method public final boolean isSecure();
2807 method public void openCompleted(boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2808 method public void opening(java.net.Socket, org.apache.http.HttpHost) throws java.io.IOException;
2809 method public void update(java.net.Socket, org.apache.http.HttpHost, boolean, org.apache.http.params.HttpParams) throws java.io.IOException;
2810 }
2811
2812 public deprecated class DefaultClientConnectionOperator implements org.apache.http.conn.ClientConnectionOperator {
2813 ctor public DefaultClientConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
2814 method public org.apache.http.conn.OperatedClientConnection createConnection();
2815 method 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;
2816 method protected void prepareSocket(java.net.Socket, org.apache.http.protocol.HttpContext, org.apache.http.params.HttpParams) throws java.io.IOException;
2817 method 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;
2818 field protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
2819 }
2820
2821 public deprecated class DefaultHttpRoutePlanner implements org.apache.http.conn.routing.HttpRoutePlanner {
2822 ctor public DefaultHttpRoutePlanner(org.apache.http.conn.scheme.SchemeRegistry);
2823 method 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;
2824 field protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
2825 }
2826
2827 public deprecated class DefaultResponseParser extends org.apache.http.impl.io.AbstractMessageParser {
2828 ctor public DefaultResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
2829 method protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException;
2830 }
2831
2832 public deprecated class IdleConnectionHandler {
2833 ctor public IdleConnectionHandler();
2834 method public void add(org.apache.http.HttpConnection, long, java.util.concurrent.TimeUnit);
2835 method public void closeExpiredConnections();
2836 method public void closeIdleConnections(long);
2837 method public boolean remove(org.apache.http.HttpConnection);
2838 method public void removeAll();
2839 }
2840
2841 public deprecated class LoggingSessionInputBuffer implements org.apache.http.io.SessionInputBuffer {
2842 ctor public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer, org.apache.http.impl.conn.Wire);
2843 method public org.apache.http.io.HttpTransportMetrics getMetrics();
2844 method public boolean isDataAvailable(int) throws java.io.IOException;
2845 method public int read(byte[], int, int) throws java.io.IOException;
2846 method public int read() throws java.io.IOException;
2847 method public int read(byte[]) throws java.io.IOException;
2848 method public java.lang.String readLine() throws java.io.IOException;
2849 method public int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
2850 }
2851
2852 public deprecated class LoggingSessionOutputBuffer implements org.apache.http.io.SessionOutputBuffer {
2853 ctor public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer, org.apache.http.impl.conn.Wire);
2854 method public void flush() throws java.io.IOException;
2855 method public org.apache.http.io.HttpTransportMetrics getMetrics();
2856 method public void write(byte[], int, int) throws java.io.IOException;
2857 method public void write(int) throws java.io.IOException;
2858 method public void write(byte[]) throws java.io.IOException;
2859 method public void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
2860 method public void writeLine(java.lang.String) throws java.io.IOException;
2861 }
2862
2863 public deprecated class ProxySelectorRoutePlanner implements org.apache.http.conn.routing.HttpRoutePlanner {
2864 ctor public ProxySelectorRoutePlanner(org.apache.http.conn.scheme.SchemeRegistry, java.net.ProxySelector);
2865 method protected java.net.Proxy chooseProxy(java.util.List<java.net.Proxy>, org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
2866 method protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
2867 method 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;
2868 method protected java.lang.String getHost(java.net.InetSocketAddress);
2869 method public java.net.ProxySelector getProxySelector();
2870 method public void setProxySelector(java.net.ProxySelector);
2871 field protected java.net.ProxySelector proxySelector;
2872 field protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
2873 }
2874
2875 public deprecated class SingleClientConnManager implements org.apache.http.conn.ClientConnectionManager {
2876 ctor public SingleClientConnManager(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
2877 method protected final void assertStillUp() throws java.lang.IllegalStateException;
2878 method public void closeExpiredConnections();
2879 method public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
2880 method protected org.apache.http.conn.ClientConnectionOperator createConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
2881 method public org.apache.http.conn.ManagedClientConnection getConnection(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
2882 method public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
2883 method public void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
2884 method public final org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
2885 method protected void revokeConnection();
2886 method public void shutdown();
2887 field public static final java.lang.String MISUSE_MESSAGE = "Invalid use of SingleClientConnManager: connection still allocated.\nMake sure to release the connection before allocating another one.";
2888 field protected boolean alwaysShutDown;
2889 field protected org.apache.http.conn.ClientConnectionOperator connOperator;
2890 field protected long connectionExpiresTime;
2891 field protected volatile boolean isShutDown;
2892 field protected long lastReleaseTime;
2893 field protected org.apache.http.impl.conn.SingleClientConnManager.ConnAdapter managedConn;
2894 field protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
2895 field protected org.apache.http.impl.conn.SingleClientConnManager.PoolEntry uniquePoolEntry;
2896 }
2897
2898 protected class SingleClientConnManager.ConnAdapter extends org.apache.http.impl.conn.AbstractPooledConnAdapter {
2899 ctor protected SingleClientConnManager.ConnAdapter(org.apache.http.impl.conn.SingleClientConnManager.PoolEntry, org.apache.http.conn.routing.HttpRoute);
2900 }
2901
2902 protected class SingleClientConnManager.PoolEntry extends org.apache.http.impl.conn.AbstractPoolEntry {
2903 ctor protected SingleClientConnManager.PoolEntry();
2904 method protected void close() throws java.io.IOException;
2905 method protected void shutdown() throws java.io.IOException;
2906 }
2907
2908 public deprecated class Wire {
2909 ctor public Wire(org.apache.commons.logging.Log);
2910 method public boolean enabled();
2911 method public void input(java.io.InputStream) throws java.io.IOException;
2912 method public void input(byte[], int, int) throws java.io.IOException;
2913 method public void input(byte[]) throws java.io.IOException;
2914 method public void input(int) throws java.io.IOException;
2915 method public void input(java.lang.String) throws java.io.IOException;
2916 method public void output(java.io.InputStream) throws java.io.IOException;
2917 method public void output(byte[], int, int) throws java.io.IOException;
2918 method public void output(byte[]) throws java.io.IOException;
2919 method public void output(int) throws java.io.IOException;
2920 method public void output(java.lang.String) throws java.io.IOException;
2921 }
2922
2923}
2924
2925package org.apache.http.impl.conn.tsccm {
2926
2927 public abstract deprecated class AbstractConnPool implements org.apache.http.impl.conn.tsccm.RefQueueHandler {
2928 ctor protected AbstractConnPool();
2929 method protected void closeConnection(org.apache.http.conn.OperatedClientConnection);
2930 method public void closeExpiredConnections();
2931 method public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
2932 method public abstract void deleteClosedConnections();
2933 method public void enableConnectionGC() throws java.lang.IllegalStateException;
2934 method public abstract void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry, boolean, long, java.util.concurrent.TimeUnit);
2935 method public final org.apache.http.impl.conn.tsccm.BasicPoolEntry getEntry(org.apache.http.conn.routing.HttpRoute, java.lang.Object, long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
2936 method protected abstract void handleLostEntry(org.apache.http.conn.routing.HttpRoute);
2937 method public void handleReference(java.lang.ref.Reference);
2938 method public abstract org.apache.http.impl.conn.tsccm.PoolEntryRequest requestPoolEntry(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
2939 method public void shutdown();
2940 field protected org.apache.http.impl.conn.IdleConnectionHandler idleConnHandler;
2941 field protected volatile boolean isShutDown;
2942 field protected java.util.Set<org.apache.http.impl.conn.tsccm.BasicPoolEntryRef> issuedConnections;
2943 field protected int numConnections;
2944 field protected final java.util.concurrent.locks.Lock poolLock;
2945 field protected java.lang.ref.ReferenceQueue<java.lang.Object> refQueue;
2946 }
2947
2948 public deprecated class BasicPoolEntry extends org.apache.http.impl.conn.AbstractPoolEntry {
2949 ctor public BasicPoolEntry(org.apache.http.conn.ClientConnectionOperator, org.apache.http.conn.routing.HttpRoute, java.lang.ref.ReferenceQueue<java.lang.Object>);
2950 method protected final org.apache.http.conn.OperatedClientConnection getConnection();
2951 method protected final org.apache.http.conn.routing.HttpRoute getPlannedRoute();
2952 method protected final org.apache.http.impl.conn.tsccm.BasicPoolEntryRef getWeakRef();
2953 }
2954
2955 public deprecated class BasicPoolEntryRef extends java.lang.ref.WeakReference {
2956 ctor public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry, java.lang.ref.ReferenceQueue<java.lang.Object>);
2957 method public final org.apache.http.conn.routing.HttpRoute getRoute();
2958 }
2959
2960 public deprecated class BasicPooledConnAdapter extends org.apache.http.impl.conn.AbstractPooledConnAdapter {
2961 ctor protected BasicPooledConnAdapter(org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager, org.apache.http.impl.conn.AbstractPoolEntry);
2962 method protected org.apache.http.impl.conn.AbstractPoolEntry getPoolEntry();
2963 }
2964
2965 public deprecated class ConnPoolByRoute extends org.apache.http.impl.conn.tsccm.AbstractConnPool {
2966 ctor public ConnPoolByRoute(org.apache.http.conn.ClientConnectionOperator, org.apache.http.params.HttpParams);
2967 method protected org.apache.http.impl.conn.tsccm.BasicPoolEntry createEntry(org.apache.http.impl.conn.tsccm.RouteSpecificPool, org.apache.http.conn.ClientConnectionOperator);
2968 method protected java.util.Queue<org.apache.http.impl.conn.tsccm.BasicPoolEntry> createFreeConnQueue();
2969 method protected java.util.Map<org.apache.http.conn.routing.HttpRoute, org.apache.http.impl.conn.tsccm.RouteSpecificPool> createRouteToPoolMap();
2970 method protected java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> createWaitingThreadQueue();
2971 method public void deleteClosedConnections();
2972 method protected void deleteEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
2973 method protected void deleteLeastUsedEntry();
2974 method public void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry, boolean, long, java.util.concurrent.TimeUnit);
2975 method public int getConnectionsInPool(org.apache.http.conn.routing.HttpRoute);
2976 method protected org.apache.http.impl.conn.tsccm.BasicPoolEntry getEntryBlocking(org.apache.http.conn.routing.HttpRoute, java.lang.Object, long, java.util.concurrent.TimeUnit, org.apache.http.impl.conn.tsccm.WaitingThreadAborter) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
2977 method protected org.apache.http.impl.conn.tsccm.BasicPoolEntry getFreeEntry(org.apache.http.impl.conn.tsccm.RouteSpecificPool, java.lang.Object);
2978 method protected org.apache.http.impl.conn.tsccm.RouteSpecificPool getRoutePool(org.apache.http.conn.routing.HttpRoute, boolean);
2979 method protected void handleLostEntry(org.apache.http.conn.routing.HttpRoute);
2980 method protected org.apache.http.impl.conn.tsccm.RouteSpecificPool newRouteSpecificPool(org.apache.http.conn.routing.HttpRoute);
2981 method protected org.apache.http.impl.conn.tsccm.WaitingThread newWaitingThread(java.util.concurrent.locks.Condition, org.apache.http.impl.conn.tsccm.RouteSpecificPool);
2982 method protected void notifyWaitingThread(org.apache.http.impl.conn.tsccm.RouteSpecificPool);
2983 method public org.apache.http.impl.conn.tsccm.PoolEntryRequest requestPoolEntry(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
2984 field protected java.util.Queue<org.apache.http.impl.conn.tsccm.BasicPoolEntry> freeConnections;
2985 field protected final int maxTotalConnections;
2986 field protected final org.apache.http.conn.ClientConnectionOperator operator;
2987 field protected final java.util.Map<org.apache.http.conn.routing.HttpRoute, org.apache.http.impl.conn.tsccm.RouteSpecificPool> routeToPool;
2988 field protected java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> waitingThreads;
2989 }
2990
2991 public abstract deprecated interface PoolEntryRequest {
2992 method public abstract void abortRequest();
2993 method public abstract org.apache.http.impl.conn.tsccm.BasicPoolEntry getPoolEntry(long, java.util.concurrent.TimeUnit) throws org.apache.http.conn.ConnectionPoolTimeoutException, java.lang.InterruptedException;
2994 }
2995
2996 public abstract deprecated interface RefQueueHandler {
2997 method public abstract void handleReference(java.lang.ref.Reference<?>);
2998 }
2999
3000 public deprecated class RefQueueWorker implements java.lang.Runnable {
3001 ctor public RefQueueWorker(java.lang.ref.ReferenceQueue<?>, org.apache.http.impl.conn.tsccm.RefQueueHandler);
3002 method public void run();
3003 method public void shutdown();
3004 field protected final org.apache.http.impl.conn.tsccm.RefQueueHandler refHandler;
3005 field protected final java.lang.ref.ReferenceQueue<?> refQueue;
3006 field protected volatile java.lang.Thread workerThread;
3007 }
3008
3009 public deprecated class RouteSpecificPool {
3010 ctor public RouteSpecificPool(org.apache.http.conn.routing.HttpRoute, int);
3011 method public org.apache.http.impl.conn.tsccm.BasicPoolEntry allocEntry(java.lang.Object);
3012 method public void createdEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
3013 method public boolean deleteEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
3014 method public void dropEntry();
3015 method public void freeEntry(org.apache.http.impl.conn.tsccm.BasicPoolEntry);
3016 method public int getCapacity();
3017 method public final int getEntryCount();
3018 method public final int getMaxEntries();
3019 method public final org.apache.http.conn.routing.HttpRoute getRoute();
3020 method public boolean hasThread();
3021 method public boolean isUnused();
3022 method public org.apache.http.impl.conn.tsccm.WaitingThread nextThread();
3023 method public void queueThread(org.apache.http.impl.conn.tsccm.WaitingThread);
3024 method public void removeThread(org.apache.http.impl.conn.tsccm.WaitingThread);
3025 field protected final java.util.LinkedList<org.apache.http.impl.conn.tsccm.BasicPoolEntry> freeEntries;
3026 field protected final int maxEntries;
3027 field protected int numEntries;
3028 field protected final org.apache.http.conn.routing.HttpRoute route;
3029 field protected final java.util.Queue<org.apache.http.impl.conn.tsccm.WaitingThread> waitingThreads;
3030 }
3031
3032 public deprecated class ThreadSafeClientConnManager implements org.apache.http.conn.ClientConnectionManager {
3033 ctor public ThreadSafeClientConnManager(org.apache.http.params.HttpParams, org.apache.http.conn.scheme.SchemeRegistry);
3034 method public void closeExpiredConnections();
3035 method public void closeIdleConnections(long, java.util.concurrent.TimeUnit);
3036 method protected org.apache.http.conn.ClientConnectionOperator createConnectionOperator(org.apache.http.conn.scheme.SchemeRegistry);
3037 method protected org.apache.http.impl.conn.tsccm.AbstractConnPool createConnectionPool(org.apache.http.params.HttpParams);
3038 method public int getConnectionsInPool(org.apache.http.conn.routing.HttpRoute);
3039 method public int getConnectionsInPool();
3040 method public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry();
3041 method public void releaseConnection(org.apache.http.conn.ManagedClientConnection, long, java.util.concurrent.TimeUnit);
3042 method public org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute, java.lang.Object);
3043 method public void shutdown();
3044 field protected org.apache.http.conn.ClientConnectionOperator connOperator;
3045 field protected final org.apache.http.impl.conn.tsccm.AbstractConnPool connectionPool;
3046 field protected org.apache.http.conn.scheme.SchemeRegistry schemeRegistry;
3047 }
3048
3049 public deprecated class WaitingThread {
3050 ctor public WaitingThread(java.util.concurrent.locks.Condition, org.apache.http.impl.conn.tsccm.RouteSpecificPool);
3051 method public boolean await(java.util.Date) throws java.lang.InterruptedException;
3052 method public final java.util.concurrent.locks.Condition getCondition();
3053 method public final org.apache.http.impl.conn.tsccm.RouteSpecificPool getPool();
3054 method public final java.lang.Thread getThread();
3055 method public void interrupt();
3056 method public void wakeup();
3057 }
3058
3059 public deprecated class WaitingThreadAborter {
3060 ctor public WaitingThreadAborter();
3061 method public void abort();
3062 method public void setWaitingThread(org.apache.http.impl.conn.tsccm.WaitingThread);
3063 }
3064
3065}
3066
3067package org.apache.http.impl.cookie {
3068
3069 public abstract deprecated class AbstractCookieAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3070 ctor public AbstractCookieAttributeHandler();
3071 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3072 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3073 }
3074
3075 public abstract deprecated class AbstractCookieSpec implements org.apache.http.cookie.CookieSpec {
3076 ctor public AbstractCookieSpec();
3077 method protected org.apache.http.cookie.CookieAttributeHandler findAttribHandler(java.lang.String);
3078 method protected org.apache.http.cookie.CookieAttributeHandler getAttribHandler(java.lang.String);
3079 method protected java.util.Collection<org.apache.http.cookie.CookieAttributeHandler> getAttribHandlers();
3080 method public void registerAttribHandler(java.lang.String, org.apache.http.cookie.CookieAttributeHandler);
3081 }
3082
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003083 public deprecated class BasicClientCookie implements org.apache.http.cookie.ClientCookie java.lang.Cloneable org.apache.http.cookie.SetCookie {
Paul Duffin03a95652017-07-14 13:48:42 +01003084 ctor public BasicClientCookie(java.lang.String, java.lang.String);
3085 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3086 method public boolean containsAttribute(java.lang.String);
3087 method public java.lang.String getAttribute(java.lang.String);
3088 method public java.lang.String getComment();
3089 method public java.lang.String getCommentURL();
3090 method public java.lang.String getDomain();
3091 method public java.util.Date getExpiryDate();
3092 method public java.lang.String getName();
3093 method public java.lang.String getPath();
3094 method public int[] getPorts();
3095 method public java.lang.String getValue();
3096 method public int getVersion();
3097 method public boolean isExpired(java.util.Date);
3098 method public boolean isPersistent();
3099 method public boolean isSecure();
3100 method public void setAttribute(java.lang.String, java.lang.String);
3101 method public void setComment(java.lang.String);
3102 method public void setDomain(java.lang.String);
3103 method public void setExpiryDate(java.util.Date);
3104 method public void setPath(java.lang.String);
3105 method public void setSecure(boolean);
3106 method public void setValue(java.lang.String);
3107 method public void setVersion(int);
3108 }
3109
3110 public deprecated class BasicClientCookie2 extends org.apache.http.impl.cookie.BasicClientCookie implements org.apache.http.cookie.SetCookie2 {
3111 ctor public BasicClientCookie2(java.lang.String, java.lang.String);
3112 method public void setCommentURL(java.lang.String);
3113 method public void setDiscard(boolean);
3114 method public void setPorts(int[]);
3115 }
3116
3117 public deprecated class BasicCommentHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3118 ctor public BasicCommentHandler();
3119 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3120 }
3121
3122 public deprecated class BasicDomainHandler implements org.apache.http.cookie.CookieAttributeHandler {
3123 ctor public BasicDomainHandler();
3124 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3125 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3126 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3127 }
3128
3129 public deprecated class BasicExpiresHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3130 ctor public BasicExpiresHandler(java.lang.String[]);
3131 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3132 }
3133
3134 public deprecated class BasicMaxAgeHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3135 ctor public BasicMaxAgeHandler();
3136 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3137 }
3138
3139 public deprecated class BasicPathHandler implements org.apache.http.cookie.CookieAttributeHandler {
3140 ctor public BasicPathHandler();
3141 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3142 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3143 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3144 }
3145
3146 public deprecated class BasicSecureHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3147 ctor public BasicSecureHandler();
3148 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3149 }
3150
3151 public deprecated class BestMatchSpec implements org.apache.http.cookie.CookieSpec {
3152 ctor public BestMatchSpec(java.lang.String[], boolean);
3153 ctor public BestMatchSpec();
3154 method public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3155 method public int getVersion();
3156 method public org.apache.http.Header getVersionHeader();
3157 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3158 method 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;
3159 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3160 }
3161
3162 public deprecated class BestMatchSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3163 ctor public BestMatchSpecFactory();
3164 method public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
3165 }
3166
3167 public deprecated class BrowserCompatSpec extends org.apache.http.impl.cookie.CookieSpecBase {
3168 ctor public BrowserCompatSpec(java.lang.String[]);
3169 ctor public BrowserCompatSpec();
3170 method public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3171 method public int getVersion();
3172 method public org.apache.http.Header getVersionHeader();
3173 method 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;
3174 field protected static final java.lang.String[] DATE_PATTERNS;
3175 }
3176
3177 public deprecated class BrowserCompatSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3178 ctor public BrowserCompatSpecFactory();
3179 method public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
3180 }
3181
3182 public abstract deprecated class CookieSpecBase extends org.apache.http.impl.cookie.AbstractCookieSpec {
3183 ctor public CookieSpecBase();
3184 method protected static java.lang.String getDefaultDomain(org.apache.http.cookie.CookieOrigin);
3185 method protected static java.lang.String getDefaultPath(org.apache.http.cookie.CookieOrigin);
3186 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3187 method 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;
3188 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3189 }
3190
3191 public deprecated class DateParseException extends java.lang.Exception {
3192 ctor public DateParseException();
3193 ctor public DateParseException(java.lang.String);
3194 }
3195
3196 public final deprecated class DateUtils {
3197 method public static java.lang.String formatDate(java.util.Date);
3198 method public static java.lang.String formatDate(java.util.Date, java.lang.String);
3199 method public static java.util.Date parseDate(java.lang.String) throws org.apache.http.impl.cookie.DateParseException;
3200 method public static java.util.Date parseDate(java.lang.String, java.lang.String[]) throws org.apache.http.impl.cookie.DateParseException;
3201 method public static java.util.Date parseDate(java.lang.String, java.lang.String[], java.util.Date) throws org.apache.http.impl.cookie.DateParseException;
3202 field public static final java.util.TimeZone GMT;
3203 field public static final java.lang.String PATTERN_ASCTIME = "EEE MMM d HH:mm:ss yyyy";
3204 field public static final java.lang.String PATTERN_RFC1036 = "EEEE, dd-MMM-yy HH:mm:ss zzz";
3205 field public static final java.lang.String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
3206 }
3207
3208 public deprecated class NetscapeDomainHandler extends org.apache.http.impl.cookie.BasicDomainHandler {
3209 ctor public NetscapeDomainHandler();
3210 }
3211
3212 public deprecated class NetscapeDraftHeaderParser {
3213 ctor public NetscapeDraftHeaderParser();
3214 method public org.apache.http.HeaderElement parseHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3215 field public static final org.apache.http.impl.cookie.NetscapeDraftHeaderParser DEFAULT;
3216 }
3217
3218 public deprecated class NetscapeDraftSpec extends org.apache.http.impl.cookie.CookieSpecBase {
3219 ctor public NetscapeDraftSpec(java.lang.String[]);
3220 ctor public NetscapeDraftSpec();
3221 method public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3222 method public int getVersion();
3223 method public org.apache.http.Header getVersionHeader();
3224 method 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;
3225 field protected static final java.lang.String EXPIRES_PATTERN = "EEE, dd-MMM-yyyy HH:mm:ss z";
3226 }
3227
3228 public deprecated class NetscapeDraftSpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3229 ctor public NetscapeDraftSpecFactory();
3230 method public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
3231 }
3232
3233 public deprecated class RFC2109DomainHandler implements org.apache.http.cookie.CookieAttributeHandler {
3234 ctor public RFC2109DomainHandler();
3235 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3236 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3237 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3238 }
3239
3240 public deprecated class RFC2109Spec extends org.apache.http.impl.cookie.CookieSpecBase {
3241 ctor public RFC2109Spec(java.lang.String[], boolean);
3242 ctor public RFC2109Spec();
3243 method protected void formatCookieAsVer(org.apache.http.util.CharArrayBuffer, org.apache.http.cookie.Cookie, int);
3244 method public java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie>);
3245 method protected void formatParamAsVer(org.apache.http.util.CharArrayBuffer, java.lang.String, java.lang.String, int);
3246 method public int getVersion();
3247 method public org.apache.http.Header getVersionHeader();
3248 method 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;
3249 }
3250
3251 public deprecated class RFC2109SpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3252 ctor public RFC2109SpecFactory();
3253 method public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
3254 }
3255
3256 public deprecated class RFC2109VersionHandler extends org.apache.http.impl.cookie.AbstractCookieAttributeHandler {
3257 ctor public RFC2109VersionHandler();
3258 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3259 }
3260
3261 public deprecated class RFC2965CommentUrlAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3262 ctor public RFC2965CommentUrlAttributeHandler();
3263 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3264 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3265 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3266 }
3267
3268 public deprecated class RFC2965DiscardAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3269 ctor public RFC2965DiscardAttributeHandler();
3270 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3271 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3272 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3273 }
3274
3275 public deprecated class RFC2965DomainAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3276 ctor public RFC2965DomainAttributeHandler();
3277 method public boolean domainMatch(java.lang.String, java.lang.String);
3278 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3279 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3280 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3281 }
3282
3283 public deprecated class RFC2965PortAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3284 ctor public RFC2965PortAttributeHandler();
3285 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3286 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3287 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3288 }
3289
3290 public deprecated class RFC2965Spec extends org.apache.http.impl.cookie.RFC2109Spec {
3291 ctor public RFC2965Spec();
3292 ctor public RFC2965Spec(java.lang.String[], boolean);
3293 }
3294
3295 public deprecated class RFC2965SpecFactory implements org.apache.http.cookie.CookieSpecFactory {
3296 ctor public RFC2965SpecFactory();
3297 method public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams);
3298 }
3299
3300 public deprecated class RFC2965VersionAttributeHandler implements org.apache.http.cookie.CookieAttributeHandler {
3301 ctor public RFC2965VersionAttributeHandler();
3302 method public boolean match(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin);
3303 method public void parse(org.apache.http.cookie.SetCookie, java.lang.String) throws org.apache.http.cookie.MalformedCookieException;
3304 method public void validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
3305 }
3306
3307}
3308
3309package org.apache.http.impl.entity {
3310
3311 public deprecated class EntityDeserializer {
3312 ctor public EntityDeserializer(org.apache.http.entity.ContentLengthStrategy);
3313 method public org.apache.http.HttpEntity deserialize(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3314 method protected org.apache.http.entity.BasicHttpEntity doDeserialize(org.apache.http.io.SessionInputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3315 }
3316
3317 public deprecated class EntitySerializer {
3318 ctor public EntitySerializer(org.apache.http.entity.ContentLengthStrategy);
3319 method protected java.io.OutputStream doSerialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3320 method public void serialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage, org.apache.http.HttpEntity) throws org.apache.http.HttpException, java.io.IOException;
3321 }
3322
3323 public deprecated class LaxContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {
3324 ctor public LaxContentLengthStrategy();
3325 method public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
3326 }
3327
3328 public deprecated class StrictContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {
3329 ctor public StrictContentLengthStrategy();
3330 method public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException;
3331 }
3332
3333}
3334
3335package org.apache.http.impl.io {
3336
3337 public abstract deprecated class AbstractMessageParser implements org.apache.http.io.HttpMessageParser {
3338 ctor public AbstractMessageParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.params.HttpParams);
3339 method public org.apache.http.HttpMessage parse() throws org.apache.http.HttpException, java.io.IOException;
3340 method protected abstract org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
3341 method 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;
3342 field protected final org.apache.http.message.LineParser lineParser;
3343 }
3344
3345 public abstract deprecated class AbstractMessageWriter implements org.apache.http.io.HttpMessageWriter {
3346 ctor public AbstractMessageWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3347 method public void write(org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3348 method protected abstract void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
3349 field protected final org.apache.http.util.CharArrayBuffer lineBuf;
3350 field protected final org.apache.http.message.LineFormatter lineFormatter;
3351 field protected final org.apache.http.io.SessionOutputBuffer sessionBuffer;
3352 }
3353
3354 public abstract deprecated class AbstractSessionInputBuffer implements org.apache.http.io.SessionInputBuffer {
3355 ctor public AbstractSessionInputBuffer();
3356 method protected int fillBuffer() throws java.io.IOException;
3357 method public org.apache.http.io.HttpTransportMetrics getMetrics();
3358 method protected boolean hasBufferedData();
3359 method protected void init(java.io.InputStream, int, org.apache.http.params.HttpParams);
3360 method public int read() throws java.io.IOException;
3361 method public int read(byte[], int, int) throws java.io.IOException;
3362 method public int read(byte[]) throws java.io.IOException;
3363 method public int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3364 method public java.lang.String readLine() throws java.io.IOException;
3365 }
3366
3367 public abstract deprecated class AbstractSessionOutputBuffer implements org.apache.http.io.SessionOutputBuffer {
3368 ctor public AbstractSessionOutputBuffer();
3369 method public void flush() throws java.io.IOException;
3370 method protected void flushBuffer() throws java.io.IOException;
3371 method public org.apache.http.io.HttpTransportMetrics getMetrics();
3372 method protected void init(java.io.OutputStream, int, org.apache.http.params.HttpParams);
3373 method public void write(byte[], int, int) throws java.io.IOException;
3374 method public void write(byte[]) throws java.io.IOException;
3375 method public void write(int) throws java.io.IOException;
3376 method public void writeLine(java.lang.String) throws java.io.IOException;
3377 method public void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3378 }
3379
3380 public deprecated class ChunkedInputStream extends java.io.InputStream {
3381 ctor public ChunkedInputStream(org.apache.http.io.SessionInputBuffer);
3382 method public org.apache.http.Header[] getFooters();
3383 method public int read() throws java.io.IOException;
3384 }
3385
3386 public deprecated class ChunkedOutputStream extends java.io.OutputStream {
3387 ctor public ChunkedOutputStream(org.apache.http.io.SessionOutputBuffer, int) throws java.io.IOException;
3388 ctor public ChunkedOutputStream(org.apache.http.io.SessionOutputBuffer) throws java.io.IOException;
3389 method public void finish() throws java.io.IOException;
3390 method protected void flushCache() throws java.io.IOException;
3391 method protected void flushCacheWithAppend(byte[], int, int) throws java.io.IOException;
3392 method public void write(int) throws java.io.IOException;
3393 method protected void writeClosingChunk() throws java.io.IOException;
3394 }
3395
3396 public deprecated class ContentLengthInputStream extends java.io.InputStream {
3397 ctor public ContentLengthInputStream(org.apache.http.io.SessionInputBuffer, long);
3398 method public int read() throws java.io.IOException;
3399 }
3400
3401 public deprecated class ContentLengthOutputStream extends java.io.OutputStream {
3402 ctor public ContentLengthOutputStream(org.apache.http.io.SessionOutputBuffer, long);
3403 method public void write(int) throws java.io.IOException;
3404 }
3405
3406 public deprecated class HttpRequestParser extends org.apache.http.impl.io.AbstractMessageParser {
3407 ctor public HttpRequestParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpRequestFactory, org.apache.http.params.HttpParams);
3408 method protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
3409 }
3410
3411 public deprecated class HttpRequestWriter extends org.apache.http.impl.io.AbstractMessageWriter {
3412 ctor public HttpRequestWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3413 method protected void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
3414 }
3415
3416 public deprecated class HttpResponseParser extends org.apache.http.impl.io.AbstractMessageParser {
3417 ctor public HttpResponseParser(org.apache.http.io.SessionInputBuffer, org.apache.http.message.LineParser, org.apache.http.HttpResponseFactory, org.apache.http.params.HttpParams);
3418 method protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer) throws org.apache.http.HttpException, java.io.IOException, org.apache.http.ParseException;
3419 }
3420
3421 public deprecated class HttpResponseWriter extends org.apache.http.impl.io.AbstractMessageWriter {
3422 ctor public HttpResponseWriter(org.apache.http.io.SessionOutputBuffer, org.apache.http.message.LineFormatter, org.apache.http.params.HttpParams);
3423 method protected void writeHeadLine(org.apache.http.HttpMessage) throws java.io.IOException;
3424 }
3425
3426 public deprecated class HttpTransportMetricsImpl implements org.apache.http.io.HttpTransportMetrics {
3427 ctor public HttpTransportMetricsImpl();
3428 method public long getBytesTransferred();
3429 method public void incrementBytesTransferred(long);
3430 method public void reset();
3431 method public void setBytesTransferred(long);
3432 }
3433
3434 public deprecated class IdentityInputStream extends java.io.InputStream {
3435 ctor public IdentityInputStream(org.apache.http.io.SessionInputBuffer);
3436 method public int read() throws java.io.IOException;
3437 }
3438
3439 public deprecated class IdentityOutputStream extends java.io.OutputStream {
3440 ctor public IdentityOutputStream(org.apache.http.io.SessionOutputBuffer);
3441 method public void write(int) throws java.io.IOException;
3442 }
3443
3444 public deprecated class SocketInputBuffer extends org.apache.http.impl.io.AbstractSessionInputBuffer {
3445 ctor public SocketInputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
3446 method public boolean isDataAvailable(int) throws java.io.IOException;
3447 method public boolean isStale() throws java.io.IOException;
3448 }
3449
3450 public deprecated class SocketOutputBuffer extends org.apache.http.impl.io.AbstractSessionOutputBuffer {
3451 ctor public SocketOutputBuffer(java.net.Socket, int, org.apache.http.params.HttpParams) throws java.io.IOException;
3452 }
3453
3454}
3455
3456package org.apache.http.io {
3457
3458 public abstract deprecated interface HttpMessageParser {
3459 method public abstract org.apache.http.HttpMessage parse() throws org.apache.http.HttpException, java.io.IOException;
3460 }
3461
3462 public abstract deprecated interface HttpMessageWriter {
3463 method public abstract void write(org.apache.http.HttpMessage) throws org.apache.http.HttpException, java.io.IOException;
3464 }
3465
3466 public abstract deprecated interface HttpTransportMetrics {
3467 method public abstract long getBytesTransferred();
3468 method public abstract void reset();
3469 }
3470
3471 public abstract deprecated interface SessionInputBuffer {
3472 method public abstract org.apache.http.io.HttpTransportMetrics getMetrics();
3473 method public abstract boolean isDataAvailable(int) throws java.io.IOException;
3474 method public abstract int read(byte[], int, int) throws java.io.IOException;
3475 method public abstract int read(byte[]) throws java.io.IOException;
3476 method public abstract int read() throws java.io.IOException;
3477 method public abstract int readLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3478 method public abstract java.lang.String readLine() throws java.io.IOException;
3479 }
3480
3481 public abstract deprecated interface SessionOutputBuffer {
3482 method public abstract void flush() throws java.io.IOException;
3483 method public abstract org.apache.http.io.HttpTransportMetrics getMetrics();
3484 method public abstract void write(byte[], int, int) throws java.io.IOException;
3485 method public abstract void write(byte[]) throws java.io.IOException;
3486 method public abstract void write(int) throws java.io.IOException;
3487 method public abstract void writeLine(java.lang.String) throws java.io.IOException;
3488 method public abstract void writeLine(org.apache.http.util.CharArrayBuffer) throws java.io.IOException;
3489 }
3490
3491}
3492
3493package org.apache.http.message {
3494
3495 public abstract deprecated class AbstractHttpMessage implements org.apache.http.HttpMessage {
3496 ctor protected AbstractHttpMessage(org.apache.http.params.HttpParams);
3497 ctor protected AbstractHttpMessage();
3498 method public void addHeader(org.apache.http.Header);
3499 method public void addHeader(java.lang.String, java.lang.String);
3500 method public boolean containsHeader(java.lang.String);
3501 method public org.apache.http.Header[] getAllHeaders();
3502 method public org.apache.http.Header getFirstHeader(java.lang.String);
3503 method public org.apache.http.Header[] getHeaders(java.lang.String);
3504 method public org.apache.http.Header getLastHeader(java.lang.String);
3505 method public org.apache.http.params.HttpParams getParams();
3506 method public org.apache.http.HeaderIterator headerIterator();
3507 method public org.apache.http.HeaderIterator headerIterator(java.lang.String);
3508 method public void removeHeader(org.apache.http.Header);
3509 method public void removeHeaders(java.lang.String);
3510 method public void setHeader(org.apache.http.Header);
3511 method public void setHeader(java.lang.String, java.lang.String);
3512 method public void setHeaders(org.apache.http.Header[]);
3513 method public void setParams(org.apache.http.params.HttpParams);
3514 field protected org.apache.http.message.HeaderGroup headergroup;
3515 field protected org.apache.http.params.HttpParams params;
3516 }
3517
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003518 public deprecated class BasicHeader implements java.lang.Cloneable org.apache.http.Header {
Paul Duffin03a95652017-07-14 13:48:42 +01003519 ctor public BasicHeader(java.lang.String, java.lang.String);
3520 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3521 method public org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
3522 method public java.lang.String getName();
3523 method public java.lang.String getValue();
3524 }
3525
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003526 public deprecated class BasicHeaderElement implements java.lang.Cloneable org.apache.http.HeaderElement {
Paul Duffin03a95652017-07-14 13:48:42 +01003527 ctor public BasicHeaderElement(java.lang.String, java.lang.String, org.apache.http.NameValuePair[]);
3528 ctor public BasicHeaderElement(java.lang.String, java.lang.String);
3529 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3530 method public java.lang.String getName();
3531 method public org.apache.http.NameValuePair getParameter(int);
3532 method public org.apache.http.NameValuePair getParameterByName(java.lang.String);
3533 method public int getParameterCount();
3534 method public org.apache.http.NameValuePair[] getParameters();
3535 method public java.lang.String getValue();
3536 }
3537
3538 public deprecated class BasicHeaderElementIterator implements org.apache.http.HeaderElementIterator {
3539 ctor public BasicHeaderElementIterator(org.apache.http.HeaderIterator, org.apache.http.message.HeaderValueParser);
3540 ctor public BasicHeaderElementIterator(org.apache.http.HeaderIterator);
3541 method public boolean hasNext();
3542 method public final java.lang.Object next() throws java.util.NoSuchElementException;
3543 method public org.apache.http.HeaderElement nextElement() throws java.util.NoSuchElementException;
3544 method public void remove() throws java.lang.UnsupportedOperationException;
3545 }
3546
3547 public deprecated class BasicHeaderIterator implements org.apache.http.HeaderIterator {
3548 ctor public BasicHeaderIterator(org.apache.http.Header[], java.lang.String);
3549 method protected boolean filterHeader(int);
3550 method protected int findNext(int);
3551 method public boolean hasNext();
3552 method public final java.lang.Object next() throws java.util.NoSuchElementException;
3553 method public org.apache.http.Header nextHeader() throws java.util.NoSuchElementException;
3554 method public void remove() throws java.lang.UnsupportedOperationException;
3555 field protected final org.apache.http.Header[] allHeaders;
3556 field protected int currentIndex;
3557 field protected java.lang.String headerName;
3558 }
3559
3560 public deprecated class BasicHeaderValueFormatter implements org.apache.http.message.HeaderValueFormatter {
3561 ctor public BasicHeaderValueFormatter();
3562 method protected void doFormatValue(org.apache.http.util.CharArrayBuffer, java.lang.String, boolean);
3563 method protected int estimateElementsLen(org.apache.http.HeaderElement[]);
3564 method protected int estimateHeaderElementLen(org.apache.http.HeaderElement);
3565 method protected int estimateNameValuePairLen(org.apache.http.NameValuePair);
3566 method protected int estimateParametersLen(org.apache.http.NameValuePair[]);
3567 method public static final java.lang.String formatElements(org.apache.http.HeaderElement[], boolean, org.apache.http.message.HeaderValueFormatter);
3568 method public org.apache.http.util.CharArrayBuffer formatElements(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement[], boolean);
3569 method public static final java.lang.String formatHeaderElement(org.apache.http.HeaderElement, boolean, org.apache.http.message.HeaderValueFormatter);
3570 method public org.apache.http.util.CharArrayBuffer formatHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement, boolean);
3571 method public static final java.lang.String formatNameValuePair(org.apache.http.NameValuePair, boolean, org.apache.http.message.HeaderValueFormatter);
3572 method public org.apache.http.util.CharArrayBuffer formatNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair, boolean);
3573 method public static final java.lang.String formatParameters(org.apache.http.NameValuePair[], boolean, org.apache.http.message.HeaderValueFormatter);
3574 method public org.apache.http.util.CharArrayBuffer formatParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair[], boolean);
3575 method protected boolean isSeparator(char);
3576 method protected boolean isUnsafe(char);
3577 field public static final org.apache.http.message.BasicHeaderValueFormatter DEFAULT;
3578 field public static final java.lang.String SEPARATORS = " ;,:@()<>\\\"/[]?={}\t";
3579 field public static final java.lang.String UNSAFE_CHARS = "\"\\";
3580 }
3581
3582 public deprecated class BasicHeaderValueParser implements org.apache.http.message.HeaderValueParser {
3583 ctor public BasicHeaderValueParser();
3584 method protected org.apache.http.HeaderElement createHeaderElement(java.lang.String, java.lang.String, org.apache.http.NameValuePair[]);
3585 method protected org.apache.http.NameValuePair createNameValuePair(java.lang.String, java.lang.String);
3586 method public static final org.apache.http.HeaderElement[] parseElements(java.lang.String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3587 method public org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3588 method public static final org.apache.http.HeaderElement parseHeaderElement(java.lang.String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3589 method public org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3590 method public static final org.apache.http.NameValuePair parseNameValuePair(java.lang.String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3591 method public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3592 method public org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor, char[]);
3593 method public static final org.apache.http.NameValuePair[] parseParameters(java.lang.String, org.apache.http.message.HeaderValueParser) throws org.apache.http.ParseException;
3594 method public org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3595 field public static final org.apache.http.message.BasicHeaderValueParser DEFAULT;
3596 }
3597
3598 public deprecated class BasicHttpEntityEnclosingRequest extends org.apache.http.message.BasicHttpRequest implements org.apache.http.HttpEntityEnclosingRequest {
3599 ctor public BasicHttpEntityEnclosingRequest(java.lang.String, java.lang.String);
3600 ctor public BasicHttpEntityEnclosingRequest(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
3601 ctor public BasicHttpEntityEnclosingRequest(org.apache.http.RequestLine);
3602 method public boolean expectContinue();
3603 method public org.apache.http.HttpEntity getEntity();
3604 method public void setEntity(org.apache.http.HttpEntity);
3605 }
3606
3607 public deprecated class BasicHttpRequest extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.HttpRequest {
3608 ctor public BasicHttpRequest(java.lang.String, java.lang.String);
3609 ctor public BasicHttpRequest(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
3610 ctor public BasicHttpRequest(org.apache.http.RequestLine);
3611 method public org.apache.http.ProtocolVersion getProtocolVersion();
3612 method public org.apache.http.RequestLine getRequestLine();
3613 }
3614
3615 public deprecated class BasicHttpResponse extends org.apache.http.message.AbstractHttpMessage implements org.apache.http.HttpResponse {
3616 ctor public BasicHttpResponse(org.apache.http.StatusLine, org.apache.http.ReasonPhraseCatalog, java.util.Locale);
3617 ctor public BasicHttpResponse(org.apache.http.StatusLine);
3618 ctor public BasicHttpResponse(org.apache.http.ProtocolVersion, int, java.lang.String);
3619 method public org.apache.http.HttpEntity getEntity();
3620 method public java.util.Locale getLocale();
3621 method public org.apache.http.ProtocolVersion getProtocolVersion();
3622 method protected java.lang.String getReason(int);
3623 method public org.apache.http.StatusLine getStatusLine();
3624 method public void setEntity(org.apache.http.HttpEntity);
3625 method public void setLocale(java.util.Locale);
3626 method public void setReasonPhrase(java.lang.String);
3627 method public void setStatusCode(int);
3628 method public void setStatusLine(org.apache.http.StatusLine);
3629 method public void setStatusLine(org.apache.http.ProtocolVersion, int);
3630 method public void setStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
3631 }
3632
3633 public deprecated class BasicLineFormatter implements org.apache.http.message.LineFormatter {
3634 ctor public BasicLineFormatter();
3635 method public org.apache.http.util.CharArrayBuffer appendProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.ProtocolVersion);
3636 method protected void doFormatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3637 method protected void doFormatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3638 method protected void doFormatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
3639 method protected int estimateProtocolVersionLen(org.apache.http.ProtocolVersion);
3640 method public static final java.lang.String formatHeader(org.apache.http.Header, org.apache.http.message.LineFormatter);
3641 method public org.apache.http.util.CharArrayBuffer formatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3642 method public static final java.lang.String formatProtocolVersion(org.apache.http.ProtocolVersion, org.apache.http.message.LineFormatter);
3643 method public static final java.lang.String formatRequestLine(org.apache.http.RequestLine, org.apache.http.message.LineFormatter);
3644 method public org.apache.http.util.CharArrayBuffer formatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3645 method public static final java.lang.String formatStatusLine(org.apache.http.StatusLine, org.apache.http.message.LineFormatter);
3646 method public org.apache.http.util.CharArrayBuffer formatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
3647 method protected org.apache.http.util.CharArrayBuffer initBuffer(org.apache.http.util.CharArrayBuffer);
3648 field public static final org.apache.http.message.BasicLineFormatter DEFAULT;
3649 }
3650
3651 public deprecated class BasicLineParser implements org.apache.http.message.LineParser {
3652 ctor public BasicLineParser(org.apache.http.ProtocolVersion);
3653 ctor public BasicLineParser();
3654 method protected org.apache.http.ProtocolVersion createProtocolVersion(int, int);
3655 method protected org.apache.http.RequestLine createRequestLine(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
3656 method protected org.apache.http.StatusLine createStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
3657 method public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3658 method public static final org.apache.http.Header parseHeader(java.lang.String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3659 method public org.apache.http.Header parseHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3660 method public static final org.apache.http.ProtocolVersion parseProtocolVersion(java.lang.String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3661 method public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3662 method public static final org.apache.http.RequestLine parseRequestLine(java.lang.String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3663 method public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3664 method public static final org.apache.http.StatusLine parseStatusLine(java.lang.String, org.apache.http.message.LineParser) throws org.apache.http.ParseException;
3665 method public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3666 method protected void skipWhitespace(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3667 field public static final org.apache.http.message.BasicLineParser DEFAULT;
3668 field protected final org.apache.http.ProtocolVersion protocol;
3669 }
3670
3671 public deprecated class BasicListHeaderIterator implements org.apache.http.HeaderIterator {
3672 ctor public BasicListHeaderIterator(java.util.List, java.lang.String);
3673 method protected boolean filterHeader(int);
3674 method protected int findNext(int);
3675 method public boolean hasNext();
3676 method public final java.lang.Object next() throws java.util.NoSuchElementException;
3677 method public org.apache.http.Header nextHeader() throws java.util.NoSuchElementException;
3678 method public void remove() throws java.lang.UnsupportedOperationException;
3679 field protected final java.util.List allHeaders;
3680 field protected int currentIndex;
3681 field protected java.lang.String headerName;
3682 field protected int lastIndex;
3683 }
3684
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003685 public deprecated class BasicNameValuePair implements java.lang.Cloneable org.apache.http.NameValuePair {
Paul Duffin03a95652017-07-14 13:48:42 +01003686 ctor public BasicNameValuePair(java.lang.String, java.lang.String);
3687 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3688 method public java.lang.String getName();
3689 method public java.lang.String getValue();
3690 }
3691
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003692 public deprecated class BasicRequestLine implements java.lang.Cloneable org.apache.http.RequestLine {
Paul Duffin03a95652017-07-14 13:48:42 +01003693 ctor public BasicRequestLine(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
3694 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3695 method public java.lang.String getMethod();
3696 method public org.apache.http.ProtocolVersion getProtocolVersion();
3697 method public java.lang.String getUri();
3698 }
3699
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003700 public deprecated class BasicStatusLine implements java.lang.Cloneable org.apache.http.StatusLine {
Paul Duffin03a95652017-07-14 13:48:42 +01003701 ctor public BasicStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
3702 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3703 method public org.apache.http.ProtocolVersion getProtocolVersion();
3704 method public java.lang.String getReasonPhrase();
3705 method public int getStatusCode();
3706 }
3707
3708 public deprecated class BasicTokenIterator implements org.apache.http.TokenIterator {
3709 ctor public BasicTokenIterator(org.apache.http.HeaderIterator);
3710 method protected java.lang.String createToken(java.lang.String, int, int);
3711 method protected int findNext(int) throws org.apache.http.ParseException;
3712 method protected int findTokenEnd(int);
3713 method protected int findTokenSeparator(int);
3714 method protected int findTokenStart(int);
3715 method public boolean hasNext();
3716 method protected boolean isHttpSeparator(char);
3717 method protected boolean isTokenChar(char);
3718 method protected boolean isTokenSeparator(char);
3719 method protected boolean isWhitespace(char);
3720 method public final java.lang.Object next() throws java.util.NoSuchElementException, org.apache.http.ParseException;
3721 method public java.lang.String nextToken() throws java.util.NoSuchElementException, org.apache.http.ParseException;
3722 method public final void remove() throws java.lang.UnsupportedOperationException;
3723 field public static final java.lang.String HTTP_SEPARATORS = " ,;=()<>@:\\\"/[]?{}\t";
3724 field protected java.lang.String currentHeader;
3725 field protected java.lang.String currentToken;
3726 field protected final org.apache.http.HeaderIterator headerIt;
3727 field protected int searchPos;
3728 }
3729
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003730 public deprecated class BufferedHeader implements java.lang.Cloneable org.apache.http.FormattedHeader {
Paul Duffin03a95652017-07-14 13:48:42 +01003731 ctor public BufferedHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3732 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3733 method public org.apache.http.util.CharArrayBuffer getBuffer();
3734 method public org.apache.http.HeaderElement[] getElements() throws org.apache.http.ParseException;
3735 method public java.lang.String getName();
3736 method public java.lang.String getValue();
3737 method public int getValuePos();
3738 }
3739
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003740 public deprecated class HeaderGroup implements java.lang.Cloneable {
Paul Duffin03a95652017-07-14 13:48:42 +01003741 ctor public HeaderGroup();
3742 method public void addHeader(org.apache.http.Header);
3743 method public void clear();
3744 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3745 method public boolean containsHeader(java.lang.String);
3746 method public org.apache.http.message.HeaderGroup copy();
3747 method public org.apache.http.Header[] getAllHeaders();
3748 method public org.apache.http.Header getCondensedHeader(java.lang.String);
3749 method public org.apache.http.Header getFirstHeader(java.lang.String);
3750 method public org.apache.http.Header[] getHeaders(java.lang.String);
3751 method public org.apache.http.Header getLastHeader(java.lang.String);
3752 method public org.apache.http.HeaderIterator iterator();
3753 method public org.apache.http.HeaderIterator iterator(java.lang.String);
3754 method public void removeHeader(org.apache.http.Header);
3755 method public void setHeaders(org.apache.http.Header[]);
3756 method public void updateHeader(org.apache.http.Header);
3757 }
3758
3759 public abstract deprecated interface HeaderValueFormatter {
3760 method public abstract org.apache.http.util.CharArrayBuffer formatElements(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement[], boolean);
3761 method public abstract org.apache.http.util.CharArrayBuffer formatHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.HeaderElement, boolean);
3762 method public abstract org.apache.http.util.CharArrayBuffer formatNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair, boolean);
3763 method public abstract org.apache.http.util.CharArrayBuffer formatParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.NameValuePair[], boolean);
3764 }
3765
3766 public abstract deprecated interface HeaderValueParser {
3767 method public abstract org.apache.http.HeaderElement[] parseElements(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3768 method public abstract org.apache.http.HeaderElement parseHeaderElement(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3769 method public abstract org.apache.http.NameValuePair parseNameValuePair(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3770 method public abstract org.apache.http.NameValuePair[] parseParameters(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3771 }
3772
3773 public abstract deprecated interface LineFormatter {
3774 method public abstract org.apache.http.util.CharArrayBuffer appendProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.ProtocolVersion);
3775 method public abstract org.apache.http.util.CharArrayBuffer formatHeader(org.apache.http.util.CharArrayBuffer, org.apache.http.Header);
3776 method public abstract org.apache.http.util.CharArrayBuffer formatRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.RequestLine);
3777 method public abstract org.apache.http.util.CharArrayBuffer formatStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.StatusLine);
3778 }
3779
3780 public abstract deprecated interface LineParser {
3781 method public abstract boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
3782 method public abstract org.apache.http.Header parseHeader(org.apache.http.util.CharArrayBuffer) throws org.apache.http.ParseException;
3783 method public abstract org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3784 method public abstract org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3785 method public abstract org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor) throws org.apache.http.ParseException;
3786 }
3787
3788 public deprecated class ParserCursor {
3789 ctor public ParserCursor(int, int);
3790 method public boolean atEnd();
3791 method public int getLowerBound();
3792 method public int getPos();
3793 method public int getUpperBound();
3794 method public void updatePos(int);
3795 }
3796
3797}
3798
3799package org.apache.http.params {
3800
3801 public abstract deprecated class AbstractHttpParams implements org.apache.http.params.HttpParams {
3802 ctor protected AbstractHttpParams();
3803 method public boolean getBooleanParameter(java.lang.String, boolean);
3804 method public double getDoubleParameter(java.lang.String, double);
3805 method public int getIntParameter(java.lang.String, int);
3806 method public long getLongParameter(java.lang.String, long);
3807 method public boolean isParameterFalse(java.lang.String);
3808 method public boolean isParameterTrue(java.lang.String);
3809 method public org.apache.http.params.HttpParams setBooleanParameter(java.lang.String, boolean);
3810 method public org.apache.http.params.HttpParams setDoubleParameter(java.lang.String, double);
3811 method public org.apache.http.params.HttpParams setIntParameter(java.lang.String, int);
3812 method public org.apache.http.params.HttpParams setLongParameter(java.lang.String, long);
3813 }
3814
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003815 public final deprecated class BasicHttpParams extends org.apache.http.params.AbstractHttpParams implements java.lang.Cloneable java.io.Serializable {
Paul Duffin03a95652017-07-14 13:48:42 +01003816 ctor public BasicHttpParams();
3817 method public void clear();
3818 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3819 method public org.apache.http.params.HttpParams copy();
3820 method protected void copyParams(org.apache.http.params.HttpParams);
3821 method public java.lang.Object getParameter(java.lang.String);
3822 method public boolean isParameterSet(java.lang.String);
3823 method public boolean isParameterSetLocally(java.lang.String);
3824 method public boolean removeParameter(java.lang.String);
3825 method public org.apache.http.params.HttpParams setParameter(java.lang.String, java.lang.Object);
3826 method public void setParameters(java.lang.String[], java.lang.Object);
3827 }
3828
3829 public abstract deprecated interface CoreConnectionPNames {
3830 field public static final java.lang.String CONNECTION_TIMEOUT = "http.connection.timeout";
3831 field public static final java.lang.String MAX_HEADER_COUNT = "http.connection.max-header-count";
3832 field public static final java.lang.String MAX_LINE_LENGTH = "http.connection.max-line-length";
3833 field public static final java.lang.String SOCKET_BUFFER_SIZE = "http.socket.buffer-size";
3834 field public static final java.lang.String SO_LINGER = "http.socket.linger";
3835 field public static final java.lang.String SO_TIMEOUT = "http.socket.timeout";
3836 field public static final java.lang.String STALE_CONNECTION_CHECK = "http.connection.stalecheck";
3837 field public static final java.lang.String TCP_NODELAY = "http.tcp.nodelay";
3838 }
3839
3840 public abstract deprecated interface CoreProtocolPNames {
3841 field public static final java.lang.String HTTP_CONTENT_CHARSET = "http.protocol.content-charset";
3842 field public static final java.lang.String HTTP_ELEMENT_CHARSET = "http.protocol.element-charset";
3843 field public static final java.lang.String ORIGIN_SERVER = "http.origin-server";
3844 field public static final java.lang.String PROTOCOL_VERSION = "http.protocol.version";
3845 field public static final java.lang.String STRICT_TRANSFER_ENCODING = "http.protocol.strict-transfer-encoding";
3846 field public static final java.lang.String USER_AGENT = "http.useragent";
3847 field public static final java.lang.String USE_EXPECT_CONTINUE = "http.protocol.expect-continue";
3848 field public static final java.lang.String WAIT_FOR_CONTINUE = "http.protocol.wait-for-continue";
3849 }
3850
3851 public final deprecated class DefaultedHttpParams extends org.apache.http.params.AbstractHttpParams {
3852 ctor public DefaultedHttpParams(org.apache.http.params.HttpParams, org.apache.http.params.HttpParams);
3853 method public org.apache.http.params.HttpParams copy();
3854 method public org.apache.http.params.HttpParams getDefaults();
3855 method public java.lang.Object getParameter(java.lang.String);
3856 method public boolean removeParameter(java.lang.String);
3857 method public org.apache.http.params.HttpParams setParameter(java.lang.String, java.lang.Object);
3858 }
3859
3860 public abstract deprecated class HttpAbstractParamBean {
3861 ctor public HttpAbstractParamBean(org.apache.http.params.HttpParams);
3862 field protected final org.apache.http.params.HttpParams params;
3863 }
3864
3865 public deprecated class HttpConnectionParamBean extends org.apache.http.params.HttpAbstractParamBean {
3866 ctor public HttpConnectionParamBean(org.apache.http.params.HttpParams);
3867 method public void setConnectionTimeout(int);
3868 method public void setLinger(int);
3869 method public void setSoTimeout(int);
3870 method public void setSocketBufferSize(int);
3871 method public void setStaleCheckingEnabled(boolean);
3872 method public void setTcpNoDelay(boolean);
3873 }
3874
3875 public final deprecated class HttpConnectionParams implements org.apache.http.params.CoreConnectionPNames {
3876 method public static int getConnectionTimeout(org.apache.http.params.HttpParams);
3877 method public static int getLinger(org.apache.http.params.HttpParams);
3878 method public static int getSoTimeout(org.apache.http.params.HttpParams);
3879 method public static int getSocketBufferSize(org.apache.http.params.HttpParams);
3880 method public static boolean getTcpNoDelay(org.apache.http.params.HttpParams);
3881 method public static boolean isStaleCheckingEnabled(org.apache.http.params.HttpParams);
3882 method public static void setConnectionTimeout(org.apache.http.params.HttpParams, int);
3883 method public static void setLinger(org.apache.http.params.HttpParams, int);
3884 method public static void setSoTimeout(org.apache.http.params.HttpParams, int);
3885 method public static void setSocketBufferSize(org.apache.http.params.HttpParams, int);
3886 method public static void setStaleCheckingEnabled(org.apache.http.params.HttpParams, boolean);
3887 method public static void setTcpNoDelay(org.apache.http.params.HttpParams, boolean);
3888 }
3889
3890 public abstract deprecated interface HttpParams {
3891 method public abstract org.apache.http.params.HttpParams copy();
3892 method public abstract boolean getBooleanParameter(java.lang.String, boolean);
3893 method public abstract double getDoubleParameter(java.lang.String, double);
3894 method public abstract int getIntParameter(java.lang.String, int);
3895 method public abstract long getLongParameter(java.lang.String, long);
3896 method public abstract java.lang.Object getParameter(java.lang.String);
3897 method public abstract boolean isParameterFalse(java.lang.String);
3898 method public abstract boolean isParameterTrue(java.lang.String);
3899 method public abstract boolean removeParameter(java.lang.String);
3900 method public abstract org.apache.http.params.HttpParams setBooleanParameter(java.lang.String, boolean);
3901 method public abstract org.apache.http.params.HttpParams setDoubleParameter(java.lang.String, double);
3902 method public abstract org.apache.http.params.HttpParams setIntParameter(java.lang.String, int);
3903 method public abstract org.apache.http.params.HttpParams setLongParameter(java.lang.String, long);
3904 method public abstract org.apache.http.params.HttpParams setParameter(java.lang.String, java.lang.Object);
3905 }
3906
3907 public deprecated class HttpProtocolParamBean extends org.apache.http.params.HttpAbstractParamBean {
3908 ctor public HttpProtocolParamBean(org.apache.http.params.HttpParams);
3909 method public void setContentCharset(java.lang.String);
3910 method public void setHttpElementCharset(java.lang.String);
3911 method public void setUseExpectContinue(boolean);
3912 method public void setUserAgent(java.lang.String);
3913 method public void setVersion(org.apache.http.HttpVersion);
3914 }
3915
3916 public final deprecated class HttpProtocolParams implements org.apache.http.params.CoreProtocolPNames {
3917 method public static java.lang.String getContentCharset(org.apache.http.params.HttpParams);
3918 method public static java.lang.String getHttpElementCharset(org.apache.http.params.HttpParams);
3919 method public static java.lang.String getUserAgent(org.apache.http.params.HttpParams);
3920 method public static org.apache.http.ProtocolVersion getVersion(org.apache.http.params.HttpParams);
3921 method public static void setContentCharset(org.apache.http.params.HttpParams, java.lang.String);
3922 method public static void setHttpElementCharset(org.apache.http.params.HttpParams, java.lang.String);
3923 method public static void setUseExpectContinue(org.apache.http.params.HttpParams, boolean);
3924 method public static void setUserAgent(org.apache.http.params.HttpParams, java.lang.String);
3925 method public static void setVersion(org.apache.http.params.HttpParams, org.apache.http.ProtocolVersion);
3926 method public static boolean useExpectContinue(org.apache.http.params.HttpParams);
3927 }
3928
3929}
3930
3931package org.apache.http.protocol {
3932
3933 public deprecated class BasicHttpContext implements org.apache.http.protocol.HttpContext {
3934 ctor public BasicHttpContext();
3935 ctor public BasicHttpContext(org.apache.http.protocol.HttpContext);
3936 method public java.lang.Object getAttribute(java.lang.String);
3937 method public java.lang.Object removeAttribute(java.lang.String);
3938 method public void setAttribute(java.lang.String, java.lang.Object);
3939 }
3940
Jeff Sharkeyb330c5f2017-11-18 21:51:59 -07003941 public final deprecated class BasicHttpProcessor implements java.lang.Cloneable org.apache.http.protocol.HttpProcessor org.apache.http.protocol.HttpRequestInterceptorList org.apache.http.protocol.HttpResponseInterceptorList {
Paul Duffin03a95652017-07-14 13:48:42 +01003942 ctor public BasicHttpProcessor();
Adam Lesinskiabd039a2018-01-24 12:52:46 -08003943 method public void addInterceptor(org.apache.http.HttpRequestInterceptor);
3944 method public void addInterceptor(org.apache.http.HttpRequestInterceptor, int);
3945 method public void addInterceptor(org.apache.http.HttpResponseInterceptor);
3946 method public void addInterceptor(org.apache.http.HttpResponseInterceptor, int);
Paul Duffin03a95652017-07-14 13:48:42 +01003947 method public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
3948 method public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
3949 method public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
3950 method public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
3951 method public void clearInterceptors();
3952 method public void clearRequestInterceptors();
3953 method public void clearResponseInterceptors();
3954 method public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
3955 method public org.apache.http.protocol.BasicHttpProcessor copy();
3956 method protected void copyInterceptors(org.apache.http.protocol.BasicHttpProcessor);
3957 method public org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
3958 method public int getRequestInterceptorCount();
3959 method public org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
3960 method public int getResponseInterceptorCount();
3961 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3962 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
3963 method public void removeRequestInterceptorByClass(java.lang.Class);
3964 method public void removeResponseInterceptorByClass(java.lang.Class);
3965 method public void setInterceptors(java.util.List);
3966 field protected java.util.List requestInterceptors;
3967 field protected java.util.List responseInterceptors;
3968 }
3969
3970 public final deprecated class DefaultedHttpContext implements org.apache.http.protocol.HttpContext {
3971 ctor public DefaultedHttpContext(org.apache.http.protocol.HttpContext, org.apache.http.protocol.HttpContext);
3972 method public java.lang.Object getAttribute(java.lang.String);
3973 method public org.apache.http.protocol.HttpContext getDefaults();
3974 method public java.lang.Object removeAttribute(java.lang.String);
3975 method public void setAttribute(java.lang.String, java.lang.Object);
3976 }
3977
3978 public abstract deprecated interface ExecutionContext {
3979 field public static final java.lang.String HTTP_CONNECTION = "http.connection";
3980 field public static final java.lang.String HTTP_PROXY_HOST = "http.proxy_host";
3981 field public static final java.lang.String HTTP_REQUEST = "http.request";
3982 field public static final java.lang.String HTTP_REQ_SENT = "http.request_sent";
3983 field public static final java.lang.String HTTP_RESPONSE = "http.response";
3984 field public static final java.lang.String HTTP_TARGET_HOST = "http.target_host";
3985 }
3986
3987 public final deprecated class HTTP {
3988 method public static boolean isWhitespace(char);
3989 field public static final java.lang.String ASCII = "ASCII";
3990 field public static final java.lang.String CHARSET_PARAM = "; charset=";
3991 field public static final java.lang.String CHUNK_CODING = "chunked";
3992 field public static final java.lang.String CONN_CLOSE = "Close";
3993 field public static final java.lang.String CONN_DIRECTIVE = "Connection";
3994 field public static final java.lang.String CONN_KEEP_ALIVE = "Keep-Alive";
3995 field public static final java.lang.String CONTENT_ENCODING = "Content-Encoding";
3996 field public static final java.lang.String CONTENT_LEN = "Content-Length";
3997 field public static final java.lang.String CONTENT_TYPE = "Content-Type";
3998 field public static final int CR = 13; // 0xd
3999 field public static final java.lang.String DATE_HEADER = "Date";
4000 field public static final java.lang.String DEFAULT_CONTENT_CHARSET = "ISO-8859-1";
4001 field public static final java.lang.String DEFAULT_CONTENT_TYPE = "application/octet-stream";
4002 field public static final java.lang.String DEFAULT_PROTOCOL_CHARSET = "US-ASCII";
4003 field public static final java.lang.String EXPECT_CONTINUE = "100-continue";
4004 field public static final java.lang.String EXPECT_DIRECTIVE = "Expect";
4005 field public static final int HT = 9; // 0x9
4006 field public static final java.lang.String IDENTITY_CODING = "identity";
4007 field public static final java.lang.String ISO_8859_1 = "ISO-8859-1";
4008 field public static final int LF = 10; // 0xa
4009 field public static final java.lang.String OCTET_STREAM_TYPE = "application/octet-stream";
4010 field public static final java.lang.String PLAIN_TEXT_TYPE = "text/plain";
4011 field public static final java.lang.String SERVER_HEADER = "Server";
4012 field public static final int SP = 32; // 0x20
4013 field public static final java.lang.String TARGET_HOST = "Host";
4014 field public static final java.lang.String TRANSFER_ENCODING = "Transfer-Encoding";
4015 field public static final java.lang.String USER_AGENT = "User-Agent";
4016 field public static final java.lang.String US_ASCII = "US-ASCII";
4017 field public static final java.lang.String UTF_16 = "UTF-16";
4018 field public static final java.lang.String UTF_8 = "UTF-8";
4019 }
4020
4021 public abstract deprecated interface HttpContext {
4022 method public abstract java.lang.Object getAttribute(java.lang.String);
4023 method public abstract java.lang.Object removeAttribute(java.lang.String);
4024 method public abstract void setAttribute(java.lang.String, java.lang.Object);
4025 field public static final java.lang.String RESERVED_PREFIX = "http.";
4026 }
4027
4028 public deprecated class HttpDateGenerator {
4029 ctor public HttpDateGenerator();
4030 method public synchronized java.lang.String getCurrentDate();
4031 field public static final java.util.TimeZone GMT;
4032 field public static final java.lang.String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
4033 }
4034
4035 public abstract deprecated interface HttpExpectationVerifier {
4036 method public abstract void verify(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException;
4037 }
4038
4039 public abstract deprecated interface HttpProcessor implements org.apache.http.HttpRequestInterceptor org.apache.http.HttpResponseInterceptor {
4040 }
4041
4042 public deprecated class HttpRequestExecutor {
4043 ctor public HttpRequestExecutor();
4044 method protected boolean canResponseHaveBody(org.apache.http.HttpRequest, org.apache.http.HttpResponse);
4045 method 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;
4046 method 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;
4047 method 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;
4048 method 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;
4049 method 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;
4050 }
4051
4052 public abstract deprecated interface HttpRequestHandler {
4053 method public abstract void handle(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4054 }
4055
4056 public deprecated class HttpRequestHandlerRegistry implements org.apache.http.protocol.HttpRequestHandlerResolver {
4057 ctor public HttpRequestHandlerRegistry();
4058 method public org.apache.http.protocol.HttpRequestHandler lookup(java.lang.String);
4059 method protected deprecated boolean matchUriRequestPattern(java.lang.String, java.lang.String);
4060 method public void register(java.lang.String, org.apache.http.protocol.HttpRequestHandler);
4061 method public void setHandlers(java.util.Map);
4062 method public void unregister(java.lang.String);
4063 }
4064
4065 public abstract deprecated interface HttpRequestHandlerResolver {
4066 method public abstract org.apache.http.protocol.HttpRequestHandler lookup(java.lang.String);
4067 }
4068
4069 public abstract deprecated interface HttpRequestInterceptorList {
4070 method public abstract void addRequestInterceptor(org.apache.http.HttpRequestInterceptor);
4071 method public abstract void addRequestInterceptor(org.apache.http.HttpRequestInterceptor, int);
4072 method public abstract void clearRequestInterceptors();
4073 method public abstract org.apache.http.HttpRequestInterceptor getRequestInterceptor(int);
4074 method public abstract int getRequestInterceptorCount();
4075 method public abstract void removeRequestInterceptorByClass(java.lang.Class);
4076 method public abstract void setInterceptors(java.util.List);
4077 }
4078
4079 public abstract deprecated interface HttpResponseInterceptorList {
4080 method public abstract void addResponseInterceptor(org.apache.http.HttpResponseInterceptor);
4081 method public abstract void addResponseInterceptor(org.apache.http.HttpResponseInterceptor, int);
4082 method public abstract void clearResponseInterceptors();
4083 method public abstract org.apache.http.HttpResponseInterceptor getResponseInterceptor(int);
4084 method public abstract int getResponseInterceptorCount();
4085 method public abstract void removeResponseInterceptorByClass(java.lang.Class);
4086 method public abstract void setInterceptors(java.util.List);
4087 }
4088
4089 public deprecated class HttpService {
4090 ctor public HttpService(org.apache.http.protocol.HttpProcessor, org.apache.http.ConnectionReuseStrategy, org.apache.http.HttpResponseFactory);
4091 method protected void doService(org.apache.http.HttpRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4092 method public org.apache.http.params.HttpParams getParams();
4093 method protected void handleException(org.apache.http.HttpException, org.apache.http.HttpResponse);
4094 method public void handleRequest(org.apache.http.HttpServerConnection, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4095 method public void setConnReuseStrategy(org.apache.http.ConnectionReuseStrategy);
4096 method public void setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier);
4097 method public void setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver);
4098 method public void setHttpProcessor(org.apache.http.protocol.HttpProcessor);
4099 method public void setParams(org.apache.http.params.HttpParams);
4100 method public void setResponseFactory(org.apache.http.HttpResponseFactory);
4101 }
4102
4103 public deprecated class RequestConnControl implements org.apache.http.HttpRequestInterceptor {
4104 ctor public RequestConnControl();
4105 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4106 }
4107
4108 public deprecated class RequestContent implements org.apache.http.HttpRequestInterceptor {
4109 ctor public RequestContent();
4110 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4111 }
4112
4113 public deprecated class RequestDate implements org.apache.http.HttpRequestInterceptor {
4114 ctor public RequestDate();
4115 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4116 }
4117
4118 public deprecated class RequestExpectContinue implements org.apache.http.HttpRequestInterceptor {
4119 ctor public RequestExpectContinue();
4120 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4121 }
4122
4123 public deprecated class RequestTargetHost implements org.apache.http.HttpRequestInterceptor {
4124 ctor public RequestTargetHost();
4125 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4126 }
4127
4128 public deprecated class RequestUserAgent implements org.apache.http.HttpRequestInterceptor {
4129 ctor public RequestUserAgent();
4130 method public void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4131 }
4132
4133 public deprecated class ResponseConnControl implements org.apache.http.HttpResponseInterceptor {
4134 ctor public ResponseConnControl();
4135 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4136 }
4137
4138 public deprecated class ResponseContent implements org.apache.http.HttpResponseInterceptor {
4139 ctor public ResponseContent();
4140 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4141 }
4142
4143 public deprecated class ResponseDate implements org.apache.http.HttpResponseInterceptor {
4144 ctor public ResponseDate();
4145 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4146 }
4147
4148 public deprecated class ResponseServer implements org.apache.http.HttpResponseInterceptor {
4149 ctor public ResponseServer();
4150 method public void process(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException, java.io.IOException;
4151 }
4152
4153 public deprecated class SyncBasicHttpContext extends org.apache.http.protocol.BasicHttpContext {
4154 ctor public SyncBasicHttpContext(org.apache.http.protocol.HttpContext);
4155 method public synchronized java.lang.Object getAttribute(java.lang.String);
4156 method public synchronized java.lang.Object removeAttribute(java.lang.String);
4157 method public synchronized void setAttribute(java.lang.String, java.lang.Object);
4158 }
4159
4160 public deprecated class UriPatternMatcher {
4161 ctor public UriPatternMatcher();
4162 method public java.lang.Object lookup(java.lang.String);
4163 method protected boolean matchUriRequestPattern(java.lang.String, java.lang.String);
4164 method public void register(java.lang.String, java.lang.Object);
4165 method public void setHandlers(java.util.Map);
4166 method public void unregister(java.lang.String);
4167 }
4168
4169}
4170
4171package org.apache.http.util {
4172
4173 public final deprecated class ByteArrayBuffer {
4174 ctor public ByteArrayBuffer(int);
4175 method public void append(byte[], int, int);
4176 method public void append(int);
4177 method public void append(char[], int, int);
4178 method public void append(org.apache.http.util.CharArrayBuffer, int, int);
4179 method public byte[] buffer();
4180 method public int byteAt(int);
4181 method public int capacity();
4182 method public void clear();
4183 method public boolean isEmpty();
4184 method public boolean isFull();
4185 method public int length();
4186 method public void setLength(int);
4187 method public byte[] toByteArray();
4188 }
4189
4190 public final deprecated class CharArrayBuffer {
4191 ctor public CharArrayBuffer(int);
4192 method public void append(char[], int, int);
4193 method public void append(java.lang.String);
4194 method public void append(org.apache.http.util.CharArrayBuffer, int, int);
4195 method public void append(org.apache.http.util.CharArrayBuffer);
4196 method public void append(char);
4197 method public void append(byte[], int, int);
4198 method public void append(org.apache.http.util.ByteArrayBuffer, int, int);
4199 method public void append(java.lang.Object);
4200 method public char[] buffer();
4201 method public int capacity();
4202 method public char charAt(int);
4203 method public void clear();
4204 method public void ensureCapacity(int);
4205 method public int indexOf(int, int, int);
4206 method public int indexOf(int);
4207 method public boolean isEmpty();
4208 method public boolean isFull();
4209 method public int length();
4210 method public void setLength(int);
4211 method public java.lang.String substring(int, int);
4212 method public java.lang.String substringTrimmed(int, int);
4213 method public char[] toCharArray();
4214 }
4215
4216 public final deprecated class EncodingUtils {
4217 method public static byte[] getAsciiBytes(java.lang.String);
4218 method public static java.lang.String getAsciiString(byte[], int, int);
4219 method public static java.lang.String getAsciiString(byte[]);
4220 method public static byte[] getBytes(java.lang.String, java.lang.String);
4221 method public static java.lang.String getString(byte[], int, int, java.lang.String);
4222 method public static java.lang.String getString(byte[], java.lang.String);
4223 }
4224
4225 public final deprecated class EntityUtils {
4226 method public static java.lang.String getContentCharSet(org.apache.http.HttpEntity) throws org.apache.http.ParseException;
4227 method public static byte[] toByteArray(org.apache.http.HttpEntity) throws java.io.IOException;
4228 method public static java.lang.String toString(org.apache.http.HttpEntity, java.lang.String) throws java.io.IOException, org.apache.http.ParseException;
4229 method public static java.lang.String toString(org.apache.http.HttpEntity) throws java.io.IOException, org.apache.http.ParseException;
4230 }
4231
4232 public final deprecated class ExceptionUtils {
4233 method public static void initCause(java.lang.Throwable, java.lang.Throwable);
4234 }
4235
4236 public final deprecated class LangUtils {
4237 method public static boolean equals(java.lang.Object, java.lang.Object);
4238 method public static boolean equals(java.lang.Object[], java.lang.Object[]);
4239 method public static int hashCode(int, int);
4240 method public static int hashCode(int, boolean);
4241 method public static int hashCode(int, java.lang.Object);
4242 field public static final int HASH_OFFSET = 37; // 0x25
4243 field public static final int HASH_SEED = 17; // 0x11
4244 }
4245
4246 public deprecated class VersionInfo {
4247 ctor protected VersionInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
4248 method protected static final org.apache.http.util.VersionInfo fromMap(java.lang.String, java.util.Map, java.lang.ClassLoader);
4249 method public final java.lang.String getClassloader();
4250 method public final java.lang.String getModule();
4251 method public final java.lang.String getPackage();
4252 method public final java.lang.String getRelease();
4253 method public final java.lang.String getTimestamp();
4254 method public static final org.apache.http.util.VersionInfo[] loadVersionInfo(java.lang.String[], java.lang.ClassLoader);
4255 method public static final org.apache.http.util.VersionInfo loadVersionInfo(java.lang.String, java.lang.ClassLoader);
4256 field public static final java.lang.String PROPERTY_MODULE = "info.module";
4257 field public static final java.lang.String PROPERTY_RELEASE = "info.release";
4258 field public static final java.lang.String PROPERTY_TIMESTAMP = "info.timestamp";
4259 field public static final java.lang.String UNAVAILABLE = "UNAVAILABLE";
4260 field public static final java.lang.String VERSION_PROPERTY_FILE = "version.properties";
4261 }
4262
4263}
4264