Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+PROXY_AUTH |
+"Proxy-Authenticate" |
+
+
+public static final String |
+PROXY_AUTH_RESP |
+"Proxy-Authorization" |
+
+
+public static final String |
+WWW_AUTH |
+"WWW-Authenticate" |
+
+
+public static final String |
+WWW_AUTH_RESP |
+"Authorization" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+ANY_PORT |
+-1 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+CREDENTIAL_CHARSET |
+"http.auth.credential-charset" |
+
+
+public static final String |
+PROXY_AUTH_PREF |
+"http.auth.proxy-scheme-pref" |
+
+
+public static final String |
+TARGET_AUTH_PREF |
+"http.auth.target-scheme-pref" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+AGE |
+"Age" |
+
+
+public static final String |
+ALLOW |
+"Allow" |
+
+
+public static final String |
+AUTHORIZATION |
+"Authorization" |
+
+
+public static final String |
+CACHE_CONTROL |
+"Cache-Control" |
+
+
+public static final String |
+CACHE_CONTROL_MAX_AGE |
+"max-age" |
+
+
+public static final String |
+CACHE_CONTROL_MAX_STALE |
+"max-stale" |
+
+
+public static final String |
+CACHE_CONTROL_MIN_FRESH |
+"min-fresh" |
+
+
+public static final String |
+CACHE_CONTROL_MUST_REVALIDATE |
+"must-revalidate" |
+
+
+public static final String |
+CACHE_CONTROL_NO_CACHE |
+"no-cache" |
+
+
+public static final String |
+CACHE_CONTROL_NO_STORE |
+"no-store" |
+
+
+public static final String |
+CACHE_CONTROL_PROXY_REVALIDATE |
+"proxy-revalidate" |
+
+
+public static final String |
+CONTENT_RANGE |
+"Content-Range" |
+
+
+public static final String |
+DELETE_METHOD |
+"DELETE" |
+
+
+public static final String |
+ETAG |
+"ETag" |
+
+
+public static final String |
+EXPIRES |
+"Expires" |
+
+
+public static final String |
+GET_METHOD |
+"GET" |
+
+
+public static final String |
+HEAD_METHOD |
+"HEAD" |
+
+
+public static final String |
+IF_MATCH |
+"If-Match" |
+
+
+public static final String |
+IF_MODIFIED_SINCE |
+"If-Modified-Since" |
+
+
+public static final String |
+IF_NONE_MATCH |
+"If-None-Match" |
+
+
+public static final String |
+IF_RANGE |
+"If-Range" |
+
+
+public static final String |
+IF_UNMODIFIED_SINCE |
+"If-Unmodified-Since" |
+
+
+public static final String |
+LAST_MODIFIED |
+"Last-Modified" |
+
+
+public static final String |
+MAX_FORWARDS |
+"Max-Forwards" |
+
+
+public static final String |
+OPTIONS_METHOD |
+"OPTIONS" |
+
+
+public static final String |
+PRAGMA |
+"Pragma" |
+
+
+public static final String |
+PRIVATE |
+"private" |
+
+
+public static final String |
+PROXY_AUTHENTICATE |
+"Proxy-Authenticate" |
+
+
+public static final String |
+PUBLIC |
+"public" |
+
+
+public static final String |
+PUT_METHOD |
+"PUT" |
+
+
+public static final String |
+RANGE |
+"Range" |
+
+
+public static final String |
+STALE_IF_ERROR |
+"stale-if-error" |
+
+
+public static final String |
+STALE_WHILE_REVALIDATE |
+"stale-while-revalidate" |
+
+
+public static final String |
+TRACE_METHOD |
+"TRACE" |
+
+
+public static final String |
+VARY |
+"Vary" |
+
+
+public static final String |
+VIA |
+"Via" |
+
+
+public static final String |
+WARNING |
+"Warning" |
+
+
+public static final String |
+WWW_AUTHENTICATE |
+"WWW-Authenticate" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+CACHE_RESPONSE_STATUS |
+"http.cache.response.status" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+BASIC |
+"Basic" |
+
+
+public static final String |
+CREDSSP |
+"CredSSP" |
+
+
+public static final String |
+DIGEST |
+"Digest" |
+
+
+public static final String |
+KERBEROS |
+"Kerberos" |
+
+
+public static final String |
+NTLM |
+"NTLM" |
+
+
+public static final String |
+SPNEGO |
+"Negotiate" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+BEST_MATCH |
+"best-match" |
+
+
+public static final String |
+BROWSER_COMPATIBILITY |
+"compatibility" |
+
+
+public static final String |
+DEFAULT |
+"default" |
+
+
+public static final String |
+IGNORE_COOKIES |
+"ignoreCookies" |
+
+
+public static final String |
+NETSCAPE |
+"netscape" |
+
+
+public static final String |
+STANDARD |
+"standard" |
+
+
+public static final String |
+STANDARD_STRICT |
+"standard-strict" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+DATE_FORMAT |
+"EEE, dd MMM yyyy HH:mm:ss zzz" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"DELETE" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"GET" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"HEAD" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"OPTIONS" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"PATCH" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"POST" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"PUT" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+METHOD_NAME |
+"TRACE" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+BASIC |
+"Basic" |
+
+
+public static final String |
+DIGEST |
+"Digest" |
+
+
+public static final String |
+KERBEROS |
+"Kerberos" |
+
+
+public static final String |
+NTLM |
+"NTLM" |
+
+
+public static final String |
+SPNEGO |
+"Negotiate" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ALLOW_CIRCULAR_REDIRECTS |
+"http.protocol.allow-circular-redirects" |
+
+
+public static final String |
+CONN_MANAGER_TIMEOUT |
+"http.conn-manager.timeout" |
+
+
+public static final String |
+CONNECTION_MANAGER_FACTORY_CLASS_NAME |
+"http.connection-manager.factory-class-name" |
+
+
+public static final String |
+COOKIE_POLICY |
+"http.protocol.cookie-policy" |
+
+
+public static final String |
+DEFAULT_HEADERS |
+"http.default-headers" |
+
+
+public static final String |
+DEFAULT_HOST |
+"http.default-host" |
+
+
+public static final String |
+HANDLE_AUTHENTICATION |
+"http.protocol.handle-authentication" |
+
+
+public static final String |
+HANDLE_REDIRECTS |
+"http.protocol.handle-redirects" |
+
+
+public static final String |
+MAX_REDIRECTS |
+"http.protocol.max-redirects" |
+
+
+public static final String |
+REJECT_RELATIVE_REDIRECT |
+"http.protocol.reject-relative-redirect" |
+
+
+public static final String |
+VIRTUAL_HOST |
+"http.virtual-host" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+BEST_MATCH |
+"best-match" |
+
+
+public static final String |
+BROWSER_COMPATIBILITY |
+"compatibility" |
+
+
+public static final String |
+IGNORE_COOKIES |
+"ignoreCookies" |
+
+
+public static final String |
+NETSCAPE |
+"netscape" |
+
+
+public static final String |
+RFC_2109 |
+"rfc2109" |
+
+
+public static final String |
+RFC_2965 |
+"rfc2965" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+AUTH_CACHE |
+"http.auth.auth-cache" |
+
+
+public static final String |
+AUTH_SCHEME_PREF |
+"http.auth.scheme-pref" |
+
+
+public static final String |
+AUTHSCHEME_REGISTRY |
+"http.authscheme-registry" |
+
+
+public static final String |
+COOKIE_ORIGIN |
+"http.cookie-origin" |
+
+
+public static final String |
+COOKIE_SPEC |
+"http.cookie-spec" |
+
+
+public static final String |
+COOKIE_STORE |
+"http.cookie-store" |
+
+
+public static final String |
+COOKIESPEC_REGISTRY |
+"http.cookiespec-registry" |
+
+
+public static final String |
+CREDS_PROVIDER |
+"http.auth.credentials-provider" |
+
+
+public static final String |
+PROXY_AUTH_STATE |
+"http.auth.proxy-scope" |
+
+
+public static final String |
+REQUEST_CONFIG |
+"http.request-config" |
+
+
+public static final String |
+ROUTE |
+"http.route" |
+
+
+public static final String |
+SCHEME_REGISTRY |
+"http.scheme-registry" |
+
+
+public static final String |
+SOCKET_FACTORY_REGISTRY |
+"http.socket-factory-registry" |
+
+
+public static final String |
+TARGET_AUTH_STATE |
+"http.auth.target-scope" |
+
+
+public static final String |
+USER_TOKEN |
+"http.user-token" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+AUTH_CACHE |
+"http.auth.auth-cache" |
+
+
+public static final String |
+AUTHSCHEME_REGISTRY |
+"http.authscheme-registry" |
+
+
+public static final String |
+COOKIE_ORIGIN |
+"http.cookie-origin" |
+
+
+public static final String |
+COOKIE_SPEC |
+"http.cookie-spec" |
+
+
+public static final String |
+COOKIE_STORE |
+"http.cookie-store" |
+
+
+public static final String |
+COOKIESPEC_REGISTRY |
+"http.cookiespec-registry" |
+
+
+public static final String |
+CREDS_PROVIDER |
+"http.auth.credentials-provider" |
+
+
+public static final String |
+HTTP_ROUTE |
+"http.route" |
+
+
+public static final String |
+PROXY_AUTH_STATE |
+"http.auth.proxy-scope" |
+
+
+public static final String |
+REDIRECT_LOCATIONS |
+"http.protocol.redirect-locations" |
+
+
+public static final String |
+REQUEST_CONFIG |
+"http.request-config" |
+
+
+public static final String |
+TARGET_AUTH_STATE |
+"http.auth.target-scope" |
+
+
+public static final String |
+USER_TOKEN |
+"http.user-token" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+UNCOMPRESSED |
+"http.client.response.uncompressed" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+PATTERN_ASCTIME |
+"EEE MMM d HH:mm:ss yyyy" |
+
+
+public static final String |
+PATTERN_RFC1036 |
+"EEE, dd-MMM-yy HH:mm:ss zzz" |
+
+
+public static final String |
+PATTERN_RFC1123 |
+"EEE, dd MMM yyyy HH:mm:ss zzz" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+CONTENT_TYPE |
+"application/x-www-form-urlencoded" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+MAX_STATUS_LINE_GARBAGE |
+"http.connection.max-status-line-garbage" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+DEFAULT_MAX_TOTAL_CONNECTIONS |
+20 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+MAX_CONNECTIONS_PER_ROUTE |
+"http.conn-manager.max-per-route" |
+
+
+public static final String |
+MAX_TOTAL_CONNECTIONS |
+"http.conn-manager.max-total" |
+
+
+public static final String |
+TIMEOUT |
+"http.conn-manager.timeout" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+DEFAULT_MAX_CONNECTIONS_PER_ROUTE |
+2 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+DEFAULT_PROXY |
+"http.route.default-proxy" |
+
+
+public static final String |
+FORCED_ROUTE |
+"http.route.forced-route" |
+
+
+public static final String |
+LOCAL_ADDRESS |
+"http.route.local-address" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+COMPLETE |
+0 |
+
+
+public static final int |
+CONNECT_PROXY |
+2 |
+
+
+public static final int |
+CONNECT_TARGET |
+1 |
+
+
+public static final int |
+LAYER_PROTOCOL |
+5 |
+
+
+public static final int |
+TUNNEL_PROXY |
+4 |
+
+
+public static final int |
+TUNNEL_TARGET |
+3 |
+
+
+public static final int |
+UNREACHABLE |
+-1 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+SSL |
+"SSL" |
+
+
+public static final String |
+SSLV2 |
+"SSLv2" |
+
+
+public static final String |
+TLS |
+"TLS" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+SSL |
+"SSL" |
+
+
+public static final String |
+SSLV2 |
+"SSLv2" |
+
+
+public static final String |
+TLS |
+"TLS" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+COMMENT_ATTR |
+"comment" |
+
+
+public static final String |
+COMMENTURL_ATTR |
+"commenturl" |
+
+
+public static final String |
+DISCARD_ATTR |
+"discard" |
+
+
+public static final String |
+DOMAIN_ATTR |
+"domain" |
+
+
+public static final String |
+EXPIRES_ATTR |
+"expires" |
+
+
+public static final String |
+MAX_AGE_ATTR |
+"max-age" |
+
+
+public static final String |
+PATH_ATTR |
+"path" |
+
+
+public static final String |
+PORT_ATTR |
+"port" |
+
+
+public static final String |
+SECURE_ATTR |
+"secure" |
+
+
+public static final String |
+VERSION_ATTR |
+"version" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+COOKIE |
+"Cookie" |
+
+
+public static final String |
+COOKIE2 |
+"Cookie2" |
+
+
+public static final String |
+SET_COOKIE |
+"Set-Cookie" |
+
+
+public static final String |
+SET_COOKIE2 |
+"Set-Cookie2" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+DATE_PATTERNS |
+"http.protocol.cookie-datepatterns" |
+
+
+public static final String |
+SINGLE_COOKIE_HEADER |
+"http.protocol.single-cookie-header" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+CONTENT_DISPOSITION |
+"Content-Disposition" |
+
+
+public static final String |
+CONTENT_TRANSFER_ENC |
+"Content-Transfer-Encoding" |
+
+
+public static final String |
+CONTENT_TYPE |
+"Content-Type" |
+
+
+public static final String |
+ENC_8BIT |
+"8bit" |
+
+
+public static final String |
+ENC_BINARY |
+"binary" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+REDIRECT_LOCATIONS |
+"http.protocol.redirect-locations" |
+
+
+public static final int |
+SC_PERMANENT_REDIRECT |
+308 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final boolean |
+DEFAULT_303_CACHING_ENABLED |
+false |
+
+
+public static final int |
+DEFAULT_ASYNCHRONOUS_WORKER_IDLE_LIFETIME_SECS |
+60 |
+
+
+public static final int |
+DEFAULT_ASYNCHRONOUS_WORKERS_CORE |
+1 |
+
+
+public static final int |
+DEFAULT_ASYNCHRONOUS_WORKERS_MAX |
+1 |
+
+
+public static final boolean |
+DEFAULT_HEURISTIC_CACHING_ENABLED |
+false |
+
+
+public static final float |
+DEFAULT_HEURISTIC_COEFFICIENT |
+0.10000000149011612f |
+
+
+public static final long |
+DEFAULT_HEURISTIC_LIFETIME |
+0L |
+
+
+public static final int |
+DEFAULT_MAX_CACHE_ENTRIES |
+1000 |
+
+
+public static final int |
+DEFAULT_MAX_OBJECT_SIZE_BYTES |
+8192 |
+
+
+public static final int |
+DEFAULT_MAX_UPDATE_RETRIES |
+1 |
+
+
+public static final int |
+DEFAULT_REVALIDATION_QUEUE_SIZE |
+100 |
+
+
+public static final boolean |
+DEFAULT_WEAK_ETAG_ON_PUTDELETE_ALLOWED |
+false |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+CACHE_RESPONSE_STATUS |
+"http.cache.response.status" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final long |
+DEFAULT_BACK_OFF_RATE |
+10L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+MISUSE_MESSAGE |
+"Invalid use of BasicClientConnManager: connection still allocated.\nMake sure to release the connection before allocating another one." |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+MISUSE_MESSAGE |
+"Invalid use of SingleClientConnManager: connection still allocated.\nMake sure to release the connection before allocating another one." |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+PATTERN_ASCTIME |
+"EEE MMM d HH:mm:ss yyyy" |
+
+
+public static final String |
+PATTERN_RFC1036 |
+"EEE, dd-MMM-yy HH:mm:ss zzz" |
+
+
+public static final String |
+PATTERN_RFC1123 |
+"EEE, dd MMM yyyy HH:mm:ss zzz" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final String |
+EXPIRES_PATTERN |
+"EEE, dd-MMM-yy HH:mm:ss z" |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/deprecated-list.html b/Notes-master/NewMiNote/app/libs/javadoc/deprecated-list.html new file mode 100644 index 0000000..6e2fe72 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/deprecated-list.html @@ -0,0 +1,1582 @@ + + + + + + +Package and Description | +
---|
org.apache.http.auth.params
+ (4.3).
+ |
+
org.apache.http.client.params
+ (4.3).
+ |
+
org.apache.http.conn.params
+ (4.3).
+ |
+
org.apache.http.conn.scheme
+ (4.3).
+ |
+
org.apache.http.cookie.params
+ (4.3).
+ |
+
org.apache.http.impl.conn.tsccm
+ (4.3)
+ |
+
Exceptions and Description | +
---|
org.apache.http.impl.cookie.DateParseException
+ (4.3) no longer used.
+ |
+
org.apache.http.impl.client.TunnelRefusedException
+ (4.3) reserved for internal use.
+ |
+
Field and Description | +
---|
org.apache.http.conn.ssl.SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER + + | +
org.apache.http.client.config.CookieSpecs.BEST_MATCH
+ (4.4) use {link #DEFAULT}.
+ |
+
org.apache.http.client.config.CookieSpecs.BROWSER_COMPATIBILITY
+ (4.4) use {link #DEFAULT}.
+ |
+
org.apache.http.conn.ssl.SSLConnectionSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER + + | +
org.apache.http.conn.params.ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
+ (4.1) Use custom
+DefaultHttpResponseParser implementation |
+
org.apache.http.impl.client.DefaultRedirectStrategy.REDIRECT_LOCATIONS
+ (4.3) use
+HttpClientContext.REDIRECT_LOCATIONS . |
+
org.apache.http.conn.ssl.SSLConnectionSocketFactory.STRICT_HOSTNAME_VERIFIER + + | +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/help-doc.html b/Notes-master/NewMiNote/app/libs/javadoc/help-doc.html new file mode 100644 index 0000000..3c4fa7d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/help-doc.html @@ -0,0 +1,222 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/index-all.html b/Notes-master/NewMiNote/app/libs/javadoc/index-all.html new file mode 100644 index 0000000..876a4b7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/index-all.html @@ -0,0 +1,13477 @@ + + + + + + +HttpExecutionAware
ClientConnectionRequest.getConnection(long, TimeUnit)
,
+ causing it to throw an InterruptedException
.PoolEntryRequest.getPoolEntry(long, TimeUnit)
.AuthenticationStrategy
AbstractConnPool
CookieAttributeHandler
s.HttpClientBuilder
.ResponseHandler
that works with the response entity
+ for successful (2xx) responses.HostnameVerifier
or
+ DefaultHostnameVerifier
.Cookie
, replacing any existing equivalent cookies.HTTP cookie
, replacing any existing equivalent cookies.HTTP cookies
.AIMDBackoffManager
applies an additive increase,
+ multiplicative decrease (AIMD) to managing a dynamic limit to
+ the number of connections allowed to a given host.AIMDBackoffManager
to manage
+ per-host connection pool sizes represented by the
+ given ConnPoolControl
.NoopHostnameVerifier
null
value represents any host.-1
value represents any port.null
value represents any realm.null
value represents any authentication scheme.null
.AuthCache
object
+ that represents the auth scheme cache.AuthCache
object
+ that represents the auth scheme cache.AuthScheme
cache.Credentials
.Credentials
.Credentials
, method name and URI.null
detail message.AuthenticationStrategy
RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.AuthSchemes
.Lookup
object that represents
+ the actual AuthSchemeRegistry
registry.Lookup
object that represents
+ the actual AuthSchemeProvider
registry.AuthSchemeProvider
AuthScheme
implementations.Registry
AuthScope
represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name.host
, port
, realm
, and
+ schemeName
.host
, port
and realm
.host
and port
.HttpClientBuilder
.AutoRetryHttpClient
with default caching settings that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient
for backend requests.AutoRetryHttpClient
with the given caching options that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient
for backend requests.AutoRetryHttpClient
with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
for
+ backend requests.AuthCache
.BasicHttpClientConnectionManager
.SetCookie
.SetCookie2
.CookieStore
CredentialsProvider
.HttpCacheStorage
implementation backed by an instance of
+ LinkedHashMap
.PoolEntry
ResponseHandler
that returns the response body as a String
+ for successful (2xx) responses.HttpRouteDirector
implementation.AuthSchemeProvider
implementation that creates and initializes
+ BasicScheme
instances.DefaultCookieSpec
.DefaultCookieSpecProvider
.DefaultHostnameVerifier
DefaultCookieSpec
.DefaultCookieSpecProvider
.HttpEntity
based on the current state.URI
instance.CacheResponseStatus
of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext
is provided during execution.CacheResponseStatus
of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext
is provided during execution.CachingHttpClient
.CacheConfig.Builder
.CachingHttpClient
;
+ if a request is executed with an HttpContext
+ then a parameter with one of these values will be registered in the
+ context under the key
+ CachingHttpClient.CACHE_RESPONSE_STATUS
.CachingHttpClientBuilder
or CachingHttpClients
.CachingHttpClient
with default caching settings that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests.CachingHttpClient
with the given caching options that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests.CachingHttpClient
with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests.CachingHttpClient
with the given caching options that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests.CachingHttpClient
with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient
for backend requests.CachingHttpClient
with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient
for backend requests.CloseableHttpClient
+ instances capable of client-side caching.CloseableHttpClient
instances
+ capable of client-side caching.Args.notNegative(long, String)
Args.notNull(Object, String)
null
detail message.DateFormat
cache.HttpClientConnectionManager
.HttpClientConnectionManager
.HttpClientConnectionManager
.ConnectionRequest
.HttpClientContext
.HttpClientContext
Cookie
interface with
+ additional client specific functionality such ability to retrieve
+ original cookie attributes exactly as they were specified by the
+ origin server.RequestConfig
.null
.RequestConfig
.HttpClient
that also implements Closeable
.HttpResponse
interface that also extends Closeable
.CookieAttributeHandler
intended
+ to handle one specific common attribute whose name is returned with
+ CommonCookieAttributeHandler.getAttributeName()
method.ManagedClientConnection
from the
+ ClientConnectionManager
.DefaultHttpResponseParser
implementation.DefaultHttpResponseParser
implementation.Throwable
that resulted or by examining the resulting
+ response (e.g.null
detail message.HttpClientConnection
whose life cycle
+ is managed by a connection manager.null
detail message.InetAddress
es the
+ given host name resolves to.null
detail message.IOException
.ConnPoolControl
AbstractConnPool
RequestConfig
.RequestConfig
.RequestConfig
.EntityUtils.consume(HttpEntity)
true
if this collection contains the specified element.HttpClientBuilder
HttpContext
in order to
+ generate an authorization string.CookieOrigin
+ object that represents the actual details of the origin server.CookieOrigin
+ object that represents the actual details of the origin server.CookieSpec
+ object that represents the actual cookie specification.CookieSpec
+ object that represents the actual cookie specification.CookieStore
+ object that represents the actual cookie store.CookieStore
+ object that represents the actual cookie store.Cookie
header such
+ that those with more specific Path attributes precede those with
+ less specific.CookieSpecs
.null
detail
+ message.Lookup
object that represents
+ the actual CookieSpecRegistry
registry.Lookup
object that represents
+ the actual CookieSpecProvider
registry.CookieSpecProvider
CookieSpecProvider
s.CookieSpecProvider
s.CookieSpec
implementations.Registry
.Cookie
+ objects.Executor.use(CookieStore)
.Resource
.AuthScheme
.CookieSpec
.StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
cacerts
file in the security properties directory).CloseableHttpClient
instance with default
+ configuration.CloseableHttpClient
instance with default
+ configuration.CloseableHttpClient
instance that uses a file system
+ bound response cache.ConnPoolByRoute.freeConnections
.DefaultHttpClient.setDefaultHttpParams(HttpParams)
RequestDefaultHeaders
+ RequestContent
+ RequestTargetHost
+ RequestClientConnControl
+ RequestUserAgent
+ RequestExpectContinue
+ RequestAddCookies
+ ResponseProcessCookies
+ RequestAuthCache
+ RequestTargetAuthentication
+ RequestProxyAuthentication
+ RequestDefaultHeaders
+ RequestContent
+ RequestTargetHost
+ RequestClientConnControl
+ RequestUserAgent
+ RequestExpectContinue
+ RequestAddCookies
+ ResponseProcessCookies
+ RequestAuthCache
+ RequestTargetAuthentication
+ RequestProxyAuthentication
+ ClientExecChain
to be used as a main exec.CloseableHttpClient
instance that uses a memory bound
+ response cache.CloseableHttpClient
instance that implements
+ the most basic HTTP protocol support.CloseableHttpClient
instance that implements
+ the most basic HTTP protocol support.ConnPoolByRoute.routeToPool
.CloseableHttpClient
instance with default
+ configuration based on system properties.CloseableHttpClient
instance with default
+ configuration based on system properties.URIBuilder
.ConnPoolByRoute.waitingThreads
.Credentials
.CredentialsProvider
+ object that represents the actual credentials provider.CredentialsProvider
+ object that represents the actual credentials provider.CloseableHttpClient
instances.CloseableHttpClient
instances.CloseableHttpClient
instances.expires
attribute.DateUtils
.HttpEntity
implementations.DecompressingEntity
.HttpClientBuilder
ConnectionBackoffStrategy
backs off either for a raw
+ network socket or connection timeout or if the server explicitly
+ sends a 503 (Service Unavailable) response.ManagedHttpClientConnectionFactory
.PoolingHttpClientConnectionManager
.CookieSpecProvider
implementation that provides an instance of
+ DefaultCookieSpec
.DefaultFailureCache.DEFAULT_MAX_SIZE
.HostnameVerifier
implementation.HttpCacheEntrySerializer
implementation that uses the default (native)
+ serialization.HttpClientBuilder
see also CloseableHttpClient
.HttpClientConnectionOperator
used as default in Http client,
+ when no instance provided by user to BasicHttpClientConnectionManager
or PoolingHttpClientConnectionManager
constructor.HttpRequestRetryHandler
used by request executors.DefaultRoutePlanner
ManagedHttpClientConnection
implementation.ProxyAuthenticationStrategy
HttpRoutePlanner
+ that routes requests through a default proxy.DefaultRedirectStrategy
.RedirectStrategy
.DefaultHttpResponseParser
HttpRoutePlanner
.SchemePortResolver
.ServiceUnavailableRetryStrategy
interface.TargetAuthenticationStrategy
UserTokenHandler
.HttpEntityWrapper
responsible for handling
+ deflate Content Coded responses.DeflateDecompressingEntity
which will wrap the specified
+ HttpEntity
.InputStreamFactory
for handling Deflate Content Coded responses.AuthSchemeProvider
implementation that creates and initializes
+ DigestScheme
instances.URIUtils.UriFlag.DROP_FRAGMENT
.URIUtils.UriFlag.DROP_FRAGMENT
and URIUtils.UriFlag.NORMALIZE
.HttpEntity
instances.close()
and EOF.EofSensorInputStream
.AsynchronousValidationRequest
.URI
.FileBody.FileBody(File, ContentType)
+ or MultipartEntityBuilder
FileBody.FileBody(File, ContentType)
+ or MultipartEntityBuilder
Resource
instances whose body is stored in a temporary file.CookieAttributeHandler
for the
+ given attribute.application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST."Cookie"
header
+ as defined in RFC 2109 for backward compatibility with cookie version 0"Cookie"
headers for an array of Cookies."Cookie"
+ header as defined in RFC 2109 for backward compatibility with cookie
+ version 0FormBodyPartBuilder
.FormBodyPart
s.FutureRequestExecutionService
.HttpRequestFutureTask
+ and schedules them using the provided executor service.Resource
from a given response body.FormBodyPartBuilder
.FormBodyPartBuilder
.FormBodyPartBuilder
.URI
s in the order they were added to the collection.stale-while-revalidate
directive.stale-while-revalidate
directive.CookieAttributeHandler
for the
+ given attribute.AuthOption
s.authentication scheme
with the given name.AuthScheme
.EntityBuilder.setBinary(byte[])
method.HttpRequest
without contacting the origin server.HttpRequest
without contacting the origin server.ChallengeState
value or null
if unchallenged.null
if no such comment has been defined.null
if no such comment has been defined.HttpClientBuilder
.ContentType
of the entity, if set.cookies
that this HTTP
+ state currently contains.cookie specification
with the given ID.cookie specification
with the given name.Credentials
.If not configured,
+ HTTP.DEFAULT_PROTOCOL_CHARSET
is used instead.Credentials
.credentials
for the given authentication scope.DEFAULT_PROXY
+ parameter value.null
+ if given domain represents a public suffix.null
+ if given domain represents a public suffix.Date
of the cookie, or null
+ if none exists.Date
of the cookie, or null
+ if none exists.File
if set using
+ EntityBuilder.setFile(java.io.File)
method.FORCED_ROUTE
+ parameter value.InetSocketAddress
.HttpCacheEntry
associated with this entry.InputStream
from which the response
+ body can be read.LOCAL_ADDRESS
+ parameter value.CacheConfig.getMaxObjectSize()
MemcachedCacheEntry
for storing the
+ given HttpCacheEntry
under the given storage key.GET
,
+ PUT
, POST
, or other.null
.null
.EntityBuilder.setParameters(java.util.List)
or
+ EntityBuilder.setParameters(org.apache.http.NameValuePair...)
methods.RequestConfig
.RequestConfig
.ProtocolVersion
from the origin
+ HttpResponse
.HttpResponse
, for example, "Not Modified".Resource
containing the origin response body.authentication
+ schemes
Serializable
if set using
+ EntityBuilder.setSerializable(java.io.Serializable)
method.Scheme.getSchemeSocketFactory()
cacerts
file in the security properties directory).cacerts
file in the security properties directory).SO_TIMEOUT
) in milliseconds,
+ which is the timeout for waiting for data or, put differently,
+ a maximum period inactivity between two consecutive data packets).cookie
+ specs
.HttpResponse
.StatusLine
from the origin
+ HttpResponse
.InputStream
if set using
+ EntityBuilder.setStream(java.io.InputStream)
method.EntityBuilder.setText(String)
method.HttpConnectionParams.getConnectionTimeout(HttpParams)
MemcachedCacheEntry
ready to accept
+ a serialized representation via MemcachedCacheEntry.set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry
.http://example.org/path/to/file
.null
if it is not.writing
.HttpEntityWrapper
for handling gzip
+ Content Coded responses.GzipDecompressingEntity
which will wrap the specified
+ HttpEntity
.InputStreamFactory
for handling GZIPContent Coded responses.ResponseHandler
HttpResponse
and returns some value
+ corresponding to that response.Resource
instances stored entirely in heap.RouteInfo
+ object that represents the actual connection route.HttpResponse
in a cache.HttpCacheEntry
with variants.HttpCacheEntry
with variants.HttpCacheEntry
.HttpCacheEntry
.HttpCacheEntry
+ fails.HttpCacheStorage
implementations to serialize
+ HttpCacheEntry
instances to a byte representation before
+ storage.HttpCacheStorage
+ interface.HttpCacheStorage
+ implementation.HttpCacheStorage
encountered an error performing an
+ update operation.CloseableHttpClient
instances.HttpContext
attributes used in the course
+ of HTTP request execution.HttpParams
. Do not use.RequestConfig
CloseableHttpClient
instances.HttpConnection
factory.ConnectException
that specifies the HttpHost
that was
+ being connected to.IOException
.MultipartEntityBuilder
.HttpUriRequest
.HttpRequest
that can be used to change properties of the current
+ request without modifying the original object.HttpClientConnectionManager
.HttpRoute
to a target host.HttpRequest
interface that provides
+ convenience methods to access request properties such as request URI
+ and method type.IDN
.IgnoreSpecProvider
.CookieSpecProvider
implementation that ignores all cookies.ThreadPoolExecutor
which is configured according to the
+ given CacheConfig
.DnsResolver
implementation.InputStream
s.AuthState.reset()
null
detail message.true
if entity is to be chunk coded, false
otherwise.true
if the actual authentication scheme is connection based.false
.false
.true
.true
.true
.application/x-www-form-urlencoded
.true
if entity is to be GZIP compressed, false
otherwise.false
if the cookie should be discarded at the end
+ of the "session"; true
otherwise.false
if the cookie should be discarded at the end
+ of the "session"; true
otherwise.true
if authenticating against a proxy, false
+ otherwise.true
if the input limit has been reached.CachingHttpClient
is configured as
+ a shared (public) or non-shared (private) cache.IDN
.Credentials
implementation based on GSSCredential for Kerberos Authentication.AuthSchemeProvider
implementation that creates and initializes
+ KerberosScheme
instances.HttpCacheStorage
interface
+ expects to use variant-annotated URLs for its storage keys, but Memcached
+ has a maximum key size, we need to support mapping storage keys to cache
+ keys.RedirectStrategy
implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests.ConnectionSocketFactory
interface for layered sockets such as SSL/TLS.SchemeLayeredSocketFactory
SchemeSocketFactory
tunnelled
+ connection.null
detail message.null
detail message.HttpClientConnectionManager
.HttpCacheStorage
implementation capable of deallocating resources associated with
+ the cache entries.ManagedHttpClientConnection
instances.DefaultHttpResponseParser
implementationHttpCacheEntry
objects into byte arrays suitable for
+ storage in memcached.MemcachedCacheEntry
instances that can be used for
+ serializing and deserializing HttpCacheEntry
instances for
+ storage in memcached.MemcachedCacheEntryFactory
.MemcachedCacheEntry
.SchemeSocketFactory
interface.MultipartEntityBuilder
.HttpMultipartMode
mode.HttpMultipartMode.STRICT
HttpEntity
s.SPNegoScheme
or KerberosScheme
.SPNegoSchemeFactory
or KerberosSchemeFactory
.CookieSpec
implementation conforms to
+ the original draft specification published by Netscape Communications.NetscapeDraftSpecProvider
.CookieSpecProvider
implementation that provides an instance of
+ NetscapeDraftSpec
.AuthScheme
using given HTTP parameters.CookieSpec
using given HTTP parameters.null
detail message.UserTokenHandler
that always returns null
.URIUtils.UriFlag.NORMALIZE
.Credentials
implementation for Microsoft Windows platforms that includes
+ Windows specific attributes such as name of the domain the user belongs to.String
, char[]
in 5.0AuthSchemeProvider
implementation that creates and initializes
+ NTLMScheme
instances configured to use the default NTLMEngine
+ implementation.ConnectionBackoffStrategy
that never backs off,
+ for compatibility with existing behavior.HttpClientConnectionManager
.CachingHttpClient
or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not).CachingHttpClient
and
+used for storing cache entries.CachingHttpClient
and
+used for storing cache entries.null
.NameValuePair
s URI query parameters.NameValuePairs
as parsed from an HttpEntity
.NameValuePair
s URI query parameters.NameValuePairs
as parsed from the given string using the given character
+ encoding.NameValuePair
s parameters.Cookie
property."Set-Cookie"
Header into an array of Cookies.Cookie
s.asctime()
format.asctime()
format.PlainConnectionSocketFactory
DnsResolver
Future
PoolingHttpClientConnectionManager
.ClientConnectionPoolManager
maintains a pool of
+ HttpClientConnection
s and is able to service connection requests
+ from multiple execution threads.KeyHashingScheme
decorator that simply adds
+ a known prefix to the results of another KeyHashingScheme
.KeyHashingScheme
that prepends the given
+ prefix to the results of hashes from the given backing scheme.PrivateKeyDetails
.PrivateKeyStrategy
.AuthScheme
s when authenticating with the
+ proxy host.AuthState
+ object that represents the actual proxy authentication state.AuthState
+ object that represents the actual proxy authentication state.AuthenticationStrategy
implementation
+ for proxy host authentication.null
for system default.SystemDefaultRoutePlanner
CookieAttributeHandler
and leverages its match method
+ to never match a suffix from a black list.PublicSuffixDomainFilter
PublicSuffixListParser
.PublicSuffixMatcher
loader.IDN
.InputStream
.List
object that represents a collection of all
+ redirect locations received in the process of request execution.HttpClientContext.REDIRECT_LOCATIONS
.null
detail message.RedirectStrategy
URI
s used
+ as redirect locations.AuthSchemeFactory
with the given identifier.CookieSpecFactory
with the given identifier.AbstractCookieSpec.AbstractCookieSpec(java.util.HashMap)
or
+ AbstractCookieSpec.AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
+ constructors instead.close()
.RequestConfig
object that
+ represents the actual request configuration.RequestConfig
object that
+ represents the actual request configuration.CookieStore
to the request being executed and generates
+ corresponding Cookie
request headers.AuthScheme
instance in the local
+ AuthCache
associated with the given target or proxy host.HttpUriRequest
instances.Connection
+ or Proxy-Connection
headers to the outgoing requests, which
+ is essential for managing persistence of HTTP/1.0
connections.ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.ConnectionRequest
, from which a
+ HttpClientConnection
can be obtained or the request can be
+ aborted.Expect
header.null
.PoolEntryRequest
, from which a BasicPoolEntry
+ can be obtained, or the request can be aborted.HttpAuthenticator
.HttpAuthenticator
.Resource
instances for handling cached
+ HTTP response bodies.AuthenticationStrategy
HttpResponseInterceptor
responsible for processing Content-Encoding
+ responses.gzip
and deflate
compressed entities by using the following
+ decoders:
+
+ gzip - see GZIPInputStream
+ deflate - see DeflateInputStream
+ HttpResponse
.CookieStore
with data
+ contained in response cookies received in the given the HTTP response.retryCount
and requestSentRetryEnabled
to determine
+ if the given method should be retried.URIUtils.rewriteURI(URI, HttpHost, EnumSet)
URI
whose scheme, host
+ and port are taken from the target host, but whose path, query and
+ fragment are taken from the existing URI.URIUtils.rewriteURI(URI, HttpHost, EnumSet)
that always keeps the
+ fragment.URI
whose scheme, host, port, path,
+ query are taken from the existing URI, dropping any fragment or user-information.URI
either
+ to a relative or an absolute form as required by the specified route.URI
either
+ to a relative or an absolute form as required by the specified route.CookieSpec
implementation.RFC2109SpecProvider
.CookieSpecProvider
implementation that provides an instance of
+ RFC2109Spec
."CommentURL"
cookie attribute handler for RFC 2965 cookie spec."Discard"
cookie attribute handler for RFC 2965 cookie spec."Domain"
cookie attribute handler for RFC 2965 cookie spec."Port"
cookie attribute handler for RFC 2965 cookie spec.CookieSpec
implementation.RFC2965SpecProvider
.CookieSpecProvider
implementation that provides an instance of
+ RFC2965Spec
."Version"
cookie attribute handler for RFC 2965 cookie spec.IDN
.CookieSpecProvider
implementation that provides an instance of
+ RFC 6265 conformant cookie policy.CookieSpec
implementation that enforces a more relaxed
+ interpretation of the HTTP state management specification (RFC 6265, section 5)
+ for interoperability with existing servers that do not conform to the well behaved profile
+ (RFC 6265, section 4).CookieSpec
implementation that enforces syntax
+ and semantics of the well-behaved profile of the HTTP state management specification
+ (RFC 6265, section 4).RouteInfo
+ object that represents the actual connection route.AbstractConnPool
AsynchronousValidationRequest
to be executed.SchemePortResolver
for default port
+ resolution and Registry
for socket factory lookups.Scheme
+ object that represents the actual protocol scheme registry.LayeredConnectionSocketFactory
Registry
HttpClientBuilder
.ConnectionSocketFactory
AuthOption
instance capable of
+ processing that challenge.AuthScheme
instance capable of
+ processing that challenge.MemcachedCacheEntry
,
+ attempt to reconstitute the storage key and HttpCacheEntry
+ represented therein.CacheConfig.Builder
.stale-while-revalidate
directive.CacheConfig.Builder
.stale-while-revalidate
directive.CacheConfig.Builder
.BackoffManager
instance.Cancellable
for the ongoing operation.ConnectionBackoffStrategy
instance.HttpClientConnectionManager
instance.ClientPNames.CONN_MANAGER_TIMEOUT
.ClientConnectionRequest
+ callback that can be used to abort a long-lived request for a connection.ConnectionReuseStrategy
instance.InputStreamFactory
s
+ to be used for automatic content decompression.ContentType
of the entity.Set-Cookie
response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state.Set-Cookie2
response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state.Credentials
.credentials
for the given authentication
+ scope.RequestConfig.Builder.setContentCompressionEnabled(boolean)
to false
and
+ add the Accept-Encoding
request header.AuthScheme
registry which will
+ be used for request execution if not explicitly set in the client execution
+ context.ConnectionConfig
.CookieSpec
registry which will
+ be used for request execution if not explicitly set in the client execution
+ context.CookieStore
instance which will be used for
+ request execution if not explicitly set in the client execution context.CredentialsProvider
instance which will be used
+ for request execution if not explicitly set in the client execution
+ context.DEFAULT_PROXY
+ parameter value.RequestConfig
instance which will be used
+ for request execution if not explicitly set in the client execution
+ context.SocketConfig
.DnsResolver
instance.File
.FORCED_ROUTE
+ parameter value.CacheConfig.Builder
.CacheConfig.Builder
.CacheConfig.Builder
.HttpProcessor
instance.authentication schemes
+ with the content of the map passed as a parameter.protocol schemes
+ with the content of the map passed as a parameter.cookie
+ specs
with the content of the map passed as a parameter.ConnectionKeepAliveStrategy
instance.LOCAL_ADDRESS
+ parameter value.CacheConfig.Builder
.CacheConfig.Builder
.CacheConfig.Builder
.DefaultHttpResponseParser
implementationCacheConfig.Builder
.AuthenticationStrategy
instance for proxy
+ authentication.RedirectStrategy
instance.ConnectionReleaseTrigger
callback that can
+ be used to abort an active connection.HttpRequestExecutor
instance.HttpRequestRetryHandler
instance.CacheConfig.Builder
.HttpRoutePlanner
instance.SchemePortResolver
instance.Serializable
.ServiceUnavailableRetryStrategy
instance.CacheConfig.Builder
.SSLContext
instance.HostnameVerifier
instance.LayeredConnectionSocketFactory
instance.InputStream
.AuthenticationStrategy
instance for target
+ host authentication.HttpConnectionParams.setConnectionTimeout(HttpParams, int)
User-Agent
value.UserTokenHandler
instance.leased
to the consumer.KeyHashingScheme
based on the
+ SHA-256
+ algorithm.Throwable
as
+ a result of request execution should result in a backoff
+ signal.HttpResponse
as
+ a result of request execution should result in a backoff
+ signal.Cookie
request header.BasicClientConnectionManager
SchemeSocketFactory
AuthSchemeProvider
implementation that creates and initializes
+ SPNegoScheme
instances.KerberosScheme
and override
+ GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials)
SSLContextBuilder
.SSLContexts
.SSLConnectionSocketFactory
.HttpRequestRetryHandler
which assumes
+ that all requested HTTP methods which should be idempotent according
+ to RFC-2616 are in fact idempotent and can be retried.stream
is aborted.stream
is closed.DefaultHostnameVerifier
StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
StringBody.StringBody(String, ContentType)
+ or MultipartEntityBuilder
CachingHttpClient
implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range
headers.CachingHttpClient
implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range
headers.CredentialsProvider
backed by standard
+ JRE Authenticator
.HttpClientBuilder
HttpRoutePlanner
implementation
+ based on ProxySelector
.AuthScheme
s when authenticating with
+ the target host.AuthState
+ object that represents the actual target authentication state.AuthState
+ object that represents the actual target authentication state.AuthenticationStrategy
implementation
+ for proxy host authentication.PoolingHttpClientConnectionManager
ManagedClientConnection
from the
+ ClientConnectionManager
.null
before tracking starts.authentication scheme
with
+ the given name.CookieSpecFactory
with the given ID.null
detail message.AuthScheme
and Credentials
.AuthOption
s.CONNECT
method to all
+ intermediate proxy hopsURI
instances.URIs
, to workaround
+ bugs within the class or for ease-of-use features.UrlEncodedFormEntity
with the list
+ of parameters in the specified encoding.UrlEncodedFormEntity
with the list
+ of parameters in the specified encoding.UrlEncodedFormEntity
with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET
UrlEncodedFormEntity
with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET
Credentials
implementation based on a user name / password
+ pair.String
, char[]
in 5.0SSLSocket
.X509Certificate
.Host
+ request header instead of the physical host.CredentialsProvider
implementation that always returns
+ CurrentWindowsCredentials
instance to NTLM
+ and SPNego authentication challenges.AuthSchemeProvider
implementation that creates and initializes
+ WindowsNegotiateScheme
using JNA to Negotiate credentialsAuthSchemeProvider
implementation that creates and initializes
+ WindowsNegotiateScheme
using JNA to implement NTLMCloseableHttpClient
instances configured to use integrated
+ Windows authentication by default.OutputStream
.HostnameVerifier
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/index.html b/Notes-master/NewMiNote/app/libs/javadoc/index.html new file mode 100644 index 0000000..f00ddee --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + + +public final class AUTH +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+PROXY_AUTH
+The proxy authenticate challange header.
+ |
+
static String |
+PROXY_AUTH_RESP
+The proxy authenticate response header.
+ |
+
static String |
+WWW_AUTH
+The www authenticate challange header.
+ |
+
static String |
+WWW_AUTH_RESP
+The www authenticate response header.
+ |
+
public static final String WWW_AUTH+
public static final String WWW_AUTH_RESP+
public static final String PROXY_AUTH+
public static final String PROXY_AUTH_RESP+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthOption.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthOption.html new file mode 100644 index 0000000..315d2bd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthOption.html @@ -0,0 +1,293 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class AuthOption +extends Object+
Constructor and Description | +
---|
AuthOption(AuthScheme authScheme,
+ Credentials creds) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+getAuthScheme() |
+
Credentials |
+getCredentials() |
+
String |
+toString() |
+
public AuthOption(AuthScheme authScheme, + Credentials creds)+
public AuthScheme getAuthScheme()+
public Credentials getCredentials()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthProtocolState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthProtocolState.html new file mode 100644 index 0000000..e6863be --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthProtocolState.html @@ -0,0 +1,357 @@ + + + + + + +public enum AuthProtocolState +extends Enum<AuthProtocolState>+
Enum Constant and Description | +
---|
CHALLENGED |
+
FAILURE |
+
HANDSHAKE |
+
SUCCESS |
+
UNCHALLENGED |
+
Modifier and Type | +Method and Description | +
---|---|
static AuthProtocolState |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AuthProtocolState[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AuthProtocolState UNCHALLENGED+
public static final AuthProtocolState CHALLENGED+
public static final AuthProtocolState HANDSHAKE+
public static final AuthProtocolState FAILURE+
public static final AuthProtocolState SUCCESS+
public static AuthProtocolState[] values()+
+for (AuthProtocolState c : AuthProtocolState.values()) + System.out.println(c); +
public static AuthProtocolState valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScheme.html new file mode 100644 index 0000000..0f0526a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScheme.html @@ -0,0 +1,371 @@ + + + + + + +public interface AuthScheme
++ An authentication scheme should be able to support the following + functions: +
+ Authentication schemes may be stateful involving a series of + challenge-response exchanges. +
+ IMPORTANT: implementations of this interface MUST also implement ContextAwareAuthScheme
+ interface in order to remain API compatible with newer versions of HttpClient.
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
String |
+getParameter(String name)
+Returns authentication parameter with the given name, if available.
+ |
+
String |
+getRealm()
+Returns authentication realm.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the given authentication scheme.
+ |
+
boolean |
+isComplete()
+Authentication process may involve a series of challenge-response exchanges.
+ |
+
boolean |
+isConnectionBased()
+Tests if the authentication scheme is provides authorization on a per
+ connection basis instead of usual per request basis
+ |
+
void |
+processChallenge(org.apache.http.Header header)
+Processes the given challenge token.
+ |
+
void processChallenge(org.apache.http.Header header) + throws MalformedChallengeException+
header
- the challenge headerMalformedChallengeException
String getSchemeName()+
String getParameter(String name)+
name
- The name of the parameter to be returnedString getRealm()+
null
.boolean isConnectionBased()+
true
if the scheme is connection based, false
+ if the scheme is request based.boolean isComplete()+
true
if the authentication process has been completed,
+ false
otherwise.@Deprecated +org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
ContextAwareAuthScheme.authenticate(Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failureCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeFactory.html new file mode 100644 index 0000000..0fc1bcb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeFactory.html @@ -0,0 +1,226 @@ + + + + + + +AuthSchemeProvider
@Deprecated +public interface AuthSchemeFactory+
AuthScheme
implementations.Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthScheme
using given HTTP parameters.params
- HTTP parameters.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeProvider.html new file mode 100644 index 0000000..613b70e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeProvider.html @@ -0,0 +1,219 @@ + + + + + + +public interface AuthSchemeProvider
+AuthScheme
implementations.Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthScheme
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeRegistry.html new file mode 100644 index 0000000..6c77edf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthSchemeRegistry.html @@ -0,0 +1,399 @@ + + + + + + +Registry
@Contract(threading=SAFE) +@Deprecated +public final class AuthSchemeRegistry +extends Object +implements org.apache.http.config.Lookup<AuthSchemeProvider>+
Constructor and Description | +
---|
AuthSchemeRegistry()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+getAuthScheme(String name,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Gets the
+authentication scheme with the given name. |
+
List<String> |
+getSchemeNames()
+Deprecated.
+Obtains a list containing the names of all registered
+authentication
+ schemes |
+
AuthSchemeProvider |
+lookup(String name)
+Deprecated.
+ |
+
void |
+register(String name,
+ AuthSchemeFactory factory)
+Deprecated.
+Registers a
+AuthSchemeFactory with the given identifier. |
+
void |
+setItems(Map<String,AuthSchemeFactory> map)
+Deprecated.
+Populates the internal collection of registered
+authentication schemes
+ with the content of the map passed as a parameter. |
+
void |
+unregister(String name)
+Deprecated.
+Unregisters the class implementing an
+authentication scheme with
+ the given name. |
+
public AuthSchemeRegistry()+
public void register(String name, + AuthSchemeFactory factory)+
AuthSchemeFactory
with the given identifier. If a factory with the
+ given name already exists it will be overridden. This name is the same one used to
+ retrieve the authentication scheme
from getAuthScheme(java.lang.String, org.apache.http.params.HttpParams)
.
+
+
+ Please note that custom authentication preferences, if used, need to be updated accordingly
+ for the new authentication scheme
to take effect.
+
name
- the identifier for this schemefactory
- the AuthSchemeFactory
class to registergetAuthScheme(java.lang.String, org.apache.http.params.HttpParams)
public void unregister(String name)+
authentication scheme
with
+ the given name.name
- the identifier of the class to unregisterpublic AuthScheme getAuthScheme(String name, + org.apache.http.params.HttpParams params) + throws IllegalStateException+
authentication scheme
with the given name.name
- the authentication scheme
identifierparams
- the HTTP parameters
for the authentication
+ scheme.authentication scheme
IllegalStateException
- if a scheme with the given name cannot be foundpublic List<String> getSchemeNames()+
authentication
+ schemes
public void setItems(Map<String,AuthSchemeFactory> map)+
authentication schemes
+ with the content of the map passed as a parameter.map
- authentication schemespublic AuthSchemeProvider lookup(String name)+
lookup
in interface org.apache.http.config.Lookup<AuthSchemeProvider>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScope.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScope.html new file mode 100644 index 0000000..ee63c75 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthScope.html @@ -0,0 +1,616 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class AuthScope +extends Object+
AuthScope
represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name.
+ + This class can also optionally contain a host of origin, if created in response + to authentication challenge from a specific host. +
Modifier and Type | +Field and Description | +
---|---|
static AuthScope |
+ANY
+Default scope matching any host, port, realm and authentication scheme.
+ |
+
static String |
+ANY_HOST
+The
+null value represents any host. |
+
static int |
+ANY_PORT
+The
+-1 value represents any port. |
+
static String |
+ANY_REALM
+The
+null value represents any realm. |
+
static String |
+ANY_SCHEME
+The
+null value represents any authentication scheme. |
+
Constructor and Description | +
---|
AuthScope(AuthScope authscope)
+Creates a copy of the given credentials scope.
+ |
+
AuthScope(org.apache.http.HttpHost origin)
+Defines auth scope for a specific host of origin.
+ |
+
AuthScope(org.apache.http.HttpHost origin,
+ String realm,
+ String schemeName)
+Defines auth scope for a specific host of origin.
+ |
+
AuthScope(String host,
+ int port)
+Defines auth scope with the given
+host and port . |
+
AuthScope(String host,
+ int port,
+ String realm)
+Defines auth scope with the given
+host , port and realm . |
+
AuthScope(String host,
+ int port,
+ String realm,
+ String schemeName)
+Defines auth scope with the given
+host , port , realm , and
+ schemeName . |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
String |
+getHost() |
+
org.apache.http.HttpHost |
+getOrigin() |
+
int |
+getPort() |
+
String |
+getRealm() |
+
String |
+getScheme() |
+
int |
+hashCode() |
+
int |
+match(AuthScope that)
+Tests if the authentication scopes match.
+ |
+
String |
+toString() |
+
public static final String ANY_HOST+
null
value represents any host. In the future versions of
+ HttpClient the use of this parameter will be discontinued.public static final int ANY_PORT+
-1
value represents any port.public static final String ANY_REALM+
null
value represents any realm.public static final String ANY_SCHEME+
null
value represents any authentication scheme.public static final AuthScope ANY+
public AuthScope(String host, + int port, + String realm, + String schemeName)+
host
, port
, realm
, and
+ schemeName
.host
- authentication host. May be ANY_HOST
if applies
+ to any host.port
- authentication port. May be ANY_PORT
if applies
+ to any port of the host.realm
- authentication realm. May be ANY_REALM
if applies
+ to any realm on the host.schemeName
- authentication scheme. May be ANY_SCHEME
if applies
+ to any scheme supported by the host.public AuthScope(org.apache.http.HttpHost origin, + String realm, + String schemeName)+
origin
- host of originrealm
- authentication realm. May be ANY_REALM
if applies
+ to any realm on the host.schemeName
- authentication scheme. May be ANY_SCHEME
if applies
+ to any scheme supported by the host.public AuthScope(org.apache.http.HttpHost origin)+
origin
- host of originpublic AuthScope(String host, + int port, + String realm)+
host
, port
and realm
.public AuthScope(String host, + int port)+
host
and port
.public AuthScope(AuthScope authscope)+
public org.apache.http.HttpHost getOrigin()+
public String getHost()+
public int getPort()+
public String getRealm()+
public String getScheme()+
public int match(AuthScope that)+
public boolean equals(Object o)+
equals
in class Object
Object.equals(Object)
public String toString()+
toString
in class Object
Object.toString()
public int hashCode()+
hashCode
in class Object
Object.hashCode()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthState.html new file mode 100644 index 0000000..d59aa23 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthState.html @@ -0,0 +1,562 @@ + + + + + + +public class AuthState +extends Object+
Modifier and Type | +Method and Description | +
---|---|
Queue<AuthOption> |
+getAuthOptions()
+Returns available
+AuthOption s. |
+
AuthScheme |
+getAuthScheme()
+Returns actual
+AuthScheme . |
+
AuthScope |
+getAuthScope()
+Deprecated.
+
+(4.2) do not use.
+ |
+
Credentials |
+getCredentials()
+Returns actual
+Credentials . |
+
AuthProtocolState |
+getState() |
+
boolean |
+hasAuthOptions()
+
+ |
+
void |
+invalidate()
+Deprecated.
+
+(4.2) use
+reset() |
+
boolean |
+isConnectionBased()
+Returns
+true if the actual authentication scheme is connection based. |
+
boolean |
+isValid()
+Deprecated.
+
+(4.2) do not use
+ |
+
void |
+reset()
+Resets the auth state.
+ |
+
void |
+setAuthScheme(AuthScheme authScheme)
+Deprecated.
+
+(4.2) use
+update(AuthScheme, Credentials) |
+
void |
+setAuthScope(AuthScope authScope)
+Deprecated.
+
+(4.2) do not use.
+ |
+
void |
+setCredentials(Credentials credentials)
+Deprecated.
+
+(4.2) use
+update(AuthScheme, Credentials) |
+
void |
+setState(AuthProtocolState state) |
+
String |
+toString() |
+
void |
+update(AuthScheme authScheme,
+ Credentials credentials)
+Updates the auth state with
+AuthScheme and Credentials . |
+
void |
+update(Queue<AuthOption> authOptions)
+Updates the auth state with a queue of
+AuthOption s. |
+
public void reset()+
public AuthProtocolState getState()+
public void setState(AuthProtocolState state)+
public AuthScheme getAuthScheme()+
AuthScheme
. May be null.public Credentials getCredentials()+
Credentials
. May be null.public void update(AuthScheme authScheme, + Credentials credentials)+
AuthScheme
and Credentials
.authScheme
- auth scheme. May not be null.credentials
- user crednetials. May not be null.public Queue<AuthOption> getAuthOptions()+
AuthOption
s. May be null.public boolean hasAuthOptions()+ +
public boolean isConnectionBased()+
true
if the actual authentication scheme is connection based.public void update(Queue<AuthOption> authOptions)+
AuthOption
s.authOptions
- a queue of auth options. May not be null or empty.@Deprecated +public void invalidate()+
reset()
@Deprecated +public boolean isValid()+
@Deprecated +public void setAuthScheme(AuthScheme authScheme)+
update(AuthScheme, Credentials)
authentication scheme
.authScheme
- the authentication scheme
@Deprecated +public void setCredentials(Credentials credentials)+
update(AuthScheme, Credentials)
Credentials
to be used for authenticationcredentials
- User credentials@Deprecated +public AuthScope getAuthScope()+
AuthScope
if availablenull
otherwise@Deprecated +public void setAuthScope(AuthScope authScope)+
AuthScope
.authScope
- Authentication scopeCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthenticationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthenticationException.html new file mode 100644 index 0000000..36e8b34 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/AuthenticationException.html @@ -0,0 +1,307 @@ + + + + + + +public class AuthenticationException
+extends org.apache.http.ProtocolException
+Constructor and Description | +
---|
AuthenticationException()
+Creates a new AuthenticationException with a
+null detail message. |
+
AuthenticationException(String message)
+Creates a new AuthenticationException with the specified message.
+ |
+
AuthenticationException(String message,
+ Throwable cause)
+Creates a new AuthenticationException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthenticationException()+
null
detail message.public AuthenticationException(String message)+
message
- the exception detail messagepublic AuthenticationException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/BasicUserPrincipal.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/BasicUserPrincipal.html new file mode 100644 index 0000000..7d855e3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/BasicUserPrincipal.html @@ -0,0 +1,329 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class BasicUserPrincipal +extends Object +implements Principal, Serializable+
Constructor and Description | +
---|
BasicUserPrincipal(String username) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ChallengeState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ChallengeState.html new file mode 100644 index 0000000..107a017 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ChallengeState.html @@ -0,0 +1,324 @@ + + + + + + +public enum ChallengeState +extends Enum<ChallengeState>+
Enum Constant and Description | +
---|
PROXY |
+
TARGET |
+
Modifier and Type | +Method and Description | +
---|---|
static ChallengeState |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static ChallengeState[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final ChallengeState TARGET+
public static final ChallengeState PROXY+
public static ChallengeState[] values()+
+for (ChallengeState c : ChallengeState.values()) + System.out.println(c); +
public static ChallengeState valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ContextAwareAuthScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ContextAwareAuthScheme.html new file mode 100644 index 0000000..34442f4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/ContextAwareAuthScheme.html @@ -0,0 +1,246 @@ + + + + + + +public interface ContextAwareAuthScheme +extends AuthScheme+
HttpContext
in order to
+ generate an authorization string.
+
+ TODO: Fix AuthScheme interface in the next major versionModifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallenge
org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failureCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/Credentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/Credentials.html new file mode 100644 index 0000000..505c389 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/Credentials.html @@ -0,0 +1,230 @@ + + + + + + +public interface Credentials
+Modifier and Type | +Method and Description | +
---|---|
String |
+getPassword() |
+
Principal |
+getUserPrincipal() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/InvalidCredentialsException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/InvalidCredentialsException.html new file mode 100644 index 0000000..46c1a4e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/InvalidCredentialsException.html @@ -0,0 +1,309 @@ + + + + + + +public class InvalidCredentialsException +extends AuthenticationException+
Constructor and Description | +
---|
InvalidCredentialsException()
+Creates a new InvalidCredentialsException with a
+null detail message. |
+
InvalidCredentialsException(String message)
+Creates a new InvalidCredentialsException with the specified message.
+ |
+
InvalidCredentialsException(String message,
+ Throwable cause)
+Creates a new InvalidCredentialsException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCredentialsException()+
null
detail message.public InvalidCredentialsException(String message)+
message
- the exception detail messagepublic InvalidCredentialsException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/KerberosCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/KerberosCredentials.html new file mode 100644 index 0000000..6dff62d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/KerberosCredentials.html @@ -0,0 +1,306 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class KerberosCredentials +extends Object +implements Credentials, Serializable+
Credentials
implementation based on GSSCredential for Kerberos Authentication.Constructor and Description | +
---|
KerberosCredentials(GSSCredential gssCredential)
+Constructor with GSSCredential argument
+ |
+
Modifier and Type | +Method and Description | +
---|---|
GSSCredential |
+getGSSCredential() |
+
String |
+getPassword() |
+
Principal |
+getUserPrincipal() |
+
public KerberosCredentials(GSSCredential gssCredential)+
gssCredential
- public GSSCredential getGSSCredential()+
public Principal getUserPrincipal()+
getUserPrincipal
in interface Credentials
public String getPassword()+
getPassword
in interface Credentials
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/MalformedChallengeException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/MalformedChallengeException.html new file mode 100644 index 0000000..7c2cacb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/MalformedChallengeException.html @@ -0,0 +1,304 @@ + + + + + + +public class MalformedChallengeException
+extends org.apache.http.ProtocolException
+Constructor and Description | +
---|
MalformedChallengeException()
+Creates a new MalformedChallengeException with a
+null detail message. |
+
MalformedChallengeException(String message)
+Creates a new MalformedChallengeException with the specified message.
+ |
+
MalformedChallengeException(String message,
+ Throwable cause)
+Creates a new MalformedChallengeException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MalformedChallengeException()+
null
detail message.public MalformedChallengeException(String message)+
message
- the exception detail messagepublic MalformedChallengeException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTCredentials.html new file mode 100644 index 0000000..b30e046 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTCredentials.html @@ -0,0 +1,421 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NTCredentials +extends Object +implements Credentials, Serializable+
Credentials
implementation for Microsoft Windows platforms that includes
+ Windows specific attributes such as name of the domain the user belongs to.Constructor and Description | +
---|
NTCredentials(String usernamePassword)
+Deprecated.
+
+(4.5) will be replaced with
+String , char[] in 5.0 |
+
NTCredentials(String userName,
+ String password,
+ String workstation,
+ String domain)
+Constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
String |
+getDomain()
+Retrieves the name to authenticate with.
+ |
+
String |
+getPassword() |
+
String |
+getUserName() |
+
Principal |
+getUserPrincipal() |
+
String |
+getWorkstation()
+Retrieves the workstation name of the computer originating the request.
+ |
+
int |
+hashCode() |
+
String |
+toString() |
+
@Deprecated +public NTCredentials(String usernamePassword)+
String
, char[]
in 5.0usernamePassword
- the domain/username:password formed stringpublic NTCredentials(String userName, + String password, + String workstation, + String domain)+
userName
- The user name. This should not include the domain to authenticate with.
+ For example: "user" is correct whereas "DOMAIN\user" is not.password
- The password.workstation
- The workstation the authentication request is originating from.
+ Essentially, the computer name for this machine.domain
- The domain to authenticate within.public Principal getUserPrincipal()+
getUserPrincipal
in interface Credentials
public String getUserName()+
public String getPassword()+
getPassword
in interface Credentials
public String getDomain()+
public String getWorkstation()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTUserPrincipal.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTUserPrincipal.html new file mode 100644 index 0000000..1af2a3d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/NTUserPrincipal.html @@ -0,0 +1,357 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NTUserPrincipal +extends Object +implements Principal, Serializable+
Constructor and Description | +
---|
NTUserPrincipal(String domain,
+ String username) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/UsernamePasswordCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/UsernamePasswordCredentials.html new file mode 100644 index 0000000..697abca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/UsernamePasswordCredentials.html @@ -0,0 +1,380 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class UsernamePasswordCredentials +extends Object +implements Credentials, Serializable+
Credentials
implementation based on a user name / password
+ pair.Constructor and Description | +
---|
UsernamePasswordCredentials(String usernamePassword)
+Deprecated.
+
+(4.5) will be replaced with
+String , char[] in 5.0 |
+
UsernamePasswordCredentials(String userName,
+ String password)
+The constructor with the username and password arguments.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
String |
+getPassword() |
+
String |
+getUserName() |
+
Principal |
+getUserPrincipal() |
+
int |
+hashCode() |
+
String |
+toString() |
+
@Deprecated +public UsernamePasswordCredentials(String usernamePassword)+
String
, char[]
in 5.0usernamePassword
- the username:password formed stringtoString()
public Principal getUserPrincipal()+
getUserPrincipal
in interface Credentials
public String getUserName()+
public String getPassword()+
getPassword
in interface Credentials
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AUTH.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AUTH.html new file mode 100644 index 0000000..a63e6e6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AUTH.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthOption.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthOption.html new file mode 100644 index 0000000..73675f1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthOption.html @@ -0,0 +1,207 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Queue<AuthOption> |
+AuthState.getAuthOptions()
+Returns available
+AuthOption s. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthState.update(Queue<AuthOption> authOptions)
+Updates the auth state with a queue of
+AuthOption s. |
+
Modifier and Type | +Method and Description | +
---|---|
Queue<AuthOption> |
+AuthenticationStrategy.select(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthOption instance capable of
+ processing that challenge. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthProtocolState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthProtocolState.html new file mode 100644 index 0000000..eedd783 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthProtocolState.html @@ -0,0 +1,185 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthProtocolState |
+AuthState.getState() |
+
static AuthProtocolState |
+AuthProtocolState.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AuthProtocolState[] |
+AuthProtocolState.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthState.setState(AuthProtocolState state) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScheme.html new file mode 100644 index 0000000..4d76f23 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScheme.html @@ -0,0 +1,528 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ContextAwareAuthScheme
+This interface represents an extended authentication scheme
+ that requires access to
+HttpContext in order to
+ generate an authorization string. |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+AuthSchemeProvider.create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
AuthScheme |
+AuthState.getAuthScheme()
+Returns actual
+AuthScheme . |
+
AuthScheme |
+AuthOption.getAuthScheme() |
+
AuthScheme |
+AuthSchemeRegistry.getAuthScheme(String name,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Gets the
+authentication scheme with the given name. |
+
AuthScheme |
+AuthSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthState.setAuthScheme(AuthScheme authScheme)
+Deprecated.
+
+
+ |
+
void |
+AuthState.update(AuthScheme authScheme,
+ Credentials credentials)
+Updates the auth state with
+AuthScheme and Credentials . |
+
Constructor and Description | +
---|
AuthOption(AuthScheme authScheme,
+ Credentials creds) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+AuthCache.get(org.apache.http.HttpHost host) |
+
AuthScheme |
+AuthenticationHandler.selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthScheme instance capable of
+ processing that challenge. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthenticationStrategy.authFailed(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of unsuccessful authentication.
+ |
+
void |
+AuthenticationStrategy.authSucceeded(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of successful authentication.
+ |
+
void |
+AuthCache.put(org.apache.http.HttpHost host,
+ AuthScheme authScheme) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AuthSchemeBase
+Abstract authentication scheme class that serves as a basis
+ for all authentication schemes supported by HttpClient.
+ |
+
class |
+BasicScheme
+Basic authentication scheme as defined in RFC 2617.
+ |
+
class |
+DigestScheme
+Digest authentication scheme as defined in RFC 2617.
+ |
+
class |
+GGSSchemeBase |
+
class |
+KerberosScheme
+KERBEROS authentication scheme.
+ |
+
class |
+NegotiateScheme
+Deprecated.
+
+(4.2) use
+SPNegoScheme or KerberosScheme . |
+
class |
+NTLMScheme
+NTLM is a proprietary authentication scheme developed by Microsoft
+ and optimized for Windows platforms.
+ |
+
class |
+RFC2617Scheme
+Abstract authentication scheme class that lays foundation for all
+ RFC 2617 compliant authentication schemes and provides capabilities common
+ to all authentication schemes defined in RFC 2617.
+ |
+
class |
+SPNegoScheme
+SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
+ scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+KerberosSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+BasicSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+SPNegoSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+NTLMSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+DigestSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+KerberosSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
+
AuthScheme |
+BasicSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
+
AuthScheme |
+SPNegoSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
+
AuthScheme |
+NTLMSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
+
AuthScheme |
+DigestSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
+
AuthScheme |
+NegotiateSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+WindowsNegotiateScheme
+Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+WindowsNegotiateSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
AuthScheme |
+WindowsNTLMSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+BasicAuthCache.get(org.apache.http.HttpHost host) |
+
AuthScheme |
+AbstractAuthenticationHandler.selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicAuthCache.put(org.apache.http.HttpHost host,
+ AuthScheme authScheme) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeFactory.html new file mode 100644 index 0000000..5fa6ddc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeFactory.html @@ -0,0 +1,245 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthSchemeRegistry.register(String name,
+ AuthSchemeFactory factory)
+Deprecated.
+Registers a
+AuthSchemeFactory with the given identifier. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthSchemeRegistry.setItems(Map<String,AuthSchemeFactory> map)
+Deprecated.
+Populates the internal collection of registered
+authentication schemes
+ with the content of the map passed as a parameter. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ BasicScheme instances. |
+
class |
+DigestSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ DigestScheme instances. |
+
class |
+KerberosSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ KerberosScheme instances. |
+
class |
+NegotiateSchemeFactory
+Deprecated.
+
+(4.2) use
+SPNegoSchemeFactory or KerberosSchemeFactory . |
+
class |
+NTLMSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ NTLMScheme instances configured to use the default NTLMEngine
+ implementation. |
+
class |
+SPNegoSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ SPNegoScheme instances. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeProvider.html new file mode 100644 index 0000000..2386b77 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeProvider.html @@ -0,0 +1,317 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthSchemeProvider |
+AuthSchemeRegistry.lookup(String name)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.config.Lookup<AuthSchemeProvider> |
+HttpClientContext.getAuthSchemeRegistry() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> lookup) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ BasicScheme instances. |
+
class |
+DigestSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ DigestScheme instances. |
+
class |
+KerberosSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ KerberosScheme instances. |
+
class |
+NTLMSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ NTLMScheme instances configured to use the default NTLMEngine
+ implementation. |
+
class |
+SPNegoSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ SPNegoScheme instances. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+WindowsNegotiateSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ WindowsNegotiateScheme using JNA to Negotiate credentials |
+
class |
+WindowsNTLMSchemeFactory
+AuthSchemeProvider implementation that creates and initializes
+ WindowsNegotiateScheme using JNA to implement NTLM |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> authSchemeRegistry)
+Assigns default
+AuthScheme registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeRegistry.html new file mode 100644 index 0000000..72c8685 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthSchemeRegistry.html @@ -0,0 +1,216 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ClientContextConfigurer.setAuthSchemeRegistry(AuthSchemeRegistry registry)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected AuthSchemeRegistry |
+AbstractHttpClient.createAuthSchemeRegistry()
+Deprecated.
+ |
+
AuthSchemeRegistry |
+ProxyClient.getAuthSchemeRegistry()
+Deprecated.
+
+(4.3) do not use.
+ |
+
AuthSchemeRegistry |
+AbstractHttpClient.getAuthSchemes()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractHttpClient.setAuthSchemes(AuthSchemeRegistry registry)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScope.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScope.html new file mode 100644 index 0000000..45e8891 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthScope.html @@ -0,0 +1,341 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static AuthScope |
+AuthScope.ANY
+Default scope matching any host, port, realm and authentication scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScope |
+AuthState.getAuthScope()
+Deprecated.
+
+(4.2) do not use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+AuthScope.match(AuthScope that)
+Tests if the authentication scopes match.
+ |
+
void |
+AuthState.setAuthScope(AuthScope authScope)
+Deprecated.
+
+(4.2) do not use.
+ |
+
Constructor and Description | +
---|
AuthScope(AuthScope authscope)
+Creates a copy of the given credentials scope.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+CredentialsProvider.getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
void |
+CredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+Executor.auth(AuthScope authScope,
+ Credentials creds) |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+WindowsCredentialsProvider.getCredentials(AuthScope authscope) |
+
void |
+WindowsCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+BasicCredentialsProvider.getCredentials(AuthScope authscope) |
+
Credentials |
+SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
+
void |
+BasicCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
void |
+SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthState.html new file mode 100644 index 0000000..7114975 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthState.html @@ -0,0 +1,257 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthState |
+HttpClientContext.getProxyAuthState() |
+
AuthState |
+HttpClientContext.getTargetAuthState() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpAuthenticator.generateAuthResponse(org.apache.http.HttpRequest request,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
boolean |
+HttpAuthenticator.handleAuthChallenge(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
boolean |
+HttpAuthenticator.isAuthenticationRequested(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Field and Description | +
---|---|
protected AuthState |
+DefaultRequestDirector.proxyAuthState
+Deprecated.
+ |
+
protected AuthState |
+DefaultRequestDirector.targetAuthState
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+HttpAuthenticator.authenticate(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthenticationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthenticationException.html new file mode 100644 index 0000000..e29dfd0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/AuthenticationException.html @@ -0,0 +1,418 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+InvalidCredentialsException
+Authentication credentials required to respond to a authentication
+ challenge are invalid
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+AuthScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
org.apache.http.Header |
+ContextAwareAuthScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+AuthenticationHandler.selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthScheme instance capable of
+ processing that challenge. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+NTLMEngineException
+Signals NTLM protocol failure.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+BasicScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+GGSSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+NegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
org.apache.http.Header |
+NTLMScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request) |
+
org.apache.http.Header |
+DigestScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+BasicScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces basic authorization header for the given set of
+Credentials . |
+
org.apache.http.Header |
+GGSSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
org.apache.http.Header |
+SPNegoScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces SPNEGO authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+KerberosScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces KERBEROS authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+NegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Produces Negotiate authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+AuthSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
org.apache.http.Header |
+DigestScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces a digest authorization string for the given set of
+
+Credentials , method name and URI. |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+WindowsNegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
org.apache.http.Header |
+WindowsNegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+AbstractAuthenticationHandler.selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/BasicUserPrincipal.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/BasicUserPrincipal.html new file mode 100644 index 0000000..b71fed7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/BasicUserPrincipal.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ChallengeState.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ChallengeState.html new file mode 100644 index 0000000..0c196ad --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ChallengeState.html @@ -0,0 +1,244 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ChallengeState |
+ChallengeState.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static ChallengeState[] |
+ChallengeState.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ChallengeState |
+AuthSchemeBase.challengeState |
+
Modifier and Type | +Method and Description | +
---|---|
ChallengeState |
+AuthSchemeBase.getChallengeState()
+Returns
+ChallengeState value or null if unchallenged. |
+
Constructor and Description | +
---|
AuthSchemeBase(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
BasicScheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
DigestScheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
RFC2617Scheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ContextAwareAuthScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ContextAwareAuthScheme.html new file mode 100644 index 0000000..b486988 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/ContextAwareAuthScheme.html @@ -0,0 +1,241 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AuthSchemeBase
+Abstract authentication scheme class that serves as a basis
+ for all authentication schemes supported by HttpClient.
+ |
+
class |
+BasicScheme
+Basic authentication scheme as defined in RFC 2617.
+ |
+
class |
+DigestScheme
+Digest authentication scheme as defined in RFC 2617.
+ |
+
class |
+GGSSchemeBase |
+
class |
+KerberosScheme
+KERBEROS authentication scheme.
+ |
+
class |
+NegotiateScheme
+Deprecated.
+
+(4.2) use
+SPNegoScheme or KerberosScheme . |
+
class |
+NTLMScheme
+NTLM is a proprietary authentication scheme developed by Microsoft
+ and optimized for Windows platforms.
+ |
+
class |
+RFC2617Scheme
+Abstract authentication scheme class that lays foundation for all
+ RFC 2617 compliant authentication schemes and provides capabilities common
+ to all authentication schemes defined in RFC 2617.
+ |
+
class |
+SPNegoScheme
+SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
+ scheme.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+WindowsNegotiateScheme
+Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/Credentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/Credentials.html new file mode 100644 index 0000000..182103e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/Credentials.html @@ -0,0 +1,615 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+KerberosCredentials
+Credentials implementation based on GSSCredential for Kerberos Authentication. |
+
class |
+NTCredentials
+Credentials implementation for Microsoft Windows platforms that includes
+ Windows specific attributes such as name of the domain the user belongs to. |
+
class |
+UsernamePasswordCredentials
+Simple
+Credentials implementation based on a user name / password
+ pair. |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+AuthState.getCredentials()
+Returns actual
+Credentials . |
+
Credentials |
+AuthOption.getCredentials() |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+AuthScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
org.apache.http.Header |
+ContextAwareAuthScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
void |
+AuthState.setCredentials(Credentials credentials)
+Deprecated.
+
+
+ |
+
void |
+AuthState.update(AuthScheme authScheme,
+ Credentials credentials)
+Updates the auth state with
+AuthScheme and Credentials . |
+
Constructor and Description | +
---|
AuthOption(AuthScheme authScheme,
+ Credentials creds) |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+CredentialsProvider.getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+CredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+Executor.auth(AuthScope authScope,
+ Credentials creds) |
+
Executor |
+Executor.auth(Credentials cred) |
+
Executor |
+Executor.auth(org.apache.http.HttpHost host,
+ Credentials creds) |
+
Executor |
+Executor.auth(String host,
+ Credentials creds) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+BasicScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+GGSSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+NegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
org.apache.http.Header |
+NTLMScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request) |
+
org.apache.http.Header |
+DigestScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+BasicScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces basic authorization header for the given set of
+Credentials . |
+
org.apache.http.Header |
+GGSSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
org.apache.http.Header |
+SPNegoScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces SPNEGO authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+KerberosScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces KERBEROS authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+NegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Produces Negotiate authorization Header based on token created by
+ processChallenge.
+ |
+
org.apache.http.Header |
+AuthSchemeBase.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
org.apache.http.Header |
+DigestScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces a digest authorization string for the given set of
+
+Credentials , method name and URI. |
+
static org.apache.http.Header |
+BasicScheme.authenticate(Credentials credentials,
+ String charset,
+ boolean proxy)
+Deprecated.
+
+
+ |
+
protected byte[] |
+GGSSchemeBase.generateGSSToken(byte[] input,
+ Oid oid,
+ String authServer,
+ Credentials credentials) |
+
protected byte[] |
+GGSSchemeBase.generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
protected byte[] |
+SPNegoScheme.generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
protected byte[] |
+KerberosScheme.generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
protected byte[] |
+NegotiateScheme.generateToken(byte[] input,
+ String authServer,
+ Credentials credentials)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CurrentWindowsCredentials
+Returns the current Windows user credentials
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+WindowsCredentialsProvider.getCredentials(AuthScope authscope) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+WindowsNegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
org.apache.http.Header |
+WindowsNegotiateScheme.authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+WindowsCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
Modifier and Type | +Method and Description | +
---|---|
Credentials |
+BasicCredentialsProvider.getCredentials(AuthScope authscope) |
+
Credentials |
+SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
void |
+SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
+ Credentials credentials) |
+
Socket |
+ProxyClient.tunnel(org.apache.http.HttpHost proxy,
+ org.apache.http.HttpHost target,
+ Credentials credentials) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/InvalidCredentialsException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/InvalidCredentialsException.html new file mode 100644 index 0000000..fffe1af --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/InvalidCredentialsException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/KerberosCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/KerberosCredentials.html new file mode 100644 index 0000000..a474cca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/KerberosCredentials.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/MalformedChallengeException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/MalformedChallengeException.html new file mode 100644 index 0000000..9c1a17b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/MalformedChallengeException.html @@ -0,0 +1,341 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AuthScheme.processChallenge(org.apache.http.Header header)
+Processes the given challenge token.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,org.apache.http.Header> |
+AuthenticationStrategy.getChallenges(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
Map<String,org.apache.http.Header> |
+AuthenticationHandler.getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
Queue<AuthOption> |
+AuthenticationStrategy.select(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthOption instance capable of
+ processing that challenge. |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+GGSSchemeBase.parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
protected void |
+RFC2617Scheme.parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int pos,
+ int len) |
+
protected void |
+NTLMScheme.parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
protected abstract void |
+AuthSchemeBase.parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
void |
+BasicScheme.processChallenge(org.apache.http.Header header)
+Processes the Basic challenge.
+ |
+
void |
+AuthSchemeBase.processChallenge(org.apache.http.Header header)
+Processes the given challenge token.
+ |
+
void |
+DigestScheme.processChallenge(org.apache.http.Header header)
+Processes the Digest challenge.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+WindowsNegotiateScheme.parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,org.apache.http.Header> |
+DefaultProxyAuthenticationHandler.getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Map<String,org.apache.http.Header> |
+DefaultTargetAuthenticationHandler.getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
protected Map<String,org.apache.http.Header> |
+AbstractAuthenticationHandler.parseChallenges(org.apache.http.Header[] headers)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTCredentials.html new file mode 100644 index 0000000..53f24a9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTCredentials.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTUserPrincipal.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTUserPrincipal.html new file mode 100644 index 0000000..3df980e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/NTUserPrincipal.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/UsernamePasswordCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/UsernamePasswordCredentials.html new file mode 100644 index 0000000..69ca57f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/class-use/UsernamePasswordCredentials.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-frame.html new file mode 100644 index 0000000..ca5c1cf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-frame.html @@ -0,0 +1,48 @@ + + + + + + +Interface | +Description | +
---|---|
AuthScheme | +
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthSchemeFactory | +Deprecated
+ (4.3) use
+AuthSchemeProvider |
+
AuthSchemeProvider | +
+ Factory for
+AuthScheme implementations. |
+
ContextAwareAuthScheme | +
+ This interface represents an extended authentication scheme
+ that requires access to
+HttpContext in order to
+ generate an authorization string. |
+
Credentials | +
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
Class | +Description | +
---|---|
AUTH | +
+ Constants and static helpers related to the HTTP authentication.
+ |
+
AuthOption | ++ |
AuthSchemeRegistry | +Deprecated
+ (4.3) use
+Registry |
+
AuthScope | +
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
AuthState | +
+ This class provides detailed information about the state of the authentication process.
+ |
+
BasicUserPrincipal | +
+ Basic user principal used for HTTP authentication
+ |
+
KerberosCredentials | +
+Credentials implementation based on GSSCredential for Kerberos Authentication. |
+
NTCredentials | +
+Credentials implementation for Microsoft Windows platforms that includes
+ Windows specific attributes such as name of the domain the user belongs to. |
+
NTUserPrincipal | +
+ Microsoft Windows specific user principal implementation.
+ |
+
UsernamePasswordCredentials | +
+ Simple
+Credentials implementation based on a user name / password
+ pair. |
+
Enum | +Description | +
---|---|
AuthProtocolState | ++ |
ChallengeState | +
+ Challenge mode (TARGET or PROXY)
+ |
+
Exception | +Description | +
---|---|
AuthenticationException | +
+ Signals a failure in authentication process
+ |
+
InvalidCredentialsException | +
+ Authentication credentials required to respond to a authentication
+ challenge are invalid
+ |
+
MalformedChallengeException | +
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-tree.html new file mode 100644 index 0000000..5c22736 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-use.html new file mode 100644 index 0000000..acdd826 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/package-use.html @@ -0,0 +1,512 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Class and Description | +
---|
AuthenticationException
+ Signals a failure in authentication process
+ |
+
AuthOption | +
AuthProtocolState | +
AuthScheme
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthSchemeFactory
+ Deprecated.
+
+(4.3) use
+AuthSchemeProvider |
+
AuthSchemeProvider
+ Factory for
+AuthScheme implementations. |
+
AuthScope
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
ChallengeState
+ Challenge mode (TARGET or PROXY)
+ |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
MalformedChallengeException
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Class and Description | +
---|
AuthenticationException
+ Signals a failure in authentication process
+ |
+
AuthOption | +
AuthScheme
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthScope
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
MalformedChallengeException
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Class and Description | +
---|
AuthScope
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
Class and Description | +
---|
AuthSchemeProvider
+ Factory for
+AuthScheme implementations. |
+
AuthSchemeRegistry
+ Deprecated.
+
+(4.3) use
+Registry |
+
AuthState
+ This class provides detailed information about the state of the authentication process.
+ |
+
Class and Description | +
---|
AuthenticationException
+ Signals a failure in authentication process
+ |
+
AuthScheme
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthSchemeFactory
+ Deprecated.
+
+(4.3) use
+AuthSchemeProvider |
+
AuthSchemeProvider
+ Factory for
+AuthScheme implementations. |
+
ChallengeState
+ Challenge mode (TARGET or PROXY)
+ |
+
ContextAwareAuthScheme
+ This interface represents an extended authentication scheme
+ that requires access to
+HttpContext in order to
+ generate an authorization string. |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
MalformedChallengeException
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Class and Description | +
---|
AuthenticationException
+ Signals a failure in authentication process
+ |
+
AuthScheme
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthSchemeProvider
+ Factory for
+AuthScheme implementations. |
+
AuthScope
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
ContextAwareAuthScheme
+ This interface represents an extended authentication scheme
+ that requires access to
+HttpContext in order to
+ generate an authorization string. |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
MalformedChallengeException
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Class and Description | +
---|
AuthenticationException
+ Signals a failure in authentication process
+ |
+
AuthScheme
+ This interface represents an abstract challenge-response oriented
+ authentication scheme.
+ |
+
AuthSchemeProvider
+ Factory for
+AuthScheme implementations. |
+
AuthSchemeRegistry
+ Deprecated.
+
+(4.3) use
+Registry |
+
AuthScope
+AuthScope represents an authentication scope consisting of a host name,
+ a port number, a realm name and an authentication scheme name. |
+
AuthState
+ This class provides detailed information about the state of the authentication process.
+ |
+
Credentials
+ This interface represents a set of credentials consisting of a security
+ principal and a secret (password) that can be used to establish user
+ identity
+ |
+
MalformedChallengeException
+ Signals that authentication challenge is in some way invalid or
+ illegal in the given context
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthPNames.html new file mode 100644 index 0000000..cd70bb3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthPNames.html @@ -0,0 +1,287 @@ + + + + + + +RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.@Deprecated +public interface AuthPNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+CREDENTIAL_CHARSET
+Deprecated.
+Defines the charset to be used when encoding
+
+Credentials . |
+
static String |
+PROXY_AUTH_PREF
+Deprecated.
+Defines the order of preference for supported
+
+AuthScheme s when authenticating with the
+ proxy host. |
+
static String |
+TARGET_AUTH_PREF
+Deprecated.
+Defines the order of preference for supported
+
+AuthScheme s when authenticating with
+ the target host. |
+
static final String CREDENTIAL_CHARSET+
Credentials
.
+
+ This parameter expects a value of type String
.
static final String TARGET_AUTH_PREF+
AuthScheme
s when authenticating with
+ the target host.
+
+ This parameter expects a value of type Collection
. The
+ collection is expected to contain String
instances representing
+ a name of an authentication scheme as returned by
+ AuthScheme.getSchemeName()
.
static final String PROXY_AUTH_PREF+
AuthScheme
s when authenticating with the
+ proxy host.
+
+ This parameter expects a value of type Collection
. The
+ collection is expected to contain String
instances representing
+ a name of an authentication scheme as returned by
+ AuthScheme.getSchemeName()
.
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParamBean.html new file mode 100644 index 0000000..82b7574 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParamBean.html @@ -0,0 +1,295 @@ + + + + + + +RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.@Deprecated +public class AuthParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate HTTP authentication parameters
+ using Java Beans conventions.params
Constructor and Description | +
---|
AuthParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParams.html new file mode 100644 index 0000000..d7fdb77 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/AuthParams.html @@ -0,0 +1,268 @@ + + + + + + +RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider
s.@Contract(threading=IMMUTABLE) +@Deprecated +public final class AuthParams +extends Object+
HttpParams
.Modifier and Type | +Method and Description | +
---|---|
static String |
+getCredentialCharset(org.apache.http.params.HttpParams params)
+Deprecated.
+Obtains the charset for encoding
+
+Credentials .If not configured,
+ HTTP.DEFAULT_PROTOCOL_CHARSET is used instead. |
+
static void |
+setCredentialCharset(org.apache.http.params.HttpParams params,
+ String charset)
+Deprecated.
+Sets the charset to be used when encoding
+
+Credentials . |
+
public static String getCredentialCharset(org.apache.http.params.HttpParams params)+
Credentials
.If not configured,
+ HTTP.DEFAULT_PROTOCOL_CHARSET
is used instead.public static void setCredentialCharset(org.apache.http.params.HttpParams params, + String charset)+
Credentials
.charset
- The charsetCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthPNames.html new file mode 100644 index 0000000..e623c3f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthPNames.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParamBean.html new file mode 100644 index 0000000..0b932ed --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParams.html new file mode 100644 index 0000000..aad1054 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/class-use/AuthParams.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-frame.html new file mode 100644 index 0000000..d5f62d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Interface | +Description | +
---|---|
AuthPNames | +Deprecated
+ (4.3) use
+RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider s. |
+
Class | +Description | +
---|---|
AuthParamBean | +Deprecated
+ (4.3) use
+RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider s. |
+
AuthParams | +Deprecated
+ (4.3) use
+RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-tree.html new file mode 100644 index 0000000..a62acac --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-use.html new file mode 100644 index 0000000..8c09049 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/auth/params/package-use.html @@ -0,0 +1,158 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Class and Description | +
---|
AuthPNames
+ Deprecated.
+
+(4.3) use
+RequestConfig
+ and constructor parameters of
+ AuthSchemeProvider s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthCache.html new file mode 100644 index 0000000..57d0ac4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthCache.html @@ -0,0 +1,258 @@ + + + + + + +public interface AuthCache
+AuthScheme
cache. Initialized AuthScheme
objects
+ from this cache can be used to preemptively authenticate against known
+ hosts.Modifier and Type | +Method and Description | +
---|---|
void |
+clear() |
+
AuthScheme |
+get(org.apache.http.HttpHost host) |
+
void |
+put(org.apache.http.HttpHost host,
+ AuthScheme authScheme) |
+
void |
+remove(org.apache.http.HttpHost host) |
+
void put(org.apache.http.HttpHost host, + AuthScheme authScheme)+
AuthScheme get(org.apache.http.HttpHost host)+
void remove(org.apache.http.HttpHost host)+
void clear()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationHandler.html new file mode 100644 index 0000000..84616aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationHandler.html @@ -0,0 +1,303 @@ + + + + + + +AuthenticationStrategy
@Deprecated +public interface AuthenticationHandler+
+ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure
+ |
+
AuthScheme |
+selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthScheme instance capable of
+ processing that challenge. |
+
boolean isAuthenticationRequested(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.AuthScheme selectScheme(Map<String,org.apache.http.Header> challenges, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
AuthScheme
instance capable of
+ processing that challenge.challenges
- collection of challenges.response
- HTTP response.context
- HTTP context.AuthenticationException
- if an authentication scheme
+ could not be selected.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationStrategy.html new file mode 100644 index 0000000..ec12ec9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/AuthenticationStrategy.html @@ -0,0 +1,339 @@ + + + + + + +public interface AuthenticationStrategy
++ Implementations of this interface must be thread-safe. Access to shared data must be + synchronized as methods of this interface may be executed from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
void |
+authFailed(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of unsuccessful authentication.
+ |
+
void |
+authSucceeded(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of successful authentication.
+ |
+
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure.
+ |
+
Queue<AuthOption> |
+select(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthOption instance capable of
+ processing that challenge. |
+
boolean isAuthenticationRequested(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
authhost
- authentication host.response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.Queue<AuthOption> select(Map<String,org.apache.http.Header> challenges, + org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
AuthOption
instance capable of
+ processing that challenge.challenges
- collection of challenges.authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.void authSucceeded(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.void authFailed(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/BackoffManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/BackoffManager.html new file mode 100644 index 0000000..ac08a08 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/BackoffManager.html @@ -0,0 +1,244 @@ + + + + + + +public interface BackoffManager
+Modifier and Type | +Method and Description | +
---|---|
void |
+backOff(HttpRoute route)
+Called when we have decided that the result of
+ using a connection should be interpreted as a
+ backoff signal.
+ |
+
void |
+probe(HttpRoute route)
+Called when we have determined that the result of
+ using a connection has succeeded and that we may
+ probe for more connections.
+ |
+
void backOff(HttpRoute route)+
void probe(HttpRoute route)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CircularRedirectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CircularRedirectException.html new file mode 100644 index 0000000..f583692 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CircularRedirectException.html @@ -0,0 +1,308 @@ + + + + + + +public class CircularRedirectException +extends RedirectException+
Constructor and Description | +
---|
CircularRedirectException()
+Creates a new CircularRedirectException with a
+null detail message. |
+
CircularRedirectException(String message)
+Creates a new CircularRedirectException with the specified detail message.
+ |
+
CircularRedirectException(String message,
+ Throwable cause)
+Creates a new CircularRedirectException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CircularRedirectException()+
null
detail message.public CircularRedirectException(String message)+
message
- The exception detail messagepublic CircularRedirectException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ClientProtocolException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ClientProtocolException.html new file mode 100644 index 0000000..bdfc3b6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ClientProtocolException.html @@ -0,0 +1,302 @@ + + + + + + +public class ClientProtocolException +extends IOException+
Constructor and Description | +
---|
ClientProtocolException() |
+
ClientProtocolException(String s) |
+
ClientProtocolException(String message,
+ Throwable cause) |
+
ClientProtocolException(Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ConnectionBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ConnectionBackoffStrategy.html new file mode 100644 index 0000000..1a2d7fc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ConnectionBackoffStrategy.html @@ -0,0 +1,254 @@ + + + + + + +public interface ConnectionBackoffStrategy
+Throwable
that resulted or by examining the resulting
+ response (e.g. for its status code).Modifier and Type | +Method and Description | +
---|---|
boolean |
+shouldBackoff(org.apache.http.HttpResponse resp)
+Determines whether receiving the given
+HttpResponse as
+ a result of request execution should result in a backoff
+ signal. |
+
boolean |
+shouldBackoff(Throwable t)
+Determines whether seeing the given
+Throwable as
+ a result of request execution should result in a backoff
+ signal. |
+
boolean shouldBackoff(Throwable t)+
Throwable
as
+ a result of request execution should result in a backoff
+ signal.t
- the Throwable
that happenedtrue
if a backoff signal should be
+ givenboolean shouldBackoff(org.apache.http.HttpResponse resp)+
HttpResponse
as
+ a result of request execution should result in a backoff
+ signal. Implementations MUST restrict themselves to examining
+ the response header and MUST NOT consume any of the response
+ body, if any.resp
- the HttpResponse
that was receivedtrue
if a backoff signal should be
+ givenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CookieStore.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CookieStore.html new file mode 100644 index 0000000..c71f88b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CookieStore.html @@ -0,0 +1,274 @@ + + + + + + +public interface CookieStore
+Cookie
+ objects.Modifier and Type | +Method and Description | +
---|---|
void |
+addCookie(Cookie cookie)
+Adds an
+Cookie , replacing any existing equivalent cookies. |
+
void |
+clear()
+Clears all cookies.
+ |
+
boolean |
+clearExpired(Date date)
+
+ |
+
List<Cookie> |
+getCookies()
+Returns all cookies contained in this store.
+ |
+
void addCookie(Cookie cookie)+
Cookie
, replacing any existing equivalent cookies.
+ If the given cookie has already expired it will not be added, but existing
+ values will still be removed.cookie
- the cookie
to be addedList<Cookie> getCookies()+
boolean clearExpired(Date date)+ +
void clear()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CredentialsProvider.html new file mode 100644 index 0000000..36d93c1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/CredentialsProvider.html @@ -0,0 +1,263 @@ + + + + + + +public interface CredentialsProvider
++ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
void |
+clear()
+Clears all credentials.
+ |
+
Credentials |
+getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
void |
+setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
void setCredentials(AuthScope authscope, + Credentials credentials)+
credentials
for the given authentication
+ scope. Any previous credentials for the given scope will be overwritten.authscope
- the authentication scope
credentials
- the authentication credentials
+ for the given scope.getCredentials(AuthScope)
Credentials getCredentials(AuthScope authscope)+
credentials
for the given authentication scope.authscope
- the authentication scope
setCredentials(AuthScope, Credentials)
void clear()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpClient.html new file mode 100644 index 0000000..e6f5df7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpClient.html @@ -0,0 +1,530 @@ + + + + + + +public interface HttpClient
+Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
ClientConnectionManager |
+getConnectionManager()
+Deprecated.
+
+(4.3) use
+
+HttpClientBuilder . |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+
+(4.3) use
+
+RequestConfig . |
+
@Deprecated +org.apache.http.params.HttpParams getParams()+
RequestConfig
.@Deprecated +ClientConnectionManager getConnectionManager()+
HttpClientBuilder
.org.apache.http.HttpResponse execute(HttpUriRequest request) + throws IOException, + ClientProtocolException+
request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errororg.apache.http.HttpResponse execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errororg.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + throws IOException, + ClientProtocolException+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errororg.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol error<T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol error<T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol error<T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol error<T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpRequestRetryHandler.html new file mode 100644 index 0000000..be8fcc2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpRequestRetryHandler.html @@ -0,0 +1,233 @@ + + + + + + +public interface HttpRequestRetryHandler
++ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
boolean |
+retryRequest(IOException exception,
+ int executionCount,
+ org.apache.http.protocol.HttpContext context)
+Determines if a method should be retried after an IOException
+ occurs during execution.
+ |
+
boolean retryRequest(IOException exception, + int executionCount, + org.apache.http.protocol.HttpContext context)+
exception
- the exception that occurredexecutionCount
- the number of times this method has been
+ unsuccessfully executedcontext
- the context for the request executiontrue
if the method should be retried, false
+ otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpResponseException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpResponseException.html new file mode 100644 index 0000000..61654ba --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/HttpResponseException.html @@ -0,0 +1,308 @@ + + + + + + +public class HttpResponseException +extends ClientProtocolException+
Constructor and Description | +
---|
HttpResponseException(int statusCode,
+ String reasonPhrase) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getReasonPhrase() |
+
int |
+getStatusCode() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/NonRepeatableRequestException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/NonRepeatableRequestException.html new file mode 100644 index 0000000..22b7656 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/NonRepeatableRequestException.html @@ -0,0 +1,303 @@ + + + + + + +public class NonRepeatableRequestException
+extends org.apache.http.ProtocolException
+Constructor and Description | +
---|
NonRepeatableRequestException()
+Creates a new NonRepeatableEntityException with a
+null detail message. |
+
NonRepeatableRequestException(String message)
+Creates a new NonRepeatableEntityException with the specified detail message.
+ |
+
NonRepeatableRequestException(String message,
+ Throwable cause)
+Creates a new NonRepeatableEntityException with the specified detail message.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NonRepeatableRequestException()+
null
detail message.public NonRepeatableRequestException(String message)+
message
- The exception detail messageCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectException.html new file mode 100644 index 0000000..e993ea7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectException.html @@ -0,0 +1,307 @@ + + + + + + +public class RedirectException
+extends org.apache.http.ProtocolException
+Constructor and Description | +
---|
RedirectException()
+Creates a new RedirectException with a
+null detail message. |
+
RedirectException(String message)
+Creates a new RedirectException with the specified detail message.
+ |
+
RedirectException(String message,
+ Throwable cause)
+Creates a new RedirectException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RedirectException()+
null
detail message.public RedirectException(String message)+
message
- The exception detail messagepublic RedirectException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectHandler.html new file mode 100644 index 0000000..8c6a180 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectHandler.html @@ -0,0 +1,266 @@ + + + + + + +RedirectStrategy
@Deprecated +public interface RedirectHandler+
+ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
URI |
+getLocationURI(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the location request is expected to be redirected to
+ given the response from the target server and the current request
+ execution context.
+ |
+
boolean |
+isRedirectRequested(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines if a request should be redirected to a new location
+ given the response from the target server.
+ |
+
boolean isRedirectRequested(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
response
- the response received from the target servercontext
- the context for the request executiontrue
if the request should be redirected, false
+ otherwiseURI getLocationURI(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
response
- the response received from the target servercontext
- the context for the request executionorg.apache.http.ProtocolException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectStrategy.html new file mode 100644 index 0000000..bac17d2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RedirectStrategy.html @@ -0,0 +1,265 @@ + + + + + + +public interface RedirectStrategy
++ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
HttpUriRequest |
+getRedirect(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines the redirect location given the response from the target
+ server and the current request execution context and generates a new
+ request to be sent to the location.
+ |
+
boolean |
+isRedirected(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines if a request should be redirected to a new location
+ given the response from the target server.
+ |
+
boolean isRedirected(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
request
- the executed requestresponse
- the response received from the target servercontext
- the context for the request executiontrue
if the request should be redirected, false
+ otherwiseorg.apache.http.ProtocolException
HttpUriRequest getRedirect(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
request
- the executed requestresponse
- the response received from the target servercontext
- the context for the request executionorg.apache.http.ProtocolException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RequestDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RequestDirector.html new file mode 100644 index 0000000..377ccd0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/RequestDirector.html @@ -0,0 +1,249 @@ + + + + + + +@Deprecated +public interface RequestDirector+
org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
+ Note: For the time being, a new director is instantiated for each request.
+ This is the same behavior as for HttpMethodDirector
+ in HttpClient 3.
+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context for executing the requestorg.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problem
+ or if the connection was abortedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ResponseHandler.html new file mode 100644 index 0000000..bfb8ec0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ResponseHandler.html @@ -0,0 +1,228 @@ + + + + + + +public interface ResponseHandler<T>
+HttpResponse
.Modifier and Type | +Method and Description | +
---|---|
T |
+handleResponse(org.apache.http.HttpResponse response)
+Processes an
+HttpResponse and returns some value
+ corresponding to that response. |
+
T handleResponse(org.apache.http.HttpResponse response) + throws ClientProtocolException, + IOException+
HttpResponse
and returns some value
+ corresponding to that response.response
- The response to processClientProtocolException
- in case of an http protocol errorIOException
- in case of a problem or the connection was abortedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ServiceUnavailableRetryStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ServiceUnavailableRetryStrategy.html new file mode 100644 index 0000000..881cb0a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/ServiceUnavailableRetryStrategy.html @@ -0,0 +1,242 @@ + + + + + + +public interface ServiceUnavailableRetryStrategy
+Modifier and Type | +Method and Description | +
---|---|
long |
+getRetryInterval() |
+
boolean |
+retryRequest(org.apache.http.HttpResponse response,
+ int executionCount,
+ org.apache.http.protocol.HttpContext context)
+Determines if a method should be retried given the response from the target server.
+ |
+
boolean retryRequest(org.apache.http.HttpResponse response, + int executionCount, + org.apache.http.protocol.HttpContext context)+
response
- the response from the target serverexecutionCount
- the number of times this method has been
+ unsuccessfully executedcontext
- the context for the request executiontrue
if the method should be retried, false
+ otherwiselong getRetryInterval()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/UserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/UserTokenHandler.html new file mode 100644 index 0000000..25ff15d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/UserTokenHandler.html @@ -0,0 +1,233 @@ + + + + + + +public interface UserTokenHandler
+null
if the context does not contain any resources or details
+ specific to the current user.
+ + The user token will be used to ensure that user specific resources will not + be shared with or reused by other users. +
Modifier and Type | +Method and Description | +
---|---|
Object |
+getUserToken(org.apache.http.protocol.HttpContext context)
+The token object returned by this method is expected to uniquely
+ identify the current user if the context is user specific or to be
+
+null if it is not. |
+
Object getUserToken(org.apache.http.protocol.HttpContext context)+
null
if it is not.context
- the execution contextnull
if the context is not user specific.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/CacheResponseStatus.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/CacheResponseStatus.html new file mode 100644 index 0000000..d997ff5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/CacheResponseStatus.html @@ -0,0 +1,367 @@ + + + + + + +public enum CacheResponseStatus +extends Enum<CacheResponseStatus>+
CachingHttpClient
;
+ if a request is executed with an HttpContext
+ then a parameter with one of these values will be registered in the
+ context under the key
+ CachingHttpClient.CACHE_RESPONSE_STATUS
.Enum Constant and Description | +
---|
CACHE_HIT
+A response was generated from the cache with no requests sent
+ upstream.
+ |
+
CACHE_MISS
+The response came from an upstream server.
+ |
+
CACHE_MODULE_RESPONSE
+The response was generated directly by the caching module.
+ |
+
VALIDATED
+The response was generated from the cache after validating the
+ entry with the origin server.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static CacheResponseStatus |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CacheResponseStatus[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final CacheResponseStatus CACHE_MODULE_RESPONSE+
public static final CacheResponseStatus CACHE_HIT+
public static final CacheResponseStatus CACHE_MISS+
public static final CacheResponseStatus VALIDATED+
public static CacheResponseStatus[] values()+
+for (CacheResponseStatus c : CacheResponseStatus.values()) + System.out.println(c); +
public static CacheResponseStatus valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HeaderConstants.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HeaderConstants.html new file mode 100644 index 0000000..d34da34 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HeaderConstants.html @@ -0,0 +1,788 @@ + + + + + + +public class HeaderConstants +extends Object+
Constructor and Description | +
---|
HeaderConstants() |
+
public static final String GET_METHOD+
public static final String HEAD_METHOD+
public static final String OPTIONS_METHOD+
public static final String PUT_METHOD+
public static final String DELETE_METHOD+
public static final String TRACE_METHOD+
public static final String LAST_MODIFIED+
public static final String IF_MATCH+
public static final String IF_RANGE+
public static final String IF_UNMODIFIED_SINCE+
public static final String IF_MODIFIED_SINCE+
public static final String IF_NONE_MATCH+
public static final String PRAGMA+
public static final String MAX_FORWARDS+
public static final String ETAG+
public static final String EXPIRES+
public static final String AGE+
public static final String VARY+
public static final String ALLOW+
public static final String VIA+
public static final String PUBLIC+
public static final String PRIVATE+
public static final String CACHE_CONTROL+
public static final String CACHE_CONTROL_NO_STORE+
public static final String CACHE_CONTROL_NO_CACHE+
public static final String CACHE_CONTROL_MAX_AGE+
public static final String CACHE_CONTROL_MAX_STALE+
public static final String CACHE_CONTROL_MIN_FRESH+
public static final String CACHE_CONTROL_MUST_REVALIDATE+
public static final String CACHE_CONTROL_PROXY_REVALIDATE+
public static final String STALE_IF_ERROR+
public static final String STALE_WHILE_REVALIDATE+
public static final String WARNING+
public static final String RANGE+
public static final String CONTENT_RANGE+
public static final String WWW_AUTHENTICATE+
public static final String PROXY_AUTHENTICATE+
public static final String AUTHORIZATION+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheContext.html new file mode 100644 index 0000000..acd9944 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheContext.html @@ -0,0 +1,391 @@ + + + + + + +public class HttpCacheContext +extends HttpClientContext+
Modifier and Type | +Field and Description | +
---|---|
static String |
+CACHE_RESPONSE_STATUS
+This is the name under which the
+CacheResponseStatus of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext is provided during execution. |
+
AUTH_CACHE, AUTHSCHEME_REGISTRY, COOKIE_ORIGIN, COOKIE_SPEC, COOKIE_STORE, COOKIESPEC_REGISTRY, CREDS_PROVIDER, HTTP_ROUTE, PROXY_AUTH_STATE, REDIRECT_LOCATIONS, REQUEST_CONFIG, TARGET_AUTH_STATE, USER_TOKEN
HTTP_CONNECTION, HTTP_REQ_SENT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_TARGET_HOST
RESERVED_PREFIX
Constructor and Description | +
---|
HttpCacheContext() |
+
HttpCacheContext(org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpCacheContext |
+adapt(org.apache.http.protocol.HttpContext context) |
+
static HttpCacheContext |
+create() |
+
CacheResponseStatus |
+getCacheResponseStatus() |
+
getAuthCache, getAuthSchemeRegistry, getCookieOrigin, getCookieSpec, getCookieSpecRegistry, getCookieStore, getCredentialsProvider, getHttpRoute, getProxyAuthState, getRedirectLocations, getRequestConfig, getTargetAuthState, getUserToken, getUserToken, setAuthCache, setAuthSchemeRegistry, setCookieSpecRegistry, setCookieStore, setCredentialsProvider, setRequestConfig, setUserToken
getAttribute, getAttribute, getConnection, getConnection, getRequest, getResponse, getTargetHost, isRequestSent, removeAttribute, setAttribute, setTargetHost
public static final String CACHE_RESPONSE_STATUS+
CacheResponseStatus
of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext
is provided during execution.public HttpCacheContext(org.apache.http.protocol.HttpContext context)+
public HttpCacheContext()+
public static HttpCacheContext adapt(org.apache.http.protocol.HttpContext context)+
public static HttpCacheContext create()+
public CacheResponseStatus getCacheResponseStatus()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntry.html new file mode 100644 index 0000000..039a5da --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntry.html @@ -0,0 +1,646 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class HttpCacheEntry +extends Object +implements Serializable+
HttpResponse
in a cache.
+ Some entries can optionally depend on system resources that may require
+ explicit deallocation. In such a case getResource()
should return
+ a non null instance of Resource
that must be deallocated by calling
+ Resource.dispose()
method when no longer used.Constructor and Description | +
---|
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource)
+Create a new
+HttpCacheEntry . |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ Map<String,String> variantMap)
+Create a new
+HttpCacheEntry with variants. |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ Map<String,String> variantMap,
+ String requestMethod)
+Create a new
+HttpCacheEntry with variants. |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ String requestMethod)
+Create a new
+HttpCacheEntry . |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header[] |
+getAllHeaders()
+Returns all the headers that were on the origin response.
+ |
+
Date |
+getDate()
+Gets the Date value of the "Date" header or null if the header is missing or cannot be
+ parsed.
+ |
+
org.apache.http.Header |
+getFirstHeader(String name)
+Returns the first header from the origin response with the given
+ name.
+ |
+
org.apache.http.Header[] |
+getHeaders(String name)
+Gets all the headers with the given name that were on the origin
+ response.
+ |
+
org.apache.http.ProtocolVersion |
+getProtocolVersion()
+Returns the
+ProtocolVersion from the origin
+ HttpResponse . |
+
String |
+getReasonPhrase()
+Gets the reason phrase from the origin
+
+HttpResponse , for example, "Not Modified". |
+
Date |
+getRequestDate()
+Returns the time the associated origin request was initiated by the
+ caching module.
+ |
+
String |
+getRequestMethod()
+Returns the HTTP request method that was used to create the cached
+ response entry.
+ |
+
Resource |
+getResource()
+Returns the
+Resource containing the origin response body. |
+
Date |
+getResponseDate()
+Returns the time the origin response was received by the caching module.
+ |
+
int |
+getStatusCode()
+Returns the HTTP response code from the origin
+
+HttpResponse . |
+
org.apache.http.StatusLine |
+getStatusLine()
+Returns the
+StatusLine from the origin
+ HttpResponse . |
+
Map<String,String> |
+getVariantMap()
+Returns an index about where in the cache different variants for
+ a given resource are stored.
+ |
+
boolean |
+hasVariants()
+Indicates whether the origin response indicated the associated
+ resource had variants (i.e.
+ |
+
String |
+toString()
+Provides a string representation of this instance suitable for
+ human consumption.
+ |
+
public HttpCacheEntry(Date requestDate, + Date responseDate, + org.apache.http.StatusLine statusLine, + org.apache.http.Header[] responseHeaders, + Resource resource, + Map<String,String> variantMap, + String requestMethod)+
HttpCacheEntry
with variants.requestDate
- Date/time when the request was made (Used for age
+ calculations)responseDate
- Date/time that the response came back (Used for age
+ calculations)statusLine
- HTTP status line from origin responseresponseHeaders
- Header[] from original HTTP Responseresource
- representing origin response bodyvariantMap
- describing cache entries that are variants
+ of this parent entry; this maps a "variant key" (derived
+ from the varying request headers) to a "cache key" (where
+ in the cache storage the particular variant is located)requestMethod
- HTTP method used when the request was madepublic HttpCacheEntry(Date requestDate, + Date responseDate, + org.apache.http.StatusLine statusLine, + org.apache.http.Header[] responseHeaders, + Resource resource, + Map<String,String> variantMap)+
HttpCacheEntry
with variants.requestDate
- Date/time when the request was made (Used for age
+ calculations)responseDate
- Date/time that the response came back (Used for age
+ calculations)statusLine
- HTTP status line from origin responseresponseHeaders
- Header[] from original HTTP Responseresource
- representing origin response bodyvariantMap
- describing cache entries that are variants
+ of this parent entry; this maps a "variant key" (derived
+ from the varying request headers) to a "cache key" (where
+ in the cache storage the particular variant is located)public HttpCacheEntry(Date requestDate, + Date responseDate, + org.apache.http.StatusLine statusLine, + org.apache.http.Header[] responseHeaders, + Resource resource)+
HttpCacheEntry
.requestDate
- Date/time when the request was made (Used for age
+ calculations)responseDate
- Date/time that the response came back (Used for age
+ calculations)statusLine
- HTTP status line from origin responseresponseHeaders
- Header[] from original HTTP Responseresource
- representing origin response bodypublic HttpCacheEntry(Date requestDate, + Date responseDate, + org.apache.http.StatusLine statusLine, + org.apache.http.Header[] responseHeaders, + Resource resource, + String requestMethod)+
HttpCacheEntry
.requestDate
- Date/time when the request was made (Used for age
+ calculations)responseDate
- Date/time that the response came back (Used for age
+ calculations)statusLine
- HTTP status line from origin responseresponseHeaders
- Header[] from original HTTP Responseresource
- representing origin response bodyrequestMethod
- HTTP method used when the request was madepublic org.apache.http.StatusLine getStatusLine()+
StatusLine
from the origin
+ HttpResponse
.public org.apache.http.ProtocolVersion getProtocolVersion()+
ProtocolVersion
from the origin
+ HttpResponse
.public String getReasonPhrase()+
HttpResponse
, for example, "Not Modified".public int getStatusCode()+
HttpResponse
.public Date getRequestDate()+
Date
public Date getResponseDate()+
Date
public org.apache.http.Header[] getAllHeaders()+
public org.apache.http.Header getFirstHeader(String name)+
public org.apache.http.Header[] getHeaders(String name)+
public Date getDate()+
public Resource getResource()+
Resource
containing the origin response body.public boolean hasVariants()+
true
if this cached response was a variantpublic Map<String,String> getVariantMap()+
HttpCacheStorage
where that
+ particular variant is stored. The first variant returned is used as
+ the "parent" entry to hold this index of the other variants.public String getRequestMethod()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializationException.html new file mode 100644 index 0000000..2b4f2c8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializationException.html @@ -0,0 +1,273 @@ + + + + + + +public class HttpCacheEntrySerializationException +extends IOException+
HttpCacheEntry
+ fails.Constructor and Description | +
---|
HttpCacheEntrySerializationException(String message) |
+
HttpCacheEntrySerializationException(String message,
+ Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializer.html new file mode 100644 index 0000000..3b3d92b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheEntrySerializer.html @@ -0,0 +1,246 @@ + + + + + + +public interface HttpCacheEntrySerializer
+HttpCacheStorage
implementations to serialize
+ HttpCacheEntry
instances to a byte representation before
+ storage.Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+readFrom(InputStream is)
+Deserializes a byte representation of a cache entry by reading
+ from the given
+InputStream . |
+
void |
+writeTo(HttpCacheEntry entry,
+ OutputStream os)
+Serializes the given entry to a byte representation on the
+ given
+OutputStream . |
+
void writeTo(HttpCacheEntry entry, + OutputStream os) + throws IOException+
OutputStream
.IOException
HttpCacheEntry readFrom(InputStream is) + throws IOException+
InputStream
.IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheInvalidator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheInvalidator.html new file mode 100644 index 0000000..d61ad8f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheInvalidator.html @@ -0,0 +1,242 @@ + + + + + + +public interface HttpCacheInvalidator
+Modifier and Type | +Method and Description | +
---|---|
void |
+flushInvalidatedCacheEntries(org.apache.http.HttpHost host,
+ org.apache.http.HttpRequest req)
+Remove cache entries from the cache that are no longer fresh or have been
+ invalidated in some way.
+ |
+
void |
+flushInvalidatedCacheEntries(org.apache.http.HttpHost host,
+ org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response)
+Flushes entries that were invalidated by the given response received for
+ the given host/request pair.
+ |
+
void flushInvalidatedCacheEntries(org.apache.http.HttpHost host, + org.apache.http.HttpRequest req)+
host
- The backend host we are talking toreq
- The HttpRequest to that hostvoid flushInvalidatedCacheEntries(org.apache.http.HttpHost host, + org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheStorage.html new file mode 100644 index 0000000..c3b5302 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheStorage.html @@ -0,0 +1,302 @@ + + + + + + +public interface HttpCacheStorage
+HttpCacheStorage
+ interface. They can then be plugged into the existing
+ CachingHttpClient
+ implementation.Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getEntry(String key)
+Retrieves the cache entry stored under the given key
+ or null if no entry exists under that key.
+ |
+
void |
+putEntry(String key,
+ HttpCacheEntry entry)
+Store a given cache entry under the given key.
+ |
+
void |
+removeEntry(String key)
+Deletes/invalidates/removes any cache entries currently
+ stored under the given key.
+ |
+
void |
+updateEntry(String key,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
void putEntry(String key, + HttpCacheEntry entry) + throws IOException+
key
- where in the cache to store the entryentry
- cached response to storeIOException
HttpCacheEntry getEntry(String key) + throws IOException+
key
- cache keyHttpCacheEntry
or null
if no
+ entry existsIOException
void removeEntry(String key) + throws IOException+
key
- IOException
void updateEntry(String key, + HttpCacheUpdateCallback callback) + throws IOException, + HttpCacheUpdateException+
key
- indicates which entry to modifycallback
- performs the update; see
+ HttpCacheUpdateCallback
for details, but roughly the
+ callback expects to be handed the current entry and will return
+ the new value for the entry.IOException
HttpCacheUpdateException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateCallback.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateCallback.html new file mode 100644 index 0000000..4e67993 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateCallback.html @@ -0,0 +1,223 @@ + + + + + + +public interface HttpCacheUpdateCallback
+HttpCacheStorage
+ implementation. The current entry (if any) is fed into an implementation
+ of this interface, and the new, possibly updated entry (if any)
+ should be returned.Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+update(HttpCacheEntry existing)
+Returns the new cache entry that should replace an existing one.
+ |
+
HttpCacheEntry update(HttpCacheEntry existing) + throws IOException+
existing
- the cache entry currently in-place in the cache, possibly
+ null
if nonexistentnull
if the entry should be deletedIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateException.html new file mode 100644 index 0000000..5d9e178 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/HttpCacheUpdateException.html @@ -0,0 +1,270 @@ + + + + + + +public class HttpCacheUpdateException +extends Exception+
HttpCacheStorage
encountered an error performing an
+ update operation.Constructor and Description | +
---|
HttpCacheUpdateException(String message) |
+
HttpCacheUpdateException(String message,
+ Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/InputLimit.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/InputLimit.html new file mode 100644 index 0000000..b2af799 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/InputLimit.html @@ -0,0 +1,306 @@ + + + + + + +public class InputLimit +extends Object+
Constructor and Description | +
---|
InputLimit(long value)
+Create a limit for how many bytes of a response body to
+ read.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getValue()
+Returns the current maximum limit that was set on
+ creation.
+ |
+
boolean |
+isReached()
+Returns
+true if the input limit has been reached. |
+
void |
+reached()
+Used to report that the limit has been reached.
+ |
+
public InputLimit(long value)+
value
- maximum length in bytespublic long getValue()+
public void reached()+
public boolean isReached()+
true
if the input limit has been reached.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/Resource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/Resource.html new file mode 100644 index 0000000..171db1a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/Resource.html @@ -0,0 +1,265 @@ + + + + + + +public interface Resource +extends Serializable+
Modifier and Type | +Method and Description | +
---|---|
void |
+dispose()
+Indicates the system no longer needs to keep this
+ response body and any system resources associated with
+ it may be reclaimed.
+ |
+
InputStream |
+getInputStream()
+Returns an
+InputStream from which the response
+ body can be read. |
+
long |
+length()
+Returns the length in bytes of the response body.
+ |
+
InputStream getInputStream() + throws IOException+
InputStream
from which the response
+ body can be read.IOException
long length()+
void dispose()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/ResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/ResourceFactory.html new file mode 100644 index 0000000..6732f38 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/ResourceFactory.html @@ -0,0 +1,259 @@ + + + + + + +public interface ResourceFactory
+Resource
instances for handling cached
+ HTTP response bodies.Modifier and Type | +Method and Description | +
---|---|
Resource |
+copy(String requestId,
+ Resource resource)
+Clones an existing
+Resource . |
+
Resource |
+generate(String requestId,
+ InputStream inStream,
+ InputLimit limit)
+Creates a
+Resource from a given response body. |
+
Resource generate(String requestId, + InputStream inStream, + InputLimit limit) + throws IOException+
Resource
from a given response body.requestId
- a unique identifier for this particular
+ response bodyinStream
- the original InputStream
+ containing the response body of the origin HTTP response.limit
- maximum number of bytes to consume of the
+ response body; if this limit is reached before the
+ response body is fully consumed, mark the limit has
+ having been reached and return a Resource
+ containing the data read to that point.Resource
containing however much of
+ the response body was successfully read.IOException
Resource copy(String requestId, + Resource resource) + throws IOException+
Resource
.requestId
- unique identifier provided to associate
+ with the cloned response body.resource
- the original response body to clone.Resource
copyIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/CacheResponseStatus.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/CacheResponseStatus.html new file mode 100644 index 0000000..0a3f376 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/CacheResponseStatus.html @@ -0,0 +1,178 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
Modifier and Type | +Method and Description | +
---|---|
CacheResponseStatus |
+HttpCacheContext.getCacheResponseStatus() |
+
static CacheResponseStatus |
+CacheResponseStatus.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CacheResponseStatus[] |
+CacheResponseStatus.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HeaderConstants.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HeaderConstants.html new file mode 100644 index 0000000..a624626 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HeaderConstants.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheContext.html new file mode 100644 index 0000000..bee0d53 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheContext.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpCacheContext |
+HttpCacheContext.adapt(org.apache.http.protocol.HttpContext context) |
+
static HttpCacheContext |
+HttpCacheContext.create() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntry.html new file mode 100644 index 0000000..16d96ff --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntry.html @@ -0,0 +1,394 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+HttpCacheStorage.getEntry(String key)
+Retrieves the cache entry stored under the given key
+ or null if no entry exists under that key.
+ |
+
HttpCacheEntry |
+HttpCacheEntrySerializer.readFrom(InputStream is)
+Deserializes a byte representation of a cache entry by reading
+ from the given
+InputStream . |
+
HttpCacheEntry |
+HttpCacheUpdateCallback.update(HttpCacheEntry existing)
+Returns the new cache entry that should replace an existing one.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpCacheStorage.putEntry(String key,
+ HttpCacheEntry entry)
+Store a given cache entry under the given key.
+ |
+
HttpCacheEntry |
+HttpCacheUpdateCallback.update(HttpCacheEntry existing)
+Returns the new cache entry that should replace an existing one.
+ |
+
void |
+HttpCacheEntrySerializer.writeTo(HttpCacheEntry entry,
+ OutputStream os)
+Serializes the given entry to a byte representation on the
+ given
+OutputStream . |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+BasicHttpCacheStorage.getEntry(String url)
+Gets an entry from the cache, if it exists
+ |
+
HttpCacheEntry |
+ManagedHttpCacheStorage.getEntry(String url) |
+
HttpCacheEntry |
+DefaultHttpCacheEntrySerializer.readFrom(InputStream is) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicHttpCacheStorage.putEntry(String url,
+ HttpCacheEntry entry)
+Places a HttpCacheEntry in the cache
+ |
+
void |
+ManagedHttpCacheStorage.putEntry(String url,
+ HttpCacheEntry entry) |
+
void |
+DefaultHttpCacheEntrySerializer.writeTo(HttpCacheEntry cacheEntry,
+ OutputStream os) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+EhcacheHttpCacheStorage.getEntry(String key) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+EhcacheHttpCacheStorage.putEntry(String key,
+ HttpCacheEntry entry) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+MemcachedHttpCacheStorage.getEntry(String url) |
+
HttpCacheEntry |
+MemcachedCacheEntry.getHttpCacheEntry()
+Returns the
+HttpCacheEntry associated with this entry. |
+
HttpCacheEntry |
+MemcachedCacheEntryImpl.getHttpCacheEntry() |
+
Modifier and Type | +Method and Description | +
---|---|
MemcachedCacheEntry |
+MemcachedCacheEntryFactoryImpl.getMemcachedCacheEntry(String key,
+ HttpCacheEntry entry) |
+
MemcachedCacheEntry |
+MemcachedCacheEntryFactory.getMemcachedCacheEntry(String storageKey,
+ HttpCacheEntry entry)
+Creates a new
+MemcachedCacheEntry for storing the
+ given HttpCacheEntry under the given storage key. |
+
void |
+MemcachedHttpCacheStorage.putEntry(String url,
+ HttpCacheEntry entry) |
+
Constructor and Description | +
---|
MemcachedCacheEntryImpl(String key,
+ HttpCacheEntry httpCacheEntry) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializationException.html new file mode 100644 index 0000000..1f70342 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializationException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializer.html new file mode 100644 index 0000000..020bdcb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheEntrySerializer.html @@ -0,0 +1,230 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultHttpCacheEntrySerializer
+HttpCacheEntrySerializer implementation that uses the default (native)
+ serialization. |
+
Constructor and Description | +
---|
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Constructs a storage backend using the provided Ehcache
+ with the given configuration options, but using an alternative
+ cache entry serialization strategy.
+ |
+
Constructor and Description | +
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheInvalidator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheInvalidator.html new file mode 100644 index 0000000..9ac7192 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheInvalidator.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setHttpCacheInvalidator(HttpCacheInvalidator cacheInvalidator) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheStorage.html new file mode 100644 index 0000000..835fbd2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheStorage.html @@ -0,0 +1,285 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicHttpCacheStorage
+Basic
+HttpCacheStorage implementation backed by an instance of
+ LinkedHashMap . |
+
class |
+ManagedHttpCacheStorage
+
+
+HttpCacheStorage implementation capable of deallocating resources associated with
+ the cache entries. |
+
Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
+
Constructor and Description | +
---|
CachingExec(ClientExecChain backend,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config) |
+
CachingHttpClient(HttpClient client,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
CachingHttpClient(HttpClient client,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+EhcacheHttpCacheStorage
+This class is a storage backend for cache entries that uses the
+ popular Ehcache cache implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MemcachedHttpCacheStorage
+
+ This class is a storage backend that uses an external memcached
+ for storing cached origin responses.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateCallback.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateCallback.html new file mode 100644 index 0000000..2c06909 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateCallback.html @@ -0,0 +1,261 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpCacheStorage.updateEntry(String key,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicHttpCacheStorage.updateEntry(String url,
+ HttpCacheUpdateCallback callback) |
+
void |
+ManagedHttpCacheStorage.updateEntry(String url,
+ HttpCacheUpdateCallback callback) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+EhcacheHttpCacheStorage.updateEntry(String key,
+ HttpCacheUpdateCallback callback) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+MemcachedHttpCacheStorage.updateEntry(String url,
+ HttpCacheUpdateCallback callback) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateException.html new file mode 100644 index 0000000..3df3572 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/HttpCacheUpdateException.html @@ -0,0 +1,229 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpCacheStorage.updateEntry(String key,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+EhcacheHttpCacheStorage.updateEntry(String key,
+ HttpCacheUpdateCallback callback) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+MemcachedHttpCacheStorage.updateEntry(String url,
+ HttpCacheUpdateCallback callback) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/InputLimit.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/InputLimit.html new file mode 100644 index 0000000..22d8887 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/InputLimit.html @@ -0,0 +1,203 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+ResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit)
+Creates a
+Resource from a given response body. |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+FileResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit) |
+
Resource |
+HeapResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/Resource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/Resource.html new file mode 100644 index 0000000..7ceefa6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/Resource.html @@ -0,0 +1,330 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+ResourceFactory.copy(String requestId,
+ Resource resource)
+Clones an existing
+Resource . |
+
Resource |
+ResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit)
+Creates a
+Resource from a given response body. |
+
Resource |
+HttpCacheEntry.getResource()
+Returns the
+Resource containing the origin response body. |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+ResourceFactory.copy(String requestId,
+ Resource resource)
+Clones an existing
+Resource . |
+
Constructor and Description | +
---|
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource)
+Create a new
+HttpCacheEntry . |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ Map<String,String> variantMap)
+Create a new
+HttpCacheEntry with variants. |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ Map<String,String> variantMap,
+ String requestMethod)
+Create a new
+HttpCacheEntry with variants. |
+
HttpCacheEntry(Date requestDate,
+ Date responseDate,
+ org.apache.http.StatusLine statusLine,
+ org.apache.http.Header[] responseHeaders,
+ Resource resource,
+ String requestMethod)
+Create a new
+HttpCacheEntry . |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+FileResource
+Cache resource backed by a file.
+ |
+
class |
+HeapResource
+Cache resource backed by a byte array on the heap.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+FileResourceFactory.copy(String requestId,
+ Resource resource) |
+
Resource |
+HeapResourceFactory.copy(String requestId,
+ Resource resource) |
+
Resource |
+FileResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit) |
+
Resource |
+HeapResourceFactory.generate(String requestId,
+ InputStream inStream,
+ InputLimit limit) |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+FileResourceFactory.copy(String requestId,
+ Resource resource) |
+
Resource |
+HeapResourceFactory.copy(String requestId,
+ Resource resource) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/ResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/ResourceFactory.html new file mode 100644 index 0000000..1d6bc04 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/class-use/ResourceFactory.html @@ -0,0 +1,207 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+FileResourceFactory
+Generates
+Resource instances whose body is stored in a temporary file. |
+
class |
+HeapResourceFactory
+Generates
+Resource instances stored entirely in heap. |
+
Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setResourceFactory(ResourceFactory resourceFactory) |
+
Constructor and Description | +
---|
CachingExec(ClientExecChain backend,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config) |
+
CachingHttpClient(HttpClient client,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-frame.html new file mode 100644 index 0000000..c171762 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-frame.html @@ -0,0 +1,41 @@ + + + + + + +CachingHttpClient
or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not).See: Description
+Interface | +Description | +
---|---|
HttpCacheEntrySerializer | +
+ Used by some
+HttpCacheStorage implementations to serialize
+ HttpCacheEntry instances to a byte representation before
+ storage. |
+
HttpCacheInvalidator | +
+ Given a particular HttpRequest, flush any cache entries that this request
+ would invalidate.
+ |
+
HttpCacheStorage | +
+ New storage backends should implement this
+HttpCacheStorage
+ interface. |
+
HttpCacheUpdateCallback | +
+ Used for atomically updating entries in a
+HttpCacheStorage
+ implementation. |
+
Resource | +
+ Represents a disposable system resource used for handling
+ cached response bodies.
+ |
+
ResourceFactory | +
+ Generates
+Resource instances for handling cached
+ HTTP response bodies. |
+
Class | +Description | +
---|---|
HeaderConstants | +
+ Records static constants for various HTTP header names.
+ |
+
HttpCacheContext | ++ |
HttpCacheEntry | +
+ Structure used to store an
+HttpResponse in a cache. |
+
InputLimit | +
+ Used to limiting the size of an incoming response body of
+ unknown size that is optimistically being read in anticipation
+ of caching it.
+ |
+
Enum | +Description | +
---|---|
CacheResponseStatus | +
+ This enumeration represents the various ways a response can be generated
+ by the
+CachingHttpClient ;
+ if a request is executed with an HttpContext
+ then a parameter with one of these values will be registered in the
+ context under the key
+ CachingHttpClient.CACHE_RESPONSE_STATUS . |
+
Exception | +Description | +
---|---|
HttpCacheEntrySerializationException | +
+ Thrown if serialization or deserialization of an
+HttpCacheEntry
+ fails. |
+
HttpCacheUpdateException | +
+ Signals that
+HttpCacheStorage encountered an error performing an
+ update operation. |
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+CachingHttpClient
or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). Developers that simply want to instantiate
+and make use of the caching module will be better off looking at
+the CachingHttpClient
documentation itself.
+
+The classes in this package can be divided into two main groups:
+reference constants and interfaces needed for storage backends. In
+the former group,
+HeaderConstants
contains a list
+of HTTP header names encoded as static fields, and the
+CacheResponseStatus
enumeration
+values are set in an HttpContext
by
+the CachingHttpClient
to indicate how the request was
+processed by the caching module itself.
+
+New storage backends will need to implement the
+HttpCacheStorage
+interface; they can then be passed to one of the CachingHttpClient
+constructors, which will happily make use of the new storage mechanism.
+The HttpCacheEntry
class shows the
+datastructure for a cache entry that must be stored by the
+HttpCacheStorage
.
+There is, in addition, the notion of a
+Resource
and an associated
+ResourceFactory
, which are used for
+managing the handling of cached response bodies. The default implementation
+used by the CachingHttpClient
stores response bodies in memory;
+alternative implementations might involve storing these in a filesystem. A new
+ResourceFactory
can be provided along with a HttpCacheStorage
+in one of the constructors to the CachingHttpClient
. Finally, some
+of the additional storage backends we provide, like the
+EhcacheHttpCacheStorage
and
+MemcachedHttpCacheStorage
,
+can be provided with different serializers for the cache entry metadata;
+developers wanting to experiment with different serialization techniques
+should implement the
+HttpCacheEntrySerializer
interface.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-tree.html new file mode 100644 index 0000000..93710ae --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-tree.html @@ -0,0 +1,180 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-use.html new file mode 100644 index 0000000..d5733d1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/cache/package-use.html @@ -0,0 +1,373 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Class and Description | +
---|
CacheResponseStatus
+ This enumeration represents the various ways a response can be generated
+ by the
+CachingHttpClient ;
+ if a request is executed with an HttpContext
+ then a parameter with one of these values will be registered in the
+ context under the key
+ CachingHttpClient.CACHE_RESPONSE_STATUS . |
+
HttpCacheContext | +
HttpCacheEntry
+ Structure used to store an
+HttpResponse in a cache. |
+
HttpCacheUpdateCallback
+ Used for atomically updating entries in a
+HttpCacheStorage
+ implementation. |
+
HttpCacheUpdateException
+ Signals that
+HttpCacheStorage encountered an error performing an
+ update operation. |
+
InputLimit
+ Used to limiting the size of an incoming response body of
+ unknown size that is optimistically being read in anticipation
+ of caching it.
+ |
+
Resource
+ Represents a disposable system resource used for handling
+ cached response bodies.
+ |
+
Class and Description | +
---|
HttpCacheEntry
+ Structure used to store an
+HttpResponse in a cache. |
+
HttpCacheEntrySerializer
+ Used by some
+HttpCacheStorage implementations to serialize
+ HttpCacheEntry instances to a byte representation before
+ storage. |
+
HttpCacheInvalidator
+ Given a particular HttpRequest, flush any cache entries that this request
+ would invalidate.
+ |
+
HttpCacheStorage
+ New storage backends should implement this
+HttpCacheStorage
+ interface. |
+
HttpCacheUpdateCallback
+ Used for atomically updating entries in a
+HttpCacheStorage
+ implementation. |
+
InputLimit
+ Used to limiting the size of an incoming response body of
+ unknown size that is optimistically being read in anticipation
+ of caching it.
+ |
+
Resource
+ Represents a disposable system resource used for handling
+ cached response bodies.
+ |
+
ResourceFactory
+ Generates
+Resource instances for handling cached
+ HTTP response bodies. |
+
Class and Description | +
---|
HttpCacheEntry
+ Structure used to store an
+HttpResponse in a cache. |
+
HttpCacheEntrySerializer
+ Used by some
+HttpCacheStorage implementations to serialize
+ HttpCacheEntry instances to a byte representation before
+ storage. |
+
HttpCacheStorage
+ New storage backends should implement this
+HttpCacheStorage
+ interface. |
+
HttpCacheUpdateCallback
+ Used for atomically updating entries in a
+HttpCacheStorage
+ implementation. |
+
HttpCacheUpdateException
+ Signals that
+HttpCacheStorage encountered an error performing an
+ update operation. |
+
Class and Description | +
---|
HttpCacheEntry
+ Structure used to store an
+HttpResponse in a cache. |
+
HttpCacheEntrySerializer
+ Used by some
+HttpCacheStorage implementations to serialize
+ HttpCacheEntry instances to a byte representation before
+ storage. |
+
HttpCacheStorage
+ New storage backends should implement this
+HttpCacheStorage
+ interface. |
+
HttpCacheUpdateCallback
+ Used for atomically updating entries in a
+HttpCacheStorage
+ implementation. |
+
HttpCacheUpdateException
+ Signals that
+HttpCacheStorage encountered an error performing an
+ update operation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthCache.html new file mode 100644 index 0000000..31417d9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthCache.html @@ -0,0 +1,198 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AuthCache |
+HttpClientContext.getAuthCache() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setAuthCache(AuthCache authCache) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicAuthCache
+Default implementation of
+AuthCache . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationHandler.html new file mode 100644 index 0000000..60b971f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationHandler.html @@ -0,0 +1,347 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractAuthenticationHandler
+Deprecated.
+
+(4.2) use
+AuthenticationStrategy |
+
class |
+DefaultProxyAuthenticationHandler
+Deprecated.
+
+(4.2) use
+ProxyAuthenticationStrategy |
+
class |
+DefaultTargetAuthenticationHandler
+Deprecated.
+
+(4.2) use
+TargetAuthenticationStrategy |
+
Modifier and Type | +Field and Description | +
---|---|
protected AuthenticationHandler |
+DefaultRequestDirector.proxyAuthHandler
+Deprecated.
+The proxy authentication handler.
+ |
+
protected AuthenticationHandler |
+DefaultRequestDirector.targetAuthHandler
+Deprecated.
+The target authentication handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected AuthenticationHandler |
+AbstractHttpClient.createProxyAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
protected AuthenticationHandler |
+AbstractHttpClient.createTargetAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
AuthenticationHandler |
+AbstractHttpClient.getProxyAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
AuthenticationHandler |
+AbstractHttpClient.getTargetAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
void |
+AbstractHttpClient.setProxyAuthenticationHandler(AuthenticationHandler handler)
+Deprecated.
+
+(4.2) do not use
+ |
+
void |
+AbstractHttpClient.setTargetAuthenticationHandler(AuthenticationHandler handler)
+Deprecated.
+
+(4.2) do not use
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationStrategy.html new file mode 100644 index 0000000..87c55cf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/AuthenticationStrategy.html @@ -0,0 +1,400 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+HttpAuthenticator.handleAuthChallenge(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
boolean |
+HttpAuthenticator.isAuthenticationRequested(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ProxyAuthenticationStrategy
+Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
class |
+TargetAuthenticationStrategy
+Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
Modifier and Type | +Field and Description | +
---|---|
protected AuthenticationStrategy |
+DefaultRequestDirector.proxyAuthStrategy
+Deprecated.
+The proxy authentication handler.
+ |
+
protected AuthenticationStrategy |
+DefaultRequestDirector.targetAuthStrategy
+Deprecated.
+The target authentication handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected AuthenticationStrategy |
+AbstractHttpClient.createProxyAuthenticationStrategy()
+Deprecated.
+ |
+
protected AuthenticationStrategy |
+AbstractHttpClient.createTargetAuthenticationStrategy()
+Deprecated.
+ |
+
AuthenticationStrategy |
+AbstractHttpClient.getProxyAuthenticationStrategy()
+Deprecated.
+ |
+
AuthenticationStrategy |
+AbstractHttpClient.getTargetAuthenticationStrategy()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+HttpAuthenticator.authenticate(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected ClientExecChain |
+HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
HttpClientBuilder |
+HttpClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
+Assigns
+AuthenticationStrategy instance for proxy
+ authentication. |
+
void |
+AbstractHttpClient.setProxyAuthenticationStrategy(AuthenticationStrategy strategy)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
+Assigns
+AuthenticationStrategy instance for target
+ host authentication. |
+
void |
+AbstractHttpClient.setTargetAuthenticationStrategy(AuthenticationStrategy strategy)
+Deprecated.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/BackoffManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/BackoffManager.html new file mode 100644 index 0000000..6a8cb0a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/BackoffManager.html @@ -0,0 +1,223 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AIMDBackoffManager
+The
+AIMDBackoffManager applies an additive increase,
+ multiplicative decrease (AIMD) to managing a dynamic limit to
+ the number of connections allowed to a given host. |
+
Modifier and Type | +Method and Description | +
---|---|
BackoffManager |
+AbstractHttpClient.getBackoffManager()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setBackoffManager(BackoffManager backoffManager)
+Assigns
+BackoffManager instance. |
+
void |
+AbstractHttpClient.setBackoffManager(BackoffManager manager)
+Deprecated.
+ |
+
Constructor and Description | +
---|
BackoffStrategyExec(ClientExecChain requestExecutor,
+ ConnectionBackoffStrategy connectionBackoffStrategy,
+ BackoffManager backoffManager) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CircularRedirectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CircularRedirectException.html new file mode 100644 index 0000000..e611a15 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CircularRedirectException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ClientProtocolException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ClientProtocolException.html new file mode 100644 index 0000000..32769ad --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ClientProtocolException.html @@ -0,0 +1,440 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpResponseException
+Signals a non 2xx HTTP response.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
org.apache.http.HttpResponse |
+HttpClient.execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+HttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
T |
+ResponseHandler.handleResponse(org.apache.http.HttpResponse response)
+Processes an
+HttpResponse and returns some value
+ corresponding to that response. |
+
Modifier and Type | +Method and Description | +
---|---|
Response |
+Request.execute() |
+
Response |
+Executor.execute(Request request)
+Executes the request.
+ |
+
<T> T |
+Response.handleResponse(ResponseHandler<T> handler)
+Handles the response using the specified
+ResponseHandler |
+
Content |
+Response.returnContent() |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract CloseableHttpResponse |
+CloseableHttpClient.doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
protected CloseableHttpResponse |
+AbstractHttpClient.doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(HttpUriRequest request)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ConnectionBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ConnectionBackoffStrategy.html new file mode 100644 index 0000000..fd66daa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ConnectionBackoffStrategy.html @@ -0,0 +1,230 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultBackoffStrategy
+This
+ConnectionBackoffStrategy backs off either for a raw
+ network socket or connection timeout or if the server explicitly
+ sends a 503 (Service Unavailable) response. |
+
class |
+NullBackoffStrategy
+This is a
+ConnectionBackoffStrategy that never backs off,
+ for compatibility with existing behavior. |
+
Modifier and Type | +Method and Description | +
---|---|
ConnectionBackoffStrategy |
+AbstractHttpClient.getConnectionBackoffStrategy()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
+Assigns
+ConnectionBackoffStrategy instance. |
+
void |
+AbstractHttpClient.setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy)
+Deprecated.
+ |
+
Constructor and Description | +
---|
BackoffStrategyExec(ClientExecChain requestExecutor,
+ ConnectionBackoffStrategy connectionBackoffStrategy,
+ BackoffManager backoffManager) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CookieStore.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CookieStore.html new file mode 100644 index 0000000..f4d1997 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CookieStore.html @@ -0,0 +1,280 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+Executor.cookieStore(CookieStore cookieStore)
+Deprecated.
+
+(4.5) Use
+Executor.use(CookieStore) . |
+
Executor |
+Executor.use(CookieStore cookieStore) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieStore |
+HttpClientContext.getCookieStore() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setCookieStore(CookieStore cookieStore) |
+
void |
+ClientContextConfigurer.setCookieStore(CookieStore store)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicCookieStore
+Default implementation of
+CookieStore |
+
Modifier and Type | +Method and Description | +
---|---|
protected CookieStore |
+AbstractHttpClient.createCookieStore()
+Deprecated.
+ |
+
CookieStore |
+AbstractHttpClient.getCookieStore()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractHttpClient.setCookieStore(CookieStore cookieStore)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
+Assigns default
+CookieStore instance which will be used for
+ request execution if not explicitly set in the client execution context. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CredentialsProvider.html new file mode 100644 index 0000000..9d79c92 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/CredentialsProvider.html @@ -0,0 +1,319 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+Executor.use(CredentialsProvider credentialsProvider) |
+
Modifier and Type | +Method and Description | +
---|---|
CredentialsProvider |
+HttpClientContext.getCredentialsProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setCredentialsProvider(CredentialsProvider credentialsProvider) |
+
void |
+ClientContextConfigurer.setCredentialsProvider(CredentialsProvider provider)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+WindowsCredentialsProvider
+CredentialsProvider implementation that always returns
+ CurrentWindowsCredentials instance to NTLM
+ and SPNego authentication challenges. |
+
Constructor and Description | +
---|
WindowsCredentialsProvider(CredentialsProvider provider) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicCredentialsProvider
+Default implementation of
+CredentialsProvider . |
+
class |
+SystemDefaultCredentialsProvider
+Implementation of
+CredentialsProvider backed by standard
+ JRE Authenticator . |
+
Modifier and Type | +Method and Description | +
---|---|
protected CredentialsProvider |
+AbstractHttpClient.createCredentialsProvider()
+Deprecated.
+ |
+
CredentialsProvider |
+AbstractHttpClient.getCredentialsProvider()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractHttpClient.setCredentialsProvider(CredentialsProvider credsProvider)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
+Assigns default
+CredentialsProvider instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpClient.html new file mode 100644 index 0000000..43ddc70 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpClient.html @@ -0,0 +1,387 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Executor |
+Executor.newInstance(HttpClient httpclient) |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+HttpClientUtils.closeQuietly(HttpClient httpClient)
+Unconditionally close a httpClient.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder . |
+
class |
+AutoRetryHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder . |
+
class |
+CloseableHttpClient
+Base implementation of
+HttpClient that also implements Closeable . |
+
class |
+ContentEncodingHttpClient
+Deprecated.
+
+(4.2) use
+HttpClientBuilder |
+
class |
+DecompressingHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder |
+
class |
+DefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder see also CloseableHttpClient . |
+
class |
+SystemDefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClient |
+DecompressingHttpClient.getHttpClient()
+Deprecated.
+Gets the HttpClient to issue request.
+ |
+
Constructor and Description | +
---|
AutoRetryHttpClient(HttpClient client)
+Deprecated.
+Constructs a
+AutoRetryHttpClient with default caching settings that
+ stores cache entries in memory and uses the given HttpClient for
+ backend requests. |
+
AutoRetryHttpClient(HttpClient client,
+ ServiceUnavailableRetryStrategy retryStrategy)
+Deprecated.
+ |
+
DecompressingHttpClient(HttpClient backend)
+Deprecated.
+Constructs a decorator to ask for and handle compressed
+ entities on the fly.
+ |
+
FutureRequestExecutionService(HttpClient httpclient,
+ ExecutorService executorService)
+Create a new FutureRequestExecutionService.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CachingHttpClient
+Deprecated.
+
+(4.3) use
+CachingHttpClientBuilder or CachingHttpClients . |
+
Constructor and Description | +
---|
CachingHttpClient(HttpClient client)
+Deprecated.
+Constructs a
+CachingHttpClient with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
CachingHttpClient(HttpClient client,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpRequestRetryHandler.html new file mode 100644 index 0000000..5f2e6d0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpRequestRetryHandler.html @@ -0,0 +1,363 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultHttpRequestRetryHandler
+The default
+HttpRequestRetryHandler used by request executors. |
+
class |
+StandardHttpRequestRetryHandler
+HttpRequestRetryHandler which assumes
+ that all requested HTTP methods which should be idempotent according
+ to RFC-2616 are in fact idempotent and can be retried. |
+
Modifier and Type | +Field and Description | +
---|---|
protected HttpRequestRetryHandler |
+DefaultRequestDirector.retryHandler
+Deprecated.
+The request retry handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected HttpRequestRetryHandler |
+AbstractHttpClient.createHttpRequestRetryHandler()
+Deprecated.
+ |
+
HttpRequestRetryHandler |
+AbstractHttpClient.getHttpRequestRetryHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
void |
+AbstractHttpClient.setHttpRequestRetryHandler(HttpRequestRetryHandler handler)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setRetryHandler(HttpRequestRetryHandler retryHandler)
+Assigns
+HttpRequestRetryHandler instance. |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
RetryExec(ClientExecChain requestExecutor,
+ HttpRequestRetryHandler retryHandler) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpResponseException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpResponseException.html new file mode 100644 index 0000000..50a8075 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/HttpResponseException.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+BasicResponseHandler.handleResponse(org.apache.http.HttpResponse response) |
+
T |
+AbstractResponseHandler.handleResponse(org.apache.http.HttpResponse response)
+Read the entity from the response body and pass it to the entity handler
+ method if the response was successful (a 2xx status code).
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/NonRepeatableRequestException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/NonRepeatableRequestException.html new file mode 100644 index 0000000..fd230f1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/NonRepeatableRequestException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectException.html new file mode 100644 index 0000000..b99b0e4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectException.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CircularRedirectException
+Signals a circular redirect
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectHandler.html new file mode 100644 index 0000000..5d92593 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectHandler.html @@ -0,0 +1,264 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultRedirectHandler
+Deprecated.
+
+(4.1) use
+DefaultRedirectStrategy . |
+
Modifier and Type | +Field and Description | +
---|---|
protected RedirectHandler |
+DefaultRequestDirector.redirectHandler
+Deprecated.
+The redirect handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RedirectHandler |
+AbstractHttpClient.createRedirectHandler()
+Deprecated.
+
+(4.1) do not use
+ |
+
RedirectHandler |
+AbstractHttpClient.getRedirectHandler()
+Deprecated.
+
+(4.1) do not use
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
void |
+AbstractHttpClient.setRedirectHandler(RedirectHandler handler)
+Deprecated.
+
+(4.1) do not use
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectStrategy.html new file mode 100644 index 0000000..ebd6c33 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RedirectStrategy.html @@ -0,0 +1,322 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultRedirectStrategy
+Default implementation of
+RedirectStrategy . |
+
class |
+LaxRedirectStrategy
+Lax
+RedirectStrategy implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests. |
+
Modifier and Type | +Field and Description | +
---|---|
protected RedirectStrategy |
+DefaultRequestDirector.redirectStrategy
+Deprecated.
+The redirect strategy.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RedirectStrategy |
+AbstractHttpClient.getRedirectStrategy()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setRedirectStrategy(RedirectStrategy redirectStrategy)
+Assigns
+RedirectStrategy instance. |
+
void |
+AbstractHttpClient.setRedirectStrategy(RedirectStrategy strategy)
+Deprecated.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
RedirectExec(ClientExecChain requestExecutor,
+ HttpRoutePlanner routePlanner,
+ RedirectStrategy redirectStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RequestDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RequestDirector.html new file mode 100644 index 0000000..df8bf54 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/RequestDirector.html @@ -0,0 +1,227 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultRequestDirector
+Deprecated.
+
+Do not use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ResponseHandler.html new file mode 100644 index 0000000..f6fefcf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ResponseHandler.html @@ -0,0 +1,460 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
<T> T |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ContentResponseHandler
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
<T> Future<T> |
+Async.execute(Request request,
+ ResponseHandler<T> handler) |
+
<T> Future<T> |
+Async.execute(Request request,
+ ResponseHandler<T> handler,
+ org.apache.http.concurrent.FutureCallback<T> callback) |
+
<T> T |
+Response.handleResponse(ResponseHandler<T> handler)
+Handles the response using the specified
+ResponseHandler |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractResponseHandler<T>
+A generic
+ResponseHandler that works with the response entity
+ for successful (2xx) responses. |
+
class |
+BasicResponseHandler
+A
+ResponseHandler that returns the response body as a String
+ for successful (2xx) responses. |
+
Modifier and Type | +Method and Description | +
---|---|
<T> T |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler)
+Schedule a request for execution.
+ |
+
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler,
+ org.apache.http.concurrent.FutureCallback<T> callback)
+Schedule a request for execution.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
<T> T |
+CachingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CachingHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+CachingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CachingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ServiceUnavailableRetryStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ServiceUnavailableRetryStrategy.html new file mode 100644 index 0000000..f06a4bc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/ServiceUnavailableRetryStrategy.html @@ -0,0 +1,221 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultServiceUnavailableRetryStrategy
+Default implementation of the
+ServiceUnavailableRetryStrategy interface. |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy serviceUnavailStrategy)
+Assigns
+ServiceUnavailableRetryStrategy instance. |
+
Constructor and Description | +
---|
AutoRetryHttpClient(HttpClient client,
+ ServiceUnavailableRetryStrategy retryStrategy)
+Deprecated.
+ |
+
AutoRetryHttpClient(ServiceUnavailableRetryStrategy config)
+Deprecated.
+Constructs a
+AutoRetryHttpClient with the given caching options that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient for backend requests. |
+
Constructor and Description | +
---|
ServiceUnavailableRetryExec(ClientExecChain requestExecutor,
+ ServiceUnavailableRetryStrategy retryStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/UserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/UserTokenHandler.html new file mode 100644 index 0000000..889537b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/class-use/UserTokenHandler.html @@ -0,0 +1,389 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultUserTokenHandler
+Default implementation of
+UserTokenHandler . |
+
class |
+NoopUserTokenHandler
+Noop implementation of
+UserTokenHandler that always returns null . |
+
Modifier and Type | +Field and Description | +
---|---|
protected UserTokenHandler |
+DefaultRequestDirector.userTokenHandler
+Deprecated.
+The user token handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected UserTokenHandler |
+AbstractHttpClient.createUserTokenHandler()
+Deprecated.
+ |
+
UserTokenHandler |
+AbstractHttpClient.getUserTokenHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected ClientExecChain |
+HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
HttpClientBuilder |
+HttpClientBuilder.setUserTokenHandler(UserTokenHandler userTokenHandler)
+Assigns
+UserTokenHandler instance. |
+
void |
+AbstractHttpClient.setUserTokenHandler(UserTokenHandler handler)
+Deprecated.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/AuthSchemes.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/AuthSchemes.html new file mode 100644 index 0000000..52f1b18 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/AuthSchemes.html @@ -0,0 +1,336 @@ + + + + + + +public final class AuthSchemes +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+BASIC
+Basic authentication scheme as defined in RFC 2617 (considered inherently
+ insecure, but most widely supported).
+ |
+
static String |
+CREDSSP
+CredSSP authentication scheme defined in [MS-CSSP].
+ |
+
static String |
+DIGEST
+Digest authentication scheme as defined in RFC 2617.
+ |
+
static String |
+KERBEROS
+Kerberos authentication scheme as defined in RFC 4120
+ (considered to be the most secure among currently supported
+ authentication schemes).
+ |
+
static String |
+NTLM
+The NTLM authentication scheme is a proprietary Microsoft Windows
+ authentication protocol as defined in [MS-NLMP].
+ |
+
static String |
+SPNEGO
+SPNEGO authentication scheme as defined in RFC 4559 and RFC 4178
+ (considered to be the most secure among currently supported
+ authentication schemes if Kerberos is selected).
+ |
+
public static final String BASIC+
public static final String DIGEST+
public static final String NTLM+
public static final String SPNEGO+
public static final String KERBEROS+
public static final String CREDSSP+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/CookieSpecs.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/CookieSpecs.html new file mode 100644 index 0000000..b087a71 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/CookieSpecs.html @@ -0,0 +1,354 @@ + + + + + + +public final class CookieSpecs +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+BEST_MATCH
+Deprecated.
+
+(4.4) use {link #DEFAULT}.
+ |
+
static String |
+BROWSER_COMPATIBILITY
+Deprecated.
+
+(4.4) use {link #DEFAULT}.
+ |
+
static String |
+DEFAULT
+The default policy.
+ |
+
static String |
+IGNORE_COOKIES
+The policy that ignores cookies.
+ |
+
static String |
+NETSCAPE
+The Netscape cookie draft compliant policy.
+ |
+
static String |
+STANDARD
+The RFC 6265 compliant policy (interoprability profile).
+ |
+
static String |
+STANDARD_STRICT
+The RFC 6265 compliant policy (strict profile).
+ |
+
@Deprecated +public static final String BROWSER_COMPATIBILITY+
public static final String NETSCAPE+
public static final String STANDARD+
public static final String STANDARD_STRICT+
@Deprecated +public static final String BEST_MATCH+
public static final String DEFAULT+
public static final String IGNORE_COOKIES+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.Builder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.Builder.html new file mode 100644 index 0000000..1b77c03 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.Builder.html @@ -0,0 +1,476 @@ + + + + + + +public static class RequestConfig.Builder +extends Object+
public RequestConfig.Builder setExpectContinueEnabled(boolean expectContinueEnabled)+
public RequestConfig.Builder setProxy(org.apache.http.HttpHost proxy)+
public RequestConfig.Builder setLocalAddress(InetAddress localAddress)+
@Deprecated +public RequestConfig.Builder setStaleConnectionCheckEnabled(boolean staleConnectionCheckEnabled)+
PoolingHttpClientConnectionManager.setValidateAfterInactivity(int)
public RequestConfig.Builder setCookieSpec(String cookieSpec)+
public RequestConfig.Builder setRedirectsEnabled(boolean redirectsEnabled)+
public RequestConfig.Builder setRelativeRedirectsAllowed(boolean relativeRedirectsAllowed)+
public RequestConfig.Builder setCircularRedirectsAllowed(boolean circularRedirectsAllowed)+
public RequestConfig.Builder setMaxRedirects(int maxRedirects)+
public RequestConfig.Builder setAuthenticationEnabled(boolean authenticationEnabled)+
public RequestConfig.Builder setTargetPreferredAuthSchemes(Collection<String> targetPreferredAuthSchemes)+
public RequestConfig.Builder setProxyPreferredAuthSchemes(Collection<String> proxyPreferredAuthSchemes)+
public RequestConfig.Builder setConnectionRequestTimeout(int connectionRequestTimeout)+
public RequestConfig.Builder setConnectTimeout(int connectTimeout)+
public RequestConfig.Builder setSocketTimeout(int socketTimeout)+
@Deprecated +public RequestConfig.Builder setDecompressionEnabled(boolean decompressionEnabled)+
setContentCompressionEnabled(boolean)
to false
and
+ add the Accept-Encoding
request header.public RequestConfig.Builder setContentCompressionEnabled(boolean contentCompressionEnabled)+
public RequestConfig.Builder setNormalizeUri(boolean normalizeUri)+
public RequestConfig build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.html new file mode 100644 index 0000000..6fe486b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/RequestConfig.html @@ -0,0 +1,786 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestConfig +extends Object +implements Cloneable+
Modifier and Type | +Class and Description | +
---|---|
static class |
+RequestConfig.Builder |
+
Modifier and Type | +Field and Description | +
---|---|
static RequestConfig |
+DEFAULT |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+RequestConfig()
+Intended for CDI compatibility
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestConfig |
+clone() |
+
static RequestConfig.Builder |
+copy(RequestConfig config) |
+
static RequestConfig.Builder |
+custom() |
+
int |
+getConnectionRequestTimeout()
+Returns the timeout in milliseconds used when requesting a connection
+ from the connection manager.
+ |
+
int |
+getConnectTimeout()
+Determines the timeout in milliseconds until a connection is established.
+ |
+
String |
+getCookieSpec()
+Determines the name of the cookie specification to be used for HTTP state
+ management.
+ |
+
InetAddress |
+getLocalAddress()
+Returns local address to be used for request execution.
+ |
+
int |
+getMaxRedirects()
+Returns the maximum number of redirects to be followed.
+ |
+
org.apache.http.HttpHost |
+getProxy()
+Returns HTTP proxy to be used for request execution.
+ |
+
Collection<String> |
+getProxyPreferredAuthSchemes()
+Determines the order of preference for supported authentication schemes
+ when authenticating with the proxy host.
+ |
+
int |
+getSocketTimeout()
+Defines the socket timeout (
+SO_TIMEOUT ) in milliseconds,
+ which is the timeout for waiting for data or, put differently,
+ a maximum period inactivity between two consecutive data packets). |
+
Collection<String> |
+getTargetPreferredAuthSchemes()
+Determines the order of preference for supported authentication schemes
+ when authenticating with the target host.
+ |
+
boolean |
+isAuthenticationEnabled()
+Determines whether authentication should be handled automatically.
+ |
+
boolean |
+isCircularRedirectsAllowed()
+Determines whether circular redirects (redirects to the same location) should
+ be allowed.
+ |
+
boolean |
+isContentCompressionEnabled()
+Determines whether the target server is requested to compress content.
+ |
+
boolean |
+isDecompressionEnabled()
+Deprecated.
+
+(4.5) Use
+isContentCompressionEnabled() |
+
boolean |
+isExpectContinueEnabled()
+Determines whether the 'Expect: 100-Continue' handshake is enabled
+ for entity enclosing methods.
+ |
+
boolean |
+isNormalizeUri()
+Determines whether client should normalize URIs in requests or not.
+ |
+
boolean |
+isRedirectsEnabled()
+Determines whether redirects should be handled automatically.
+ |
+
boolean |
+isRelativeRedirectsAllowed()
+Determines whether relative redirects should be rejected.
+ |
+
boolean |
+isStaleConnectionCheckEnabled()
+Deprecated.
+
+
+ |
+
String |
+toString() |
+
public static final RequestConfig DEFAULT+
protected RequestConfig()+
public boolean isExpectContinueEnabled()+
+ The use of the 'Expect: 100-continue' handshake can result in + a noticeable performance improvement for entity enclosing requests + (such as POST and PUT) that require the target server's + authentication. +
++ 'Expect: 100-continue' handshake should be used with caution, as it + may cause problems with HTTP servers and proxies that do not support + HTTP/1.1 protocol. +
+
+ Default: false
+
public org.apache.http.HttpHost getProxy()+
+ Default: null
+
public InetAddress getLocalAddress()+
+ On machines with multiple network interfaces, this parameter + can be used to select the network interface from which the + connection originates. +
+
+ Default: null
+
@Deprecated +public boolean isStaleConnectionCheckEnabled()+
PoolingHttpClientConnectionManager.getValidateAfterInactivity()
+ Default: false
since 4.4
+
public String getCookieSpec()+
+ Default: null
+
public boolean isRedirectsEnabled()+
+ Default: true
+
public boolean isRelativeRedirectsAllowed()+
+ Default: true
+
public boolean isCircularRedirectsAllowed()+
+ Default: false
+
public int getMaxRedirects()+
+ Default: 50
+
public boolean isAuthenticationEnabled()+
+ Default: true
+
public Collection<String> getTargetPreferredAuthSchemes()+
+ Default: null
+
public Collection<String> getProxyPreferredAuthSchemes()+
+ Default: null
+
public int getConnectionRequestTimeout()+
+ A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). +
+
+ Default: -1
+
public int getConnectTimeout()+
+ A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). +
+
+ Default: -1
+
public int getSocketTimeout()+
SO_TIMEOUT
) in milliseconds,
+ which is the timeout for waiting for data or, put differently,
+ a maximum period inactivity between two consecutive data packets).
+ + A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). +
+
+ Default: -1
+
@Deprecated +public boolean isDecompressionEnabled()+
isContentCompressionEnabled()
+ Default: true
+
public boolean isContentCompressionEnabled()+
+ Default: true
+
public boolean isNormalizeUri()+
+ Default: true
+
protected RequestConfig clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
public static RequestConfig.Builder custom()+
public static RequestConfig.Builder copy(RequestConfig config)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/AuthSchemes.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/AuthSchemes.html new file mode 100644 index 0000000..16ce69a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/AuthSchemes.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/CookieSpecs.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/CookieSpecs.html new file mode 100644 index 0000000..bb017e9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/CookieSpecs.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.Builder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.Builder.html new file mode 100644 index 0000000..f566227 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.Builder.html @@ -0,0 +1,244 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.config | +
+ Client configuration APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static RequestConfig.Builder |
+RequestConfig.copy(RequestConfig config) |
+
static RequestConfig.Builder |
+RequestConfig.custom() |
+
RequestConfig.Builder |
+RequestConfig.Builder.setAuthenticationEnabled(boolean authenticationEnabled) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setCircularRedirectsAllowed(boolean circularRedirectsAllowed) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setConnectionRequestTimeout(int connectionRequestTimeout) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setConnectTimeout(int connectTimeout) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setContentCompressionEnabled(boolean contentCompressionEnabled) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setCookieSpec(String cookieSpec) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setDecompressionEnabled(boolean decompressionEnabled)
+Deprecated.
+
+(4.5) Set
+setContentCompressionEnabled(boolean) to false and
+ add the Accept-Encoding request header. |
+
RequestConfig.Builder |
+RequestConfig.Builder.setExpectContinueEnabled(boolean expectContinueEnabled) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setLocalAddress(InetAddress localAddress) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setMaxRedirects(int maxRedirects) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setNormalizeUri(boolean normalizeUri) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setProxy(org.apache.http.HttpHost proxy) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setProxyPreferredAuthSchemes(Collection<String> proxyPreferredAuthSchemes) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setRedirectsEnabled(boolean redirectsEnabled) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setRelativeRedirectsAllowed(boolean relativeRedirectsAllowed) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setSocketTimeout(int socketTimeout) |
+
RequestConfig.Builder |
+RequestConfig.Builder.setStaleConnectionCheckEnabled(boolean staleConnectionCheckEnabled)
+Deprecated.
+
+
+ |
+
RequestConfig.Builder |
+RequestConfig.Builder.setTargetPreferredAuthSchemes(Collection<String> targetPreferredAuthSchemes) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.html new file mode 100644 index 0000000..e715d6f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/class-use/RequestConfig.html @@ -0,0 +1,370 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.config | +
+ Client configuration APIs.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static RequestConfig |
+RequestConfig.DEFAULT |
+
Modifier and Type | +Method and Description | +
---|---|
RequestConfig |
+RequestConfig.Builder.build() |
+
protected RequestConfig |
+RequestConfig.clone() |
+
Modifier and Type | +Method and Description | +
---|---|
static RequestConfig.Builder |
+RequestConfig.copy(RequestConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
RequestConfig |
+RequestBuilder.getConfig() |
+
RequestConfig |
+Configurable.getConfig()
+Returns actual request configuration.
+ |
+
RequestConfig |
+HttpRequestBase.getConfig() |
+
Modifier and Type | +Method and Description | +
---|---|
RequestBuilder |
+RequestBuilder.setConfig(RequestConfig config) |
+
void |
+HttpRequestBase.setConfig(RequestConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
static RequestConfig |
+HttpClientParamConfig.getRequestConfig(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
static RequestConfig |
+HttpClientParamConfig.getRequestConfig(org.apache.http.params.HttpParams params,
+ RequestConfig defaultConfig)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static RequestConfig |
+HttpClientParamConfig.getRequestConfig(org.apache.http.params.HttpParams params,
+ RequestConfig defaultConfig)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RequestConfig |
+HttpClientContext.getRequestConfig() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setRequestConfig(RequestConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setDefaultRequestConfig(RequestConfig config)
+Assigns default
+RequestConfig instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
Constructor and Description | +
---|
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ org.apache.http.config.ConnectionConfig connectionConfig,
+ RequestConfig requestConfig) |
+
ProxyClient(RequestConfig requestConfig) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-frame.html new file mode 100644 index 0000000..a5835c0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
AuthSchemes | +
+ Standard authentication schemes supported by HttpClient.
+ |
+
CookieSpecs | +
+ Standard cookie specifications supported by HttpClient.
+ |
+
RequestConfig | +
+ Immutable class encapsulating request configuration items.
+ |
+
RequestConfig.Builder | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-tree.html new file mode 100644 index 0000000..02819a9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-use.html new file mode 100644 index 0000000..609e4ca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/config/package-use.html @@ -0,0 +1,249 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.config | +
+ Client configuration APIs.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Class and Description | +
---|
RequestConfig
+ Immutable class encapsulating request configuration items.
+ |
+
RequestConfig.Builder | +
Class and Description | +
---|
RequestConfig
+ Immutable class encapsulating request configuration items.
+ |
+
Class and Description | +
---|
RequestConfig
+ Immutable class encapsulating request configuration items.
+ |
+
Class and Description | +
---|
RequestConfig
+ Immutable class encapsulating request configuration items.
+ |
+
Class and Description | +
---|
RequestConfig
+ Immutable class encapsulating request configuration items.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DecompressingEntity.html new file mode 100644 index 0000000..faf805f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DecompressingEntity.html @@ -0,0 +1,369 @@ + + + + + + +public class DecompressingEntity
+extends org.apache.http.entity.HttpEntityWrapper
+HttpEntity
implementations.wrappedEntity
Constructor and Description | +
---|
DecompressingEntity(org.apache.http.HttpEntity wrapped,
+ InputStreamFactory inputStreamFactory)
+Creates a new
+DecompressingEntity . |
+
Modifier and Type | +Method and Description | +
---|---|
InputStream |
+getContent() |
+
org.apache.http.Header |
+getContentEncoding() |
+
long |
+getContentLength() |
+
void |
+writeTo(OutputStream outStream) |
+
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
public DecompressingEntity(org.apache.http.HttpEntity wrapped, + InputStreamFactory inputStreamFactory)+
DecompressingEntity
.wrapped
- the non-null HttpEntity
to be wrappedinputStreamFactory
- factory to create decompressing stream.public InputStream getContent() + throws IOException+
getContent
in interface org.apache.http.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
public void writeTo(OutputStream outStream) + throws IOException+
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
IOException
public org.apache.http.Header getContentEncoding()+
getContentEncoding
in interface org.apache.http.HttpEntity
getContentEncoding
in class org.apache.http.entity.HttpEntityWrapper
public long getContentLength()+
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.HttpEntityWrapper
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateDecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateDecompressingEntity.html new file mode 100644 index 0000000..3ccdfe8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateDecompressingEntity.html @@ -0,0 +1,292 @@ + + + + + + +public class DeflateDecompressingEntity +extends DecompressingEntity+
HttpEntityWrapper
responsible for handling
+ deflate Content Coded responses. In RFC2616 terms, deflate
+ means a zlib
stream as defined in RFC1950. Some server
+ implementations have misinterpreted RFC2616 to mean that a
+ deflate
stream as defined in RFC1951 should be used
+ (or maybe they did that since that's how IE behaves?). It's confusing
+ that deflate
in HTTP 1.1 means zlib
streams
+ rather than deflate
streams. We handle both types in here,
+ since that's what is seen on the internet. Moral - prefer
+ gzip
!GzipDecompressingEntity
wrappedEntity
Constructor and Description | +
---|
DeflateDecompressingEntity(org.apache.http.HttpEntity entity)
+Creates a new
+DeflateDecompressingEntity which will wrap the specified
+ HttpEntity . |
+
getContent, getContentEncoding, getContentLength, writeTo
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
public DeflateDecompressingEntity(org.apache.http.HttpEntity entity)+
DeflateDecompressingEntity
which will wrap the specified
+ HttpEntity
.entity
- a non-null HttpEntity
to be wrappedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStream.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStream.html new file mode 100644 index 0000000..10ce8f0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStream.html @@ -0,0 +1,461 @@ + + + + + + +public class DeflateInputStream +extends InputStream+
Constructor and Description | +
---|
DeflateInputStream(InputStream wrapped) |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+available()
+Get available.
+ |
+
void |
+close()
+Close.
+ |
+
void |
+mark(int readLimit)
+Mark.
+ |
+
boolean |
+markSupported()
+Check if mark is supported.
+ |
+
int |
+read()
+Read a byte.
+ |
+
int |
+read(byte[] b)
+Read lots of bytes.
+ |
+
int |
+read(byte[] b,
+ int off,
+ int len)
+Read lots of specific bytes.
+ |
+
void |
+reset()
+Reset.
+ |
+
long |
+skip(long n)
+Skip
+ |
+
public DeflateInputStream(InputStream wrapped) + throws IOException+
IOException
public int read() + throws IOException+
read
in class InputStream
IOException
public int read(byte[] b) + throws IOException+
read
in class InputStream
IOException
public int read(byte[] b, + int off, + int len) + throws IOException+
read
in class InputStream
IOException
public long skip(long n) + throws IOException+
skip
in class InputStream
IOException
public int available() + throws IOException+
available
in class InputStream
IOException
public void mark(int readLimit)+
mark
in class InputStream
public void reset() + throws IOException+
reset
in class InputStream
IOException
public boolean markSupported()+
markSupported
in class InputStream
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStreamFactory.html new file mode 100644 index 0000000..905bcb5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/DeflateInputStreamFactory.html @@ -0,0 +1,290 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DeflateInputStreamFactory +extends Object +implements InputStreamFactory+
InputStreamFactory
for handling Deflate Content Coded responses.Constructor and Description | +
---|
DeflateInputStreamFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
InputStream |
+create(InputStream inputStream) |
+
static DeflateInputStreamFactory |
+getInstance()
+Gets the singleton instance.
+ |
+
public DeflateInputStreamFactory()+
public static DeflateInputStreamFactory getInstance()+
public InputStream create(InputStream inputStream) + throws IOException+
create
in interface InputStreamFactory
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/EntityBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/EntityBuilder.html new file mode 100644 index 0000000..6f496bf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/EntityBuilder.html @@ -0,0 +1,661 @@ + + + + + + +public class EntityBuilder +extends Object+
HttpEntity
instances.
+ + Several setter methods of this builder are mutually exclusive. In case of multiple invocations + of the following methods only the last one will have effect: +
+Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpEntity |
+build()
+Creates new instance of
+HttpEntity based on the current state. |
+
EntityBuilder |
+chunked()
+Makes entity chunk coded.
+ |
+
static EntityBuilder |
+create() |
+
byte[] |
+getBinary()
+Returns entity content as a byte array if set using
+
+setBinary(byte[]) method. |
+
String |
+getContentEncoding()
+Returns content encoding of the entity, if set.
+ |
+
org.apache.http.entity.ContentType |
+getContentType()
+Returns
+ContentType of the entity, if set. |
+
File |
+getFile()
+Returns entity content as a
+File if set using
+ setFile(java.io.File) method. |
+
List<org.apache.http.NameValuePair> |
+getParameters()
+Returns entity content as a parameter list if set using
+
+setParameters(java.util.List) or
+ setParameters(org.apache.http.NameValuePair...) methods. |
+
Serializable |
+getSerializable()
+Returns entity content as a
+Serializable if set using
+ setSerializable(java.io.Serializable) method. |
+
InputStream |
+getStream()
+Returns entity content as a
+InputStream if set using
+ setStream(java.io.InputStream) method. |
+
String |
+getText()
+Returns entity content as a string if set using
+setText(String) method. |
+
EntityBuilder |
+gzipCompress()
+Makes entity GZIP compressed.
+ |
+
boolean |
+isChunked()
+Returns
+true if entity is to be chunk coded, false otherwise. |
+
boolean |
+isGzipCompress()
+Returns
+true if entity is to be GZIP compressed, false otherwise. |
+
EntityBuilder |
+setBinary(byte[] binary)
+Sets entity content as a byte array.
+ |
+
EntityBuilder |
+setContentEncoding(String contentEncoding)
+Sets content encoding of the entity.
+ |
+
EntityBuilder |
+setContentType(org.apache.http.entity.ContentType contentType)
+Sets
+ContentType of the entity. |
+
EntityBuilder |
+setFile(File file)
+Sets entity content as a
+File . |
+
EntityBuilder |
+setParameters(List<org.apache.http.NameValuePair> parameters)
+Sets entity content as a parameter list.
+ |
+
EntityBuilder |
+setParameters(org.apache.http.NameValuePair... parameters)
+Sets entity content as a parameter list.
+ |
+
EntityBuilder |
+setSerializable(Serializable serializable)
+Sets entity content as a
+Serializable . |
+
EntityBuilder |
+setStream(InputStream stream)
+Sets entity content as a
+InputStream . |
+
EntityBuilder |
+setText(String text)
+Sets entity content as a string.
+ |
+
public static EntityBuilder create()+
public String getText()+
setText(String)
method.public EntityBuilder setText(String text)+
public byte[] getBinary()+
setBinary(byte[])
method.public EntityBuilder setBinary(byte[] binary)+
public InputStream getStream()+
InputStream
if set using
+ setStream(java.io.InputStream)
method.public EntityBuilder setStream(InputStream stream)+
InputStream
. This method is mutually
+ exclusive with:
+ public List<org.apache.http.NameValuePair> getParameters()+
setParameters(java.util.List)
or
+ setParameters(org.apache.http.NameValuePair...)
methods.public EntityBuilder setParameters(List<org.apache.http.NameValuePair> parameters)+
public EntityBuilder setParameters(org.apache.http.NameValuePair... parameters)+
public Serializable getSerializable()+
Serializable
if set using
+ setSerializable(java.io.Serializable)
method.public EntityBuilder setSerializable(Serializable serializable)+
Serializable
. This method is mutually exclusive with:
+ public File getFile()+
File
if set using
+ setFile(java.io.File)
method.public EntityBuilder setFile(File file)+
File
. This method is mutually exclusive with:
+ public org.apache.http.entity.ContentType getContentType()+
ContentType
of the entity, if set.public EntityBuilder setContentType(org.apache.http.entity.ContentType contentType)+
ContentType
of the entity.public String getContentEncoding()+
public EntityBuilder setContentEncoding(String contentEncoding)+
public boolean isChunked()+
true
if entity is to be chunk coded, false
otherwise.public EntityBuilder chunked()+
public boolean isGzipCompress()+
true
if entity is to be GZIP compressed, false
otherwise.public EntityBuilder gzipCompress()+
public org.apache.http.HttpEntity build()+
HttpEntity
based on the current state.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GZIPInputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GZIPInputStreamFactory.html new file mode 100644 index 0000000..20b2d2b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GZIPInputStreamFactory.html @@ -0,0 +1,290 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class GZIPInputStreamFactory +extends Object +implements InputStreamFactory+
InputStreamFactory
for handling GZIPContent Coded responses.Constructor and Description | +
---|
GZIPInputStreamFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
InputStream |
+create(InputStream inputStream) |
+
static GZIPInputStreamFactory |
+getInstance()
+Gets the singleton instance.
+ |
+
public GZIPInputStreamFactory()+
public static GZIPInputStreamFactory getInstance()+
public InputStream create(InputStream inputStream) + throws IOException+
create
in interface InputStreamFactory
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipCompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipCompressingEntity.html new file mode 100644 index 0000000..d11d245 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipCompressingEntity.html @@ -0,0 +1,378 @@ + + + + + + +public class GzipCompressingEntity
+extends org.apache.http.entity.HttpEntityWrapper
+writing
.wrappedEntity
Constructor and Description | +
---|
GzipCompressingEntity(org.apache.http.HttpEntity entity) |
+
Modifier and Type | +Method and Description | +
---|---|
InputStream |
+getContent() |
+
org.apache.http.Header |
+getContentEncoding() |
+
long |
+getContentLength() |
+
boolean |
+isChunked() |
+
void |
+writeTo(OutputStream outStream) |
+
consumeContent, getContentType, isRepeatable, isStreaming
public GzipCompressingEntity(org.apache.http.HttpEntity entity)+
public org.apache.http.Header getContentEncoding()+
getContentEncoding
in interface org.apache.http.HttpEntity
getContentEncoding
in class org.apache.http.entity.HttpEntityWrapper
public long getContentLength()+
getContentLength
in interface org.apache.http.HttpEntity
getContentLength
in class org.apache.http.entity.HttpEntityWrapper
public boolean isChunked()+
isChunked
in interface org.apache.http.HttpEntity
isChunked
in class org.apache.http.entity.HttpEntityWrapper
public InputStream getContent() + throws IOException+
getContent
in interface org.apache.http.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
public void writeTo(OutputStream outStream) + throws IOException+
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipDecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipDecompressingEntity.html new file mode 100644 index 0000000..402b297 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/GzipDecompressingEntity.html @@ -0,0 +1,283 @@ + + + + + + +public class GzipDecompressingEntity +extends DecompressingEntity+
HttpEntityWrapper
for handling gzip
+ Content Coded responses.wrappedEntity
Constructor and Description | +
---|
GzipDecompressingEntity(org.apache.http.HttpEntity entity)
+Creates a new
+GzipDecompressingEntity which will wrap the specified
+ HttpEntity . |
+
getContent, getContentEncoding, getContentLength, writeTo
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
public GzipDecompressingEntity(org.apache.http.HttpEntity entity)+
GzipDecompressingEntity
which will wrap the specified
+ HttpEntity
.entity
- the non-null HttpEntity
to be wrappedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/InputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/InputStreamFactory.html new file mode 100644 index 0000000..7ecb0dd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/InputStreamFactory.html @@ -0,0 +1,218 @@ + + + + + + +public interface InputStreamFactory
+InputStream
s.Modifier and Type | +Method and Description | +
---|---|
InputStream |
+create(InputStream inStream) |
+
InputStream create(InputStream inStream) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/UrlEncodedFormEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/UrlEncodedFormEntity.html new file mode 100644 index 0000000..8c43213 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/UrlEncodedFormEntity.html @@ -0,0 +1,356 @@ + + + + + + +public class UrlEncodedFormEntity
+extends org.apache.http.entity.StringEntity
+content
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
Constructor and Description | +
---|
UrlEncodedFormEntity(Iterable<? extends org.apache.http.NameValuePair> parameters)
+Constructs a new
+UrlEncodedFormEntity with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
+
UrlEncodedFormEntity(Iterable<? extends org.apache.http.NameValuePair> parameters,
+ Charset charset)
+Constructs a new
+UrlEncodedFormEntity with the list
+ of parameters in the specified encoding. |
+
UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters)
+Constructs a new
+UrlEncodedFormEntity with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
+
UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters,
+ String charset)
+Constructs a new
+UrlEncodedFormEntity with the list
+ of parameters in the specified encoding. |
+
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toString
public UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters, + String charset) + throws UnsupportedEncodingException+
UrlEncodedFormEntity
with the list
+ of parameters in the specified encoding.parameters
- list of name/value pairscharset
- encoding the name/value pairs be encoded withUnsupportedEncodingException
- if the encoding isn't supportedpublic UrlEncodedFormEntity(Iterable<? extends org.apache.http.NameValuePair> parameters, + Charset charset)+
UrlEncodedFormEntity
with the list
+ of parameters in the specified encoding.parameters
- iterable collection of name/value pairscharset
- encoding the name/value pairs be encoded withpublic UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters) + throws UnsupportedEncodingException+
UrlEncodedFormEntity
with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET
parameters
- list of name/value pairsUnsupportedEncodingException
- if the default encoding isn't supportedpublic UrlEncodedFormEntity(Iterable<? extends org.apache.http.NameValuePair> parameters)+
UrlEncodedFormEntity
with the list
+ of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET
parameters
- iterable collection of name/value pairsCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DecompressingEntity.html new file mode 100644 index 0000000..2475ec6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DecompressingEntity.html @@ -0,0 +1,169 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DeflateDecompressingEntity
+HttpEntityWrapper responsible for handling
+ deflate Content Coded responses. |
+
class |
+GzipDecompressingEntity
+HttpEntityWrapper for handling gzip
+ Content Coded responses. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateDecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateDecompressingEntity.html new file mode 100644 index 0000000..5ca2816 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateDecompressingEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStream.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStream.html new file mode 100644 index 0000000..bc50039 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStream.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStreamFactory.html new file mode 100644 index 0000000..2b206f5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/DeflateInputStreamFactory.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DeflateInputStreamFactory |
+DeflateInputStreamFactory.getInstance()
+Gets the singleton instance.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/EntityBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/EntityBuilder.html new file mode 100644 index 0000000..cd3676d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/EntityBuilder.html @@ -0,0 +1,225 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
EntityBuilder |
+EntityBuilder.chunked()
+Makes entity chunk coded.
+ |
+
static EntityBuilder |
+EntityBuilder.create() |
+
EntityBuilder |
+EntityBuilder.gzipCompress()
+Makes entity GZIP compressed.
+ |
+
EntityBuilder |
+EntityBuilder.setBinary(byte[] binary)
+Sets entity content as a byte array.
+ |
+
EntityBuilder |
+EntityBuilder.setContentEncoding(String contentEncoding)
+Sets content encoding of the entity.
+ |
+
EntityBuilder |
+EntityBuilder.setContentType(org.apache.http.entity.ContentType contentType)
+Sets
+ContentType of the entity. |
+
EntityBuilder |
+EntityBuilder.setFile(File file)
+Sets entity content as a
+File . |
+
EntityBuilder |
+EntityBuilder.setParameters(List<org.apache.http.NameValuePair> parameters)
+Sets entity content as a parameter list.
+ |
+
EntityBuilder |
+EntityBuilder.setParameters(org.apache.http.NameValuePair... parameters)
+Sets entity content as a parameter list.
+ |
+
EntityBuilder |
+EntityBuilder.setSerializable(Serializable serializable)
+Sets entity content as a
+Serializable . |
+
EntityBuilder |
+EntityBuilder.setStream(InputStream stream)
+Sets entity content as a
+InputStream . |
+
EntityBuilder |
+EntityBuilder.setText(String text)
+Sets entity content as a string.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GZIPInputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GZIPInputStreamFactory.html new file mode 100644 index 0000000..0d9d73e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GZIPInputStreamFactory.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static GZIPInputStreamFactory |
+GZIPInputStreamFactory.getInstance()
+Gets the singleton instance.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipCompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipCompressingEntity.html new file mode 100644 index 0000000..37c470e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipCompressingEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipDecompressingEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipDecompressingEntity.html new file mode 100644 index 0000000..9603bca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/GzipDecompressingEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/InputStreamFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/InputStreamFactory.html new file mode 100644 index 0000000..d27b376 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/InputStreamFactory.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DeflateInputStreamFactory
+InputStreamFactory for handling Deflate Content Coded responses. |
+
class |
+GZIPInputStreamFactory
+InputStreamFactory for handling GZIPContent Coded responses. |
+
Constructor and Description | +
---|
DecompressingEntity(org.apache.http.HttpEntity wrapped,
+ InputStreamFactory inputStreamFactory)
+Creates a new
+DecompressingEntity . |
+
Constructor and Description | +
---|
ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry) |
+
ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry,
+ boolean ignoreUnknown) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setContentDecoderRegistry(Map<String,InputStreamFactory> contentDecoderMap)
+Assigns a map of
+InputStreamFactory s
+ to be used for automatic content decompression. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/UrlEncodedFormEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/UrlEncodedFormEntity.html new file mode 100644 index 0000000..7bd7752 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/class-use/UrlEncodedFormEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-frame.html new file mode 100644 index 0000000..ec40b50 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
InputStreamFactory | +
+ Factory for decorated
+InputStream s. |
+
Class | +Description | +
---|---|
DecompressingEntity | +
+ Common base class for decompressing
+HttpEntity implementations. |
+
DeflateDecompressingEntity | +
+HttpEntityWrapper responsible for handling
+ deflate Content Coded responses. |
+
DeflateInputStream | +
+ Deflate input stream.
+ |
+
DeflateInputStreamFactory | +
+InputStreamFactory for handling Deflate Content Coded responses. |
+
EntityBuilder | +
+ Builder for
+HttpEntity instances. |
+
GzipCompressingEntity | +
+ Wrapping entity that compresses content when
+writing . |
+
GzipDecompressingEntity | +
+HttpEntityWrapper for handling gzip
+ Content Coded responses. |
+
GZIPInputStreamFactory | +
+InputStreamFactory for handling GZIPContent Coded responses. |
+
UrlEncodedFormEntity | +
+ An entity composed of a list of url-encoded pairs.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-tree.html new file mode 100644 index 0000000..3762edc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-use.html new file mode 100644 index 0000000..6885ec2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/entity/package-use.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Class and Description | +
---|
DecompressingEntity
+ Common base class for decompressing
+HttpEntity implementations. |
+
DeflateInputStreamFactory
+InputStreamFactory for handling Deflate Content Coded responses. |
+
EntityBuilder
+ Builder for
+HttpEntity instances. |
+
GZIPInputStreamFactory
+InputStreamFactory for handling GZIPContent Coded responses. |
+
InputStreamFactory
+ Factory for decorated
+InputStream s. |
+
Class and Description | +
---|
InputStreamFactory
+ Factory for decorated
+InputStream s. |
+
Class and Description | +
---|
InputStreamFactory
+ Factory for decorated
+InputStream s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Async.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Async.html new file mode 100644 index 0000000..0240bab --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Async.html @@ -0,0 +1,310 @@ + + + + + + +public class Async +extends Object+
Modifier and Type | +Method and Description | +
---|---|
Future<Content> |
+execute(Request request) |
+
Future<Content> |
+execute(Request request,
+ org.apache.http.concurrent.FutureCallback<Content> callback) |
+
<T> Future<T> |
+execute(Request request,
+ ResponseHandler<T> handler) |
+
<T> Future<T> |
+execute(Request request,
+ ResponseHandler<T> handler,
+ org.apache.http.concurrent.FutureCallback<T> callback) |
+
static Async |
+newInstance() |
+
Async |
+use(Executor executor) |
+
Async |
+use(Executor concurrentExec) |
+
public static Async newInstance()+
public <T> Future<T> execute(Request request, + ResponseHandler<T> handler, + org.apache.http.concurrent.FutureCallback<T> callback)+
public <T> Future<T> execute(Request request, + ResponseHandler<T> handler)+
public Future<Content> execute(Request request, + org.apache.http.concurrent.FutureCallback<Content> callback)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Content.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Content.html new file mode 100644 index 0000000..0992647 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Content.html @@ -0,0 +1,369 @@ + + + + + + +public class Content +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static Content |
+NO_CONTENT |
+
Constructor and Description | +
---|
Content(byte[] raw,
+ org.apache.http.entity.ContentType type) |
+
public Content(byte[] raw, + org.apache.http.entity.ContentType type)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/ContentResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/ContentResponseHandler.html new file mode 100644 index 0000000..85cbd02 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/ContentResponseHandler.html @@ -0,0 +1,292 @@ + + + + + + +public class ContentResponseHandler +extends AbstractResponseHandler<Content>+ +
Content
Constructor and Description | +
---|
ContentResponseHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
Content |
+handleEntity(org.apache.http.HttpEntity entity)
+Handle the response entity and transform it into the actual response
+ object.
+ |
+
handleResponse
public ContentResponseHandler()+
public Content handleEntity(org.apache.http.HttpEntity entity) + throws IOException+
AbstractResponseHandler
handleEntity
in class AbstractResponseHandler<Content>
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Executor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Executor.html new file mode 100644 index 0000000..3ac10c4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Executor.html @@ -0,0 +1,585 @@ + + + + + + +public class Executor +extends Object+
+ A PoolingHttpClientConnectionManager
with maximum 100 connections per route and
+ a total maximum of 200 connections is used internally.
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+auth(AuthScope authScope,
+ Credentials creds) |
+
Executor |
+auth(Credentials cred) |
+
Executor |
+auth(org.apache.http.HttpHost host,
+ Credentials creds) |
+
Executor |
+auth(org.apache.http.HttpHost host,
+ String username,
+ String password) |
+
Executor |
+auth(org.apache.http.HttpHost host,
+ String username,
+ String password,
+ String workstation,
+ String domain) |
+
Executor |
+auth(String host,
+ Credentials creds) |
+
Executor |
+auth(String username,
+ String password) |
+
Executor |
+auth(String username,
+ String password,
+ String workstation,
+ String domain) |
+
Executor |
+authPreemptive(org.apache.http.HttpHost host) |
+
Executor |
+authPreemptive(String host) |
+
Executor |
+authPreemptiveProxy(org.apache.http.HttpHost proxy) |
+
Executor |
+authPreemptiveProxy(String proxy) |
+
Executor |
+clearAuth() |
+
Executor |
+clearCookies() |
+
static void |
+closeIdleConnections()
+Closes all idle persistent connections used by the internal pool.
+ |
+
Executor |
+cookieStore(CookieStore cookieStore)
+Deprecated.
+
+(4.5) Use
+use(CookieStore) . |
+
Response |
+execute(Request request)
+Executes the request.
+ |
+
static Executor |
+newInstance() |
+
static Executor |
+newInstance(HttpClient httpclient) |
+
static void |
+registerScheme(Scheme scheme)
+Deprecated.
+
+(4.3) do not use.
+ |
+
static void |
+unregisterScheme(String name)
+Deprecated.
+
+(4.3) do not use.
+ |
+
Executor |
+use(CookieStore cookieStore) |
+
Executor |
+use(CredentialsProvider credentialsProvider) |
+
public static Executor newInstance()+
public static Executor newInstance(HttpClient httpclient)+
public Executor use(CredentialsProvider credentialsProvider)+
public Executor auth(AuthScope authScope, + Credentials creds)+
public Executor auth(org.apache.http.HttpHost host, + Credentials creds)+
public Executor auth(String host, + Credentials creds)+
public Executor authPreemptive(org.apache.http.HttpHost host)+
public Executor authPreemptiveProxy(org.apache.http.HttpHost proxy)+
public Executor auth(Credentials cred)+
public Executor auth(String username, + String password, + String workstation, + String domain)+
public Executor auth(org.apache.http.HttpHost host, + String username, + String password)+
public Executor auth(org.apache.http.HttpHost host, + String username, + String password, + String workstation, + String domain)+
public Executor clearAuth()+
@Deprecated +public Executor cookieStore(CookieStore cookieStore)+
use(CookieStore)
.public Executor use(CookieStore cookieStore)+
public Executor clearCookies()+
public Response execute(Request request) + throws ClientProtocolException, + IOException+
Response.discardContent()
, otherwise the
+ connection used for the request might not be released to the pool.@Deprecated +public static void registerScheme(Scheme scheme)+
@Deprecated +public static void unregisterScheme(String name)+
public static void closeIdleConnections()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Form.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Form.html new file mode 100644 index 0000000..ddd5b01 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Form.html @@ -0,0 +1,252 @@ + + + + + + +public class Form +extends Object+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Request.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Request.html new file mode 100644 index 0000000..54ebca8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Request.html @@ -0,0 +1,1042 @@ + + + + + + +public class Request +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+DATE_FORMAT |
+
static Locale |
+DATE_LOCALE |
+
static TimeZone |
+TIME_ZONE |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abort() |
+
Request |
+addHeader(org.apache.http.Header header) |
+
Request |
+addHeader(String name,
+ String value) |
+
Request |
+body(org.apache.http.HttpEntity entity) |
+
Request |
+bodyByteArray(byte[] b) |
+
Request |
+bodyByteArray(byte[] b,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+bodyByteArray(byte[] b,
+ int off,
+ int len) |
+
Request |
+bodyByteArray(byte[] b,
+ int off,
+ int len,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+bodyFile(File file,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams) |
+
Request |
+bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams,
+ Charset charset) |
+
Request |
+bodyForm(org.apache.http.NameValuePair... formParams) |
+
Request |
+bodyStream(InputStream inStream) |
+
Request |
+bodyStream(InputStream inStream,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+bodyString(String s,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+config(String param,
+ Object object)
+Deprecated.
+
+(4.3)
+ |
+
Request |
+connectTimeout(int timeout) |
+
static Request |
+Delete(String uri) |
+
static Request |
+Delete(URI uri) |
+
Request |
+elementCharset(String charset)
+Deprecated.
+
+(4.3)
+ |
+
Response |
+execute() |
+
static Request |
+Get(String uri) |
+
static Request |
+Get(URI uri) |
+
static Request |
+Head(String uri) |
+
static Request |
+Head(URI uri) |
+
static Request |
+Options(String uri) |
+
static Request |
+Options(URI uri) |
+
static Request |
+Patch(String uri) |
+
static Request |
+Patch(URI uri) |
+
static Request |
+Post(String uri) |
+
static Request |
+Post(URI uri) |
+
static Request |
+Put(String uri) |
+
static Request |
+Put(URI uri) |
+
Request |
+removeConfig(String param)
+Deprecated.
+
+(4.3)
+ |
+
Request |
+removeHeader(org.apache.http.Header header) |
+
Request |
+removeHeaders(String name) |
+
Request |
+setCacheControl(String cacheControl) |
+
Request |
+setDate(Date date) |
+
Request |
+setHeader(org.apache.http.Header header) |
+
Request |
+setHeader(String name,
+ String value) |
+
Request |
+setHeaders(org.apache.http.Header... headers) |
+
Request |
+setIfModifiedSince(Date date) |
+
Request |
+setIfUnmodifiedSince(Date date) |
+
Request |
+socketTimeout(int timeout) |
+
Request |
+staleConnectionCheck(boolean b)
+Deprecated.
+
+(4.4)
+ |
+
String |
+toString() |
+
static Request |
+Trace(String uri) |
+
static Request |
+Trace(URI uri) |
+
Request |
+useExpectContinue() |
+
Request |
+userAgent(String agent) |
+
Request |
+version(org.apache.http.HttpVersion version) |
+
Request |
+viaProxy(org.apache.http.HttpHost proxy) |
+
Request |
+viaProxy(String proxy) |
+
public static final String DATE_FORMAT+
public static final Locale DATE_LOCALE+
public static final TimeZone TIME_ZONE+
public Response execute() + throws ClientProtocolException, + IOException+
ClientProtocolException
IOException
public void abort() + throws UnsupportedOperationException+
UnsupportedOperationException
public Request addHeader(org.apache.http.Header header)+
public Request setHeader(org.apache.http.Header header)+
public Request removeHeader(org.apache.http.Header header)+
public Request setHeaders(org.apache.http.Header... headers)+
@Deprecated +public Request config(String param, + Object object)+
@Deprecated +public Request removeConfig(String param)+
public Request version(org.apache.http.HttpVersion version)+
@Deprecated +public Request elementCharset(String charset)+
+ This method has no effect. Do not use. +
public Request useExpectContinue()+
public Request socketTimeout(int timeout)+
public Request connectTimeout(int timeout)+
@Deprecated +public Request staleConnectionCheck(boolean b)+
public Request viaProxy(org.apache.http.HttpHost proxy)+
public Request body(org.apache.http.HttpEntity entity)+
public Request bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams, + Charset charset)+
public Request bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams)+
public Request bodyForm(org.apache.http.NameValuePair... formParams)+
public Request bodyString(String s, + org.apache.http.entity.ContentType contentType)+
public Request bodyFile(File file, + org.apache.http.entity.ContentType contentType)+
public Request bodyByteArray(byte[] b)+
public Request bodyByteArray(byte[] b, + org.apache.http.entity.ContentType contentType)+
public Request bodyByteArray(byte[] b, + int off, + int len)+
public Request bodyByteArray(byte[] b, + int off, + int len, + org.apache.http.entity.ContentType contentType)+
public Request bodyStream(InputStream inStream)+
public Request bodyStream(InputStream inStream, + org.apache.http.entity.ContentType contentType)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Response.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Response.html new file mode 100644 index 0000000..092330c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/Response.html @@ -0,0 +1,298 @@ + + + + + + +public class Response +extends Object+
Modifier and Type | +Method and Description | +
---|---|
void |
+discardContent()
+Discards response content and deallocates all resources associated with it.
+ |
+
<T> T |
+handleResponse(ResponseHandler<T> handler)
+Handles the response using the specified
+ResponseHandler |
+
Content |
+returnContent() |
+
org.apache.http.HttpResponse |
+returnResponse() |
+
void |
+saveContent(File file) |
+
public void discardContent()+
public <T> T handleResponse(ResponseHandler<T> handler) + throws ClientProtocolException, + IOException+
ResponseHandler
ClientProtocolException
IOException
public Content returnContent() + throws ClientProtocolException, + IOException+
ClientProtocolException
IOException
public org.apache.http.HttpResponse returnResponse() + throws IOException+
IOException
public void saveContent(File file) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Async.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Async.html new file mode 100644 index 0000000..6fc85d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Async.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Async |
+Async.newInstance() |
+
Async |
+Async.use(Executor executor) |
+
Async |
+Async.use(Executor concurrentExec) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Content.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Content.html new file mode 100644 index 0000000..3cea995 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Content.html @@ -0,0 +1,209 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static Content |
+Content.NO_CONTENT |
+
Modifier and Type | +Method and Description | +
---|---|
Content |
+ContentResponseHandler.handleEntity(org.apache.http.HttpEntity entity) |
+
Content |
+Response.returnContent() |
+
Modifier and Type | +Method and Description | +
---|---|
Future<Content> |
+Async.execute(Request request) |
+
Future<Content> |
+Async.execute(Request request,
+ org.apache.http.concurrent.FutureCallback<Content> callback) |
+
Modifier and Type | +Method and Description | +
---|---|
Future<Content> |
+Async.execute(Request request,
+ org.apache.http.concurrent.FutureCallback<Content> callback) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/ContentResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/ContentResponseHandler.html new file mode 100644 index 0000000..b42739e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/ContentResponseHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Executor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Executor.html new file mode 100644 index 0000000..b6ec819 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Executor.html @@ -0,0 +1,262 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Executor |
+Executor.auth(AuthScope authScope,
+ Credentials creds) |
+
Executor |
+Executor.auth(Credentials cred) |
+
Executor |
+Executor.auth(org.apache.http.HttpHost host,
+ Credentials creds) |
+
Executor |
+Executor.auth(org.apache.http.HttpHost host,
+ String username,
+ String password) |
+
Executor |
+Executor.auth(org.apache.http.HttpHost host,
+ String username,
+ String password,
+ String workstation,
+ String domain) |
+
Executor |
+Executor.auth(String host,
+ Credentials creds) |
+
Executor |
+Executor.auth(String username,
+ String password) |
+
Executor |
+Executor.auth(String username,
+ String password,
+ String workstation,
+ String domain) |
+
Executor |
+Executor.authPreemptive(org.apache.http.HttpHost host) |
+
Executor |
+Executor.authPreemptive(String host) |
+
Executor |
+Executor.authPreemptiveProxy(org.apache.http.HttpHost proxy) |
+
Executor |
+Executor.authPreemptiveProxy(String proxy) |
+
Executor |
+Executor.clearAuth() |
+
Executor |
+Executor.clearCookies() |
+
Executor |
+Executor.cookieStore(CookieStore cookieStore)
+Deprecated.
+
+(4.5) Use
+use(CookieStore) . |
+
static Executor |
+Executor.newInstance() |
+
static Executor |
+Executor.newInstance(HttpClient httpclient) |
+
Executor |
+Executor.use(CookieStore cookieStore) |
+
Executor |
+Executor.use(CredentialsProvider credentialsProvider) |
+
Modifier and Type | +Method and Description | +
---|---|
Async |
+Async.use(Executor executor) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Form.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Form.html new file mode 100644 index 0000000..756eae2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Form.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Request.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Request.html new file mode 100644 index 0000000..e6cdb4d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Request.html @@ -0,0 +1,420 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Request |
+Request.addHeader(org.apache.http.Header header) |
+
Request |
+Request.addHeader(String name,
+ String value) |
+
Request |
+Request.body(org.apache.http.HttpEntity entity) |
+
Request |
+Request.bodyByteArray(byte[] b) |
+
Request |
+Request.bodyByteArray(byte[] b,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+Request.bodyByteArray(byte[] b,
+ int off,
+ int len) |
+
Request |
+Request.bodyByteArray(byte[] b,
+ int off,
+ int len,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+Request.bodyFile(File file,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+Request.bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams) |
+
Request |
+Request.bodyForm(Iterable<? extends org.apache.http.NameValuePair> formParams,
+ Charset charset) |
+
Request |
+Request.bodyForm(org.apache.http.NameValuePair... formParams) |
+
Request |
+Request.bodyStream(InputStream inStream) |
+
Request |
+Request.bodyStream(InputStream inStream,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+Request.bodyString(String s,
+ org.apache.http.entity.ContentType contentType) |
+
Request |
+Request.config(String param,
+ Object object)
+Deprecated.
+
+(4.3)
+ |
+
Request |
+Request.connectTimeout(int timeout) |
+
static Request |
+Request.Delete(String uri) |
+
static Request |
+Request.Delete(URI uri) |
+
Request |
+Request.elementCharset(String charset)
+Deprecated.
+
+(4.3)
+ |
+
static Request |
+Request.Get(String uri) |
+
static Request |
+Request.Get(URI uri) |
+
static Request |
+Request.Head(String uri) |
+
static Request |
+Request.Head(URI uri) |
+
static Request |
+Request.Options(String uri) |
+
static Request |
+Request.Options(URI uri) |
+
static Request |
+Request.Patch(String uri) |
+
static Request |
+Request.Patch(URI uri) |
+
static Request |
+Request.Post(String uri) |
+
static Request |
+Request.Post(URI uri) |
+
static Request |
+Request.Put(String uri) |
+
static Request |
+Request.Put(URI uri) |
+
Request |
+Request.removeConfig(String param)
+Deprecated.
+
+(4.3)
+ |
+
Request |
+Request.removeHeader(org.apache.http.Header header) |
+
Request |
+Request.removeHeaders(String name) |
+
Request |
+Request.setCacheControl(String cacheControl) |
+
Request |
+Request.setDate(Date date) |
+
Request |
+Request.setHeader(org.apache.http.Header header) |
+
Request |
+Request.setHeader(String name,
+ String value) |
+
Request |
+Request.setHeaders(org.apache.http.Header... headers) |
+
Request |
+Request.setIfModifiedSince(Date date) |
+
Request |
+Request.setIfUnmodifiedSince(Date date) |
+
Request |
+Request.socketTimeout(int timeout) |
+
Request |
+Request.staleConnectionCheck(boolean b)
+Deprecated.
+
+(4.4)
+ |
+
static Request |
+Request.Trace(String uri) |
+
static Request |
+Request.Trace(URI uri) |
+
Request |
+Request.useExpectContinue() |
+
Request |
+Request.userAgent(String agent) |
+
Request |
+Request.version(org.apache.http.HttpVersion version) |
+
Request |
+Request.viaProxy(org.apache.http.HttpHost proxy) |
+
Request |
+Request.viaProxy(String proxy) |
+
Modifier and Type | +Method and Description | +
---|---|
Response |
+Executor.execute(Request request)
+Executes the request.
+ |
+
Future<Content> |
+Async.execute(Request request) |
+
Future<Content> |
+Async.execute(Request request,
+ org.apache.http.concurrent.FutureCallback<Content> callback) |
+
<T> Future<T> |
+Async.execute(Request request,
+ ResponseHandler<T> handler) |
+
<T> Future<T> |
+Async.execute(Request request,
+ ResponseHandler<T> handler,
+ org.apache.http.concurrent.FutureCallback<T> callback) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Response.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Response.html new file mode 100644 index 0000000..0166c20 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/class-use/Response.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Response |
+Request.execute() |
+
Response |
+Executor.execute(Request request)
+Executes the request.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-frame.html new file mode 100644 index 0000000..cf586da --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +See: Description
+Class | +Description | +
---|---|
Async | ++ |
Content | +
+ This class represents arbitrary content of a specific type that can be consumed
+ multiple times and requires no explicit deallocation.
+ |
+
ContentResponseHandler | ++ + | +
Executor | +
+ An Executor for fluent requests.
+ |
+
Form | ++ |
Request | ++ |
Response | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-tree.html new file mode 100644 index 0000000..c5b0f65 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-tree.html @@ -0,0 +1,140 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-use.html new file mode 100644 index 0000000..0e5ed4a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/fluent/package-use.html @@ -0,0 +1,173 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
Class and Description | +
---|
Async | +
Content
+ This class represents arbitrary content of a specific type that can be consumed
+ multiple times and requires no explicit deallocation.
+ |
+
Executor
+ An Executor for fluent requests.
+ |
+
Form | +
Request | +
Response | +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbortableHttpRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbortableHttpRequest.html new file mode 100644 index 0000000..1b03052 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbortableHttpRequest.html @@ -0,0 +1,285 @@ + + + + + + +HttpExecutionAware
@Deprecated +public interface AbortableHttpRequest+
Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Deprecated.
+Aborts this http request.
+ |
+
void |
+setConnectionRequest(ClientConnectionRequest connRequest)
+Deprecated.
+Sets the
+ClientConnectionRequest
+ callback that can be used to abort a long-lived request for a connection. |
+
void |
+setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
+Deprecated.
+Sets the
+ConnectionReleaseTrigger callback that can
+ be used to abort an active connection. |
+
void setConnectionRequest(ClientConnectionRequest connRequest) + throws IOException+
ClientConnectionRequest
+ callback that can be used to abort a long-lived request for a connection.
+ If the request is already aborted, throws an IOException
.IOException
ClientConnectionManager
void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger) + throws IOException+
ConnectionReleaseTrigger
callback that can
+ be used to abort an active connection.
+ Typically, this will be the
+ ManagedClientConnection
itself.
+ If the request is already aborted, throws an IOException
.IOException
void abort()+
HttpClient.execute(HttpUriRequest)
,
+HttpClient.execute(org.apache.http.HttpHost,
+ org.apache.http.HttpRequest)
,
+HttpClient.execute(HttpUriRequest,
+ org.apache.http.protocol.HttpContext)
,
+HttpClient.execute(org.apache.http.HttpHost,
+ org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbstractExecutionAwareRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbstractExecutionAwareRequest.html new file mode 100644 index 0000000..378e203 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/AbstractExecutionAwareRequest.html @@ -0,0 +1,480 @@ + + + + + + +public abstract class AbstractExecutionAwareRequest +extends org.apache.http.message.AbstractHttpMessage +implements HttpExecutionAware, AbortableHttpRequest, Cloneable, org.apache.http.HttpRequest+
headergroup, params
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractExecutionAwareRequest() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Aborts this http request.
+ |
+
Object |
+clone() |
+
void |
+completed()
+Deprecated.
+
+Do not use.
+ |
+
boolean |
+isAborted() |
+
void |
+reset()
+Resets internal state of the request making it reusable.
+ |
+
void |
+setCancellable(org.apache.http.concurrent.Cancellable cancellable)
+Sets
+Cancellable for the ongoing operation. |
+
void |
+setConnectionRequest(ClientConnectionRequest connRequest)
+Deprecated.
+
+
+ |
+
void |
+setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
+Deprecated.
+
+
+ |
+
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
protected AbstractExecutionAwareRequest()+
@Deprecated +public void setConnectionRequest(ClientConnectionRequest connRequest)+
setCancellable(Cancellable)
AbortableHttpRequest
ClientConnectionRequest
+ callback that can be used to abort a long-lived request for a connection.
+ If the request is already aborted, throws an IOException
.setConnectionRequest
in interface AbortableHttpRequest
ClientConnectionManager
@Deprecated +public void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)+
setCancellable(Cancellable)
AbortableHttpRequest
ConnectionReleaseTrigger
callback that can
+ be used to abort an active connection.
+ Typically, this will be the
+ ManagedClientConnection
itself.
+ If the request is already aborted, throws an IOException
.setReleaseTrigger
in interface AbortableHttpRequest
public void abort()+
AbortableHttpRequest
abort
in interface AbortableHttpRequest
HttpClient.execute(HttpUriRequest)
,
+HttpClient.execute(org.apache.http.HttpHost,
+ org.apache.http.HttpRequest)
,
+HttpClient.execute(HttpUriRequest,
+ org.apache.http.protocol.HttpContext)
,
+HttpClient.execute(org.apache.http.HttpHost,
+ org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)
public boolean isAborted()+
isAborted
in interface HttpExecutionAware
public void setCancellable(org.apache.http.concurrent.Cancellable cancellable)+
HttpExecutionAware
Cancellable
for the ongoing operation.setCancellable
in interface HttpExecutionAware
public Object clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
@Deprecated +public void completed()+
public void reset()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/CloseableHttpResponse.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/CloseableHttpResponse.html new file mode 100644 index 0000000..ccfcfd7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/CloseableHttpResponse.html @@ -0,0 +1,203 @@ + + + + + + +public interface CloseableHttpResponse +extends org.apache.http.HttpResponse, Closeable+
HttpResponse
interface that also extends Closeable
.getEntity, getLocale, getStatusLine, setEntity, setLocale, setReasonPhrase, setStatusCode, setStatusLine, setStatusLine, setStatusLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/Configurable.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/Configurable.html new file mode 100644 index 0000000..5c80cb8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/Configurable.html @@ -0,0 +1,218 @@ + + + + + + +public interface Configurable
+Modifier and Type | +Method and Description | +
---|---|
RequestConfig |
+getConfig()
+Returns actual request configuration.
+ |
+
RequestConfig getConfig()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpDelete.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpDelete.html new file mode 100644 index 0000000..9d5077b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpDelete.html @@ -0,0 +1,407 @@ + + + + + + +public class HttpDelete +extends HttpRequestBase+
+ The HTTP DELETE method is defined in section 9.7 of + RFC2616: +
+ The DELETE method requests that the origin server delete the resource + identified by the Request-URI. [...] The client cannot + be guaranteed that the operation has been carried out, even if the + status code returned from the origin server indicates that the action + has been completed successfully. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpDelete() |
+
HttpDelete(String uri) |
+
HttpDelete(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public static final String METHOD_NAME+
public HttpDelete()+
public HttpDelete(URI uri)+
public HttpDelete(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpEntityEnclosingRequestBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpEntityEnclosingRequestBase.html new file mode 100644 index 0000000..155ca5c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpEntityEnclosingRequestBase.html @@ -0,0 +1,400 @@ + + + + + + +public abstract class HttpEntityEnclosingRequestBase +extends HttpRequestBase +implements org.apache.http.HttpEntityEnclosingRequest+
headergroup, params
Constructor and Description | +
---|
HttpEntityEnclosingRequestBase() |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+clone() |
+
boolean |
+expectContinue() |
+
org.apache.http.HttpEntity |
+getEntity() |
+
void |
+setEntity(org.apache.http.HttpEntity entity) |
+
getConfig, getMethod, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
abort, isAborted
public HttpEntityEnclosingRequestBase()+
public org.apache.http.HttpEntity getEntity()+
getEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public void setEntity(org.apache.http.HttpEntity entity)+
setEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public boolean expectContinue()+
expectContinue
in interface org.apache.http.HttpEntityEnclosingRequest
public Object clone() + throws CloneNotSupportedException+
clone
in class AbstractExecutionAwareRequest
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpExecutionAware.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpExecutionAware.html new file mode 100644 index 0000000..957f8ce --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpExecutionAware.html @@ -0,0 +1,232 @@ + + + + + + +public interface HttpExecutionAware
+Modifier and Type | +Method and Description | +
---|---|
boolean |
+isAborted() |
+
void |
+setCancellable(org.apache.http.concurrent.Cancellable cancellable)
+Sets
+Cancellable for the ongoing operation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpGet.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpGet.html new file mode 100644 index 0000000..6605077 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpGet.html @@ -0,0 +1,408 @@ + + + + + + +public class HttpGet +extends HttpRequestBase+
+ The HTTP GET method is defined in section 9.3 of + RFC2616: +
++ The GET method means retrieve whatever information (in the form of an + entity) is identified by the Request-URI. If the Request-URI refers + to a data-producing process, it is the produced data which shall be + returned as the entity in the response and not the source text of the + process, unless that text happens to be the output of the process. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpGet() |
+
HttpGet(String uri) |
+
HttpGet(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public static final String METHOD_NAME+
public HttpGet()+
public HttpGet(URI uri)+
public HttpGet(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpHead.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpHead.html new file mode 100644 index 0000000..90e0761 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpHead.html @@ -0,0 +1,411 @@ + + + + + + +public class HttpHead +extends HttpRequestBase+
+ The HTTP HEAD method is defined in section 9.4 of + RFC2616: +
++ The HEAD method is identical to GET except that the server MUST NOT + return a message-body in the response. The metainformation contained + in the HTTP headers in response to a HEAD request SHOULD be identical + to the information sent in response to a GET request. This method can + be used for obtaining metainformation about the entity implied by the + request without transferring the entity-body itself. This method is + often used for testing hypertext links for validity, accessibility, + and recent modification. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpHead() |
+
HttpHead(String uri) |
+
HttpHead(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public static final String METHOD_NAME+
public HttpHead()+
public HttpHead(URI uri)+
public HttpHead(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpOptions.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpOptions.html new file mode 100644 index 0000000..8764f2e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpOptions.html @@ -0,0 +1,422 @@ + + + + + + +public class HttpOptions +extends HttpRequestBase+
+ The HTTP OPTIONS method is defined in section 9.2 of + RFC2616: +
++ The OPTIONS method represents a request for information about the + communication options available on the request/response chain + identified by the Request-URI. This method allows the client to + determine the options and/or requirements associated with a resource, + or the capabilities of a server, without implying a resource action + or initiating a resource retrieval. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpOptions() |
+
HttpOptions(String uri) |
+
HttpOptions(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
Set<String> |
+getAllowedMethods(org.apache.http.HttpResponse response) |
+
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public static final String METHOD_NAME+
public HttpOptions()+
public HttpOptions(URI uri)+
public HttpOptions(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPatch.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPatch.html new file mode 100644 index 0000000..d4195aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPatch.html @@ -0,0 +1,428 @@ + + + + + + +public class HttpPatch +extends HttpEntityEnclosingRequestBase+
+ The HTTP PATCH method is defined in RF5789: +
+The PATCH + method requests that a set of changes described in the request entity be + applied to the resource identified by the Request- URI. Differs from the PUT + method in the way the server processes the enclosed entity to modify the + resource identified by the Request-URI. In a PUT request, the enclosed entity + origin server, and the client is requesting that the stored version be + replaced. With PATCH, however, the enclosed entity contains a set of + instructions describing how a resource currently residing on the origin + server should be modified to produce a new version. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpPatch() |
+
HttpPatch(String uri) |
+
HttpPatch(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
clone, expectContinue, getEntity, setEntity
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
abort, isAborted
public static final String METHOD_NAME+
public HttpPatch()+
public HttpPatch(URI uri)+
public HttpPatch(String uri)+
public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPost.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPost.html new file mode 100644 index 0000000..b4db5d1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPost.html @@ -0,0 +1,434 @@ + + + + + + +public class HttpPost +extends HttpEntityEnclosingRequestBase+
+ The HTTP POST method is defined in section 9.5 of + RFC2616: +
++ The POST method is used to request that the origin server accept the entity + enclosed in the request as a new subordinate of the resource identified by + the Request-URI in the Request-Line. POST is designed to allow a uniform + method to cover the following functions: ++
+- Annotation of existing resources
+- Posting a message to a bulletin board, newsgroup, mailing list, or + similar group of articles
+- Providing a block of data, such as the result of submitting a form, + to a data-handling process
+- Extending a database through an append operation
+
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpPost() |
+
HttpPost(String uri) |
+
HttpPost(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
clone, expectContinue, getEntity, setEntity
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
abort, isAborted
public static final String METHOD_NAME+
public HttpPost()+
public HttpPost(URI uri)+
public HttpPost(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPut.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPut.html new file mode 100644 index 0000000..8a1d87e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpPut.html @@ -0,0 +1,426 @@ + + + + + + +public class HttpPut +extends HttpEntityEnclosingRequestBase+
+ The HTTP PUT method is defined in section 9.6 of + RFC2616: +
++ The PUT method requests that the enclosed entity be stored under the + supplied Request-URI. If the Request-URI refers to an already + existing resource, the enclosed entity SHOULD be considered as a + modified version of the one residing on the origin server. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpPut() |
+
HttpPut(String uri) |
+
HttpPut(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
clone, expectContinue, getEntity, setEntity
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
abort, isAborted
public static final String METHOD_NAME+
public HttpPut()+
public HttpPut(URI uri)+
public HttpPut(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestBase.html new file mode 100644 index 0000000..5dbd5f4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestBase.html @@ -0,0 +1,503 @@ + + + + + + +public abstract class HttpRequestBase +extends AbstractExecutionAwareRequest +implements HttpUriRequest, Configurable+
HttpUriRequest
.headergroup, params
Constructor and Description | +
---|
HttpRequestBase() |
+
Modifier and Type | +Method and Description | +
---|---|
RequestConfig |
+getConfig()
+Returns actual request configuration.
+ |
+
abstract String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
org.apache.http.ProtocolVersion |
+getProtocolVersion() |
+
org.apache.http.RequestLine |
+getRequestLine() |
+
URI |
+getURI()
+Returns the original request URI.
+ |
+
void |
+releaseConnection()
+A convenience method to simplify migration from HttpClient 3.1 API.
+ |
+
void |
+setConfig(RequestConfig config) |
+
void |
+setProtocolVersion(org.apache.http.ProtocolVersion version) |
+
void |
+setURI(URI uri) |
+
void |
+started() |
+
String |
+toString() |
+
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public abstract String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
public void setProtocolVersion(org.apache.http.ProtocolVersion version)+
public org.apache.http.ProtocolVersion getProtocolVersion()+
getProtocolVersion
in interface org.apache.http.HttpMessage
public URI getURI()+
+ Please note URI remains unchanged in the course of request execution and + is not updated if the request is redirected to another location.
getURI
in interface HttpUriRequest
public org.apache.http.RequestLine getRequestLine()+
getRequestLine
in interface org.apache.http.HttpRequest
public RequestConfig getConfig()+
Configurable
getConfig
in interface Configurable
public void setConfig(RequestConfig config)+
public void setURI(URI uri)+
public void started()+
public void releaseConnection()+
AbstractExecutionAwareRequest.reset()
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestWrapper.html new file mode 100644 index 0000000..0e80cfd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpRequestWrapper.html @@ -0,0 +1,531 @@ + + + + + + +public class HttpRequestWrapper +extends org.apache.http.message.AbstractHttpMessage +implements HttpUriRequest+
HttpRequest
that can be used to change properties of the current
+ request without modifying the original object.headergroup, params
Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Aborts execution of the request.
+ |
+
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
org.apache.http.HttpRequest |
+getOriginal() |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+
+(4.3) use
+
+RequestConfig . |
+
org.apache.http.ProtocolVersion |
+getProtocolVersion() |
+
org.apache.http.RequestLine |
+getRequestLine() |
+
org.apache.http.HttpHost |
+getTarget() |
+
URI |
+getURI()
+Returns the URI this request uses, such as
+
+http://example.org/path/to/file . |
+
boolean |
+isAborted()
+Tests if the request execution has been aborted.
+ |
+
void |
+setProtocolVersion(org.apache.http.ProtocolVersion version) |
+
void |
+setURI(URI uri) |
+
String |
+toString() |
+
static HttpRequestWrapper |
+wrap(org.apache.http.HttpRequest request)
+Creates a mutable wrapper of the original request.
+ |
+
static HttpRequestWrapper |
+wrap(org.apache.http.HttpRequest request,
+ org.apache.http.HttpHost target)
+Creates a mutable wrapper of the original request.
+ |
+
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public org.apache.http.ProtocolVersion getProtocolVersion()+
getProtocolVersion
in interface org.apache.http.HttpMessage
public void setProtocolVersion(org.apache.http.ProtocolVersion version)+
public URI getURI()+
HttpUriRequest
http://example.org/path/to/file
.
+ + Note that the URI may be absolute URI (as above) or may be a relative URI. +
++ Implementations are encouraged to return + the URI that was initially requested. +
++ To find the final URI after any redirects have been processed, + please see the section entitled + HTTP execution context + in the + HttpClient Tutorial +
getURI
in interface HttpUriRequest
public void setURI(URI uri)+
public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
public void abort() + throws UnsupportedOperationException+
HttpUriRequest
abort
in interface HttpUriRequest
UnsupportedOperationException
- if the abort operation
+ is not supported / cannot be implemented.public boolean isAborted()+
HttpUriRequest
isAborted
in interface HttpUriRequest
true
if the request execution has been aborted,
+ false
otherwise.public org.apache.http.RequestLine getRequestLine()+
getRequestLine
in interface org.apache.http.HttpRequest
public org.apache.http.HttpRequest getOriginal()+
public org.apache.http.HttpHost getTarget()+
public static HttpRequestWrapper wrap(org.apache.http.HttpRequest request)+
request
- original requestpublic static HttpRequestWrapper wrap(org.apache.http.HttpRequest request, + org.apache.http.HttpHost target)+
request
- original requesttarget
- original target, if explicitly specified@Deprecated +public org.apache.http.params.HttpParams getParams()+
RequestConfig
.getParams
in interface org.apache.http.HttpMessage
getParams
in class org.apache.http.message.AbstractHttpMessage
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpTrace.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpTrace.html new file mode 100644 index 0000000..06f96dd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpTrace.html @@ -0,0 +1,410 @@ + + + + + + +public class HttpTrace +extends HttpRequestBase+
+ The HTTP TRACE method is defined in section 9.6 of + RFC2616: +
++ The TRACE method is used to invoke a remote, application-layer loop- + back of the request message. The final recipient of the request + SHOULD reflect the message received back to the client as the + entity-body of a 200 (OK) response. The final recipient is either the + origin server or the first proxy or gateway to receive a Max-Forwards + value of zero (0) in the request (see section 14.31). A TRACE request + MUST NOT include an entity. +
Modifier and Type | +Field and Description | +
---|---|
static String |
+METHOD_NAME |
+
headergroup, params
Constructor and Description | +
---|
HttpTrace() |
+
HttpTrace(String uri) |
+
HttpTrace(URI uri) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, isAborted
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public static final String METHOD_NAME+
public HttpTrace()+
public HttpTrace(URI uri)+
public HttpTrace(String uri)+
IllegalArgumentException
- if the uri is invalid.public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpUriRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpUriRequest.html new file mode 100644 index 0000000..f6fe1a3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/HttpUriRequest.html @@ -0,0 +1,311 @@ + + + + + + +public interface HttpUriRequest
+extends org.apache.http.HttpRequest
+HttpRequest
interface that provides
+ convenience methods to access request properties such as request URI
+ and method type.Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Aborts execution of the request.
+ |
+
String |
+getMethod()
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
URI |
+getURI()
+Returns the URI this request uses, such as
+
+http://example.org/path/to/file . |
+
boolean |
+isAborted()
+Tests if the request execution has been aborted.
+ |
+
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
String getMethod()+
GET
,
+ PUT
, POST
, or other.URI getURI()+
http://example.org/path/to/file
.
+ + Note that the URI may be absolute URI (as above) or may be a relative URI. +
++ Implementations are encouraged to return + the URI that was initially requested. +
++ To find the final URI after any redirects have been processed, + please see the section entitled + HTTP execution context + in the + HttpClient Tutorial +
void abort() + throws UnsupportedOperationException+
UnsupportedOperationException
- if the abort operation
+ is not supported / cannot be implemented.boolean isAborted()+
true
if the request execution has been aborted,
+ false
otherwise.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/RequestBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/RequestBuilder.html new file mode 100644 index 0000000..832febd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/RequestBuilder.html @@ -0,0 +1,958 @@ + + + + + + +public class RequestBuilder +extends Object+
HttpUriRequest
instances.
+
+ Please note that this class treats parameters differently depending on composition
+ of the request: if the request has a content entity explicitly set with
+ setEntity(org.apache.http.HttpEntity)
or it is not an entity enclosing method
+ (such as POST or PUT), parameters will be added to the query component of the request URI.
+ Otherwise, parameters will be added as a URL encoded entity
.
+
Modifier and Type | +Method and Description | +
---|---|
RequestBuilder |
+addHeader(org.apache.http.Header header) |
+
RequestBuilder |
+addHeader(String name,
+ String value) |
+
RequestBuilder |
+addParameter(org.apache.http.NameValuePair nvp) |
+
RequestBuilder |
+addParameter(String name,
+ String value) |
+
RequestBuilder |
+addParameters(org.apache.http.NameValuePair... nvps) |
+
HttpUriRequest |
+build() |
+
static RequestBuilder |
+copy(org.apache.http.HttpRequest request) |
+
static RequestBuilder |
+create(String method) |
+
static RequestBuilder |
+delete() |
+
static RequestBuilder |
+delete(String uri) |
+
static RequestBuilder |
+delete(URI uri) |
+
static RequestBuilder |
+get() |
+
static RequestBuilder |
+get(String uri) |
+
static RequestBuilder |
+get(URI uri) |
+
Charset |
+getCharset() |
+
RequestConfig |
+getConfig() |
+
org.apache.http.HttpEntity |
+getEntity() |
+
org.apache.http.Header |
+getFirstHeader(String name) |
+
org.apache.http.Header[] |
+getHeaders(String name) |
+
org.apache.http.Header |
+getLastHeader(String name) |
+
String |
+getMethod() |
+
List<org.apache.http.NameValuePair> |
+getParameters() |
+
URI |
+getUri() |
+
org.apache.http.ProtocolVersion |
+getVersion() |
+
static RequestBuilder |
+head() |
+
static RequestBuilder |
+head(String uri) |
+
static RequestBuilder |
+head(URI uri) |
+
static RequestBuilder |
+options() |
+
static RequestBuilder |
+options(String uri) |
+
static RequestBuilder |
+options(URI uri) |
+
static RequestBuilder |
+patch() |
+
static RequestBuilder |
+patch(String uri) |
+
static RequestBuilder |
+patch(URI uri) |
+
static RequestBuilder |
+post() |
+
static RequestBuilder |
+post(String uri) |
+
static RequestBuilder |
+post(URI uri) |
+
static RequestBuilder |
+put() |
+
static RequestBuilder |
+put(String uri) |
+
static RequestBuilder |
+put(URI uri) |
+
RequestBuilder |
+removeHeader(org.apache.http.Header header) |
+
RequestBuilder |
+removeHeaders(String name) |
+
RequestBuilder |
+setCharset(Charset charset) |
+
RequestBuilder |
+setConfig(RequestConfig config) |
+
RequestBuilder |
+setEntity(org.apache.http.HttpEntity entity) |
+
RequestBuilder |
+setHeader(org.apache.http.Header header) |
+
RequestBuilder |
+setHeader(String name,
+ String value) |
+
RequestBuilder |
+setUri(String uri) |
+
RequestBuilder |
+setUri(URI uri) |
+
RequestBuilder |
+setVersion(org.apache.http.ProtocolVersion version) |
+
String |
+toString() |
+
static RequestBuilder |
+trace() |
+
static RequestBuilder |
+trace(String uri) |
+
static RequestBuilder |
+trace(URI uri) |
+
public static RequestBuilder create(String method)+
public static RequestBuilder get()+
public static RequestBuilder get(URI uri)+
public static RequestBuilder get(String uri)+
public static RequestBuilder head()+
public static RequestBuilder head(URI uri)+
public static RequestBuilder head(String uri)+
public static RequestBuilder patch()+
public static RequestBuilder patch(URI uri)+
public static RequestBuilder patch(String uri)+
public static RequestBuilder post()+
public static RequestBuilder post(URI uri)+
public static RequestBuilder post(String uri)+
public static RequestBuilder put()+
public static RequestBuilder put(URI uri)+
public static RequestBuilder put(String uri)+
public static RequestBuilder delete()+
public static RequestBuilder delete(URI uri)+
public static RequestBuilder delete(String uri)+
public static RequestBuilder trace()+
public static RequestBuilder trace(URI uri)+
public static RequestBuilder trace(String uri)+
public static RequestBuilder options()+
public static RequestBuilder options(URI uri)+
public static RequestBuilder options(String uri)+
public static RequestBuilder copy(org.apache.http.HttpRequest request)+
public RequestBuilder setCharset(Charset charset)+
public Charset getCharset()+
public String getMethod()+
public org.apache.http.ProtocolVersion getVersion()+
public RequestBuilder setVersion(org.apache.http.ProtocolVersion version)+
public URI getUri()+
public RequestBuilder setUri(URI uri)+
public RequestBuilder setUri(String uri)+
public org.apache.http.Header getFirstHeader(String name)+
public org.apache.http.Header getLastHeader(String name)+
public org.apache.http.Header[] getHeaders(String name)+
public RequestBuilder addHeader(org.apache.http.Header header)+
public RequestBuilder addHeader(String name, + String value)+
public RequestBuilder removeHeader(org.apache.http.Header header)+
public RequestBuilder removeHeaders(String name)+
public RequestBuilder setHeader(org.apache.http.Header header)+
public RequestBuilder setHeader(String name, + String value)+
public org.apache.http.HttpEntity getEntity()+
public RequestBuilder setEntity(org.apache.http.HttpEntity entity)+
public List<org.apache.http.NameValuePair> getParameters()+
public RequestBuilder addParameter(org.apache.http.NameValuePair nvp)+
public RequestBuilder addParameter(String name, + String value)+
public RequestBuilder addParameters(org.apache.http.NameValuePair... nvps)+
public RequestConfig getConfig()+
public RequestBuilder setConfig(RequestConfig config)+
public HttpUriRequest build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbortableHttpRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbortableHttpRequest.html new file mode 100644 index 0000000..4c50b75 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbortableHttpRequest.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractExecutionAwareRequest |
+
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpRequestBase
+Base implementation of
+HttpUriRequest . |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbstractExecutionAwareRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbstractExecutionAwareRequest.html new file mode 100644 index 0000000..84446d5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/AbstractExecutionAwareRequest.html @@ -0,0 +1,216 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpRequestBase
+Base implementation of
+HttpUriRequest . |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/CloseableHttpResponse.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/CloseableHttpResponse.html new file mode 100644 index 0000000..99e333c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/CloseableHttpResponse.html @@ -0,0 +1,342 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+HttpClientUtils.closeQuietly(CloseableHttpResponse response)
+Unconditionally close a response.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract CloseableHttpResponse |
+CloseableHttpClient.doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
protected CloseableHttpResponse |
+AbstractHttpClient.doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Executes HTTP request using the default context.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+MainClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+MinimalClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RedirectExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ProtocolExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+BackoffStrategyExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ClientExecChain.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse |
+ServiceUnavailableRetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/Configurable.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/Configurable.html new file mode 100644 index 0000000..bcd3532 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/Configurable.html @@ -0,0 +1,216 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpRequestBase
+Base implementation of
+HttpUriRequest . |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpDelete.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpDelete.html new file mode 100644 index 0000000..9fc46d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpDelete.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpEntityEnclosingRequestBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpEntityEnclosingRequestBase.html new file mode 100644 index 0000000..3a0600e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpEntityEnclosingRequestBase.html @@ -0,0 +1,173 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpExecutionAware.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpExecutionAware.html new file mode 100644 index 0000000..2a2c776 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpExecutionAware.html @@ -0,0 +1,328 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractExecutionAwareRequest |
+
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpRequestBase
+Base implementation of
+HttpUriRequest . |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+MainClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+MinimalClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RedirectExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ProtocolExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+BackoffStrategyExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ClientExecChain.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse |
+ServiceUnavailableRetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpGet.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpGet.html new file mode 100644 index 0000000..9102238 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpGet.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpHead.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpHead.html new file mode 100644 index 0000000..592e7d4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpHead.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpOptions.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpOptions.html new file mode 100644 index 0000000..f319272 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpOptions.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPatch.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPatch.html new file mode 100644 index 0000000..a62f5e6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPatch.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPost.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPost.html new file mode 100644 index 0000000..b59cb16 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPost.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPut.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPut.html new file mode 100644 index 0000000..d640317 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpPut.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestBase.html new file mode 100644 index 0000000..931e1e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestBase.html @@ -0,0 +1,210 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestWrapper.html new file mode 100644 index 0000000..8a48701 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpRequestWrapper.html @@ -0,0 +1,287 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpRequestWrapper |
+HttpRequestWrapper.wrap(org.apache.http.HttpRequest request)
+Creates a mutable wrapper of the original request.
+ |
+
static HttpRequestWrapper |
+HttpRequestWrapper.wrap(org.apache.http.HttpRequest request,
+ org.apache.http.HttpHost target)
+Creates a mutable wrapper of the original request.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+MainClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+MinimalClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RedirectExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ProtocolExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+BackoffStrategyExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ClientExecChain.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse |
+ServiceUnavailableRetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpTrace.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpTrace.html new file mode 100644 index 0000000..4a6e1e7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpTrace.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpUriRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpUriRequest.html new file mode 100644 index 0000000..9214249 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/HttpUriRequest.html @@ -0,0 +1,530 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpUriRequest |
+RedirectStrategy.getRedirect(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines the redirect location given the response from the target
+ server and the current request execution context and generates a new
+ request to be sent to the location.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+HttpClient.execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+HttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+HttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpDelete
+HTTP DELETE method
+ |
+
class |
+HttpEntityEnclosingRequestBase
+Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
class |
+HttpGet
+HTTP GET method.
+ |
+
class |
+HttpHead
+HTTP HEAD method.
+ |
+
class |
+HttpOptions
+HTTP OPTIONS method.
+ |
+
class |
+HttpPatch
+HTTP PATCH method.
+ |
+
class |
+HttpPost
+HTTP POST method.
+ |
+
class |
+HttpPut
+HTTP PUT method.
+ |
+
class |
+HttpRequestBase
+Base implementation of
+HttpUriRequest . |
+
class |
+HttpRequestWrapper
+A wrapper class for
+HttpRequest that can be used to change properties of the current
+ request without modifying the original object. |
+
class |
+HttpTrace
+HTTP TRACE method.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpUriRequest |
+RequestBuilder.build() |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+EntityEnclosingRequestWrapper
+Deprecated.
+
+(4.3) do not use.
+ |
+
class |
+RequestWrapper
+Deprecated.
+
+(4.3) do not use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpUriRequest |
+DefaultRedirectStrategy.getRedirect(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(HttpUriRequest request)
+Deprecated.
+ |
+
org.apache.http.HttpResponse |
+AutoRetryHttpClient.execute(HttpUriRequest request)
+Deprecated.
+ |
+
CloseableHttpResponse |
+CloseableHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
org.apache.http.HttpResponse |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
org.apache.http.HttpResponse |
+AutoRetryHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler)
+Schedule a request for execution.
+ |
+
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler,
+ org.apache.http.concurrent.FutureCallback<T> callback)
+Schedule a request for execution.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CloseableHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+DecompressingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+AutoRetryHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Constructor and Description | +
---|
HttpRequestFutureTask(HttpUriRequest request,
+ org.apache.http.impl.client.HttpRequestTaskCallable<V> httpCallable) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+CachingHttpClient.execute(HttpUriRequest request)
+Deprecated.
+ |
+
org.apache.http.HttpResponse |
+CachingHttpClient.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
<T> T |
+CachingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+ |
+
<T> T |
+CachingHttpClient.execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/RequestBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/RequestBuilder.html new file mode 100644 index 0000000..78eb944 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/class-use/RequestBuilder.html @@ -0,0 +1,322 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RequestBuilder |
+RequestBuilder.addHeader(org.apache.http.Header header) |
+
RequestBuilder |
+RequestBuilder.addHeader(String name,
+ String value) |
+
RequestBuilder |
+RequestBuilder.addParameter(org.apache.http.NameValuePair nvp) |
+
RequestBuilder |
+RequestBuilder.addParameter(String name,
+ String value) |
+
RequestBuilder |
+RequestBuilder.addParameters(org.apache.http.NameValuePair... nvps) |
+
static RequestBuilder |
+RequestBuilder.copy(org.apache.http.HttpRequest request) |
+
static RequestBuilder |
+RequestBuilder.create(String method) |
+
static RequestBuilder |
+RequestBuilder.delete() |
+
static RequestBuilder |
+RequestBuilder.delete(String uri) |
+
static RequestBuilder |
+RequestBuilder.delete(URI uri) |
+
static RequestBuilder |
+RequestBuilder.get() |
+
static RequestBuilder |
+RequestBuilder.get(String uri) |
+
static RequestBuilder |
+RequestBuilder.get(URI uri) |
+
static RequestBuilder |
+RequestBuilder.head() |
+
static RequestBuilder |
+RequestBuilder.head(String uri) |
+
static RequestBuilder |
+RequestBuilder.head(URI uri) |
+
static RequestBuilder |
+RequestBuilder.options() |
+
static RequestBuilder |
+RequestBuilder.options(String uri) |
+
static RequestBuilder |
+RequestBuilder.options(URI uri) |
+
static RequestBuilder |
+RequestBuilder.patch() |
+
static RequestBuilder |
+RequestBuilder.patch(String uri) |
+
static RequestBuilder |
+RequestBuilder.patch(URI uri) |
+
static RequestBuilder |
+RequestBuilder.post() |
+
static RequestBuilder |
+RequestBuilder.post(String uri) |
+
static RequestBuilder |
+RequestBuilder.post(URI uri) |
+
static RequestBuilder |
+RequestBuilder.put() |
+
static RequestBuilder |
+RequestBuilder.put(String uri) |
+
static RequestBuilder |
+RequestBuilder.put(URI uri) |
+
RequestBuilder |
+RequestBuilder.removeHeader(org.apache.http.Header header) |
+
RequestBuilder |
+RequestBuilder.removeHeaders(String name) |
+
RequestBuilder |
+RequestBuilder.setCharset(Charset charset) |
+
RequestBuilder |
+RequestBuilder.setConfig(RequestConfig config) |
+
RequestBuilder |
+RequestBuilder.setEntity(org.apache.http.HttpEntity entity) |
+
RequestBuilder |
+RequestBuilder.setHeader(org.apache.http.Header header) |
+
RequestBuilder |
+RequestBuilder.setHeader(String name,
+ String value) |
+
RequestBuilder |
+RequestBuilder.setUri(String uri) |
+
RequestBuilder |
+RequestBuilder.setUri(URI uri) |
+
RequestBuilder |
+RequestBuilder.setVersion(org.apache.http.ProtocolVersion version) |
+
static RequestBuilder |
+RequestBuilder.trace() |
+
static RequestBuilder |
+RequestBuilder.trace(String uri) |
+
static RequestBuilder |
+RequestBuilder.trace(URI uri) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-frame.html new file mode 100644 index 0000000..1e55d49 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-frame.html @@ -0,0 +1,40 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
AbortableHttpRequest | +Deprecated
+ (4.3) use
+HttpExecutionAware |
+
CloseableHttpResponse | +
+ Extended version of the
+HttpResponse interface that also extends Closeable . |
+
Configurable | +
+ Configuration interface for HTTP requests.
+ |
+
HttpExecutionAware | +
+ Interface to be implemented by any object that wishes to be notified of
+ blocking I/O operations that could be cancelled.
+ |
+
HttpUriRequest | +
+ Extended version of the
+HttpRequest interface that provides
+ convenience methods to access request properties such as request URI
+ and method type. |
+
Class | +Description | +
---|---|
AbstractExecutionAwareRequest | ++ |
HttpDelete | +
+ HTTP DELETE method
+ |
+
HttpEntityEnclosingRequestBase | +
+ Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
HttpGet | +
+ HTTP GET method.
+ |
+
HttpHead | +
+ HTTP HEAD method.
+ |
+
HttpOptions | +
+ HTTP OPTIONS method.
+ |
+
HttpPatch | +
+ HTTP PATCH method.
+ |
+
HttpPost | +
+ HTTP POST method.
+ |
+
HttpPut | +
+ HTTP PUT method.
+ |
+
HttpRequestBase | +
+ Base implementation of
+HttpUriRequest . |
+
HttpRequestWrapper | +
+ A wrapper class for
+HttpRequest that can be used to change properties of the current
+ request without modifying the original object. |
+
HttpTrace | +
+ HTTP TRACE method.
+ |
+
RequestBuilder | +
+ Builder for
+HttpUriRequest instances. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-tree.html new file mode 100644 index 0000000..8404a92 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-tree.html @@ -0,0 +1,184 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-use.html new file mode 100644 index 0000000..cdad13f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/methods/package-use.html @@ -0,0 +1,356 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
HttpUriRequest
+ Extended version of the
+HttpRequest interface that provides
+ convenience methods to access request properties such as request URI
+ and method type. |
+
Class and Description | +
---|
AbortableHttpRequest
+ Deprecated.
+
+(4.3) use
+HttpExecutionAware |
+
AbstractExecutionAwareRequest | +
Configurable
+ Configuration interface for HTTP requests.
+ |
+
HttpEntityEnclosingRequestBase
+ Basic implementation of an entity enclosing HTTP request
+ that can be modified
+ |
+
HttpExecutionAware
+ Interface to be implemented by any object that wishes to be notified of
+ blocking I/O operations that could be cancelled.
+ |
+
HttpRequestBase
+ Base implementation of
+HttpUriRequest . |
+
HttpRequestWrapper
+ A wrapper class for
+HttpRequest that can be used to change properties of the current
+ request without modifying the original object. |
+
HttpUriRequest
+ Extended version of the
+HttpRequest interface that provides
+ convenience methods to access request properties such as request URI
+ and method type. |
+
RequestBuilder
+ Builder for
+HttpUriRequest instances. |
+
Class and Description | +
---|
CloseableHttpResponse
+ Extended version of the
+HttpResponse interface that also extends Closeable . |
+
Class and Description | +
---|
CloseableHttpResponse
+ Extended version of the
+HttpResponse interface that also extends Closeable . |
+
HttpUriRequest
+ Extended version of the
+HttpRequest interface that provides
+ convenience methods to access request properties such as request URI
+ and method type. |
+
Class and Description | +
---|
CloseableHttpResponse
+ Extended version of the
+HttpResponse interface that also extends Closeable . |
+
HttpExecutionAware
+ Interface to be implemented by any object that wishes to be notified of
+ blocking I/O operations that could be cancelled.
+ |
+
HttpRequestWrapper
+ A wrapper class for
+HttpRequest that can be used to change properties of the current
+ request without modifying the original object. |
+
HttpUriRequest
+ Extended version of the
+HttpRequest interface that provides
+ convenience methods to access request properties such as request URI
+ and method type. |
+
Class and Description | +
---|
CloseableHttpResponse
+ Extended version of the
+HttpResponse interface that also extends Closeable . |
+
HttpExecutionAware
+ Interface to be implemented by any object that wishes to be notified of
+ blocking I/O operations that could be cancelled.
+ |
+
HttpRequestWrapper
+ A wrapper class for
+HttpRequest that can be used to change properties of the current
+ request without modifying the original object. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-frame.html new file mode 100644 index 0000000..7c2c094 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +Interface | +Description | +
---|---|
AuthCache | +
+ Abstract
+AuthScheme cache. |
+
AuthenticationHandler | +Deprecated
+ (4.2) use
+AuthenticationStrategy |
+
AuthenticationStrategy | +
+ /**
+ A handler for determining if an HTTP response represents an authentication challenge that was
+ sent back to the client as a result of authentication failure.
+ |
+
BackoffManager | +
+ Represents a controller that dynamically adjusts the size
+ of an available connection pool based on feedback from
+ using the connections.
+ |
+
ConnectionBackoffStrategy | +
+ When managing a dynamic number of connections for a given route, this
+ strategy assesses whether a given request execution outcome should
+ result in a backoff signal or not, based on either examining the
+
+Throwable that resulted or by examining the resulting
+ response (e.g. |
+
CookieStore | +
+ This interface represents an abstract store for
+Cookie
+ objects. |
+
CredentialsProvider | +
+ Abstract credentials provider that maintains a collection of user
+ credentials.
+ |
+
HttpClient | +
+ This interface represents only the most basic contract for HTTP request
+ execution.
+ |
+
HttpRequestRetryHandler | +
+ A handler for determining if an HttpRequest should be retried after a
+ recoverable exception during execution.
+ |
+
RedirectHandler | +Deprecated
+ (4.1) use
+RedirectStrategy |
+
RedirectStrategy | +
+ A strategy for determining if an HTTP request should be redirected to
+ a new location in response to an HTTP response received from the target
+ server.
+ |
+
RequestDirector | +Deprecated
+ (4.3) No longer used
+ |
+
ResponseHandler<T> | +
+ Handler that encapsulates the process of generating a response object
+ from a
+HttpResponse . |
+
ServiceUnavailableRetryStrategy | +
+ Strategy interface that allows API users to plug in their own logic to
+ control whether or not a retry should automatically be done, how many times
+ it should be retried and so on.
+ |
+
UserTokenHandler | +
+ A handler for determining if the given execution context is user specific
+ or not.
+ |
+
Exception | +Description | +
---|---|
CircularRedirectException | +
+ Signals a circular redirect
+ |
+
ClientProtocolException | +
+ Signals an error in the HTTP protocol.
+ |
+
HttpResponseException | +
+ Signals a non 2xx HTTP response.
+ |
+
NonRepeatableRequestException | +
+ Signals failure to retry the request due to non-repeatable request
+ entity.
+ |
+
RedirectException | +
+ Signals violation of HTTP specification caused by an invalid redirect
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-tree.html new file mode 100644 index 0000000..14ae901 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-tree.html @@ -0,0 +1,178 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-use.html new file mode 100644 index 0000000..efb0a77 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/package-use.html @@ -0,0 +1,522 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
ClientProtocolException
+ Signals an error in the HTTP protocol.
+ |
+
RedirectException
+ Signals violation of HTTP specification caused by an invalid redirect
+ |
+
ResponseHandler
+ Handler that encapsulates the process of generating a response object
+ from a
+HttpResponse . |
+
Class and Description | +
---|
ClientProtocolException
+ Signals an error in the HTTP protocol.
+ |
+
CookieStore
+ This interface represents an abstract store for
+Cookie
+ objects. |
+
CredentialsProvider
+ Abstract credentials provider that maintains a collection of user
+ credentials.
+ |
+
HttpClient
+ This interface represents only the most basic contract for HTTP request
+ execution.
+ |
+
ResponseHandler
+ Handler that encapsulates the process of generating a response object
+ from a
+HttpResponse . |
+
Class and Description | +
---|
AuthCache
+ Abstract
+AuthScheme cache. |
+
CookieStore
+ This interface represents an abstract store for
+Cookie
+ objects. |
+
CredentialsProvider
+ Abstract credentials provider that maintains a collection of user
+ credentials.
+ |
+
Class and Description | +
---|
HttpClient
+ This interface represents only the most basic contract for HTTP request
+ execution.
+ |
+
Class and Description | +
---|
CredentialsProvider
+ Abstract credentials provider that maintains a collection of user
+ credentials.
+ |
+
Class and Description | +
---|
AuthCache
+ Abstract
+AuthScheme cache. |
+
AuthenticationHandler
+ Deprecated.
+
+(4.2) use
+AuthenticationStrategy |
+
AuthenticationStrategy
+ /**
+ A handler for determining if an HTTP response represents an authentication challenge that was
+ sent back to the client as a result of authentication failure.
+ |
+
BackoffManager
+ Represents a controller that dynamically adjusts the size
+ of an available connection pool based on feedback from
+ using the connections.
+ |
+
ClientProtocolException
+ Signals an error in the HTTP protocol.
+ |
+
ConnectionBackoffStrategy
+ When managing a dynamic number of connections for a given route, this
+ strategy assesses whether a given request execution outcome should
+ result in a backoff signal or not, based on either examining the
+
+Throwable that resulted or by examining the resulting
+ response (e.g. |
+
CookieStore
+ This interface represents an abstract store for
+Cookie
+ objects. |
+
CredentialsProvider
+ Abstract credentials provider that maintains a collection of user
+ credentials.
+ |
+
HttpClient
+ This interface represents only the most basic contract for HTTP request
+ execution.
+ |
+
HttpRequestRetryHandler
+ A handler for determining if an HttpRequest should be retried after a
+ recoverable exception during execution.
+ |
+
HttpResponseException
+ Signals a non 2xx HTTP response.
+ |
+
RedirectHandler
+ Deprecated.
+
+(4.1) use
+RedirectStrategy |
+
RedirectStrategy
+ A strategy for determining if an HTTP request should be redirected to
+ a new location in response to an HTTP response received from the target
+ server.
+ |
+
RequestDirector
+ Deprecated.
+
+(4.3) No longer used
+ |
+
ResponseHandler
+ Handler that encapsulates the process of generating a response object
+ from a
+HttpResponse . |
+
ServiceUnavailableRetryStrategy
+ Strategy interface that allows API users to plug in their own logic to
+ control whether or not a retry should automatically be done, how many times
+ it should be retried and so on.
+ |
+
UserTokenHandler
+ A handler for determining if the given execution context is user specific
+ or not.
+ |
+
Class and Description | +
---|
HttpClient
+ This interface represents only the most basic contract for HTTP request
+ execution.
+ |
+
ResponseHandler
+ Handler that encapsulates the process of generating a response object
+ from a
+HttpResponse . |
+
Class and Description | +
---|
AuthenticationStrategy
+ /**
+ A handler for determining if an HTTP response represents an authentication challenge that was
+ sent back to the client as a result of authentication failure.
+ |
+
BackoffManager
+ Represents a controller that dynamically adjusts the size
+ of an available connection pool based on feedback from
+ using the connections.
+ |
+
ConnectionBackoffStrategy
+ When managing a dynamic number of connections for a given route, this
+ strategy assesses whether a given request execution outcome should
+ result in a backoff signal or not, based on either examining the
+
+Throwable that resulted or by examining the resulting
+ response (e.g. |
+
HttpRequestRetryHandler
+ A handler for determining if an HttpRequest should be retried after a
+ recoverable exception during execution.
+ |
+
RedirectStrategy
+ A strategy for determining if an HTTP request should be redirected to
+ a new location in response to an HTTP response received from the target
+ server.
+ |
+
ServiceUnavailableRetryStrategy
+ Strategy interface that allows API users to plug in their own logic to
+ control whether or not a retry should automatically be done, how many times
+ it should be retried and so on.
+ |
+
UserTokenHandler
+ A handler for determining if the given execution context is user specific
+ or not.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AllClientPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AllClientPNames.html new file mode 100644 index 0000000..c82e4f9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AllClientPNames.html @@ -0,0 +1,254 @@ + + + + + + +@Deprecated +public interface AllClientPNames +extends org.apache.http.params.CoreConnectionPNames, org.apache.http.params.CoreProtocolPNames, ClientPNames, AuthPNames, CookieSpecPNames, ConnConnectionPNames, ConnManagerPNames, ConnRoutePNames+
+ This interface is meant as a navigation aid for developers. + When referring to parameter names, you should use the interfaces + in which the respective constants are actually defined. +
CONNECTION_TIMEOUT, MAX_HEADER_COUNT, MAX_LINE_LENGTH, MIN_CHUNK_LIMIT, SO_KEEPALIVE, SO_LINGER, SO_REUSEADDR, SO_TIMEOUT, SOCKET_BUFFER_SIZE, STALE_CONNECTION_CHECK, TCP_NODELAY
HTTP_CONTENT_CHARSET, HTTP_ELEMENT_CHARSET, HTTP_MALFORMED_INPUT_ACTION, HTTP_UNMAPPABLE_INPUT_ACTION, ORIGIN_SERVER, PROTOCOL_VERSION, STRICT_TRANSFER_ENCODING, USE_EXPECT_CONTINUE, USER_AGENT, WAIT_FOR_CONTINUE
ALLOW_CIRCULAR_REDIRECTS, CONN_MANAGER_TIMEOUT, CONNECTION_MANAGER_FACTORY_CLASS_NAME, COOKIE_POLICY, DEFAULT_HEADERS, DEFAULT_HOST, HANDLE_AUTHENTICATION, HANDLE_REDIRECTS, MAX_REDIRECTS, REJECT_RELATIVE_REDIRECT, VIRTUAL_HOST
CREDENTIAL_CHARSET, PROXY_AUTH_PREF, TARGET_AUTH_PREF
DATE_PATTERNS, SINGLE_COOKIE_HEADER
MAX_STATUS_LINE_GARBAGE
MAX_CONNECTIONS_PER_ROUTE, MAX_TOTAL_CONNECTIONS, TIMEOUT
DEFAULT_PROXY, FORCED_ROUTE, LOCAL_ADDRESS
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AuthPolicy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AuthPolicy.html new file mode 100644 index 0000000..d1ef2b1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/AuthPolicy.html @@ -0,0 +1,331 @@ + + + + + + +AuthSchemes
.@Deprecated +public final class AuthPolicy +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+BASIC
+Deprecated.
+Basic authentication scheme as defined in RFC2617 (considered inherently
+ insecure, but most widely supported)
+ |
+
static String |
+DIGEST
+Deprecated.
+Digest authentication scheme as defined in RFC2617.
+ |
+
static String |
+KERBEROS
+Deprecated.
+Kerberos Authentication scheme.
+ |
+
static String |
+NTLM
+Deprecated.
+The NTLM scheme is a proprietary Microsoft Windows Authentication
+ protocol (considered to be the most secure among currently supported
+ authentication schemes).
+ |
+
static String |
+SPNEGO
+Deprecated.
+SPNEGO Authentication scheme.
+ |
+
public static final String NTLM+
public static final String DIGEST+
public static final String BASIC+
public static final String SPNEGO+
public static final String KERBEROS+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientPNames.html new file mode 100644 index 0000000..87ec42b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientPNames.html @@ -0,0 +1,458 @@ + + + + + + +RequestConfig
.@Deprecated +public interface ClientPNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+ALLOW_CIRCULAR_REDIRECTS
+Deprecated.
+Defines whether circular redirects (redirects to the same location) should be allowed.
+ |
+
static String |
+CONN_MANAGER_TIMEOUT
+Deprecated.
+Defines the timeout in milliseconds used when retrieving an instance of
+
+ManagedClientConnection from the
+ ClientConnectionManager . |
+
static String |
+CONNECTION_MANAGER_FACTORY_CLASS_NAME
+Deprecated.
+ |
+
static String |
+COOKIE_POLICY
+Deprecated.
+Defines the name of the cookie specification to be used for HTTP state management.
+ |
+
static String |
+DEFAULT_HEADERS
+Deprecated.
+Defines the request headers to be sent per default with each request.
+ |
+
static String |
+DEFAULT_HOST
+Deprecated.
+Defines the default host.
+ |
+
static String |
+HANDLE_AUTHENTICATION
+Deprecated.
+Defines whether authentication should be handled automatically.
+ |
+
static String |
+HANDLE_REDIRECTS
+Deprecated.
+Defines whether redirects should be handled automatically
+ |
+
static String |
+MAX_REDIRECTS
+Deprecated.
+Defines the maximum number of redirects to be followed.
+ |
+
static String |
+REJECT_RELATIVE_REDIRECT
+Deprecated.
+Defines whether relative redirects should be rejected.
+ |
+
static String |
+VIRTUAL_HOST
+Deprecated.
+Defines the virtual host to be used in the
+Host
+ request header instead of the physical host. |
+
static final String CONNECTION_MANAGER_FACTORY_CLASS_NAME+
static final String HANDLE_REDIRECTS+
+ This parameter expects a value of type Boolean
.
+
static final String REJECT_RELATIVE_REDIRECT+
+ This parameter expects a value of type Boolean
.
+
static final String MAX_REDIRECTS+
+ This parameter expects a value of type Integer
.
+
static final String ALLOW_CIRCULAR_REDIRECTS+
+ This parameter expects a value of type Boolean
.
+
static final String HANDLE_AUTHENTICATION+
+ This parameter expects a value of type Boolean
.
+
static final String COOKIE_POLICY+
+ This parameter expects a value of type String
.
+
static final String VIRTUAL_HOST+
Host
+ request header instead of the physical host.
+
+ This parameter expects a value of type HttpHost
.
+
static final String DEFAULT_HEADERS+
+ This parameter expects a value of type Collection
. The
+ collection is expected to contain Header
s.
+
static final String DEFAULT_HOST+
+ This parameter expects a value of type HttpHost
.
+
static final String CONN_MANAGER_TIMEOUT+
ManagedClientConnection
from the
+ ClientConnectionManager
.
+
+ This parameter expects a value of type Long
.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientParamBean.html new file mode 100644 index 0000000..8d13d97 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/ClientParamBean.html @@ -0,0 +1,458 @@ + + + + + + +RequestConfig
.@Deprecated +public class ClientParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate HTTP client parameters using
+ Java Beans conventions.params
Constructor and Description | +
---|
ClientParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setAllowCircularRedirects(boolean allow)
+Deprecated.
+ |
+
void |
+setConnectionManagerFactoryClassName(String factory)
+Deprecated.
+
+(4.2) do not use.
+ |
+
void |
+setConnectionManagerTimeout(long timeout)
+Deprecated.
+ |
+
void |
+setCookiePolicy(String policy)
+Deprecated.
+ |
+
void |
+setDefaultHeaders(Collection<org.apache.http.Header> headers)
+Deprecated.
+ |
+
void |
+setDefaultHost(org.apache.http.HttpHost host)
+Deprecated.
+ |
+
void |
+setHandleAuthentication(boolean handle)
+Deprecated.
+ |
+
void |
+setHandleRedirects(boolean handle)
+Deprecated.
+ |
+
void |
+setMaxRedirects(int maxRedirects)
+Deprecated.
+ |
+
void |
+setRejectRelativeRedirect(boolean reject)
+Deprecated.
+ |
+
void |
+setVirtualHost(org.apache.http.HttpHost host)
+Deprecated.
+ |
+
public ClientParamBean(org.apache.http.params.HttpParams params)+
@Deprecated +public void setConnectionManagerFactoryClassName(String factory)+
public void setHandleRedirects(boolean handle)+
public void setRejectRelativeRedirect(boolean reject)+
public void setMaxRedirects(int maxRedirects)+
public void setAllowCircularRedirects(boolean allow)+
public void setHandleAuthentication(boolean handle)+
public void setCookiePolicy(String policy)+
public void setVirtualHost(org.apache.http.HttpHost host)+
public void setDefaultHeaders(Collection<org.apache.http.Header> headers)+
public void setDefaultHost(org.apache.http.HttpHost host)+
public void setConnectionManagerTimeout(long timeout)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/CookiePolicy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/CookiePolicy.html new file mode 100644 index 0000000..f5cd80e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/CookiePolicy.html @@ -0,0 +1,344 @@ + + + + + + +CookieSpecs
.@Deprecated +public final class CookiePolicy +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+BEST_MATCH
+Deprecated.
+The default 'best match' policy.
+ |
+
static String |
+BROWSER_COMPATIBILITY
+Deprecated.
+The policy that provides high degree of compatibilty
+ with common cookie management of popular HTTP agents.
+ |
+
static String |
+IGNORE_COOKIES
+Deprecated.
+The policy that ignores cookies.
+ |
+
static String |
+NETSCAPE
+Deprecated.
+The Netscape cookie draft compliant policy.
+ |
+
static String |
+RFC_2109
+Deprecated.
+The RFC 2109 compliant policy.
+ |
+
static String |
+RFC_2965
+Deprecated.
+The RFC 2965 compliant policy.
+ |
+
public static final String BROWSER_COMPATIBILITY+
public static final String NETSCAPE+
public static final String RFC_2109+
public static final String RFC_2965+
public static final String BEST_MATCH+
public static final String IGNORE_COOKIES+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParamConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParamConfig.html new file mode 100644 index 0000000..a7249bb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParamConfig.html @@ -0,0 +1,251 @@ + + + + + + +HttpParams
. Do not use.@Deprecated +public final class HttpClientParamConfig +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static RequestConfig |
+getRequestConfig(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
static RequestConfig |
+getRequestConfig(org.apache.http.params.HttpParams params,
+ RequestConfig defaultConfig)
+Deprecated.
+ |
+
public static RequestConfig getRequestConfig(org.apache.http.params.HttpParams params)+
public static RequestConfig getRequestConfig(org.apache.http.params.HttpParams params, + RequestConfig defaultConfig)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParams.html new file mode 100644 index 0000000..51e663d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/HttpClientParams.html @@ -0,0 +1,365 @@ + + + + + + +RequestConfig
@Deprecated +public class HttpClientParams +extends Object+
HttpParams
.Modifier and Type | +Method and Description | +
---|---|
static long |
+getConnectionManagerTimeout(org.apache.http.params.HttpParams params)
+Deprecated.
+Get the connectiion manager timeout value.
+ |
+
static String |
+getCookiePolicy(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
static boolean |
+isAuthenticating(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
static boolean |
+isRedirecting(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
static void |
+setAuthenticating(org.apache.http.params.HttpParams params,
+ boolean value)
+Deprecated.
+ |
+
static void |
+setConnectionManagerTimeout(org.apache.http.params.HttpParams params,
+ long timeout)
+Deprecated.
+Set the parameter
+ClientPNames.CONN_MANAGER_TIMEOUT . |
+
static void |
+setCookiePolicy(org.apache.http.params.HttpParams params,
+ String cookiePolicy)
+Deprecated.
+ |
+
static void |
+setRedirecting(org.apache.http.params.HttpParams params,
+ boolean value)
+Deprecated.
+ |
+
public static boolean isRedirecting(org.apache.http.params.HttpParams params)+
public static void setRedirecting(org.apache.http.params.HttpParams params, + boolean value)+
public static boolean isAuthenticating(org.apache.http.params.HttpParams params)+
public static void setAuthenticating(org.apache.http.params.HttpParams params, + boolean value)+
public static String getCookiePolicy(org.apache.http.params.HttpParams params)+
public static void setCookiePolicy(org.apache.http.params.HttpParams params, + String cookiePolicy)+
public static void setConnectionManagerTimeout(org.apache.http.params.HttpParams params, + long timeout)+
ClientPNames.CONN_MANAGER_TIMEOUT
.public static long getConnectionManagerTimeout(org.apache.http.params.HttpParams params)+
ClientPNames.CONN_MANAGER_TIMEOUT
.
+ Failing that it uses the parameter CoreConnectionPNames.CONNECTION_TIMEOUT
+ which defaults to 0 if not defined.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AllClientPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AllClientPNames.html new file mode 100644 index 0000000..290cca5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AllClientPNames.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AuthPolicy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AuthPolicy.html new file mode 100644 index 0000000..c620f95 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/AuthPolicy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientPNames.html new file mode 100644 index 0000000..ee0f726 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientPNames.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientParamBean.html new file mode 100644 index 0000000..1f0f9fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/ClientParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/CookiePolicy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/CookiePolicy.html new file mode 100644 index 0000000..7a6cffa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/CookiePolicy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParamConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParamConfig.html new file mode 100644 index 0000000..2601e54 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParamConfig.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParams.html new file mode 100644 index 0000000..fa95699 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/class-use/HttpClientParams.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-frame.html new file mode 100644 index 0000000..3dcc4c2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
AllClientPNames | +Deprecated + + | +
ClientPNames | +Deprecated
+ (4.3) use
+RequestConfig . |
+
Class | +Description | +
---|---|
AuthPolicy | +Deprecated
+ (4.3) use
+AuthSchemes . |
+
ClientParamBean | +Deprecated
+ (4.3) use
+RequestConfig . |
+
CookiePolicy | +Deprecated
+ (4.3) use
+CookieSpecs . |
+
HttpClientParamConfig | +Deprecated
+ (4.3) provided for compatibility with
+HttpParams . |
+
HttpClientParams | +Deprecated
+ (4.3) use
+RequestConfig |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-tree.html new file mode 100644 index 0000000..9bc40a7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-tree.html @@ -0,0 +1,181 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-use.html new file mode 100644 index 0000000..b3369f7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/params/package-use.html @@ -0,0 +1,156 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Class and Description | +
---|
ClientPNames
+ Deprecated.
+
+(4.3) use
+RequestConfig . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContext.html new file mode 100644 index 0000000..5798907 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContext.html @@ -0,0 +1,518 @@ + + + + + + +HttpClientContext
.@Deprecated +public interface ClientContext+
HttpContext
attribute names for
+ client side HTTP protocol processing.Modifier and Type | +Field and Description | +
---|---|
static String |
+AUTH_CACHE
+Deprecated.
+Attribute name of a
+AuthCache object
+ that represents the auth scheme cache. |
+
static String |
+AUTH_SCHEME_PREF
+Deprecated.
+ |
+
static String |
+AUTHSCHEME_REGISTRY
+Deprecated.
+Attribute name of a
+Lookup object that represents
+ the actual AuthSchemeRegistry registry. |
+
static String |
+COOKIE_ORIGIN
+Deprecated.
+Attribute name of a
+CookieOrigin
+ object that represents the actual details of the origin server. |
+
static String |
+COOKIE_SPEC
+Deprecated.
+Attribute name of a
+CookieSpec
+ object that represents the actual cookie specification. |
+
static String |
+COOKIE_STORE
+Deprecated.
+Attribute name of a
+CookieStore
+ object that represents the actual cookie store. |
+
static String |
+COOKIESPEC_REGISTRY
+Deprecated.
+Attribute name of a
+Lookup object that represents
+ the actual CookieSpecRegistry registry. |
+
static String |
+CREDS_PROVIDER
+Deprecated.
+Attribute name of a
+CredentialsProvider
+ object that represents the actual credentials provider. |
+
static String |
+PROXY_AUTH_STATE
+Deprecated.
+Attribute name of a
+AuthState
+ object that represents the actual proxy authentication state. |
+
static String |
+REQUEST_CONFIG
+Deprecated.
+Attribute name of a
+RequestConfig object that
+ represents the actual request configuration. |
+
static String |
+ROUTE
+Deprecated.
+Attribute name of a
+RouteInfo
+ object that represents the actual connection route. |
+
static String |
+SCHEME_REGISTRY
+Deprecated.
+Attribute name of a
+Scheme
+ object that represents the actual protocol scheme registry. |
+
static String |
+SOCKET_FACTORY_REGISTRY
+Deprecated.
+ |
+
static String |
+TARGET_AUTH_STATE
+Deprecated.
+Attribute name of a
+AuthState
+ object that represents the actual target authentication state. |
+
static String |
+USER_TOKEN
+Deprecated.
+
+ |
+
static final String ROUTE+
RouteInfo
+ object that represents the actual connection route.static final String SCHEME_REGISTRY+
Scheme
+ object that represents the actual protocol scheme registry.static final String COOKIESPEC_REGISTRY+
Lookup
object that represents
+ the actual CookieSpecRegistry
registry.static final String COOKIE_SPEC+
CookieSpec
+ object that represents the actual cookie specification.static final String COOKIE_ORIGIN+
CookieOrigin
+ object that represents the actual details of the origin server.static final String COOKIE_STORE+
CookieStore
+ object that represents the actual cookie store.static final String CREDS_PROVIDER+
CredentialsProvider
+ object that represents the actual credentials provider.static final String AUTH_CACHE+
AuthCache
object
+ that represents the auth scheme cache.static final String TARGET_AUTH_STATE+
AuthState
+ object that represents the actual target authentication state.static final String PROXY_AUTH_STATE+
AuthState
+ object that represents the actual proxy authentication state.static final String AUTH_SCHEME_PREF+
static final String USER_TOKEN+
Object
object that represents
+ the actual user identity such as user Principal
.static final String AUTHSCHEME_REGISTRY+
Lookup
object that represents
+ the actual AuthSchemeRegistry
registry.static final String SOCKET_FACTORY_REGISTRY+
static final String REQUEST_CONFIG+
RequestConfig
object that
+ represents the actual request configuration.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContextConfigurer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContextConfigurer.html new file mode 100644 index 0000000..303ab73 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ClientContextConfigurer.html @@ -0,0 +1,339 @@ + + + + + + +HttpClientContext
@Deprecated +public class ClientContextConfigurer +extends Object +implements ClientContext+
HttpContext
instances.AUTH_CACHE, AUTH_SCHEME_PREF, AUTHSCHEME_REGISTRY, COOKIE_ORIGIN, COOKIE_SPEC, COOKIE_STORE, COOKIESPEC_REGISTRY, CREDS_PROVIDER, PROXY_AUTH_STATE, REQUEST_CONFIG, ROUTE, SCHEME_REGISTRY, SOCKET_FACTORY_REGISTRY, TARGET_AUTH_STATE, USER_TOKEN
Constructor and Description | +
---|
ClientContextConfigurer(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setAuthSchemeRegistry(AuthSchemeRegistry registry)
+Deprecated.
+ |
+
void |
+setCookieSpecRegistry(CookieSpecRegistry registry)
+Deprecated.
+ |
+
void |
+setCookieStore(CookieStore store)
+Deprecated.
+ |
+
void |
+setCredentialsProvider(CredentialsProvider provider)
+Deprecated.
+ |
+
public ClientContextConfigurer(org.apache.http.protocol.HttpContext context)+
public void setCookieSpecRegistry(CookieSpecRegistry registry)+
public void setAuthSchemeRegistry(AuthSchemeRegistry registry)+
public void setCookieStore(CookieStore store)+
public void setCredentialsProvider(CredentialsProvider provider)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/HttpClientContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/HttpClientContext.html new file mode 100644 index 0000000..5049978 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/HttpClientContext.html @@ -0,0 +1,865 @@ + + + + + + +public class HttpClientContext
+extends org.apache.http.protocol.HttpCoreContext
+HttpContext
attributes used in the course
+ of HTTP request execution.Modifier and Type | +Field and Description | +
---|---|
static String |
+AUTH_CACHE
+Attribute name of a
+AuthCache object
+ that represents the auth scheme cache. |
+
static String |
+AUTHSCHEME_REGISTRY
+Attribute name of a
+Lookup object that represents
+ the actual AuthSchemeProvider registry. |
+
static String |
+COOKIE_ORIGIN
+Attribute name of a
+CookieOrigin
+ object that represents the actual details of the origin server. |
+
static String |
+COOKIE_SPEC
+Attribute name of a
+CookieSpec
+ object that represents the actual cookie specification. |
+
static String |
+COOKIE_STORE
+Attribute name of a
+CookieStore
+ object that represents the actual cookie store. |
+
static String |
+COOKIESPEC_REGISTRY
+Attribute name of a
+Lookup object that represents
+ the actual CookieSpecProvider registry. |
+
static String |
+CREDS_PROVIDER
+Attribute name of a
+CredentialsProvider
+ object that represents the actual credentials provider. |
+
static String |
+HTTP_ROUTE
+Attribute name of a
+RouteInfo
+ object that represents the actual connection route. |
+
static String |
+PROXY_AUTH_STATE
+Attribute name of a
+AuthState
+ object that represents the actual proxy authentication state. |
+
static String |
+REDIRECT_LOCATIONS
+Attribute name of a
+List object that represents a collection of all
+ redirect locations received in the process of request execution. |
+
static String |
+REQUEST_CONFIG
+Attribute name of a
+RequestConfig object that
+ represents the actual request configuration. |
+
static String |
+TARGET_AUTH_STATE
+Attribute name of a
+AuthState
+ object that represents the actual target authentication state. |
+
static String |
+USER_TOKEN
+
+ |
+
HTTP_CONNECTION, HTTP_REQ_SENT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_TARGET_HOST
RESERVED_PREFIX
Constructor and Description | +
---|
HttpClientContext() |
+
HttpClientContext(org.apache.http.protocol.HttpContext context) |
+
getAttribute, getAttribute, getConnection, getConnection, getRequest, getResponse, getTargetHost, isRequestSent, removeAttribute, setAttribute, setTargetHost
public static final String HTTP_ROUTE+
RouteInfo
+ object that represents the actual connection route.public static final String REDIRECT_LOCATIONS+
List
object that represents a collection of all
+ redirect locations received in the process of request execution.public static final String COOKIESPEC_REGISTRY+
Lookup
object that represents
+ the actual CookieSpecProvider
registry.public static final String COOKIE_SPEC+
CookieSpec
+ object that represents the actual cookie specification.public static final String COOKIE_ORIGIN+
CookieOrigin
+ object that represents the actual details of the origin server.public static final String COOKIE_STORE+
CookieStore
+ object that represents the actual cookie store.public static final String CREDS_PROVIDER+
CredentialsProvider
+ object that represents the actual credentials provider.public static final String AUTH_CACHE+
AuthCache
object
+ that represents the auth scheme cache.public static final String TARGET_AUTH_STATE+
AuthState
+ object that represents the actual target authentication state.public static final String PROXY_AUTH_STATE+
AuthState
+ object that represents the actual proxy authentication state.public static final String USER_TOKEN+
Object
object that represents
+ the actual user identity such as user Principal
.public static final String AUTHSCHEME_REGISTRY+
Lookup
object that represents
+ the actual AuthSchemeProvider
registry.public static final String REQUEST_CONFIG+
RequestConfig
object that
+ represents the actual request configuration.public HttpClientContext(org.apache.http.protocol.HttpContext context)+
public HttpClientContext()+
public static HttpClientContext adapt(org.apache.http.protocol.HttpContext context)+
public static HttpClientContext create()+
public RouteInfo getHttpRoute()+
public CookieStore getCookieStore()+
public void setCookieStore(CookieStore cookieStore)+
public CookieSpec getCookieSpec()+
public CookieOrigin getCookieOrigin()+
public org.apache.http.config.Lookup<CookieSpecProvider> getCookieSpecRegistry()+
public void setCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> lookup)+
public org.apache.http.config.Lookup<AuthSchemeProvider> getAuthSchemeRegistry()+
public void setAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> lookup)+
public CredentialsProvider getCredentialsProvider()+
public void setCredentialsProvider(CredentialsProvider credentialsProvider)+
public AuthCache getAuthCache()+
public void setAuthCache(AuthCache authCache)+
public AuthState getTargetAuthState()+
public AuthState getProxyAuthState()+
public <T> T getUserToken(Class<T> clazz)+
public Object getUserToken()+
public void setUserToken(Object obj)+
public RequestConfig getRequestConfig()+
public void setRequestConfig(RequestConfig config)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAcceptEncoding.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAcceptEncoding.html new file mode 100644 index 0000000..ab8904c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAcceptEncoding.html @@ -0,0 +1,294 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestAcceptEncoding +extends Object +implements org.apache.http.HttpRequestInterceptor+
+ Instances of this class are stateless, therefore they're thread-safe and immutable.
Constructor and Description | +
---|
RequestAcceptEncoding() |
+
RequestAcceptEncoding(List<String> encodings) |
+
public RequestAcceptEncoding()+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAddCookies.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAddCookies.html new file mode 100644 index 0000000..d3dcafc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAddCookies.html @@ -0,0 +1,279 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestAddCookies +extends Object +implements org.apache.http.HttpRequestInterceptor+
CookieStore
to the request being executed and generates
+ corresponding Cookie
request headers.Constructor and Description | +
---|
RequestAddCookies() |
+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAuthCache.html new file mode 100644 index 0000000..b41156d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestAuthCache.html @@ -0,0 +1,279 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestAuthCache +extends Object +implements org.apache.http.HttpRequestInterceptor+
AuthScheme
instance in the local
+ AuthCache
associated with the given target or proxy host.Constructor and Description | +
---|
RequestAuthCache() |
+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestClientConnControl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestClientConnControl.html new file mode 100644 index 0000000..f3d8317 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestClientConnControl.html @@ -0,0 +1,279 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestClientConnControl +extends Object +implements org.apache.http.HttpRequestInterceptor+
Connection
+ or Proxy-Connection
headers to the outgoing requests, which
+ is essential for managing persistence of HTTP/1.0
connections.Constructor and Description | +
---|
RequestClientConnControl() |
+
public RequestClientConnControl()+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestDefaultHeaders.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestDefaultHeaders.html new file mode 100644 index 0000000..8dbd914 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestDefaultHeaders.html @@ -0,0 +1,291 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RequestDefaultHeaders +extends Object +implements org.apache.http.HttpRequestInterceptor+
Constructor and Description | +
---|
RequestDefaultHeaders() |
+
RequestDefaultHeaders(Collection<? extends org.apache.http.Header> defaultHeaders) |
+
public RequestDefaultHeaders(Collection<? extends org.apache.http.Header> defaultHeaders)+
public RequestDefaultHeaders()+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestExpectContinue.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestExpectContinue.html new file mode 100644 index 0000000..c91717b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestExpectContinue.html @@ -0,0 +1,282 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RequestExpectContinue +extends Object +implements org.apache.http.HttpRequestInterceptor+
Expect
header.
+
+ This interceptor takes into account RequestConfig.isExpectContinueEnabled()
+ setting.
+
Constructor and Description | +
---|
RequestExpectContinue() |
+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestProxyAuthentication.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestProxyAuthentication.html new file mode 100644 index 0000000..b65dc56 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestProxyAuthentication.html @@ -0,0 +1,284 @@ + + + + + + +HttpAuthenticator
.@Deprecated +@Contract(threading=IMMUTABLE) +public class RequestProxyAuthentication +extends Object+
Constructor and Description | +
---|
RequestProxyAuthentication()
+Deprecated.
+ |
+
public RequestProxyAuthentication()+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestTargetAuthentication.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestTargetAuthentication.html new file mode 100644 index 0000000..16740fa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/RequestTargetAuthentication.html @@ -0,0 +1,284 @@ + + + + + + +HttpAuthenticator
.@Deprecated +@Contract(threading=IMMUTABLE) +public class RequestTargetAuthentication +extends Object+
Constructor and Description | +
---|
RequestTargetAuthentication()
+Deprecated.
+ |
+
public RequestTargetAuthentication()+
public void process(org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseAuthCache.html new file mode 100644 index 0000000..7c0a638 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseAuthCache.html @@ -0,0 +1,290 @@ + + + + + + +AuthenticationStrategy
@Contract(threading=IMMUTABLE) +@Deprecated +public class ResponseAuthCache +extends Object +implements org.apache.http.HttpResponseInterceptor+
AuthScheme
s
+ to the local AuthCache
instance. Cached AuthScheme
s can be
+ re-used when executing requests against known hosts, thus avoiding
+ additional authentication round-trips.Constructor and Description | +
---|
ResponseAuthCache()
+Deprecated.
+ |
+
public ResponseAuthCache()+
public void process(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseContentEncoding.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseContentEncoding.html new file mode 100644 index 0000000..b4ae9e5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseContentEncoding.html @@ -0,0 +1,374 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class ResponseContentEncoding +extends Object +implements org.apache.http.HttpResponseInterceptor+
HttpResponseInterceptor
responsible for processing Content-Encoding
+ responses.
+ + Instances of this class are stateless and immutable, therefore threadsafe.
Modifier and Type | +Field and Description | +
---|---|
static String |
+UNCOMPRESSED |
+
Constructor and Description | +
---|
ResponseContentEncoding()
+Handles
+gzip and deflate compressed entities by using the following
+ decoders:
+
+ gzip - see GZIPInputStream
+ deflate - see DeflateInputStream
+ |
+
ResponseContentEncoding(boolean ignoreUnknown) |
+
ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry) |
+
ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry,
+ boolean ignoreUnknown) |
+
public static final String UNCOMPRESSED+
public ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry, + boolean ignoreUnknown)+
public ResponseContentEncoding(boolean ignoreUnknown)+
public ResponseContentEncoding(org.apache.http.config.Lookup<InputStreamFactory> decoderRegistry)+
public ResponseContentEncoding()+
gzip
and deflate
compressed entities by using the following
+ decoders:
+ GZIPInputStream
DeflateInputStream
public void process(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseProcessCookies.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseProcessCookies.html new file mode 100644 index 0000000..a8cafc4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/ResponseProcessCookies.html @@ -0,0 +1,278 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class ResponseProcessCookies +extends Object +implements org.apache.http.HttpResponseInterceptor+
CookieStore
with data
+ contained in response cookies received in the given the HTTP response.Constructor and Description | +
---|
ResponseProcessCookies() |
+
public ResponseProcessCookies()+
public void process(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContext.html new file mode 100644 index 0000000..56b58db --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContext.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ClientContextConfigurer
+Deprecated.
+
+(4.3) use
+HttpClientContext |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContextConfigurer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContextConfigurer.html new file mode 100644 index 0000000..fa55068 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ClientContextConfigurer.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/HttpClientContext.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/HttpClientContext.html new file mode 100644 index 0000000..a9f775f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/HttpClientContext.html @@ -0,0 +1,307 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpCacheContext |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpClientContext |
+HttpClientContext.adapt(org.apache.http.protocol.HttpContext context) |
+
static HttpClientContext |
+HttpClientContext.create() |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+MainClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+MinimalClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RedirectExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ProtocolExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+BackoffStrategyExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ClientExecChain.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse |
+ServiceUnavailableRetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAcceptEncoding.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAcceptEncoding.html new file mode 100644 index 0000000..c4baace --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAcceptEncoding.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAddCookies.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAddCookies.html new file mode 100644 index 0000000..fbd3497 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAddCookies.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAuthCache.html new file mode 100644 index 0000000..0cd3be0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestAuthCache.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestClientConnControl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestClientConnControl.html new file mode 100644 index 0000000..9eb2525 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestClientConnControl.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestDefaultHeaders.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestDefaultHeaders.html new file mode 100644 index 0000000..67e0c34 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestDefaultHeaders.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestExpectContinue.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestExpectContinue.html new file mode 100644 index 0000000..e79d2e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestExpectContinue.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestProxyAuthentication.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestProxyAuthentication.html new file mode 100644 index 0000000..83c6b88 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestProxyAuthentication.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestTargetAuthentication.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestTargetAuthentication.html new file mode 100644 index 0000000..e69171f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/RequestTargetAuthentication.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseAuthCache.html new file mode 100644 index 0000000..732069b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseAuthCache.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseContentEncoding.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseContentEncoding.html new file mode 100644 index 0000000..2f75fde --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseContentEncoding.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseProcessCookies.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseProcessCookies.html new file mode 100644 index 0000000..b9db292 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/class-use/ResponseProcessCookies.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-frame.html new file mode 100644 index 0000000..d5c7b8f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
ClientContext | +Deprecated
+ (4.3) use
+HttpClientContext . |
+
Class | +Description | +
---|---|
ClientContextConfigurer | +Deprecated
+ (4.3) use
+HttpClientContext |
+
HttpClientContext | +
+ Adaptor class that provides convenience type safe setters and getters
+ for common
+HttpContext attributes used in the course
+ of HTTP request execution. |
+
RequestAcceptEncoding | +
+ Class responsible for handling Content Encoding requests in HTTP.
+ |
+
RequestAddCookies | +
+ Request interceptor that matches cookies available in the current
+
+CookieStore to the request being executed and generates
+ corresponding Cookie request headers. |
+
RequestAuthCache | +
+ Request interceptor that can preemptively authenticate against known hosts,
+ if there is a cached
+AuthScheme instance in the local
+ AuthCache associated with the given target or proxy host. |
+
RequestClientConnControl | +
+ This protocol interceptor is responsible for adding
+Connection
+ or Proxy-Connection headers to the outgoing requests, which
+ is essential for managing persistence of HTTP/1.0 connections. |
+
RequestDefaultHeaders | +
+ Request interceptor that adds default request headers.
+ |
+
RequestExpectContinue | +
+ RequestExpectContinue is responsible for enabling the 'expect-continue'
+ handshake by adding
+Expect header. |
+
RequestProxyAuthentication | +Deprecated
+ (4.3) use
+HttpAuthenticator . |
+
RequestTargetAuthentication | +Deprecated
+ (4.3) use
+HttpAuthenticator . |
+
ResponseAuthCache | +Deprecated
+ (4.2) use
+AuthenticationStrategy |
+
ResponseContentEncoding | +
+HttpResponseInterceptor responsible for processing Content-Encoding
+ responses. |
+
ResponseProcessCookies | +
+ Response interceptor that populates the current
+CookieStore with data
+ contained in response cookies received in the given the HTTP response. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-tree.html new file mode 100644 index 0000000..2acc60e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-tree.html @@ -0,0 +1,150 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-use.html new file mode 100644 index 0000000..0e513d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/protocol/package-use.html @@ -0,0 +1,246 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
HttpClientContext
+ Adaptor class that provides convenience type safe setters and getters
+ for common
+HttpContext attributes used in the course
+ of HTTP request execution. |
+
Class and Description | +
---|
ClientContext
+ Deprecated.
+
+(4.3) use
+HttpClientContext . |
+
HttpClientContext
+ Adaptor class that provides convenience type safe setters and getters
+ for common
+HttpContext attributes used in the course
+ of HTTP request execution. |
+
Class and Description | +
---|
HttpClientContext
+ Adaptor class that provides convenience type safe setters and getters
+ for common
+HttpContext attributes used in the course
+ of HTTP request execution. |
+
Class and Description | +
---|
HttpClientContext
+ Adaptor class that provides convenience type safe setters and getters
+ for common
+HttpContext attributes used in the course
+ of HTTP request execution. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/CloneUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/CloneUtils.html new file mode 100644 index 0000000..7793d59 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/CloneUtils.html @@ -0,0 +1,249 @@ + + + + + + +public class CloneUtils +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static Object |
+clone(Object obj) |
+
static <T> T |
+cloneObject(T obj) |
+
public static <T> T cloneObject(T obj) + throws CloneNotSupportedException+
CloneNotSupportedException
public static Object clone(Object obj) + throws CloneNotSupportedException+
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/DateUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/DateUtils.html new file mode 100644 index 0000000..055cb14 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/DateUtils.html @@ -0,0 +1,429 @@ + + + + + + +public final class DateUtils +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static TimeZone |
+GMT |
+
static String |
+PATTERN_ASCTIME
+Date format pattern used to parse HTTP date headers in ANSI C
+
+asctime() format. |
+
static String |
+PATTERN_RFC1036
+Date format pattern used to parse HTTP date headers in RFC 1036 format.
+ |
+
static String |
+PATTERN_RFC1123
+Date format pattern used to parse HTTP date headers in RFC 1123 format.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+clearThreadLocal()
+Clears thread-local variable containing
+DateFormat cache. |
+
static String |
+formatDate(Date date)
+Formats the given date according to the RFC 1123 pattern.
+ |
+
static String |
+formatDate(Date date,
+ String pattern)
+Formats the given date according to the specified pattern.
+ |
+
static Date |
+parseDate(String dateValue)
+Parses a date value.
+ |
+
static Date |
+parseDate(String dateValue,
+ String[] dateFormats)
+Parses the date value using the given date formats.
+ |
+
static Date |
+parseDate(String dateValue,
+ String[] dateFormats,
+ Date startDate)
+Parses the date value using the given date formats.
+ |
+
public static final String PATTERN_RFC1123+
public static final String PATTERN_RFC1036+
public static final String PATTERN_ASCTIME+
asctime()
format.public static final TimeZone GMT+
public static Date parseDate(String dateValue)+
dateValue
- the date value to parsepublic static Date parseDate(String dateValue, + String[] dateFormats)+
dateValue
- the date value to parsedateFormats
- the date formats to usepublic static Date parseDate(String dateValue, + String[] dateFormats, + Date startDate)+
dateValue
- the date value to parsedateFormats
- the date formats to usestartDate
- During parsing, two digit years will be placed in the range
+ startDate
to startDate + 100 years
. This value may
+ be null
. When null
is given as a parameter, year
+ 2000
will be used.public static String formatDate(Date date)+
date
- The date to format.PATTERN_RFC1123
public static String formatDate(Date date, + String pattern)+
simple date
+ format
class.date
- The date to format.pattern
- The pattern to use for formatting the date.IllegalArgumentException
- If the given date pattern is invalid.SimpleDateFormat
public static void clearThreadLocal()+
DateFormat
cache.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/HttpClientUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/HttpClientUtils.html new file mode 100644 index 0000000..a181547 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/HttpClientUtils.html @@ -0,0 +1,310 @@ + + + + + + +public class HttpClientUtils +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static void |
+closeQuietly(CloseableHttpResponse response)
+Unconditionally close a response.
+ |
+
static void |
+closeQuietly(HttpClient httpClient)
+Unconditionally close a httpClient.
+ |
+
static void |
+closeQuietly(org.apache.http.HttpResponse response)
+Unconditionally close a response.
+ |
+
public static void closeQuietly(org.apache.http.HttpResponse response)+
+ Example Code: + +
+ HttpResponse httpResponse = null; + try { + httpResponse = httpClient.execute(httpGet); + } catch (Exception e) { + // error handling + } finally { + HttpClientUtils.closeQuietly(httpResponse); + } +
response
- the HttpResponse to release resources, may be null or already
+ closed.public static void closeQuietly(CloseableHttpResponse response)+
+ Example Code: + +
+ HttpResponse httpResponse = null; + try { + httpResponse = httpClient.execute(httpGet); + } catch (Exception e) { + // error handling + } finally { + HttpClientUtils.closeQuietly(httpResponse); + } +
response
- the HttpResponse to release resources, may be null or already
+ closed.public static void closeQuietly(HttpClient httpClient)+
+ Example Code: + +
+ HttpClient httpClient = HttpClients.createDefault(); + try { + httpClient.execute(request); + } catch (Exception e) { + // error handling + } finally { + HttpClientUtils.closeQuietly(httpClient); + } +
httpClient
- the HttpClient to close, may be null or already closed.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Idn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Idn.html new file mode 100644 index 0000000..7903a6f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Idn.html @@ -0,0 +1,227 @@ + + + + + + +IDN
.@Deprecated +public interface Idn+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/JdkIdn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/JdkIdn.html new file mode 100644 index 0000000..66af7be --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/JdkIdn.html @@ -0,0 +1,289 @@ + + + + + + +IDN
.@Contract(threading=IMMUTABLE) +@Deprecated +public class JdkIdn +extends Object +implements Idn+
Constructor and Description | +
---|
JdkIdn()
+Deprecated.
+ |
+
public JdkIdn() + throws ClassNotFoundException+
ClassNotFoundException
- if java.net.IDN is not availableCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Punycode.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Punycode.html new file mode 100644 index 0000000..ff60524 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Punycode.html @@ -0,0 +1,273 @@ + + + + + + +IDN
.@Contract(threading=IMMUTABLE) +@Deprecated +public class Punycode +extends Object+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Rfc3492Idn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Rfc3492Idn.html new file mode 100644 index 0000000..09b630e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/Rfc3492Idn.html @@ -0,0 +1,302 @@ + + + + + + +IDN
.@Contract(threading=IMMUTABLE) +@Deprecated +public class Rfc3492Idn +extends Object +implements Idn+
Constructor and Description | +
---|
Rfc3492Idn()
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIBuilder.html new file mode 100644 index 0000000..aa0d1e5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIBuilder.html @@ -0,0 +1,906 @@ + + + + + + +Constructor and Description | +
---|
URIBuilder()
+Constructs an empty instance.
+ |
+
URIBuilder(String string)
+Construct an instance from the string which must be a valid URI.
+ |
+
URIBuilder(String string,
+ Charset charset)
+Construct an instance from the string which must be a valid URI.
+ |
+
URIBuilder(URI uri)
+Construct an instance from the provided URI.
+ |
+
URIBuilder(URI uri,
+ Charset charset)
+Construct an instance from the provided URI.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
URIBuilder |
+addParameter(String param,
+ String value)
+Adds parameter to URI query.
+ |
+
URIBuilder |
+addParameters(List<org.apache.http.NameValuePair> nvps)
+Adds URI query parameters.
+ |
+
URI |
+build()
+Builds a
+URI instance. |
+
URIBuilder |
+clearParameters()
+Clears URI query parameters.
+ |
+
Charset |
+getCharset() |
+
String |
+getFragment() |
+
String |
+getHost() |
+
String |
+getPath() |
+
List<String> |
+getPathSegments() |
+
int |
+getPort() |
+
List<org.apache.http.NameValuePair> |
+getQueryParams() |
+
String |
+getScheme() |
+
String |
+getUserInfo() |
+
boolean |
+isAbsolute() |
+
boolean |
+isOpaque() |
+
boolean |
+isPathEmpty() |
+
boolean |
+isQueryEmpty() |
+
URIBuilder |
+removeQuery()
+Removes URI query.
+ |
+
URIBuilder |
+setCharset(Charset charset) |
+
URIBuilder |
+setCustomQuery(String query)
+Sets custom URI query.
+ |
+
URIBuilder |
+setFragment(String fragment)
+Sets URI fragment.
+ |
+
URIBuilder |
+setHost(String host)
+Sets URI host.
+ |
+
URIBuilder |
+setParameter(String param,
+ String value)
+Sets parameter of URI query overriding existing value if set.
+ |
+
URIBuilder |
+setParameters(List<org.apache.http.NameValuePair> nvps)
+Sets URI query parameters.
+ |
+
URIBuilder |
+setParameters(org.apache.http.NameValuePair... nvps)
+Sets URI query parameters.
+ |
+
URIBuilder |
+setPath(String path)
+Sets URI path.
+ |
+
URIBuilder |
+setPathSegments(List<String> pathSegments)
+Sets URI path.
+ |
+
URIBuilder |
+setPathSegments(String... pathSegments)
+Sets URI path.
+ |
+
URIBuilder |
+setPort(int port)
+Sets URI port.
+ |
+
URIBuilder |
+setQuery(String query)
+Deprecated.
+
+(4.3) use
+setParameters(List) or setParameters(NameValuePair...) |
+
URIBuilder |
+setScheme(String scheme)
+Sets URI scheme.
+ |
+
URIBuilder |
+setUserInfo(String userInfo)
+Sets URI user info.
+ |
+
URIBuilder |
+setUserInfo(String username,
+ String password)
+Sets URI user info as a combination of username and password.
+ |
+
String |
+toString() |
+
public URIBuilder()+
public URIBuilder(String string) + throws URISyntaxException+
string
- a valid URI in string formURISyntaxException
- if the input is not a valid URIpublic URIBuilder(URI uri)+
uri
- public URIBuilder(String string, + Charset charset) + throws URISyntaxException+
string
- a valid URI in string formURISyntaxException
- if the input is not a valid URIpublic URIBuilder setCharset(Charset charset)+
public Charset getCharset()+
public URI build() + throws URISyntaxException+
URI
instance.URISyntaxException
public URIBuilder setScheme(String scheme)+
public URIBuilder setUserInfo(String userInfo)+
public URIBuilder setUserInfo(String username, + String password)+
public URIBuilder setHost(String host)+
public URIBuilder setPort(int port)+
public URIBuilder setPath(String path)+
public URIBuilder setPathSegments(String... pathSegments)+
public URIBuilder setPathSegments(List<String> pathSegments)+
public URIBuilder removeQuery()+
@Deprecated +public URIBuilder setQuery(String query)+ +
+ The value is expected to be encoded form data.
public URIBuilder setParameters(List<org.apache.http.NameValuePair> nvps)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove custom query if present. +
public URIBuilder addParameters(List<org.apache.http.NameValuePair> nvps)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove custom query if present. +
public URIBuilder setParameters(org.apache.http.NameValuePair... nvps)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove custom query if present. +
public URIBuilder addParameter(String param, + String value)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove custom query if present. +
public URIBuilder setParameter(String param, + String value)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove custom query if present. +
public URIBuilder clearParameters()+
public URIBuilder setCustomQuery(String query)+
+ Please note query parameters and custom query component are mutually exclusive. This method + will remove query parameters if present. +
public URIBuilder setFragment(String fragment)+
public boolean isAbsolute()+
public boolean isOpaque()+
public String getScheme()+
public String getUserInfo()+
public String getHost()+
public int getPort()+
public boolean isPathEmpty()+
public String getPath()+
public boolean isQueryEmpty()+
public List<org.apache.http.NameValuePair> getQueryParams()+
public String getFragment()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.UriFlag.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.UriFlag.html new file mode 100644 index 0000000..2b7fb9d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.UriFlag.html @@ -0,0 +1,328 @@ + + + + + + +public static enum URIUtils.UriFlag +extends Enum<URIUtils.UriFlag>+
Enum Constant and Description | +
---|
DROP_FRAGMENT |
+
NORMALIZE |
+
Modifier and Type | +Method and Description | +
---|---|
static URIUtils.UriFlag |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static URIUtils.UriFlag[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final URIUtils.UriFlag DROP_FRAGMENT+
public static final URIUtils.UriFlag NORMALIZE+
public static URIUtils.UriFlag[] values()+
+for (URIUtils.UriFlag c : URIUtils.UriFlag.values()) + System.out.println(c); +
public static URIUtils.UriFlag valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.html new file mode 100644 index 0000000..7af2b07 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URIUtils.html @@ -0,0 +1,651 @@ + + + + + + +Modifier and Type | +Class and Description | +
---|---|
static class |
+URIUtils.UriFlag
+Flags that control how URI is being rewritten.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static EnumSet<URIUtils.UriFlag> |
+DROP_FRAGMENT
+Set of uri flags containing
+URIUtils.UriFlag.DROP_FRAGMENT . |
+
static EnumSet<URIUtils.UriFlag> |
+DROP_FRAGMENT_AND_NORMALIZE
+Set of uri flags containing
+URIUtils.UriFlag.DROP_FRAGMENT and URIUtils.UriFlag.NORMALIZE . |
+
static EnumSet<URIUtils.UriFlag> |
+NO_FLAGS
+Empty set of uri flags.
+ |
+
static EnumSet<URIUtils.UriFlag> |
+NORMALIZE
+Set of uri flags containing
+URIUtils.UriFlag.NORMALIZE . |
+
Modifier and Type | +Method and Description | +
---|---|
static URI |
+createURI(String scheme,
+ String host,
+ int port,
+ String path,
+ String query,
+ String fragment)
+Deprecated.
+
+(4.2) use
+URIBuilder . |
+
static org.apache.http.HttpHost |
+extractHost(URI uri)
+Extracts target host from the given
+URI . |
+
static URI |
+normalizeSyntax(URI uri)
+Removes dot segments according to RFC 3986, section 5.2.4 and
+ Syntax-Based Normalization according to RFC 3986, section 6.2.2.
+ |
+
static URI |
+resolve(URI originalURI,
+ org.apache.http.HttpHost target,
+ List<URI> redirects)
+Derives the interpreted (absolute) URI that was used to generate the last
+ request.
+ |
+
static URI |
+resolve(URI baseURI,
+ String reference)
+Resolves a URI reference against a base URI.
+ |
+
static URI |
+resolve(URI baseURI,
+ URI reference)
+Resolves a URI reference against a base URI.
+ |
+
static URI |
+rewriteURI(URI uri)
+A convenience method that creates a new
+URI whose scheme, host, port, path,
+ query are taken from the existing URI, dropping any fragment or user-information. |
+
static URI |
+rewriteURI(URI uri,
+ org.apache.http.HttpHost target)
+A convenience method for
+
+rewriteURI(URI, HttpHost, EnumSet) that always keeps the
+ fragment. |
+
static URI |
+rewriteURI(URI uri,
+ org.apache.http.HttpHost target,
+ boolean dropFragment)
+Deprecated.
+
+(4.5.8) Use
+rewriteURI(URI, HttpHost, EnumSet) |
+
static URI |
+rewriteURI(URI uri,
+ org.apache.http.HttpHost target,
+ EnumSet<URIUtils.UriFlag> flags)
+A convenience method for creating a new
+URI whose scheme, host
+ and port are taken from the target host, but whose path, query and
+ fragment are taken from the existing URI. |
+
static URI |
+rewriteURIForRoute(URI uri,
+ RouteInfo route)
+A convenience method that optionally converts the original
+URI either
+ to a relative or an absolute form as required by the specified route. |
+
static URI |
+rewriteURIForRoute(URI uri,
+ RouteInfo route,
+ boolean normalizeUri)
+A convenience method that optionally converts the original
+URI either
+ to a relative or an absolute form as required by the specified route. |
+
public static final EnumSet<URIUtils.UriFlag> NO_FLAGS+
public static final EnumSet<URIUtils.UriFlag> DROP_FRAGMENT+
URIUtils.UriFlag.DROP_FRAGMENT
.public static final EnumSet<URIUtils.UriFlag> NORMALIZE+
URIUtils.UriFlag.NORMALIZE
.public static final EnumSet<URIUtils.UriFlag> DROP_FRAGMENT_AND_NORMALIZE+
URIUtils.UriFlag.DROP_FRAGMENT
and URIUtils.UriFlag.NORMALIZE
.@Deprecated +public static URI createURI(String scheme, + String host, + int port, + String path, + String query, + String fragment) + throws URISyntaxException+
URIBuilder
.URI
using all the parameters. This should be
+ used instead of
+ URI.URI(String, String, String, int, String, String, String)
+ or any of the other URI multi-argument URI constructors.scheme
- Scheme namehost
- Host nameport
- Port numberpath
- Pathquery
- Queryfragment
- FragmentURISyntaxException
- If both a scheme and a path are given but the path is
+ relative, if the URI string constructed from the given
+ components violates RFC 2396, or if the authority
+ component of the string is present but cannot be parsed
+ as a server-based authority@Deprecated +public static URI rewriteURI(URI uri, + org.apache.http.HttpHost target, + boolean dropFragment) + throws URISyntaxException+
rewriteURI(URI, HttpHost, EnumSet)
URI
whose scheme, host
+ and port are taken from the target host, but whose path, query and
+ fragment are taken from the existing URI. The fragment is only used if
+ dropFragment is false. The path is set to "/" if not explicitly specified.uri
- Contains the path, query and fragment to use.target
- Contains the scheme, host and port to use.dropFragment
- True if the fragment should not be copied.URISyntaxException
- If the resulting URI is invalid.public static URI rewriteURI(URI uri, + org.apache.http.HttpHost target, + EnumSet<URIUtils.UriFlag> flags) + throws URISyntaxException+
URI
whose scheme, host
+ and port are taken from the target host, but whose path, query and
+ fragment are taken from the existing URI. What exactly is used and how
+ is driven by the passed in flags. The path is set to "/" if not explicitly specified.uri
- Contains the path, query and fragment to use.target
- Contains the scheme, host and port to use.flags
- True if the fragment should not be copied.URISyntaxException
- If the resulting URI is invalid.public static URI rewriteURI(URI uri, + org.apache.http.HttpHost target) + throws URISyntaxException+
rewriteURI(URI, HttpHost, EnumSet)
that always keeps the
+ fragment.URISyntaxException
public static URI rewriteURI(URI uri) + throws URISyntaxException+
URI
whose scheme, host, port, path,
+ query are taken from the existing URI, dropping any fragment or user-information.
+ The path is set to "/" if not explicitly specified. The existing URI is returned
+ unmodified if it has no fragment or user-information and has a path.uri
- original URI.URISyntaxException
- If the resulting URI is invalid.public static URI rewriteURIForRoute(URI uri, + RouteInfo route) + throws URISyntaxException+
URI
either
+ to a relative or an absolute form as required by the specified route.uri
- original URI.URISyntaxException
- If the resulting URI is invalid.public static URI rewriteURIForRoute(URI uri, + RouteInfo route, + boolean normalizeUri) + throws URISyntaxException+
URI
either
+ to a relative or an absolute form as required by the specified route.uri
- original URI.URISyntaxException
- If the resulting URI is invalid.public static URI resolve(URI baseURI, + String reference)+
baseURI
- the base URIreference
- the URI referencepublic static URI resolve(URI baseURI, + URI reference)+
baseURI
- the base URIreference
- the URI referencepublic static URI normalizeSyntax(URI uri) + throws URISyntaxException+
uri
- the original URIURISyntaxException
public static org.apache.http.HttpHost extractHost(URI uri)+
URI
.uri
- null
if the URI is
+ relative or does not contain a valid host name.public static URI resolve(URI originalURI, + org.apache.http.HttpHost target, + List<URI> redirects) + throws URISyntaxException+
URI
.originalURI
- original request before any redirectstarget
- if the last URI is relative, it is resolved against this target,
+ or null
if not available.redirects
- collection of redirect locations since the original request
+ or null
if not available.URISyntaxException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URLEncodedUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URLEncodedUtils.html new file mode 100644 index 0000000..fc00ec2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/URLEncodedUtils.html @@ -0,0 +1,677 @@ + + + + + + +public class URLEncodedUtils +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+CONTENT_TYPE
+The default HTML form content type.
+ |
+
Constructor and Description | +
---|
URLEncodedUtils() |
+
Modifier and Type | +Method and Description | +
---|---|
static String |
+format(Iterable<? extends org.apache.http.NameValuePair> parameters,
+ char parameterSeparator,
+ Charset charset)
+Returns a String that is suitable for use as an
+application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST. |
+
static String |
+format(Iterable<? extends org.apache.http.NameValuePair> parameters,
+ Charset charset)
+Returns a String that is suitable for use as an
+application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST. |
+
static String |
+format(List<? extends org.apache.http.NameValuePair> parameters,
+ char parameterSeparator,
+ String charset)
+Returns a String that is suitable for use as an
+application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST. |
+
static String |
+format(List<? extends org.apache.http.NameValuePair> parameters,
+ String charset)
+Returns a String that is suitable for use as an
+application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST. |
+
static String |
+formatSegments(Iterable<String> segments,
+ Charset charset)
+Returns a string consisting of joint encoded path segments.
+ |
+
static String |
+formatSegments(String... segments)
+Returns a string consisting of joint encoded path segments.
+ |
+
static boolean |
+isEncoded(org.apache.http.HttpEntity entity)
+Returns true if the entity's Content-Type header is
+
+application/x-www-form-urlencoded . |
+
static List<org.apache.http.NameValuePair> |
+parse(org.apache.http.util.CharArrayBuffer buf,
+ Charset charset,
+ char... separators)
+Returns a list of
+NameValuePair s parameters. |
+
static List<org.apache.http.NameValuePair> |
+parse(org.apache.http.HttpEntity entity)
+Returns a list of
+NameValuePairs as parsed from an HttpEntity . |
+
static void |
+parse(List<org.apache.http.NameValuePair> parameters,
+ Scanner scanner,
+ String charset)
+Deprecated.
+
+(4.4) use
+parse(String, java.nio.charset.Charset) |
+
static void |
+parse(List<org.apache.http.NameValuePair> parameters,
+ Scanner scanner,
+ String parameterSepartorPattern,
+ String charset)
+Deprecated.
+
+
+ |
+
static List<org.apache.http.NameValuePair> |
+parse(String s,
+ Charset charset)
+Returns a list of
+NameValuePair s URI query parameters. |
+
static List<org.apache.http.NameValuePair> |
+parse(String s,
+ Charset charset,
+ char... separators)
+Returns a list of
+NameValuePairs as parsed from the given string using the given character
+ encoding. |
+
static List<org.apache.http.NameValuePair> |
+parse(URI uri,
+ Charset charset)
+Returns a list of
+NameValuePair s URI query parameters. |
+
static List<org.apache.http.NameValuePair> |
+parse(URI uri,
+ String charsetName)
+Deprecated.
+
+4.5 Use
+parse(URI, Charset) |
+
static List<String> |
+parsePathSegments(CharSequence s)
+Returns a list of URI path segments.
+ |
+
static List<String> |
+parsePathSegments(CharSequence s,
+ Charset charset)
+Returns a list of URI path segments.
+ |
+
public static final String CONTENT_TYPE+
@Deprecated +public static List<org.apache.http.NameValuePair> parse(URI uri, + String charsetName)+
parse(URI, Charset)
public static List<org.apache.http.NameValuePair> parse(URI uri, + Charset charset)+
NameValuePair
s URI query parameters.
+ By convention, '&'
and ';'
are accepted as parameter separators.uri
- input URI.charset
- parameter charset.public static List<org.apache.http.NameValuePair> parse(org.apache.http.HttpEntity entity) + throws IOException+
NameValuePairs
as parsed from an HttpEntity
.
+ The encoding is taken from the entity's Content-Encoding header.
+ + This is typically used while parsing an HTTP POST.
entity
- The entity to parseNameValuePair
as built from the URI's query portion.IOException
- If there was an exception getting the entity's data.public static boolean isEncoded(org.apache.http.HttpEntity entity)+
application/x-www-form-urlencoded
.@Deprecated +public static void parse(List<org.apache.http.NameValuePair> parameters, + Scanner scanner, + String charset)+
parse(String, java.nio.charset.Charset)
parameters
, as encoded by
+ encoding
. For example, a scanner containing the string a=1&b=2&c=3
would add the
+ NameValuePairs
a=1, b=2, and c=3 to the list of parameters. By convention, '&'
and
+ ';'
are accepted as parameter separators.parameters
- List to add parameters to.scanner
- Input that contains the parameters to parse.charset
- Encoding to use when decoding the parameters.@Deprecated +public static void parse(List<org.apache.http.NameValuePair> parameters, + Scanner scanner, + String parameterSepartorPattern, + String charset)+
parse(org.apache.http.util.CharArrayBuffer, java.nio.charset.Charset, char...)
parameters
, as encoded by encoding
. For
+ example, a scanner containing the string a=1&b=2&c=3
would
+ add the NameValuePairs
a=1, b=2, and c=3 to the
+ list of parameters.parameters
- List to add parameters to.scanner
- Input that contains the parameters to parse.parameterSepartorPattern
- The Pattern string for parameter separators, by convention "[&;]"
charset
- Encoding to use when decoding the parameters.public static List<org.apache.http.NameValuePair> parse(String s, + Charset charset)+
NameValuePair
s URI query parameters.
+ By convention, '&'
and ';'
are accepted as parameter separators.s
- URI query component.charset
- charset to use when decoding the parameters.public static List<org.apache.http.NameValuePair> parse(String s, + Charset charset, + char... separators)+
NameValuePairs
as parsed from the given string using the given character
+ encoding.s
- input text.charset
- parameter charset.separators
- parameter separators.public static List<org.apache.http.NameValuePair> parse(org.apache.http.util.CharArrayBuffer buf, + Charset charset, + char... separators)+
NameValuePair
s parameters.buf
- text to parse.charset
- Encoding to use when decoding the parameters.separators
- element separators.NameValuePair
as built from the URI's query portion.public static List<String> parsePathSegments(CharSequence s, + Charset charset)+
s
- URI path component.charset
- parameter charset.public static List<String> parsePathSegments(CharSequence s)+
s
- URI path component.public static String formatSegments(Iterable<String> segments, + Charset charset)+
segments
- the segments.charset
- parameter charset.public static String formatSegments(String... segments)+
segments
- the segments.public static String format(List<? extends org.apache.http.NameValuePair> parameters, + String charset)+
application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.parameters
- The parameters to include.charset
- The encoding to use.application/x-www-form-urlencoded
stringpublic static String format(List<? extends org.apache.http.NameValuePair> parameters, + char parameterSeparator, + String charset)+
application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.parameters
- The parameters to include.parameterSeparator
- The parameter separator, by convention, '&'
or ';'
.charset
- The encoding to use.application/x-www-form-urlencoded
stringpublic static String format(Iterable<? extends org.apache.http.NameValuePair> parameters, + Charset charset)+
application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.parameters
- The parameters to include.charset
- The encoding to use.application/x-www-form-urlencoded
stringpublic static String format(Iterable<? extends org.apache.http.NameValuePair> parameters, + char parameterSeparator, + Charset charset)+
application/x-www-form-urlencoded
+ list of parameters in an HTTP PUT or HTTP POST.parameters
- The parameters to include.parameterSeparator
- The parameter separator, by convention, '&'
or ';'
.charset
- The encoding to use.application/x-www-form-urlencoded
stringCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/CloneUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/CloneUtils.html new file mode 100644 index 0000000..299d918 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/CloneUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/DateUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/DateUtils.html new file mode 100644 index 0000000..4552675 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/DateUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/HttpClientUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/HttpClientUtils.html new file mode 100644 index 0000000..6c9a30a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/HttpClientUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Idn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Idn.html new file mode 100644 index 0000000..4544b28 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Idn.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+JdkIdn
+Deprecated.
+
+(4.4) use standard
+IDN . |
+
class |
+Rfc3492Idn
+Deprecated.
+
+(4.4) use standard
+IDN . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/JdkIdn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/JdkIdn.html new file mode 100644 index 0000000..e803414 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/JdkIdn.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Punycode.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Punycode.html new file mode 100644 index 0000000..e0e71bf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Punycode.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Rfc3492Idn.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Rfc3492Idn.html new file mode 100644 index 0000000..2ff9fe2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/Rfc3492Idn.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIBuilder.html new file mode 100644 index 0000000..f61f30d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIBuilder.html @@ -0,0 +1,272 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
URIBuilder |
+URIBuilder.addParameter(String param,
+ String value)
+Adds parameter to URI query.
+ |
+
URIBuilder |
+URIBuilder.addParameters(List<org.apache.http.NameValuePair> nvps)
+Adds URI query parameters.
+ |
+
URIBuilder |
+URIBuilder.clearParameters()
+Clears URI query parameters.
+ |
+
URIBuilder |
+URIBuilder.removeQuery()
+Removes URI query.
+ |
+
URIBuilder |
+URIBuilder.setCharset(Charset charset) |
+
URIBuilder |
+URIBuilder.setCustomQuery(String query)
+Sets custom URI query.
+ |
+
URIBuilder |
+URIBuilder.setFragment(String fragment)
+Sets URI fragment.
+ |
+
URIBuilder |
+URIBuilder.setHost(String host)
+Sets URI host.
+ |
+
URIBuilder |
+URIBuilder.setParameter(String param,
+ String value)
+Sets parameter of URI query overriding existing value if set.
+ |
+
URIBuilder |
+URIBuilder.setParameters(List<org.apache.http.NameValuePair> nvps)
+Sets URI query parameters.
+ |
+
URIBuilder |
+URIBuilder.setParameters(org.apache.http.NameValuePair... nvps)
+Sets URI query parameters.
+ |
+
URIBuilder |
+URIBuilder.setPath(String path)
+Sets URI path.
+ |
+
URIBuilder |
+URIBuilder.setPathSegments(List<String> pathSegments)
+Sets URI path.
+ |
+
URIBuilder |
+URIBuilder.setPathSegments(String... pathSegments)
+Sets URI path.
+ |
+
URIBuilder |
+URIBuilder.setPort(int port)
+Sets URI port.
+ |
+
URIBuilder |
+URIBuilder.setQuery(String query)
+Deprecated.
+
+(4.3) use
+setParameters(List) or setParameters(NameValuePair...) |
+
URIBuilder |
+URIBuilder.setScheme(String scheme)
+Sets URI scheme.
+ |
+
URIBuilder |
+URIBuilder.setUserInfo(String userInfo)
+Sets URI user info.
+ |
+
URIBuilder |
+URIBuilder.setUserInfo(String username,
+ String password)
+Sets URI user info as a combination of username and password.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.UriFlag.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.UriFlag.html new file mode 100644 index 0000000..d7ccf1b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.UriFlag.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static EnumSet<URIUtils.UriFlag> |
+URIUtils.DROP_FRAGMENT
+Set of uri flags containing
+DROP_FRAGMENT . |
+
static EnumSet<URIUtils.UriFlag> |
+URIUtils.DROP_FRAGMENT_AND_NORMALIZE
+Set of uri flags containing
+DROP_FRAGMENT and NORMALIZE . |
+
static EnumSet<URIUtils.UriFlag> |
+URIUtils.NO_FLAGS
+Empty set of uri flags.
+ |
+
static EnumSet<URIUtils.UriFlag> |
+URIUtils.NORMALIZE
+Set of uri flags containing
+NORMALIZE . |
+
Modifier and Type | +Method and Description | +
---|---|
static URIUtils.UriFlag |
+URIUtils.UriFlag.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static URIUtils.UriFlag[] |
+URIUtils.UriFlag.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static URI |
+URIUtils.rewriteURI(URI uri,
+ org.apache.http.HttpHost target,
+ EnumSet<URIUtils.UriFlag> flags)
+A convenience method for creating a new
+URI whose scheme, host
+ and port are taken from the target host, but whose path, query and
+ fragment are taken from the existing URI. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.html new file mode 100644 index 0000000..6026bc8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URIUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URLEncodedUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URLEncodedUtils.html new file mode 100644 index 0000000..991e70b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/class-use/URLEncodedUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-frame.html new file mode 100644 index 0000000..34b4e5b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +Interface | +Description | +
---|---|
Idn | +Deprecated
+ (4.4) use standard
+IDN . |
+
Class | +Description | +
---|---|
CloneUtils | +
+ A collection of utilities to workaround limitations of Java clone framework.
+ |
+
DateUtils | +
+ A utility class for parsing and formatting HTTP dates as used in cookies and
+ other headers.
+ |
+
HttpClientUtils | +
+ Convenience methods for closing response and client objects.
+ |
+
JdkIdn | +Deprecated
+ (4.4) use standard
+IDN . |
+
Punycode | +Deprecated
+ (4.4) use standard
+IDN . |
+
Rfc3492Idn | +Deprecated
+ (4.4) use standard
+IDN . |
+
URIBuilder | +
+ Builder for
+URI instances. |
+
URIUtils | +
+ A collection of utilities for
+URIs , to workaround
+ bugs within the class or for ease-of-use features. |
+
URLEncodedUtils | +
+ A collection of utilities for encoding URLs.
+ |
+
Enum | +Description | +
---|---|
URIUtils.UriFlag | +
+ Flags that control how URI is being rewritten.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-tree.html new file mode 100644 index 0000000..98af660 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-tree.html @@ -0,0 +1,154 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-use.html new file mode 100644 index 0000000..252be1a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/client/utils/package-use.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
Class and Description | +
---|
Idn
+ Deprecated.
+
+(4.4) use standard
+IDN . |
+
URIBuilder
+ Builder for
+URI instances. |
+
URIUtils.UriFlag
+ Flags that control how URI is being rewritten.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicEofSensorWatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicEofSensorWatcher.html new file mode 100644 index 0000000..9445528 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicEofSensorWatcher.html @@ -0,0 +1,423 @@ + + + + + + +@Deprecated +public class BasicEofSensorWatcher +extends Object +implements EofSensorWatcher+
EofSensorWatcher
. The underlying connection
+ is released on close or EOF.Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+attemptReuse
+Deprecated.
+Whether to keep the connection alive.
+ |
+
protected ManagedClientConnection |
+managedConn
+Deprecated.
+The connection to auto-release.
+ |
+
Constructor and Description | +
---|
BasicEofSensorWatcher(ManagedClientConnection conn,
+ boolean reuse)
+Deprecated.
+Creates a new watcher for auto-releasing a connection.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+eofDetected(InputStream wrapped)
+Deprecated.
+Indicates that EOF is detected.
+ |
+
boolean |
+streamAbort(InputStream wrapped)
+Deprecated.
+Indicates that the
+stream is aborted. |
+
boolean |
+streamClosed(InputStream wrapped)
+Deprecated.
+Indicates that the
+stream is closed. |
+
protected final ManagedClientConnection managedConn+
protected final boolean attemptReuse+
public BasicEofSensorWatcher(ManagedClientConnection conn, + boolean reuse)+
conn
- the connection to auto-releasereuse
- whether the connection should be re-usedpublic boolean eofDetected(InputStream wrapped) + throws IOException+
EofSensorWatcher
eofDetected
in interface EofSensorWatcher
wrapped
- the underlying stream which has reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.public boolean streamClosed(InputStream wrapped) + throws IOException+
EofSensorWatcher
stream
is closed.
+ This method will be called only if EOF was not detected
+ before closing. Otherwise, eofDetected
is called.streamClosed
in interface EofSensorWatcher
wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.public boolean streamAbort(InputStream wrapped) + throws IOException+
EofSensorWatcher
stream
is aborted.
+ This method will be called only if EOF was not detected
+ before aborting. Otherwise, eofDetected
is called.
+ + This method will also be invoked when an input operation causes an + IOException to be thrown to make sure the input stream gets shut down. +
streamAbort
in interface EofSensorWatcher
wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicManagedEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicManagedEntity.html new file mode 100644 index 0000000..c5248e4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/BasicManagedEntity.html @@ -0,0 +1,628 @@ + + + + + + +@Deprecated +public class BasicManagedEntity +extends org.apache.http.entity.HttpEntityWrapper +implements ConnectionReleaseTrigger, EofSensorWatcher+
connection
.
+ A ManagedClientConnection
will
+ typically not return a managed entity, but you can replace
+ the unmanaged entity in the response with a managed one.Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+attemptReuse
+Deprecated.
+Whether to keep the connection alive.
+ |
+
protected ManagedClientConnection |
+managedConn
+Deprecated.
+The connection to release.
+ |
+
wrappedEntity
Constructor and Description | +
---|
BasicManagedEntity(org.apache.http.HttpEntity entity,
+ ManagedClientConnection conn,
+ boolean reuse)
+Deprecated.
+Creates a new managed entity that can release a connection.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abortConnection()
+Deprecated.
+Releases the connection without the option of keep-alive.
+ |
+
void |
+consumeContent()
+Deprecated.
+
+(4.1) Use
+EntityUtils.consume(HttpEntity) |
+
boolean |
+eofDetected(InputStream wrapped)
+Deprecated.
+Indicates that EOF is detected.
+ |
+
InputStream |
+getContent()
+Deprecated.
+ |
+
boolean |
+isRepeatable()
+Deprecated.
+ |
+
void |
+releaseConnection()
+Deprecated.
+Releases the connection with the option of keep-alive.
+ |
+
protected void |
+releaseManagedConnection()
+Deprecated.
+Releases the connection gracefully.
+ |
+
boolean |
+streamAbort(InputStream wrapped)
+Deprecated.
+Indicates that the
+stream is aborted. |
+
boolean |
+streamClosed(InputStream wrapped)
+Deprecated.
+Indicates that the
+stream is closed. |
+
void |
+writeTo(OutputStream outStream)
+Deprecated.
+ |
+
getContentEncoding, getContentLength, getContentType, isChunked, isStreaming
protected ManagedClientConnection managedConn+
protected final boolean attemptReuse+
public BasicManagedEntity(org.apache.http.HttpEntity entity, + ManagedClientConnection conn, + boolean reuse)+
entity
- the entity of which to wrap the content.
+ Note that the argument entity can no longer be used
+ afterwards, since the content will be taken by this
+ managed entity.conn
- the connection to releasereuse
- whether the connection should be re-usedpublic boolean isRepeatable()+
isRepeatable
in interface org.apache.http.HttpEntity
isRepeatable
in class org.apache.http.entity.HttpEntityWrapper
public InputStream getContent() + throws IOException+
getContent
in interface org.apache.http.HttpEntity
getContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
@Deprecated +public void consumeContent() + throws IOException+
EntityUtils.consume(HttpEntity)
consumeContent
in interface org.apache.http.HttpEntity
consumeContent
in class org.apache.http.entity.HttpEntityWrapper
IOException
public void writeTo(OutputStream outStream) + throws IOException+
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
IOException
public void releaseConnection() + throws IOException+
ConnectionReleaseTrigger
abortConnection
for a hard release. The
+ connection may be reused as specified by the duration.releaseConnection
in interface ConnectionReleaseTrigger
IOException
- in case of an IO problem. The connection will be released
+ anyway.public void abortConnection() + throws IOException+
ConnectionReleaseTrigger
ConnectionReleaseTrigger.releaseConnection()
for a graceful release.abortConnection
in interface ConnectionReleaseTrigger
IOException
- in case of an IO problem.
+ The connection will be released anyway.public boolean eofDetected(InputStream wrapped) + throws IOException+
EofSensorWatcher
eofDetected
in interface EofSensorWatcher
wrapped
- the underlying stream which has reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.public boolean streamClosed(InputStream wrapped) + throws IOException+
EofSensorWatcher
stream
is closed.
+ This method will be called only if EOF was not detected
+ before closing. Otherwise, eofDetected
is called.streamClosed
in interface EofSensorWatcher
wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.public boolean streamAbort(InputStream wrapped) + throws IOException+
EofSensorWatcher
stream
is aborted.
+ This method will be called only if EOF was not detected
+ before aborting. Otherwise, eofDetected
is called.
+ + This method will also be invoked when an input operation causes an + IOException to be thrown to make sure the input stream gets shut down. +
streamAbort
in interface EofSensorWatcher
wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.protected void releaseManagedConnection() + throws IOException+
IOException
- in case of an IO problem.
+ The connection attribute will be nullified anyway.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManager.html new file mode 100644 index 0000000..d3f5f54 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManager.html @@ -0,0 +1,356 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface ClientConnectionManager+
client connections
.
+ The purpose of an HTTP connection manager is to serve as a factory for new
+ HTTP connections, manage persistent connections and synchronize access to
+ persistent connections making sure that only one thread of execution can
+ have access to a connection at a time.
+ + Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Deprecated.
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections in the pool.
+ |
+
SchemeRegistry |
+getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
void |
+releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
ClientConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+shutdown()
+Deprecated.
+Shuts down this connection manager and releases allocated resources.
+ |
+
SchemeRegistry getSchemeRegistry()+
null
ClientConnectionRequest requestConnection(HttpRoute route, + Object state)+
ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.void releaseConnection(ManagedClientConnection conn, + long validDuration, + TimeUnit timeUnit)+
conn
- the connection to releasevalidDuration
- the duration of time this connection is valid for reusetimeUnit
- the unit of time validDuration is measured incloseExpiredConnections()
void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
idletime
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
closeExpiredConnections()
void closeExpiredConnections()+
void shutdown()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManagerFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManagerFactory.html new file mode 100644 index 0000000..fe88dc1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionManagerFactory.html @@ -0,0 +1,220 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface ClientConnectionManagerFactory+
ClientConnectionManager
instances.Modifier and Type | +Method and Description | +
---|---|
ClientConnectionManager |
+newInstance(org.apache.http.params.HttpParams params,
+ SchemeRegistry schemeRegistry)
+Deprecated.
+ |
+
ClientConnectionManager newInstance(org.apache.http.params.HttpParams params, + SchemeRegistry schemeRegistry)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionOperator.html new file mode 100644 index 0000000..610bd62 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionOperator.html @@ -0,0 +1,301 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface ClientConnectionOperator+
OperatedClientConnection
instances and updating the underlying
+ Socket
of those objects. Implementations will most
+ likely make use of SchemeSocketFactory
s
+ to create Socket
instances.
+ + The methods in this interface allow the creation of plain and layered + sockets. Creating a tunnelled connection through a proxy, however, + is not within the scope of the operator. +
+ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
OperatedClientConnection |
+createConnection()
+Deprecated.
+Creates a new connection that can be operated.
+ |
+
void |
+openConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens a connection to the given target host.
+ |
+
void |
+updateSecureConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Updates a connection with a layered secure connection.
+ |
+
OperatedClientConnection createConnection()+
void openConnection(OperatedClientConnection conn, + org.apache.http.HttpHost target, + InetAddress local, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
conn
- the connection to opentarget
- the target host to connect tolocal
- the local address to route from, or
+ null
for the defaultcontext
- the context for the connectionparams
- the parameters for the connectionIOException
- in case of a problemvoid updateSecureConnection(OperatedClientConnection conn, + org.apache.http.HttpHost target, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
conn
- the open connection to updatetarget
- the target host for the updated connection.
+ The connection must already be open or tunnelled
+ to the host and port, but the scheme of the target
+ will be used to create a layered connection.context
- the context for the connectionparams
- the parameters for the updated connectionIOException
- in case of a problemCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionRequest.html new file mode 100644 index 0000000..8be40b2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ClientConnectionRequest.html @@ -0,0 +1,259 @@ + + + + + + +ConnectionRequest
.@Deprecated +public interface ClientConnectionRequest+
ManagedClientConnection
.Modifier and Type | +Method and Description | +
---|---|
void |
+abortRequest()
+Deprecated.
+Aborts the call to
+getConnection(long, TimeUnit) ,
+ causing it to throw an InterruptedException . |
+
ManagedClientConnection |
+getConnection(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a connection within a given time.
+ |
+
ManagedClientConnection getConnection(long timeout, + TimeUnit timeUnit) + throws InterruptedException, + ConnectionPoolTimeoutException+
shut down
.
+ Timeouts are handled with millisecond precision.
+
+ If abortRequest()
is called while this is blocking or
+ before this began, an InterruptedException
will
+ be thrown.timeout
- the timeout, 0 or negative for no timeouttimeUnit
- the unit for the timeout
,
+ may be null
only if there is no timeoutConnectionPoolTimeoutException
- in case of a timeoutInterruptedException
- if the calling thread is interrupted while waitingvoid abortRequest()+
getConnection(long, TimeUnit)
,
+ causing it to throw an InterruptedException
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectTimeoutException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectTimeoutException.html new file mode 100644 index 0000000..0f15d69 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectTimeoutException.html @@ -0,0 +1,354 @@ + + + + + + +public class ConnectTimeoutException +extends InterruptedIOException+
bytesTransferred
Constructor and Description | +
---|
ConnectTimeoutException()
+Creates a ConnectTimeoutException with a
+null detail message. |
+
ConnectTimeoutException(IOException cause,
+ org.apache.http.HttpHost host,
+ InetAddress... remoteAddresses)
+Creates a ConnectTimeoutException based on original
+IOException . |
+
ConnectTimeoutException(String message)
+Creates a ConnectTimeoutException with the specified detail message.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpHost |
+getHost() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectTimeoutException()+
null
detail message.public ConnectTimeoutException(String message)+
public ConnectTimeoutException(IOException cause, + org.apache.http.HttpHost host, + InetAddress... remoteAddresses)+
IOException
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionKeepAliveStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionKeepAliveStrategy.html new file mode 100644 index 0000000..46851e6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionKeepAliveStrategy.html @@ -0,0 +1,238 @@ + + + + + + +public interface ConnectionKeepAliveStrategy
++ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads.
Modifier and Type | +Method and Description | +
---|---|
long |
+getKeepAliveDuration(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Returns the duration of time which this connection can be safely kept
+ idle.
+ |
+
long getKeepAliveDuration(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
ConnectionReuseStrategy
, if
+ ConnectionReuseStrategy.keepAlive(
+ HttpResponse, HttpContext)
returns true, this allows you to control
+ how long the reuse will last. If keepAlive returns false, this should
+ have no meaningful impactresponse
- The last response received over the connection.context
- the context in which the connection is being used.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionPoolTimeoutException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionPoolTimeoutException.html new file mode 100644 index 0000000..aad623a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionPoolTimeoutException.html @@ -0,0 +1,312 @@ + + + + + + +public class ConnectionPoolTimeoutException +extends ConnectTimeoutException+
bytesTransferred
Constructor and Description | +
---|
ConnectionPoolTimeoutException()
+Creates a ConnectTimeoutException with a
+null detail message. |
+
ConnectionPoolTimeoutException(String message)
+Creates a ConnectTimeoutException with the specified detail message.
+ |
+
getHost
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectionPoolTimeoutException()+
null
detail message.public ConnectionPoolTimeoutException(String message)+
message
- The exception detail messageCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionReleaseTrigger.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionReleaseTrigger.html new file mode 100644 index 0000000..ad07878 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionReleaseTrigger.html @@ -0,0 +1,258 @@ + + + + + + +public interface ConnectionReleaseTrigger
+EofSensorInputStream
or the ManagedHttpClientConnection
itself.
+ + The methods in this interface can safely be called multiple times. + The first invocation releases the connection, subsequent calls + are ignored.
Modifier and Type | +Method and Description | +
---|---|
void |
+abortConnection()
+Releases the connection without the option of keep-alive.
+ |
+
void |
+releaseConnection()
+Releases the connection with the option of keep-alive.
+ |
+
void releaseConnection() + throws IOException+
abortConnection
for a hard release. The
+ connection may be reused as specified by the duration.IOException
- in case of an IO problem. The connection will be released
+ anyway.void abortConnection() + throws IOException+
releaseConnection()
for a graceful release.IOException
- in case of an IO problem.
+ The connection will be released anyway.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionRequest.html new file mode 100644 index 0000000..1f8a52a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ConnectionRequest.html @@ -0,0 +1,247 @@ + + + + + + +public interface ConnectionRequest
+extends org.apache.http.concurrent.Cancellable
+HttpClientConnection
whose life cycle
+ is managed by a connection manager.Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpClientConnection |
+get(long timeout,
+ TimeUnit timeUnit)
+Obtains a connection within a given time.
+ |
+
cancel
org.apache.http.HttpClientConnection get(long timeout, + TimeUnit timeUnit) + throws InterruptedException, + ExecutionException, + ConnectionPoolTimeoutException+
Cancellable.cancel()
is called while this is blocking or
+ before this began, an InterruptedException
will
+ be thrown.timeout
- the timeout, 0 or negative for no timeouttimeUnit
- the unit for the timeout
,
+ may be null
only if there is no timeoutConnectionPoolTimeoutException
- in case of a timeoutInterruptedException
- if the calling thread is interrupted while waitingExecutionException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/DnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/DnsResolver.html new file mode 100644 index 0000000..6059a90 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/DnsResolver.html @@ -0,0 +1,229 @@ + + + + + + +public interface DnsResolver
+Modifier and Type | +Method and Description | +
---|---|
InetAddress[] |
+resolve(String host)
+Returns the IP address for the specified host name, or null if the given
+ host is not recognized or the associated IP address cannot be used to
+ build an InetAddress instance.
+ |
+
InetAddress[] resolve(String host) + throws UnknownHostException+
host
- The host name to be resolved by this resolver.UnknownHostException
InetAddress
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorInputStream.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorInputStream.html new file mode 100644 index 0000000..3b6f6fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorInputStream.html @@ -0,0 +1,574 @@ + + + + + + +public class EofSensorInputStream +extends InputStream +implements ConnectionReleaseTrigger+
close()
and EOF.
+ Primarily used to auto-release an underlying managed connection when the response
+ body is consumed or no longer needed.EofSensorWatcher
Modifier and Type | +Field and Description | +
---|---|
protected InputStream |
+wrappedStream
+The wrapped input stream, while accessible.
+ |
+
Constructor and Description | +
---|
EofSensorInputStream(InputStream in,
+ EofSensorWatcher watcher)
+Creates a new EOF sensor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abortConnection()
+Aborts this stream.
+ |
+
int |
+available() |
+
protected void |
+checkAbort()
+Detects stream abort and notifies the watcher.
+ |
+
protected void |
+checkClose()
+Detects stream close and notifies the watcher.
+ |
+
protected void |
+checkEOF(int eof)
+Detects EOF and notifies the watcher.
+ |
+
void |
+close() |
+
protected boolean |
+isReadAllowed()
+Checks whether the underlying stream can be read from.
+ |
+
int |
+read() |
+
int |
+read(byte[] b) |
+
int |
+read(byte[] b,
+ int off,
+ int len) |
+
void |
+releaseConnection()
+Same as
+close() . |
+
mark, markSupported, reset, skip
protected InputStream wrappedStream+
null
when the wrapped stream
+ becomes inaccessible.public EofSensorInputStream(InputStream in, + EofSensorWatcher watcher)+
close
is called.
+ Otherwise, the watcher decides whether the underlying stream
+ should be closed before detaching from it.in
- the wrapped streamwatcher
- the watcher for events, or null
for
+ auto-close behavior without notificationprotected boolean isReadAllowed() + throws IOException+
true
if the underlying stream is accessible,
+ false
if this stream is in EOF mode and
+ detached from the underlying streamIOException
- if this stream is already closedpublic int read() + throws IOException+
read
in class InputStream
IOException
public int read(byte[] b, + int off, + int len) + throws IOException+
read
in class InputStream
IOException
public int read(byte[] b) + throws IOException+
read
in class InputStream
IOException
public int available() + throws IOException+
available
in class InputStream
IOException
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
protected void checkEOF(int eof) + throws IOException+
isReadAllowed
to
+ check that condition.
+ + If EOF is detected, the watcher will be notified and this stream + is detached from the underlying stream. This prevents multiple + notifications from this stream. +
eof
- the result of the calling read operation.
+ A negative value indicates that EOF is reached.IOException
- in case of an IO problem on closing the underlying streamprotected void checkClose() + throws IOException+
close
.
+ The watcher will only be notified if this stream is closed
+ for the first time and before EOF has been detected.
+ This stream will be detached from the underlying stream to prevent
+ multiple notifications to the watcher.IOException
- in case of an IO problem on closing the underlying streamprotected void checkAbort() + throws IOException+
abortConnection
.
+ The watcher will only be notified if this stream is aborted
+ for the first time and before EOF has been detected or the
+ stream has been closed
gracefully.
+ This stream will be detached from the underlying stream to prevent
+ multiple notifications to the watcher.IOException
- in case of an IO problem on closing the underlying streampublic void releaseConnection() + throws IOException+
close()
.releaseConnection
in interface ConnectionReleaseTrigger
IOException
- in case of an IO problem. The connection will be released
+ anyway.public void abortConnection() + throws IOException+
close()
which prevents
+ re-use of the underlying connection, if any. Calling this method
+ indicates that there should be no attempt to read until the end of
+ the stream.abortConnection
in interface ConnectionReleaseTrigger
IOException
- in case of an IO problem.
+ The connection will be released anyway.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorWatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorWatcher.html new file mode 100644 index 0000000..9d0ebd1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/EofSensorWatcher.html @@ -0,0 +1,283 @@ + + + + + + +public interface EofSensorWatcher
+EofSensorInputStream
. Each stream will notify its
+ watcher at most once.Modifier and Type | +Method and Description | +
---|---|
boolean |
+eofDetected(InputStream wrapped)
+Indicates that EOF is detected.
+ |
+
boolean |
+streamAbort(InputStream wrapped)
+Indicates that the
+stream is aborted. |
+
boolean |
+streamClosed(InputStream wrapped)
+Indicates that the
+stream is closed. |
+
boolean eofDetected(InputStream wrapped) + throws IOException+
wrapped
- the underlying stream which has reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.boolean streamClosed(InputStream wrapped) + throws IOException+
stream
is closed.
+ This method will be called only if EOF was not detected
+ before closing. Otherwise, eofDetected
is called.wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.boolean streamAbort(InputStream wrapped) + throws IOException+
stream
is aborted.
+ This method will be called only if EOF was not detected
+ before aborting. Otherwise, eofDetected
is called.
+ + This method will also be invoked when an input operation causes an + IOException to be thrown to make sure the input stream gets shut down. +
wrapped
- the underlying stream which has not reached EOFtrue
if wrapped
should be closed,
+ false
if it should be left aloneIOException
- in case of an IO problem, for example if the watcher itself
+ closes the underlying stream. The caller will leave the
+ wrapped stream alone, as if false
was returned.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionManager.html new file mode 100644 index 0000000..41da9ad --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionManager.html @@ -0,0 +1,428 @@ + + + + + + +public interface HttpClientConnectionManager
++ The purpose of an HTTP connection manager is to serve as a factory for new + HTTP connections, manage persistent connections and synchronize access to + persistent connections making sure that only one thread of execution can + have access to a connection at a time. +
++ Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads. +
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Closes idle connections in the pool.
+ |
+
void |
+connect(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context)
+Connects the underlying connection socket to the connection target in case
+ of a direct route or to the first proxy hop in case of a route via a proxy
+ (or multiple proxies).
+ |
+
void |
+releaseConnection(org.apache.http.HttpClientConnection conn,
+ Object newState,
+ long validDuration,
+ TimeUnit timeUnit)
+Releases the connection back to the manager making it potentially
+ re-usable by other consumers.
+ |
+
ConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Returns a new
+ConnectionRequest , from which a
+ HttpClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+routeComplete(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Marks the connection as fully established with all its intermediate
+ hops completed.
+ |
+
void |
+shutdown()
+Shuts down this connection manager and releases allocated resources.
+ |
+
void |
+upgrade(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Upgrades the underlying connection socket to TLS/SSL (or another layering
+ protocol) after having executed
+CONNECT method to all
+ intermediate proxy hops |
+
ConnectionRequest requestConnection(HttpRoute route, + Object state)+
ConnectionRequest
, from which a
+ HttpClientConnection
can be obtained or the request can be
+ aborted.
+
+ Please note that newly allocated connections can be returned
+ in the closed state. The consumer of that connection is responsible
+ for fully establishing the route the to the connection target
+ by calling connect
in order to connect
+ directly to the target or to the first proxy hop, optionally calling
+ upgrade
method to upgrade
+ the connection after having executed CONNECT
method to
+ all intermediate proxy hops and and finally calling routeComplete
to mark the route
+ as fully completed.
+
route
- HTTP route of the requested connection.state
- expected state of the connection or null
+ if the connection is not expected to carry any state.void releaseConnection(org.apache.http.HttpClientConnection conn, + Object newState, + long validDuration, + TimeUnit timeUnit)+
validDuration
and timeUnit
+ parameters.conn
- the managed connection to release.validDuration
- the duration of time this connection is valid for reuse.timeUnit
- the time unit.closeExpiredConnections()
void connect(org.apache.http.HttpClientConnection conn, + HttpRoute route, + int connectTimeout, + org.apache.http.protocol.HttpContext context) + throws IOException+
conn
- the managed connection.route
- the route of the connection.connectTimeout
- connect timeout in milliseconds.context
- the actual HTTP context.IOException
void upgrade(org.apache.http.HttpClientConnection conn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
CONNECT
method to all
+ intermediate proxy hopsconn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
void routeComplete(org.apache.http.HttpClientConnection conn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
conn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
+ Open connections in the pool that have not been used for the + timespan given by the argument will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision +
++ All expired connections will also be closed. +
idletime
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
closeExpiredConnections()
void closeExpiredConnections()+
+ Open connections in the pool that have not been used for + the timespan defined when the connection was released will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision. +
void shutdown()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionOperator.html new file mode 100644 index 0000000..0ab9c87 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpClientConnectionOperator.html @@ -0,0 +1,252 @@ + + + + + + +public interface HttpClientConnectionOperator
+ConnectionSocketFactory
,
+ SchemePortResolver
and DnsResolver
. In general, HTTP client user should not
+ provide implementations of this interface, as HttpClient will use the default one that covers
+ most of the cases needed for majority of users.Modifier and Type | +Method and Description | +
---|---|
void |
+connect(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ InetSocketAddress localAddress,
+ int connectTimeout,
+ org.apache.http.config.SocketConfig socketConfig,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+upgrade(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ org.apache.http.protocol.HttpContext context) |
+
void connect(ManagedHttpClientConnection conn, + org.apache.http.HttpHost host, + InetSocketAddress localAddress, + int connectTimeout, + org.apache.http.config.SocketConfig socketConfig, + org.apache.http.protocol.HttpContext context) + throws IOException+
IOException
void upgrade(ManagedHttpClientConnection conn, + org.apache.http.HttpHost host, + org.apache.http.protocol.HttpContext context) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpConnectionFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpConnectionFactory.html new file mode 100644 index 0000000..e759683 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpConnectionFactory.html @@ -0,0 +1,219 @@ + + + + + + +public interface HttpConnectionFactory<T,C extends org.apache.http.HttpConnection>
+HttpConnection
factory.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpHostConnectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpHostConnectException.html new file mode 100644 index 0000000..be63d72 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpHostConnectException.html @@ -0,0 +1,330 @@ + + + + + + +public class HttpHostConnectException +extends ConnectException+
ConnectException
that specifies the HttpHost
that was
+ being connected to.Constructor and Description | +
---|
HttpHostConnectException(org.apache.http.HttpHost host,
+ ConnectException cause)
+Deprecated.
+
+
+ |
+
HttpHostConnectException(IOException cause,
+ org.apache.http.HttpHost host,
+ InetAddress... remoteAddresses)
+Creates a HttpHostConnectException based on original
+IOException . |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpHost |
+getHost() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated +public HttpHostConnectException(org.apache.http.HttpHost host, + ConnectException cause)+ +
public HttpHostConnectException(IOException cause, + org.apache.http.HttpHost host, + InetAddress... remoteAddresses)+
IOException
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpInetSocketAddress.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpInetSocketAddress.html new file mode 100644 index 0000000..236bf86 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpInetSocketAddress.html @@ -0,0 +1,318 @@ + + + + + + +@Deprecated +public class HttpInetSocketAddress +extends InetSocketAddress+
InetSocketAddress
implementation that also provides access to the original
+ HttpHost
used to resolve the address.Constructor and Description | +
---|
HttpInetSocketAddress(org.apache.http.HttpHost httphost,
+ InetAddress addr,
+ int port)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpHost |
+getHttpHost()
+Deprecated.
+ |
+
String |
+toString()
+Deprecated.
+ |
+
createUnresolved, equals, getAddress, getHostName, getHostString, getPort, hashCode, isUnresolved
public HttpInetSocketAddress(org.apache.http.HttpHost httphost, + InetAddress addr, + int port)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpRoutedConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpRoutedConnection.html new file mode 100644 index 0000000..01b704d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/HttpRoutedConnection.html @@ -0,0 +1,302 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface HttpRoutedConnection +extends org.apache.http.HttpInetConnection+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+getRoute()
+Deprecated.
+Obtains the current route of this connection.
+ |
+
SSLSession |
+getSSLSession()
+Deprecated.
+Obtains the SSL session of the underlying connection, if any.
+ |
+
boolean |
+isSecure()
+Deprecated.
+Indicates whether this connection is secure.
+ |
+
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
boolean isSecure()+
true
if this connection is secure,
+ false
otherwiseHttpRoute getRoute()+
null
if not connectedSSLSession getSSLSession()+
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.
+
+ Note: Whether the underlying socket is an SSL socket
+ can not necessarily be determined via isSecure()
.
+ Plain sockets may be considered secure, for example if they are
+ connected to a known host in the same network segment.
+ On the other hand, SSL sockets may be considered insecure,
+ for example depending on the chosen cipher suite.
+
null
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedClientConnection.html new file mode 100644 index 0000000..65e849e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedClientConnection.html @@ -0,0 +1,606 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface ManagedClientConnection +extends HttpRoutedConnection, ManagedHttpClientConnection, ConnectionReleaseTrigger+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+getRoute()
+Deprecated.
+Obtains the current route of this connection.
+ |
+
SSLSession |
+getSSLSession()
+Deprecated.
+Obtains the SSL session of the underlying connection, if any.
+ |
+
Object |
+getState()
+Deprecated.
+Returns the state object associated with this connection.
+ |
+
boolean |
+isMarkedReusable()
+Deprecated.
+Indicates whether this connection is in a reusable communication state.
+ |
+
boolean |
+isSecure()
+Deprecated.
+Indicates whether this connection is secure.
+ |
+
void |
+layerProtocol(org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Layers a new protocol on top of a
+tunnelled
+ connection. |
+
void |
+markReusable()
+Deprecated.
+Marks this connection as being in a reusable communication state.
+ |
+
void |
+open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens this connection according to the given route.
+ |
+
void |
+setIdleDuration(long duration,
+ TimeUnit unit)
+Deprecated.
+Sets the duration that this connection can remain idle before it is
+ reused.
+ |
+
void |
+setState(Object state)
+Deprecated.
+Assigns a state object to this connection.
+ |
+
void |
+tunnelProxy(org.apache.http.HttpHost next,
+ boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Indicates that a tunnel to an intermediate proxy has been established.
+ |
+
void |
+tunnelTarget(boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Indicates that a tunnel to the target has been established.
+ |
+
void |
+unmarkReusable()
+Deprecated.
+Marks this connection as not being in a reusable state.
+ |
+
bind, getId, getSocket
flush, isResponseAvailable, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
abortConnection, releaseConnection
boolean isSecure()+
isSecure
in interface HttpRoutedConnection
true
if this connection is secure,
+ false
otherwiseHttpRoute getRoute()+
getRoute
in interface HttpRoutedConnection
null
if not connectedSSLSession getSSLSession()+
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.
+
+ Note: Whether the underlying socket is an SSL socket
+ can not necessarily be determined via isSecure()
.
+ Plain sockets may be considered secure, for example if they are
+ connected to a known host in the same network segment.
+ On the other hand, SSL sockets may be considered insecure,
+ for example depending on the chosen cipher suite.
+
getSSLSession
in interface HttpRoutedConnection
getSSLSession
in interface ManagedHttpClientConnection
null
otherwisevoid open(HttpRoute route, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
route
- the route along which to open. It will be opened to
+ the first proxy if present, or directly to the target.context
- the context for opening this connectionparams
- the parameters for opening this connectionIOException
- in case of a problemvoid tunnelTarget(boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
open
.
+ Subsequently, layerProtocol
can be called
+ to layer the TLS/SSL protocol on top of the tunnelled connection.
+ + Note: In HttpClient 3, a call to the corresponding method + would automatically trigger the layering of the TLS/SSL protocol. + This is not the case anymore, you can establish a tunnel without + layering a new protocol over the connection. +
secure
- true
if the tunnel should be considered
+ secure, false
otherwiseparams
- the parameters for tunnelling this connectionIOException
- in case of a problemvoid tunnelProxy(org.apache.http.HttpHost next, + boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
tunnelTarget(boolean, org.apache.http.params.HttpParams)
.next
- the proxy to which the tunnel was established.
+ This is not the proxy through which
+ the tunnel was established, but the new end point
+ of the tunnel. The tunnel does not yet
+ reach to the target, use tunnelTarget(boolean, org.apache.http.params.HttpParams)
+ to indicate an end-to-end tunnel.secure
- true
if the connection should be
+ considered secure, false
otherwiseparams
- the parameters for tunnelling this connectionIOException
- in case of a problemvoid layerProtocol(org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
tunnelled
+ connection. This is typically used to create a TLS/SSL connection
+ through a proxy.
+ The route is the one previously passed to open
.
+ It is not guaranteed that the layered connection is
+ secure
.context
- the context for layering on top of this connectionparams
- the parameters for layering on top of this connectionIOException
- in case of a problemvoid markReusable()+
+ A reusable communication state is necessary but not sufficient
+ for the connection to be reused.
+ A route
mismatch, the connection being closed,
+ or other circumstances might prevent reuse.
+
void unmarkReusable()+
reuse strategy
.
+
+ Note:
+ It is not necessary to call here before writing to
+ or reading from this connection. Communication attempts will
+ automatically unmark the state as non-reusable. It can then
+ be switched back using markReusable
.
+
boolean isMarkedReusable()+
markReusable
and
+ unmarkReusable
for details.true
if this connection is marked as being in
+ a reusable communication state,
+ false
otherwisevoid setState(Object state)+
state
- The state objectObject getState()+
void setIdleDuration(long duration, + TimeUnit unit)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedHttpClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedHttpClientConnection.html new file mode 100644 index 0000000..5908032 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ManagedHttpClientConnection.html @@ -0,0 +1,312 @@ + + + + + + +public interface ManagedHttpClientConnection
+extends org.apache.http.HttpClientConnection, org.apache.http.HttpInetConnection
+HttpClientConnection
+ with methods to bind the connection to an arbitrary socket and
+ to obtain SSL session details.Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Socket socket)
+Binds this connection to the given socket.
+ |
+
String |
+getId()
+Returns connection ID which is expected to be unique
+ for the life span of the connection manager.
+ |
+
Socket |
+getSocket()
+Returns the underlying socket.
+ |
+
SSLSession |
+getSSLSession()
+Obtains the SSL session of the underlying connection, if any.
+ |
+
flush, isResponseAvailable, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
String getId()+
void bind(Socket socket) + throws IOException+
socket
- the socket to bind the connection to.IOException
Socket getSocket()+
SSLSession getSSLSession()+
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.null
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/MultihomePlainSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/MultihomePlainSocketFactory.html new file mode 100644 index 0000000..bda43e5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/MultihomePlainSocketFactory.html @@ -0,0 +1,343 @@ + + + + + + +SchemeSocketFactory
interface.@Deprecated +@Contract(threading=IMMUTABLE) +public final class MultihomePlainSocketFactory +extends Object +implements SocketFactory+
InetAddress
es. Please note
+ the connectSocket(Socket, String, int, InetAddress, int, HttpParams)
+ method cannot be reliably interrupted by closing the socket returned by the
+ createSocket()
method.Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(Socket socket,
+ String host,
+ int port,
+ InetAddress localAddress,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Attempts to connects the socket to any of the
+InetAddress es the
+ given host name resolves to. |
+
Socket |
+createSocket()
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
static MultihomePlainSocketFactory |
+getSocketFactory()
+Deprecated.
+Gets the singleton instance of this class.
+ |
+
boolean |
+isSecure(Socket sock)
+Deprecated.
+Checks whether a socket connection is secure.
+ |
+
public static MultihomePlainSocketFactory getSocketFactory()+
public Socket createSocket()+
SocketFactory
connectSocket
.createSocket
in interface SocketFactory
public Socket connectSocket(Socket socket, + String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.http.params.HttpParams params) + throws IOException+
InetAddress
es the
+ given host name resolves to. If connection to all addresses fail, the
+ last I/O exception is propagated to the caller.connectSocket
in interface SocketFactory
socket
- socket to connect to any of the given addresseshost
- Host name to connect toport
- the port to connect tolocalAddress
- local addresslocalPort
- local portparams
- HTTP parameterssock
argument if this factory supports
+ a layered protocol.IOException
- if an error occurs during the connectionSocketTimeoutException
- if timeout expires before connectingpublic boolean isSecure(Socket sock) + throws IllegalArgumentException+
isSecure
in interface SocketFactory
sock
- the connected socketfalse
IllegalArgumentException
- if the argument is invalidCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/OperatedClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/OperatedClientConnection.html new file mode 100644 index 0000000..66a8633 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/OperatedClientConnection.html @@ -0,0 +1,423 @@ + + + + + + +HttpClientConnectionManager
.@Deprecated +public interface OperatedClientConnection +extends org.apache.http.HttpClientConnection, org.apache.http.HttpInetConnection+
operator
.Modifier and Type | +Method and Description | +
---|---|
Socket |
+getSocket()
+Deprecated.
+Obtains the socket for this connection.
+ |
+
org.apache.http.HttpHost |
+getTargetHost()
+Deprecated.
+Obtains the target host for this connection.
+ |
+
boolean |
+isSecure()
+Deprecated.
+Indicates whether this connection is secure.
+ |
+
void |
+openCompleted(boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Signals that the connection has been successfully open.
+ |
+
void |
+opening(Socket sock,
+ org.apache.http.HttpHost target)
+Deprecated.
+Signals that this connection is in the process of being open.
+ |
+
void |
+update(Socket sock,
+ org.apache.http.HttpHost target,
+ boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Updates this connection.
+ |
+
flush, isResponseAvailable, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
org.apache.http.HttpHost getTargetHost()+
+ The return value is well-defined only while the connection is open.
+ It may change even while the connection is open,
+ because of an update
.
+
boolean isSecure()+
update
.true
if this connection is secure,
+ false
otherwiseSocket getSocket()+
update
.target host
void opening(Socket sock, + org.apache.http.HttpHost target) + throws IOException+
+ By calling this method, the connection can be re-initialized
+ with a new Socket instance before openCompleted(boolean, org.apache.http.params.HttpParams)
is called.
+ This enabled the connection to close that socket if
+ shutdown
+ is called before it is fully open. Closing an unconnected socket
+ will interrupt a thread that is blocked on the connect.
+ Otherwise, that thread will either time out on the connect,
+ or it returns successfully and then opens this connection
+ which was just shut down.
+
+ This method can be called multiple times if the connection + is layered over another protocol. Note: This method + will not close the previously used socket. It is + the caller's responsibility to close that socket if it is + no longer required. +
+ The caller must invoke openCompleted(boolean, org.apache.http.params.HttpParams)
in order to complete
+ the process.
sock
- the unconnected socket which is about to
+ be connected.target
- the target host of this connectionIOException
void openCompleted(boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
secure
- true
if this connection is secure, for
+ example if an SSLSocket
is used, or
+ false
if it is not secureparams
- parameters for this connection. The parameters will
+ be used when creating dependent objects, for example
+ to determine buffer sizes.IOException
void update(Socket sock, + org.apache.http.HttpHost target, + boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
+ Note: Updating the connection will not close the + previously used socket. It is the caller's responsibility to close + that socket if it is no longer required. +
sock
- the new socket for communicating with the target host,
+ or null
to continue using the old socket.
+ If null
is passed, helper objects that
+ depend on the socket should be re-used. In that case,
+ some changes in the parameters will not take effect.target
- the new target host of this connectionsecure
- true
if this connection is now secure,
+ false
if it is not secureparams
- new parameters for this connectionIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/SchemePortResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/SchemePortResolver.html new file mode 100644 index 0000000..5a7712a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/SchemePortResolver.html @@ -0,0 +1,221 @@ + + + + + + +public interface SchemePortResolver
+int resolve(org.apache.http.HttpHost host) + throws UnsupportedSchemeException+
UnsupportedSchemeException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/UnsupportedSchemeException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/UnsupportedSchemeException.html new file mode 100644 index 0000000..856fd06 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/UnsupportedSchemeException.html @@ -0,0 +1,263 @@ + + + + + + +public class UnsupportedSchemeException +extends IOException+
Constructor and Description | +
---|
UnsupportedSchemeException(String message)
+Creates a UnsupportedSchemeException with the specified detail message.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicEofSensorWatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicEofSensorWatcher.html new file mode 100644 index 0000000..18696ea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicEofSensorWatcher.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicManagedEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicManagedEntity.html new file mode 100644 index 0000000..01286bf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/BasicManagedEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManager.html new file mode 100644 index 0000000..338a852 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManager.html @@ -0,0 +1,558 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionManager |
+HttpClient.getConnectionManager()
+Deprecated.
+
+(4.3) use
+
+HttpClientBuilder . |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionManager |
+ClientConnectionManagerFactory.newInstance(org.apache.http.params.HttpParams params,
+ SchemeRegistry schemeRegistry)
+Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ClientConnectionManager |
+DefaultRequestDirector.connManager
+Deprecated.
+The connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionManager |
+SystemDefaultHttpClient.createClientConnectionManager()
+Deprecated.
+ |
+
protected ClientConnectionManager |
+AbstractHttpClient.createClientConnectionManager()
+Deprecated.
+ |
+
ClientConnectionManager |
+DecompressingHttpClient.getConnectionManager()
+Deprecated.
+ |
+
ClientConnectionManager |
+AutoRetryHttpClient.getConnectionManager()
+Deprecated.
+ |
+
ClientConnectionManager |
+AbstractHttpClient.getConnectionManager()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
AbstractHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client.
+ |
+
ContentEncodingHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client from parameters and a connection manager.
+ |
+
DefaultHttpClient(ClientConnectionManager conman)
+Deprecated.
+ |
+
DefaultHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client from parameters and a connection manager.
+ |
+
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionManager |
+CachingHttpClient.getConnectionManager()
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientConnectionManager
+Deprecated.
+
+(4.3) use
+BasicHttpClientConnectionManager . |
+
class |
+PoolingClientConnectionManager
+Deprecated.
+
+(4.3) use
+PoolingHttpClientConnectionManager . |
+
class |
+SingleClientConnManager
+Deprecated.
+
+(4.2) use
+BasicClientConnectionManager |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionManager |
+AbstractClientConnAdapter.getManager()
+Deprecated.
+ |
+
Constructor and Description | +
---|
AbstractClientConnAdapter(ClientConnectionManager mgr,
+ OperatedClientConnection conn)
+Deprecated.
+Creates a new connection adapter.
+ |
+
AbstractPooledConnAdapter(ClientConnectionManager manager,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ThreadSafeClientConnManager
+Deprecated.
+
+(4.2) use
+PoolingHttpClientConnectionManager |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionManager |
+BasicPooledConnAdapter.getManager()
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManagerFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManagerFactory.html new file mode 100644 index 0000000..f30b881 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionManagerFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionOperator.html new file mode 100644 index 0000000..e5af564 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionOperator.html @@ -0,0 +1,354 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultClientConnectionOperator
+Deprecated.
+
+(4.3) use
+PoolingHttpClientConnectionManager . |
+
Modifier and Type | +Field and Description | +
---|---|
protected ClientConnectionOperator |
+SingleClientConnManager.connOperator
+Deprecated.
+The operator for opening and updating connections.
+ |
+
protected ClientConnectionOperator |
+AbstractPoolEntry.connOperator
+Deprecated.
+The connection operator.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionOperator |
+SingleClientConnManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected ClientConnectionOperator |
+PoolingClientConnectionManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected ClientConnectionOperator |
+BasicClientConnectionManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+ |
+
Constructor and Description | +
---|
AbstractPoolEntry(ClientConnectionOperator connOperator,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ClientConnectionOperator |
+ThreadSafeClientConnManager.connOperator
+Deprecated.
+The operator for opening and updating connections.
+ |
+
protected ClientConnectionOperator |
+ConnPoolByRoute.operator
+Deprecated.
+Connection operator for this pool
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionOperator |
+ThreadSafeClientConnManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected BasicPoolEntry |
+ConnPoolByRoute.createEntry(RouteSpecificPool rospl,
+ ClientConnectionOperator op)
+Deprecated.
+Creates a new pool entry.
+ |
+
Constructor and Description | +
---|
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ long connTTL,
+ TimeUnit timeunit)
+Deprecated.
+Creates a new pool entry with a specified maximum lifetime.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ ReferenceQueue<Object> queue)
+Deprecated.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections)
+Deprecated.
+Creates a new connection pool, managed by route.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections,
+ long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionRequest.html new file mode 100644 index 0000000..7ccdcc5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ClientConnectionRequest.html @@ -0,0 +1,270 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbortableHttpRequest.setConnectionRequest(ClientConnectionRequest connRequest)
+Deprecated.
+Sets the
+ClientConnectionRequest
+ callback that can be used to abort a long-lived request for a connection. |
+
void |
+AbstractExecutionAwareRequest.setConnectionRequest(ClientConnectionRequest connRequest)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionRequest |
+ClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionRequest |
+SingleClientConnManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
ClientConnectionRequest |
+PoolingClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
ClientConnectionRequest |
+BasicClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionRequest |
+ThreadSafeClientConnManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectTimeoutException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectTimeoutException.html new file mode 100644 index 0000000..f4c815e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectTimeoutException.html @@ -0,0 +1,266 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConnectionPoolTimeoutException
+A timeout while waiting for an available connection
+ from a connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+SchemeSocketFactory.connectSocket(Socket sock,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the target host with the given remote address.
+ |
+
Socket |
+PlainSocketFactory.connectSocket(Socket socket,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Socket |
+SocketFactory.connectSocket(Socket sock,
+ String host,
+ int port,
+ InetAddress localAddress,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the given host.
+ |
+
Socket |
+PlainSocketFactory.connectSocket(Socket socket,
+ String host,
+ int port,
+ InetAddress localAddress,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+SSLSocketFactory.connectSocket(Socket socket,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Socket |
+SSLSocketFactory.connectSocket(Socket socket,
+ String host,
+ int port,
+ InetAddress local,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionKeepAliveStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionKeepAliveStrategy.html new file mode 100644 index 0000000..c1877ec --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionKeepAliveStrategy.html @@ -0,0 +1,390 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultConnectionKeepAliveStrategy
+Default implementation of a strategy deciding duration
+ that a connection can remain idle.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ConnectionKeepAliveStrategy |
+DefaultRequestDirector.keepAliveStrategy
+Deprecated.
+The keep-alive duration strategy.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ConnectionKeepAliveStrategy |
+AbstractHttpClient.createConnectionKeepAliveStrategy()
+Deprecated.
+ |
+
ConnectionKeepAliveStrategy |
+AbstractHttpClient.getConnectionKeepAliveStrategy()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected ClientExecChain |
+HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
HttpClientBuilder |
+HttpClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
+Assigns
+ConnectionKeepAliveStrategy instance. |
+
void |
+AbstractHttpClient.setKeepAliveStrategy(ConnectionKeepAliveStrategy strategy)
+Deprecated.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionPoolTimeoutException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionPoolTimeoutException.html new file mode 100644 index 0000000..115210d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionPoolTimeoutException.html @@ -0,0 +1,246 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpClientConnection |
+ConnectionRequest.get(long timeout,
+ TimeUnit timeUnit)
+Obtains a connection within a given time.
+ |
+
ManagedClientConnection |
+ClientConnectionRequest.getConnection(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a connection within a given time.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpClientConnection |
+PoolingHttpClientConnectionManager.leaseConnection(Future<org.apache.http.impl.conn.CPoolEntry> future,
+ long timeout,
+ TimeUnit timeUnit) |
+
Modifier and Type | +Method and Description | +
---|---|
BasicPoolEntry |
+AbstractConnPool.getEntry(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.getEntryBlocking(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit,
+ WaitingThreadAborter aborter)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
BasicPoolEntry |
+PoolEntryRequest.getPoolEntry(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionReleaseTrigger.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionReleaseTrigger.html new file mode 100644 index 0000000..80c5af7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionReleaseTrigger.html @@ -0,0 +1,294 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbortableHttpRequest.setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
+Deprecated.
+Sets the
+ConnectionReleaseTrigger callback that can
+ be used to abort an active connection. |
+
void |
+AbstractExecutionAwareRequest.setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ManagedClientConnection
+Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicManagedEntity
+Deprecated.
+
+(4.3) do not use.
+ |
+
class |
+EofSensorInputStream
+A stream wrapper that triggers actions on
+close() and EOF. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClientConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
class |
+AbstractPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionRequest.html new file mode 100644 index 0000000..5db1df8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ConnectionRequest.html @@ -0,0 +1,195 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ConnectionRequest |
+HttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Returns a new
+ConnectionRequest , from which a
+ HttpClientConnection can be obtained or the request can be
+ aborted. |
+
Modifier and Type | +Method and Description | +
---|---|
ConnectionRequest |
+BasicHttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state) |
+
ConnectionRequest |
+PoolingHttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/DnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/DnsResolver.html new file mode 100644 index 0000000..be1ce91 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/DnsResolver.html @@ -0,0 +1,268 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setDnsResolver(DnsResolver dnsResolver)
+Assigns
+DnsResolver instance. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+InMemoryDnsResolver
+In-memory
+DnsResolver implementation. |
+
class |
+SystemDefaultDnsResolver
+DNS resolver that uses the default OS implementation for resolving host names.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected DnsResolver |
+DefaultClientConnectionOperator.dnsResolver
+Deprecated.
+the custom-configured DNS lookup mechanism.
+ |
+
Constructor and Description | +
---|
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
DefaultClientConnectionOperator(SchemeRegistry schemes,
+ DnsResolver dnsResolver)
+Deprecated.
+Creates a new client connection operator for the given scheme registry
+ and the given custom DNS lookup mechanism.
+ |
+
DefaultHttpClientConnectionOperator(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
PoolingClientConnectionManager(SchemeRegistry schreg,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
+ long timeToLive,
+ TimeUnit timeUnit,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
+ DnsResolver dnsResolver) |
+
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ DnsResolver dnsResolver) |
+
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver,
+ long timeToLive,
+ TimeUnit timeUnit) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorInputStream.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorInputStream.html new file mode 100644 index 0000000..bf0323c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorInputStream.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorWatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorWatcher.html new file mode 100644 index 0000000..1e8df78 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/EofSensorWatcher.html @@ -0,0 +1,185 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicEofSensorWatcher
+Deprecated.
+
+(4.3) do not use.
+ |
+
class |
+BasicManagedEntity
+Deprecated.
+
+(4.3) do not use.
+ |
+
Constructor and Description | +
---|
EofSensorInputStream(InputStream in,
+ EofSensorWatcher watcher)
+Creates a new EOF sensor.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionManager.html new file mode 100644 index 0000000..537fb6f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionManager.html @@ -0,0 +1,288 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientExecChain |
+HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
static CloseableHttpClient |
+HttpClients.createMinimal(HttpClientConnectionManager connManager)
+Creates
+CloseableHttpClient instance that implements
+ the most basic HTTP protocol support. |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionManager(HttpClientConnectionManager connManager)
+Assigns
+HttpClientConnectionManager instance. |
+
Constructor and Description | +
---|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ long sleepTime,
+ TimeUnit sleepTimeUnit,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ ThreadFactory threadFactory,
+ long sleepTime,
+ TimeUnit sleepTimeUnit,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicHttpClientConnectionManager
+A connection manager for a single connection.
+ |
+
class |
+PoolingHttpClientConnectionManager
+ClientConnectionPoolManager maintains a pool of
+ HttpClientConnection s and is able to service connection requests
+ from multiple execution threads. |
+
Constructor and Description | +
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionOperator.html new file mode 100644 index 0000000..a7948fb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpClientConnectionOperator.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultHttpClientConnectionOperator
+Default implementation of
+HttpClientConnectionOperator used as default in Http client,
+ when no instance provided by user to BasicHttpClientConnectionManager or PoolingHttpClientConnectionManager constructor. |
+
Constructor and Description | +
---|
BasicHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory) |
+
PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ long timeToLive,
+ TimeUnit timeUnit) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpConnectionFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpConnectionFactory.html new file mode 100644 index 0000000..ec38c94 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpConnectionFactory.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Constructor and Description | +
---|
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ org.apache.http.config.ConnectionConfig connectionConfig,
+ RequestConfig requestConfig) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ManagedHttpClientConnectionFactory
+Factory for
+ManagedHttpClientConnection instances. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpHostConnectException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpHostConnectException.html new file mode 100644 index 0000000..3eda411 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpHostConnectException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpInetSocketAddress.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpInetSocketAddress.html new file mode 100644 index 0000000..2edf60c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpInetSocketAddress.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpRoutedConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpRoutedConnection.html new file mode 100644 index 0000000..d2203be --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/HttpRoutedConnection.html @@ -0,0 +1,235 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ManagedClientConnection
+Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClientConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
class |
+AbstractPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedClientConnection.html new file mode 100644 index 0000000..a6d0780 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedClientConnection.html @@ -0,0 +1,393 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ManagedClientConnection |
+BasicEofSensorWatcher.managedConn
+Deprecated.
+The connection to auto-release.
+ |
+
protected ManagedClientConnection |
+BasicManagedEntity.managedConn
+Deprecated.
+The connection to release.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ManagedClientConnection |
+ClientConnectionRequest.getConnection(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a connection within a given time.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ClientConnectionManager.releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
Constructor and Description | +
---|
BasicEofSensorWatcher(ManagedClientConnection conn,
+ boolean reuse)
+Deprecated.
+Creates a new watcher for auto-releasing a connection.
+ |
+
BasicManagedEntity(org.apache.http.HttpEntity entity,
+ ManagedClientConnection conn,
+ boolean reuse)
+Deprecated.
+Creates a new managed entity that can release a connection.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ManagedClientConnection |
+DefaultRequestDirector.managedConn
+Deprecated.
+The currently allocated connection.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClientConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
class |
+AbstractPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ManagedClientConnection |
+SingleClientConnManager.getConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Obtains a connection.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+SingleClientConnManager.releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
void |
+PoolingClientConnectionManager.releaseConnection(ManagedClientConnection conn,
+ long keepalive,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
void |
+BasicClientConnectionManager.releaseConnection(ManagedClientConnection conn,
+ long keepalive,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ThreadSafeClientConnManager.releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedHttpClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedHttpClientConnection.html new file mode 100644 index 0000000..175af21 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/ManagedHttpClientConnection.html @@ -0,0 +1,400 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ManagedClientConnection
+Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ InetSocketAddress localAddress,
+ int connectTimeout,
+ org.apache.http.config.SocketConfig socketConfig,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+HttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ org.apache.http.protocol.HttpContext context) |
+
Constructor and Description | +
---|
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ org.apache.http.config.ConnectionConfig connectionConfig,
+ RequestConfig requestConfig) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClientConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
class |
+AbstractPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
class |
+DefaultClientConnection
+Deprecated.
+
+(4.3) use
+ManagedHttpClientConnectionFactory . |
+
class |
+DefaultManagedHttpClientConnection
+Default
+ManagedHttpClientConnection implementation. |
+
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ManagedHttpClientConnection |
+ManagedHttpClientConnectionFactory.create(HttpRoute route,
+ org.apache.http.config.ConnectionConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+DefaultHttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ InetSocketAddress localAddress,
+ int connectTimeout,
+ org.apache.http.config.SocketConfig socketConfig,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+DefaultHttpClientConnectionOperator.upgrade(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+PoolingHttpClientConnectionManager.enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
protected void |
+PoolingHttpClientConnectionManager.enumLeased(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/MultihomePlainSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/MultihomePlainSocketFactory.html new file mode 100644 index 0000000..0e2c979 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/MultihomePlainSocketFactory.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static MultihomePlainSocketFactory |
+MultihomePlainSocketFactory.getSocketFactory()
+Deprecated.
+Gets the singleton instance of this class.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/OperatedClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/OperatedClientConnection.html new file mode 100644 index 0000000..e9ce792 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/OperatedClientConnection.html @@ -0,0 +1,350 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
OperatedClientConnection |
+ClientConnectionOperator.createConnection()
+Deprecated.
+Creates a new connection that can be operated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ClientConnectionOperator.openConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens a connection to the given target host.
+ |
+
void |
+ClientConnectionOperator.updateSecureConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Updates a connection with a layered secure connection.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultClientConnection
+Deprecated.
+
+(4.3) use
+ManagedHttpClientConnectionFactory . |
+
Modifier and Type | +Field and Description | +
---|---|
protected OperatedClientConnection |
+AbstractPoolEntry.connection
+Deprecated.
+The underlying connection being pooled or used.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
OperatedClientConnection |
+DefaultClientConnectionOperator.createConnection()
+Deprecated.
+ |
+
protected OperatedClientConnection |
+AbstractClientConnAdapter.getWrappedConnection()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+AbstractClientConnAdapter.assertValid(OperatedClientConnection wrappedConn)
+Deprecated.
+Asserts that there is a valid wrapped connection to delegate to.
+ |
+
void |
+DefaultClientConnectionOperator.openConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
void |
+DefaultClientConnectionOperator.updateSecureConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Constructor and Description | +
---|
AbstractClientConnAdapter(ClientConnectionManager mgr,
+ OperatedClientConnection conn)
+Deprecated.
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected OperatedClientConnection |
+BasicPoolEntry.getConnection()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+AbstractConnPool.closeConnection(OperatedClientConnection conn)
+Deprecated.
+Closes a connection from this pool.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/SchemePortResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/SchemePortResolver.html new file mode 100644 index 0000000..3c7c8f9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/SchemePortResolver.html @@ -0,0 +1,239 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
+Assigns
+SchemePortResolver instance. |
+
Constructor and Description | +
---|
BasicAuthCache(SchemePortResolver schemePortResolver)
+Default constructor.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultSchemePortResolver
+Default
+SchemePortResolver . |
+
Constructor and Description | +
---|
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
DefaultHttpClientConnectionOperator(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy,
+ SchemePortResolver schemePortResolver) |
+
DefaultRoutePlanner(SchemePortResolver schemePortResolver) |
+
PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver,
+ long timeToLive,
+ TimeUnit timeUnit) |
+
SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver,
+ ProxySelector proxySelector) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/UnsupportedSchemeException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/UnsupportedSchemeException.html new file mode 100644 index 0000000..6b19150 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/class-use/UnsupportedSchemeException.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+SchemePortResolver.resolve(org.apache.http.HttpHost host)
+Returns the actual port for the host based on the protocol scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+DefaultSchemePortResolver.resolve(org.apache.http.HttpHost host) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-frame.html new file mode 100644 index 0000000..be8c376 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-frame.html @@ -0,0 +1,51 @@ + + + + + + +Interface | +Description | +
---|---|
ClientConnectionManager | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionManagerFactory | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionOperator | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionRequest | +Deprecated
+ (4.3) replaced by
+ConnectionRequest . |
+
ConnectionKeepAliveStrategy | +
+ Interface for deciding how long a connection can remain
+ idle before being reused.
+ |
+
ConnectionReleaseTrigger | +
+ Interface for releasing a connection.
+ |
+
ConnectionRequest | +
+ Represents a request for a
+HttpClientConnection whose life cycle
+ is managed by a connection manager. |
+
DnsResolver | +
+ Users may implement this interface to override the normal DNS lookup offered
+ by the OS.
+ |
+
EofSensorWatcher | +
+ A watcher for
+EofSensorInputStream . |
+
HttpClientConnectionManager | +
+ Represents a manager of persistent client connections.
+ |
+
HttpClientConnectionOperator | +
+ Connection operator that performs connection connect and upgrade operations.
+ |
+
HttpConnectionFactory<T,C extends org.apache.http.HttpConnection> | +
+ Generic
+HttpConnection factory. |
+
HttpRoutedConnection | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedClientConnection | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedHttpClientConnection | +
+ Represents a managed connection whose state and life cycle is managed by
+ a connection manager.
+ |
+
OperatedClientConnection | +Deprecated
+ (4.3) replaced by
+HttpClientConnectionManager . |
+
SchemePortResolver | +
+ Strategy for default port resolution for protocol schemes.
+ |
+
Class | +Description | +
---|---|
BasicEofSensorWatcher | +Deprecated
+ (4.3) do not use.
+ |
+
BasicManagedEntity | +Deprecated
+ (4.3) do not use.
+ |
+
EofSensorInputStream | +
+ A stream wrapper that triggers actions on
+close() and EOF. |
+
HttpInetSocketAddress | +Deprecated
+ (4.3)
+ |
+
MultihomePlainSocketFactory | +Deprecated
+ (4.1) Do not use.
+ |
+
Exception | +Description | +
---|---|
ConnectionPoolTimeoutException | +
+ A timeout while waiting for an available connection
+ from a connection manager.
+ |
+
ConnectTimeoutException | +
+ A timeout while connecting to an HTTP server or waiting for an
+ available connection from an HttpConnectionManager.
+ |
+
HttpHostConnectException | +
+ A
+ConnectException that specifies the HttpHost that was
+ being connected to. |
+
UnsupportedSchemeException | +
+ Signals failure to establish connection using an unknown protocol scheme.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-tree.html new file mode 100644 index 0000000..62d069c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-tree.html @@ -0,0 +1,242 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-use.html new file mode 100644 index 0000000..53a3732 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/package-use.html @@ -0,0 +1,647 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Class and Description | +
---|
ClientConnectionRequest
+ Deprecated.
+
+(4.3) replaced by
+ConnectionRequest . |
+
ConnectionReleaseTrigger
+ Interface for releasing a connection.
+ |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionRequest
+ Deprecated.
+
+(4.3) replaced by
+ConnectionRequest . |
+
ConnectionPoolTimeoutException
+ A timeout while waiting for an available connection
+ from a connection manager.
+ |
+
ConnectionReleaseTrigger
+ Interface for releasing a connection.
+ |
+
ConnectionRequest
+ Represents a request for a
+HttpClientConnection whose life cycle
+ is managed by a connection manager. |
+
ConnectTimeoutException
+ A timeout while connecting to an HTTP server or waiting for an
+ available connection from an HttpConnectionManager.
+ |
+
EofSensorWatcher
+ A watcher for
+EofSensorInputStream . |
+
HttpRoutedConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedHttpClientConnection
+ Represents a managed connection whose state and life cycle is managed by
+ a connection manager.
+ |
+
MultihomePlainSocketFactory
+ Deprecated.
+
+(4.1) Do not use. For multihome support socket factories must implement
+
+SchemeSocketFactory interface. |
+
OperatedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
UnsupportedSchemeException
+ Signals failure to establish connection using an unknown protocol scheme.
+ |
+
Class and Description | +
---|
ConnectTimeoutException
+ A timeout while connecting to an HTTP server or waiting for an
+ available connection from an HttpConnectionManager.
+ |
+
Class and Description | +
---|
ConnectTimeoutException
+ A timeout while connecting to an HTTP server or waiting for an
+ available connection from an HttpConnectionManager.
+ |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ConnectionKeepAliveStrategy
+ Interface for deciding how long a connection can remain
+ idle before being reused.
+ |
+
DnsResolver
+ Users may implement this interface to override the normal DNS lookup offered
+ by the OS.
+ |
+
HttpClientConnectionManager
+ Represents a manager of persistent client connections.
+ |
+
HttpConnectionFactory
+ Generic
+HttpConnection factory. |
+
ManagedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedHttpClientConnection
+ Represents a managed connection whose state and life cycle is managed by
+ a connection manager.
+ |
+
SchemePortResolver
+ Strategy for default port resolution for protocol schemes.
+ |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionOperator
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionRequest
+ Deprecated.
+
+(4.3) replaced by
+ConnectionRequest . |
+
ConnectionPoolTimeoutException
+ A timeout while waiting for an available connection
+ from a connection manager.
+ |
+
ConnectionReleaseTrigger
+ Interface for releasing a connection.
+ |
+
ConnectionRequest
+ Represents a request for a
+HttpClientConnection whose life cycle
+ is managed by a connection manager. |
+
DnsResolver
+ Users may implement this interface to override the normal DNS lookup offered
+ by the OS.
+ |
+
HttpClientConnectionManager
+ Represents a manager of persistent client connections.
+ |
+
HttpClientConnectionOperator
+ Connection operator that performs connection connect and upgrade operations.
+ |
+
HttpConnectionFactory
+ Generic
+HttpConnection factory. |
+
HttpRoutedConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedHttpClientConnection
+ Represents a managed connection whose state and life cycle is managed by
+ a connection manager.
+ |
+
OperatedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
SchemePortResolver
+ Strategy for default port resolution for protocol schemes.
+ |
+
UnsupportedSchemeException
+ Signals failure to establish connection using an unknown protocol scheme.
+ |
+
Class and Description | +
---|
ClientConnectionManager
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionOperator
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ClientConnectionRequest
+ Deprecated.
+
+(4.3) replaced by
+ConnectionRequest . |
+
ConnectionPoolTimeoutException
+ A timeout while waiting for an available connection
+ from a connection manager.
+ |
+
ConnectionReleaseTrigger
+ Interface for releasing a connection.
+ |
+
HttpRoutedConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
ManagedHttpClientConnection
+ Represents a managed connection whose state and life cycle is managed by
+ a connection manager.
+ |
+
OperatedClientConnection
+ Deprecated.
+
+(4.3) replaced by
+HttpClientConnectionManager . |
+
Class and Description | +
---|
ConnectionKeepAliveStrategy
+ Interface for deciding how long a connection can remain
+ idle before being reused.
+ |
+
HttpClientConnectionManager
+ Represents a manager of persistent client connections.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionPNames.html new file mode 100644 index 0000000..9195e8c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionPNames.html @@ -0,0 +1,241 @@ + + + + + + +DefaultHttpResponseParser
implementation.@Deprecated +public interface ConnConnectionPNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+MAX_STATUS_LINE_GARBAGE
+Deprecated.
+
+(4.1) Use custom
+DefaultHttpResponseParser implementation |
+
@Deprecated +static final String MAX_STATUS_LINE_GARBAGE+
DefaultHttpResponseParser
implementation+ With HTTP/1.1 persistent connections, the problem arises that + broken scripts could return a wrong Content-Length + (there are more bytes sent than specified). + Unfortunately, in some cases, this cannot be detected after the + bad response, but only before the next one. + So HttpClient must be able to skip those surplus lines this way. +
+
+ This parameter expects a value of type Integer
.
+ 0 disallows all garbage/empty lines before the status line.
+ Use Integer.MAX_VALUE
for unlimited number.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionParamBean.html new file mode 100644 index 0000000..7cf4c05 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnConnectionParamBean.html @@ -0,0 +1,296 @@ + + + + + + +DefaultHttpResponseParser
implementation.@Deprecated +public class ConnConnectionParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate HTTP client connection parameters
+ using Java Beans conventions.params
Constructor and Description | +
---|
ConnConnectionParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setMaxStatusLineGarbage(int maxStatusLineGarbage)
+Deprecated.
+
+(4.2) Use custom
+DefaultHttpResponseParser implementation |
+
public ConnConnectionParamBean(org.apache.http.params.HttpParams params)+
@Deprecated +public void setMaxStatusLineGarbage(int maxStatusLineGarbage)+
DefaultHttpResponseParser
implementationCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerPNames.html new file mode 100644 index 0000000..8dd31f8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerPNames.html @@ -0,0 +1,282 @@ + + + + + + +@Deprecated +public interface ConnManagerPNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+MAX_CONNECTIONS_PER_ROUTE
+Deprecated.
+Defines the maximum number of connections per route.
+ |
+
static String |
+MAX_TOTAL_CONNECTIONS
+Deprecated.
+Defines the maximum number of connections in total.
+ |
+
static String |
+TIMEOUT
+Deprecated.
+Defines the timeout in milliseconds used when retrieving an instance of
+
+ManagedClientConnection from the
+ ClientConnectionManager . |
+
static final String TIMEOUT+
ManagedClientConnection
from the
+ ClientConnectionManager
.
+
+ This parameter expects a value of type Long
.
static final String MAX_CONNECTIONS_PER_ROUTE+
+ This parameter expects a value of type ConnPerRoute
.
+
static final String MAX_TOTAL_CONNECTIONS+
+ This parameter expects a value of type Integer
.
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParamBean.html new file mode 100644 index 0000000..c126e2c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParamBean.html @@ -0,0 +1,325 @@ + + + + + + +@Deprecated +public class ConnManagerParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate connection manager parameters
+ using Java Beans conventions.params
Constructor and Description | +
---|
ConnManagerParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setConnectionsPerRoute(ConnPerRouteBean connPerRoute)
+Deprecated.
+ |
+
void |
+setMaxTotalConnections(int maxConnections)
+Deprecated.
+ |
+
void |
+setTimeout(long timeout)
+Deprecated.
+ |
+
public ConnManagerParamBean(org.apache.http.params.HttpParams params)+
public void setTimeout(long timeout)+
public void setMaxTotalConnections(int maxConnections)+
public void setConnectionsPerRoute(ConnPerRouteBean connPerRoute)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParams.html new file mode 100644 index 0000000..dafa8b8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnManagerParams.html @@ -0,0 +1,443 @@ + + + + + + +@Deprecated +@Contract(threading=IMMUTABLE) +public final class ConnManagerParams +extends Object +implements ConnManagerPNames+
HttpParams
.ConnManagerPNames
Modifier and Type | +Field and Description | +
---|---|
static int |
+DEFAULT_MAX_TOTAL_CONNECTIONS
+Deprecated.
+The default maximum number of connections allowed overall
+ |
+
MAX_CONNECTIONS_PER_ROUTE, MAX_TOTAL_CONNECTIONS, TIMEOUT
Constructor and Description | +
---|
ConnManagerParams()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ConnPerRoute |
+getMaxConnectionsPerRoute(org.apache.http.params.HttpParams params)
+Deprecated.
+Returns lookup interface for maximum number of connections allowed per route.
+ |
+
static int |
+getMaxTotalConnections(org.apache.http.params.HttpParams params)
+Deprecated.
+Gets the maximum number of connections allowed.
+ |
+
static long |
+getTimeout(org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) use
+HttpConnectionParams.getConnectionTimeout(HttpParams) |
+
static void |
+setMaxConnectionsPerRoute(org.apache.http.params.HttpParams params,
+ ConnPerRoute connPerRoute)
+Deprecated.
+Sets lookup interface for maximum number of connections allowed per route.
+ |
+
static void |
+setMaxTotalConnections(org.apache.http.params.HttpParams params,
+ int maxTotalConnections)
+Deprecated.
+Sets the maximum number of connections allowed.
+ |
+
static void |
+setTimeout(org.apache.http.params.HttpParams params,
+ long timeout)
+Deprecated.
+
+(4.1) use
+HttpConnectionParams.setConnectionTimeout(HttpParams, int) |
+
public static final int DEFAULT_MAX_TOTAL_CONNECTIONS+
public ConnManagerParams()+
@Deprecated +public static long getTimeout(org.apache.http.params.HttpParams params)+
HttpConnectionParams.getConnectionTimeout(HttpParams)
ManagedClientConnection
from the
+ ClientConnectionManager
.@Deprecated +public static void setTimeout(org.apache.http.params.HttpParams params, + long timeout)+
HttpConnectionParams.setConnectionTimeout(HttpParams, int)
ManagedClientConnection
from the
+ ClientConnectionManager
.timeout
- the timeout in millisecondspublic static void setMaxConnectionsPerRoute(org.apache.http.params.HttpParams params, + ConnPerRoute connPerRoute)+
params
- HTTP parametersconnPerRoute
- lookup interface for maximum number of connections allowed
+ per routepublic static ConnPerRoute getMaxConnectionsPerRoute(org.apache.http.params.HttpParams params)+
params
- HTTP parameterspublic static void setMaxTotalConnections(org.apache.http.params.HttpParams params, + int maxTotalConnections)+
params
- HTTP parametersmaxTotalConnections
- The maximum number of connections allowed.public static int getMaxTotalConnections(org.apache.http.params.HttpParams params)+
params
- HTTP parametersCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRoute.html new file mode 100644 index 0000000..573c7cd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRoute.html @@ -0,0 +1,225 @@ + + + + + + +@Deprecated +public interface ConnPerRoute+
connection managers
for
+ a fine-grained control of connections on a per route basis.Modifier and Type | +Method and Description | +
---|---|
int |
+getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRouteBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRouteBean.html new file mode 100644 index 0000000..4f687ab --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnPerRouteBean.html @@ -0,0 +1,445 @@ + + + + + + +ConnPoolControl
@Deprecated +@Contract(threading=SAFE) +public final class ConnPerRouteBean +extends Object +implements ConnPerRoute+
connection managers
for
+ a fine-grained control of connections on a per route basis.Modifier and Type | +Field and Description | +
---|---|
static int |
+DEFAULT_MAX_CONNECTIONS_PER_ROUTE
+Deprecated.
+The default maximum number of connections allowed per host
+ |
+
Constructor and Description | +
---|
ConnPerRouteBean()
+Deprecated.
+ |
+
ConnPerRouteBean(int defaultMax)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+getDefaultMax()
+Deprecated.
+ |
+
int |
+getDefaultMaxPerRoute()
+Deprecated.
+ |
+
int |
+getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
void |
+setDefaultMaxPerRoute(int max)
+Deprecated.
+ |
+
void |
+setMaxForRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
void |
+setMaxForRoutes(Map<HttpRoute,Integer> map)
+Deprecated.
+ |
+
String |
+toString()
+Deprecated.
+ |
+
public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE+
public ConnPerRouteBean(int defaultMax)+
public ConnPerRouteBean()+
public int getDefaultMax()+
public int getDefaultMaxPerRoute()+
public void setDefaultMaxPerRoute(int max)+
public void setMaxForRoute(HttpRoute route, + int max)+
public int getMaxForRoute(HttpRoute route)+
getMaxForRoute
in interface ConnPerRoute
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRoutePNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRoutePNames.html new file mode 100644 index 0000000..85fd92a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRoutePNames.html @@ -0,0 +1,291 @@ + + + + + + +RequestConfig
.@Deprecated +public interface ConnRoutePNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+DEFAULT_PROXY
+Deprecated.
+Parameter for the default proxy.
+ |
+
static String |
+FORCED_ROUTE
+Deprecated.
+Parameter for an forced route.
+ |
+
static String |
+LOCAL_ADDRESS
+Deprecated.
+Parameter for the local address.
+ |
+
static final String DEFAULT_PROXY+
HttpRoutePlanner
+ implementations, in particular the default implementation.
+
+ This parameter expects a value of type HttpHost
.
+
static final String LOCAL_ADDRESS+
HttpRoutePlanner
+ implementations, in particular the default implementation.
+
+ This parameter expects a value of type InetAddress
.
+
static final String FORCED_ROUTE+
HttpRoutePlanner
+ implementations.
+ Instead of computing a route, the given forced route will be
+ returned, even if it points to the wrong target host.
+
+ This parameter expects a value of type
+ HttpRoute
.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParamBean.html new file mode 100644 index 0000000..52b9bdf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParamBean.html @@ -0,0 +1,328 @@ + + + + + + +RequestConfig
.@Deprecated +public class ConnRouteParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate connection routing parameters
+ using Java Beans conventions.params
Constructor and Description | +
---|
ConnRouteParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setDefaultProxy(org.apache.http.HttpHost defaultProxy)
+Deprecated.
+ |
+
void |
+setForcedRoute(HttpRoute route)
+Deprecated.
+ |
+
void |
+setLocalAddress(InetAddress address)
+Deprecated.
+ |
+
public ConnRouteParamBean(org.apache.http.params.HttpParams params)+
public void setDefaultProxy(org.apache.http.HttpHost defaultProxy)+
ConnRoutePNames.DEFAULT_PROXY
public void setLocalAddress(InetAddress address)+
ConnRoutePNames.LOCAL_ADDRESS
public void setForcedRoute(HttpRoute route)+
ConnRoutePNames.FORCED_ROUTE
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParams.html new file mode 100644 index 0000000..3b1bc2e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/ConnRouteParams.html @@ -0,0 +1,445 @@ + + + + + + +RequestConfig
.@Deprecated +@Contract(threading=IMMUTABLE) +public class ConnRouteParams +extends Object +implements ConnRoutePNames+
HttpParams
.Modifier and Type | +Field and Description | +
---|---|
static org.apache.http.HttpHost |
+NO_HOST
+Deprecated.
+A special value indicating "no host".
+ |
+
static HttpRoute |
+NO_ROUTE
+Deprecated.
+A special value indicating "no route".
+ |
+
DEFAULT_PROXY, FORCED_ROUTE, LOCAL_ADDRESS
Modifier and Type | +Method and Description | +
---|---|
static org.apache.http.HttpHost |
+getDefaultProxy(org.apache.http.params.HttpParams params)
+Deprecated.
+Obtains the
+DEFAULT_PROXY
+ parameter value. |
+
static HttpRoute |
+getForcedRoute(org.apache.http.params.HttpParams params)
+Deprecated.
+Obtains the
+FORCED_ROUTE
+ parameter value. |
+
static InetAddress |
+getLocalAddress(org.apache.http.params.HttpParams params)
+Deprecated.
+Obtains the
+LOCAL_ADDRESS
+ parameter value. |
+
static void |
+setDefaultProxy(org.apache.http.params.HttpParams params,
+ org.apache.http.HttpHost proxy)
+Deprecated.
+Sets the
+DEFAULT_PROXY
+ parameter value. |
+
static void |
+setForcedRoute(org.apache.http.params.HttpParams params,
+ HttpRoute route)
+Deprecated.
+Sets the
+FORCED_ROUTE
+ parameter value. |
+
static void |
+setLocalAddress(org.apache.http.params.HttpParams params,
+ InetAddress local)
+Deprecated.
+Sets the
+LOCAL_ADDRESS
+ parameter value. |
+
public static final org.apache.http.HttpHost NO_HOST+
public static org.apache.http.HttpHost getDefaultProxy(org.apache.http.params.HttpParams params)+
DEFAULT_PROXY
+ parameter value.
+ NO_HOST
will be mapped to null
,
+ to allow unsetting in a hierarchy.params
- the parameters in which to look upnull
if not setpublic static void setDefaultProxy(org.apache.http.params.HttpParams params, + org.apache.http.HttpHost proxy)+
DEFAULT_PROXY
+ parameter value.params
- the parameters in which to set the valueproxy
- the value to set, may be null
.
+ Note that NO_HOST
will be mapped to
+ null
by getDefaultProxy(org.apache.http.params.HttpParams)
,
+ to allow for explicit unsetting in hierarchies.public static HttpRoute getForcedRoute(org.apache.http.params.HttpParams params)+
FORCED_ROUTE
+ parameter value.
+ NO_ROUTE
will be mapped to null
,
+ to allow unsetting in a hierarchy.params
- the parameters in which to look upnull
if not setpublic static void setForcedRoute(org.apache.http.params.HttpParams params, + HttpRoute route)+
FORCED_ROUTE
+ parameter value.params
- the parameters in which to set the valueroute
- the value to set, may be null
.
+ Note that NO_ROUTE
will be mapped to
+ null
by getForcedRoute(org.apache.http.params.HttpParams)
,
+ to allow for explicit unsetting in hierarchies.public static InetAddress getLocalAddress(org.apache.http.params.HttpParams params)+
LOCAL_ADDRESS
+ parameter value.
+ There is no special value that would automatically be mapped to
+ null
. You can use the wildcard address (0.0.0.0 for IPv4,
+ :: for IPv6) to override a specific local address in a hierarchy.params
- the parameters in which to look upnull
if not setpublic static void setLocalAddress(org.apache.http.params.HttpParams params, + InetAddress local)+
LOCAL_ADDRESS
+ parameter value.params
- the parameters in which to set the valuelocal
- the value to set, may be null
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionPNames.html new file mode 100644 index 0000000..d126925 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionPNames.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionParamBean.html new file mode 100644 index 0000000..18ce2c6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnConnectionParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerPNames.html new file mode 100644 index 0000000..5c5e9fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerPNames.html @@ -0,0 +1,194 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConnManagerParams
+Deprecated.
+
+(4.1) use configuration methods of the specific connection manager implementation.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParamBean.html new file mode 100644 index 0000000..4d0fcc0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParams.html new file mode 100644 index 0000000..af177a1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnManagerParams.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRoute.html new file mode 100644 index 0000000..f53ef73 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRoute.html @@ -0,0 +1,262 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConnPerRouteBean
+Deprecated.
+
+(4.2) use
+ConnPoolControl |
+
Modifier and Type | +Method and Description | +
---|---|
static ConnPerRoute |
+ConnManagerParams.getMaxConnectionsPerRoute(org.apache.http.params.HttpParams params)
+Deprecated.
+Returns lookup interface for maximum number of connections allowed per route.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+ConnManagerParams.setMaxConnectionsPerRoute(org.apache.http.params.HttpParams params,
+ ConnPerRoute connPerRoute)
+Deprecated.
+Sets lookup interface for maximum number of connections allowed per route.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ConnPerRoute |
+RouteSpecificPool.connPerRoute
+Deprecated.
+Connections per route
+ |
+
protected ConnPerRoute |
+ConnPoolByRoute.connPerRoute
+Deprecated.
+Connections per route lookup
+ |
+
Constructor and Description | +
---|
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections)
+Deprecated.
+Creates a new connection pool, managed by route.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections,
+ long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+ |
+
RouteSpecificPool(HttpRoute route,
+ ConnPerRoute connPerRoute)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRouteBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRouteBean.html new file mode 100644 index 0000000..3707c29 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnPerRouteBean.html @@ -0,0 +1,204 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ConnManagerParamBean.setConnectionsPerRoute(ConnPerRouteBean connPerRoute)
+Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ConnPerRouteBean |
+ThreadSafeClientConnManager.connPerRoute
+Deprecated.
+ |
+
Constructor and Description | +
---|
ThreadSafeClientConnManager(SchemeRegistry schreg,
+ long connTTL,
+ TimeUnit connTTLTimeUnit,
+ ConnPerRouteBean connPerRoute)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRoutePNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRoutePNames.html new file mode 100644 index 0000000..39de258 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRoutePNames.html @@ -0,0 +1,194 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConnRouteParams
+Deprecated.
+
+(4.3) use
+RequestConfig . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParamBean.html new file mode 100644 index 0000000..d40b29b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParams.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParams.html new file mode 100644 index 0000000..97ee878 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/class-use/ConnRouteParams.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-frame.html new file mode 100644 index 0000000..08386a7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +Interface | +Description | +
---|---|
ConnConnectionPNames | +Deprecated
+ (4.1) use custom
+DefaultHttpResponseParser implementation. |
+
ConnManagerPNames | +Deprecated
+ (4.1) use configuration methods of the specific connection manager implementation.
+ |
+
ConnPerRoute | +Deprecated
+ (4.3) no longer used.
+ |
+
ConnRoutePNames | +Deprecated
+ (4.3) use
+RequestConfig . |
+
Class | +Description | +
---|---|
ConnConnectionParamBean | +Deprecated
+ (4.1) use custom
+DefaultHttpResponseParser implementation. |
+
ConnManagerParamBean | +Deprecated
+ (4.1) use configuration methods of the specific connection manager implementation.
+ |
+
ConnManagerParams | +Deprecated
+ (4.1) use configuration methods of the specific connection manager implementation.
+ |
+
ConnPerRouteBean | +Deprecated
+ (4.2) use
+ConnPoolControl |
+
ConnRouteParamBean | +Deprecated
+ (4.3) use
+RequestConfig . |
+
ConnRouteParams | +Deprecated
+ (4.3) use
+RequestConfig . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-tree.html new file mode 100644 index 0000000..360c000 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-use.html new file mode 100644 index 0000000..04a8329 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/params/package-use.html @@ -0,0 +1,248 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Class and Description | +
---|
ConnConnectionPNames
+ Deprecated.
+
+(4.1) use custom
+DefaultHttpResponseParser implementation. |
+
ConnManagerPNames
+ Deprecated.
+
+(4.1) use configuration methods of the specific connection manager implementation.
+ |
+
ConnRoutePNames
+ Deprecated.
+
+(4.3) use
+RequestConfig . |
+
Class and Description | +
---|
ConnManagerPNames
+ Deprecated.
+
+(4.1) use configuration methods of the specific connection manager implementation.
+ |
+
ConnPerRoute
+ Deprecated.
+
+(4.3) no longer used.
+ |
+
ConnPerRouteBean
+ Deprecated.
+
+(4.2) use
+ConnPoolControl |
+
ConnRoutePNames
+ Deprecated.
+
+(4.3) use
+RequestConfig . |
+
Class and Description | +
---|
ConnPerRoute
+ Deprecated.
+
+(4.3) no longer used.
+ |
+
ConnPerRouteBean
+ Deprecated.
+
+(4.2) use
+ConnPoolControl |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/BasicRouteDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/BasicRouteDirector.html new file mode 100644 index 0000000..ce73105 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/BasicRouteDirector.html @@ -0,0 +1,355 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicRouteDirector +extends Object +implements HttpRouteDirector+
HttpRouteDirector
implementation.COMPLETE, CONNECT_PROXY, CONNECT_TARGET, LAYER_PROTOCOL, TUNNEL_PROXY, TUNNEL_TARGET, UNREACHABLE
Constructor and Description | +
---|
BasicRouteDirector() |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+directStep(RouteInfo plan,
+ RouteInfo fact)
+Determines the next step to establish a direct connection.
+ |
+
protected int |
+firstStep(RouteInfo plan)
+Determines the first step to establish a route.
+ |
+
int |
+nextStep(RouteInfo plan,
+ RouteInfo fact)
+Provides the next step.
+ |
+
protected int |
+proxiedStep(RouteInfo plan,
+ RouteInfo fact)
+Determines the next step to establish a connection via proxy.
+ |
+
public int nextStep(RouteInfo plan, + RouteInfo fact)+
nextStep
in interface HttpRouteDirector
plan
- the planned routefact
- the currently established route, or
+ null
if nothing is establishedprotected int firstStep(RouteInfo plan)+
plan
- the planned routeprotected int directStep(RouteInfo plan, + RouteInfo fact)+
plan
- the planned routefact
- the currently established routeprotected int proxiedStep(RouteInfo plan, + RouteInfo fact)+
plan
- the planned routefact
- the currently established routeCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoute.html new file mode 100644 index 0000000..037086e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoute.html @@ -0,0 +1,728 @@ + + + + + + +RouteInfo.LayerType, RouteInfo.TunnelType
Constructor and Description | +
---|
HttpRoute(org.apache.http.HttpHost target)
+Creates a new direct insecure route.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpHost proxy)
+Creates a new plain route through a proxy.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ boolean secure)
+Creates a new direct route.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost[] proxies,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with all attributes specified explicitly.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost proxy,
+ boolean secure)
+Creates a new route through a proxy.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost proxy,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with at most one proxy.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+clone() |
+
boolean |
+equals(Object obj)
+Compares this route to another.
+ |
+
int |
+getHopCount()
+Obtains the number of hops in this route.
+ |
+
org.apache.http.HttpHost |
+getHopTarget(int hop)
+Obtains the target of a hop in this route.
+ |
+
RouteInfo.LayerType |
+getLayerType()
+Obtains the layering type of this route.
+ |
+
InetAddress |
+getLocalAddress()
+Obtains the local address to connect from.
+ |
+
InetSocketAddress |
+getLocalSocketAddress() |
+
org.apache.http.HttpHost |
+getProxyHost()
+Obtains the first proxy host.
+ |
+
org.apache.http.HttpHost |
+getTargetHost()
+Obtains the target host.
+ |
+
RouteInfo.TunnelType |
+getTunnelType()
+Obtains the tunnel type of this route.
+ |
+
int |
+hashCode()
+Generates a hash code for this route.
+ |
+
boolean |
+isLayered()
+Checks whether this route includes a layered protocol.
+ |
+
boolean |
+isSecure()
+Checks whether this route is secure.
+ |
+
boolean |
+isTunnelled()
+Checks whether this route is tunnelled through a proxy.
+ |
+
String |
+toString()
+Obtains a description of this route.
+ |
+
public HttpRoute(org.apache.http.HttpHost target, + InetAddress local, + org.apache.http.HttpHost[] proxies, + boolean secure, + RouteInfo.TunnelType tunnelled, + RouteInfo.LayerType layered)+
target
- the host to which to routelocal
- the local address to route from, or
+ null
for the defaultproxies
- the proxy chain to use, or
+ null
for a direct routesecure
- true
if the route is (to be) secure,
+ false
otherwisetunnelled
- the tunnel type of this routelayered
- the layering type of this routepublic HttpRoute(org.apache.http.HttpHost target, + InetAddress local, + org.apache.http.HttpHost proxy, + boolean secure, + RouteInfo.TunnelType tunnelled, + RouteInfo.LayerType layered)+
target
- the host to which to routelocal
- the local address to route from, or
+ null
for the defaultproxy
- the proxy to use, or
+ null
for a direct routesecure
- true
if the route is (to be) secure,
+ false
otherwisetunnelled
- true
if the route is (to be) tunnelled
+ via the proxy,
+ false
otherwiselayered
- true
if the route includes a
+ layered protocol,
+ false
otherwisepublic HttpRoute(org.apache.http.HttpHost target, + InetAddress local, + boolean secure)+
target
- the host to which to routelocal
- the local address to route from, or
+ null
for the defaultsecure
- true
if the route is (to be) secure,
+ false
otherwisepublic HttpRoute(org.apache.http.HttpHost target)+
target
- the host to which to routepublic HttpRoute(org.apache.http.HttpHost target, + InetAddress local, + org.apache.http.HttpHost proxy, + boolean secure)+
proxy
MUST be given.
+ For convenience, it is assumed that a secure connection will be
+ layered over a tunnel through the proxy.target
- the host to which to routelocal
- the local address to route from, or
+ null
for the defaultproxy
- the proxy to usesecure
- true
if the route is (to be) secure,
+ false
otherwisepublic HttpRoute(org.apache.http.HttpHost target, + org.apache.http.HttpHost proxy)+
target
- the host to which to routeproxy
- the proxy to usepublic org.apache.http.HttpHost getTargetHost()+
RouteInfo
getTargetHost
in interface RouteInfo
public InetAddress getLocalAddress()+
RouteInfo
getLocalAddress
in interface RouteInfo
null
public InetSocketAddress getLocalSocketAddress()+
public int getHopCount()+
RouteInfo
getHopCount
in interface RouteInfo
public org.apache.http.HttpHost getHopTarget(int hop)+
RouteInfo
target host
,
+ the target of previous hops is the respective proxy in the chain.
+ For a route through exactly one proxy, target of hop 0 is the proxy
+ and target of hop 1 is the target host.getHopTarget
in interface RouteInfo
hop
- index of the hop for which to get the target,
+ 0 for firstpublic org.apache.http.HttpHost getProxyHost()+
RouteInfo
getProxyHost
in interface RouteInfo
null
if this route is directpublic RouteInfo.TunnelType getTunnelType()+
RouteInfo
getTunnelType
in interface RouteInfo
public boolean isTunnelled()+
RouteInfo
isTunnelled
in interface RouteInfo
true
if tunnelled end-to-end through at least
+ one proxy,
+ false
otherwisepublic RouteInfo.LayerType getLayerType()+
RouteInfo
getLayerType
in interface RouteInfo
public boolean isLayered()+
RouteInfo
public boolean isSecure()+
RouteInfo
public boolean equals(Object obj)+
public int hashCode()+
public String toString()+
public Object clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRouteDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRouteDirector.html new file mode 100644 index 0000000..17bb681 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRouteDirector.html @@ -0,0 +1,369 @@ + + + + + + +public interface HttpRouteDirector
+Modifier and Type | +Field and Description | +
---|---|
static int |
+COMPLETE
+Indicates that the route is complete.
+ |
+
static int |
+CONNECT_PROXY
+Step: open connection to proxy.
+ |
+
static int |
+CONNECT_TARGET
+Step: open connection to target.
+ |
+
static int |
+LAYER_PROTOCOL
+Step: layer protocol (over tunnel).
+ |
+
static int |
+TUNNEL_PROXY
+Step: tunnel through proxy to other proxy.
+ |
+
static int |
+TUNNEL_TARGET
+Step: tunnel through proxy to target.
+ |
+
static int |
+UNREACHABLE
+Indicates that the route can not be established at all.
+ |
+
static final int UNREACHABLE+
static final int COMPLETE+
static final int CONNECT_TARGET+
static final int CONNECT_PROXY+
static final int TUNNEL_TARGET+
static final int TUNNEL_PROXY+
static final int LAYER_PROTOCOL+
int nextStep(RouteInfo plan, + RouteInfo fact)+
plan
- the planned routefact
- the currently established route, or
+ null
if nothing is establishedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoutePlanner.html new file mode 100644 index 0000000..4f816f8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/HttpRoutePlanner.html @@ -0,0 +1,238 @@ + + + + + + +public interface HttpRoutePlanner
+HttpRoute
to a target host.
+ Implementations may for example be based on parameters, or on the
+ standard Java system properties.
+ + Implementations of this interface must be thread-safe. Access to shared + data must be synchronized as methods of this interface may be executed + from multiple threads. +
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Determines the route for a request.
+ |
+
HttpRoute determineRoute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the subsequent execution.
+ Implementations may accept null
.org.apache.http.HttpException
- in case of a problemCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.LayerType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.LayerType.html new file mode 100644 index 0000000..1e8e4fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.LayerType.html @@ -0,0 +1,337 @@ + + + + + + +public static enum RouteInfo.LayerType +extends Enum<RouteInfo.LayerType>+
+ Layering a protocol + over a direct connection makes little sense, since the connection + could be established with the new protocol in the first place. + But we don't want to exclude that use case. +
Enum Constant and Description | +
---|
LAYERED |
+
PLAIN |
+
Modifier and Type | +Method and Description | +
---|---|
static RouteInfo.LayerType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RouteInfo.LayerType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final RouteInfo.LayerType PLAIN+
public static final RouteInfo.LayerType LAYERED+
public static RouteInfo.LayerType[] values()+
+for (RouteInfo.LayerType c : RouteInfo.LayerType.values()) + System.out.println(c); +
public static RouteInfo.LayerType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.TunnelType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.TunnelType.html new file mode 100644 index 0000000..26bce7d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.TunnelType.html @@ -0,0 +1,331 @@ + + + + + + +public static enum RouteInfo.TunnelType +extends Enum<RouteInfo.TunnelType>+
Enum Constant and Description | +
---|
PLAIN |
+
TUNNELLED |
+
Modifier and Type | +Method and Description | +
---|---|
static RouteInfo.TunnelType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RouteInfo.TunnelType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final RouteInfo.TunnelType PLAIN+
public static final RouteInfo.TunnelType TUNNELLED+
public static RouteInfo.TunnelType[] values()+
+for (RouteInfo.TunnelType c : RouteInfo.TunnelType.values()) + System.out.println(c); +
public static RouteInfo.TunnelType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.html new file mode 100644 index 0000000..baf4461 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteInfo.html @@ -0,0 +1,422 @@ + + + + + + +public interface RouteInfo
+Modifier and Type | +Interface and Description | +
---|---|
static class |
+RouteInfo.LayerType
+The layering type of a route.
+ |
+
static class |
+RouteInfo.TunnelType
+The tunnelling type of a route.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+getHopCount()
+Obtains the number of hops in this route.
+ |
+
org.apache.http.HttpHost |
+getHopTarget(int hop)
+Obtains the target of a hop in this route.
+ |
+
RouteInfo.LayerType |
+getLayerType()
+Obtains the layering type of this route.
+ |
+
InetAddress |
+getLocalAddress()
+Obtains the local address to connect from.
+ |
+
org.apache.http.HttpHost |
+getProxyHost()
+Obtains the first proxy host.
+ |
+
org.apache.http.HttpHost |
+getTargetHost()
+Obtains the target host.
+ |
+
RouteInfo.TunnelType |
+getTunnelType()
+Obtains the tunnel type of this route.
+ |
+
boolean |
+isLayered()
+Checks whether this route includes a layered protocol.
+ |
+
boolean |
+isSecure()
+Checks whether this route is secure.
+ |
+
boolean |
+isTunnelled()
+Checks whether this route is tunnelled through a proxy.
+ |
+
org.apache.http.HttpHost getTargetHost()+
InetAddress getLocalAddress()+
null
int getHopCount()+
org.apache.http.HttpHost getHopTarget(int hop)+
target host
,
+ the target of previous hops is the respective proxy in the chain.
+ For a route through exactly one proxy, target of hop 0 is the proxy
+ and target of hop 1 is the target host.hop
- index of the hop for which to get the target,
+ 0 for firstIllegalArgumentException
- if the argument is negative or not less than
+ getHopCount()
org.apache.http.HttpHost getProxyHost()+
null
if this route is directRouteInfo.TunnelType getTunnelType()+
boolean isTunnelled()+
true
if tunnelled end-to-end through at least
+ one proxy,
+ false
otherwiseRouteInfo.LayerType getLayerType()+
boolean isLayered()+
true
if layered,
+ false
otherwiseboolean isSecure()+
true
if secure,
+ false
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteTracker.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteTracker.html new file mode 100644 index 0000000..66c067b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/RouteTracker.html @@ -0,0 +1,752 @@ + + + + + + +RouteInfo.LayerType, RouteInfo.TunnelType
Constructor and Description | +
---|
RouteTracker(org.apache.http.HttpHost target,
+ InetAddress local)
+Creates a new route tracker.
+ |
+
RouteTracker(HttpRoute route)
+Creates a new tracker for the given route.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+clone() |
+
void |
+connectProxy(org.apache.http.HttpHost proxy,
+ boolean secure)
+Tracks connecting to the first proxy.
+ |
+
void |
+connectTarget(boolean secure)
+Tracks connecting to the target.
+ |
+
boolean |
+equals(Object o)
+Compares this tracked route to another.
+ |
+
int |
+getHopCount()
+Obtains the number of hops in this route.
+ |
+
org.apache.http.HttpHost |
+getHopTarget(int hop)
+Obtains the target of a hop in this route.
+ |
+
RouteInfo.LayerType |
+getLayerType()
+Obtains the layering type of this route.
+ |
+
InetAddress |
+getLocalAddress()
+Obtains the local address to connect from.
+ |
+
org.apache.http.HttpHost |
+getProxyHost()
+Obtains the first proxy host.
+ |
+
org.apache.http.HttpHost |
+getTargetHost()
+Obtains the target host.
+ |
+
RouteInfo.TunnelType |
+getTunnelType()
+Obtains the tunnel type of this route.
+ |
+
int |
+hashCode()
+Generates a hash code for this tracked route.
+ |
+
boolean |
+isConnected() |
+
boolean |
+isLayered()
+Checks whether this route includes a layered protocol.
+ |
+
boolean |
+isSecure()
+Checks whether this route is secure.
+ |
+
boolean |
+isTunnelled()
+Checks whether this route is tunnelled through a proxy.
+ |
+
void |
+layerProtocol(boolean secure)
+Tracks layering a protocol.
+ |
+
void |
+reset() |
+
HttpRoute |
+toRoute()
+Obtains the tracked route.
+ |
+
String |
+toString()
+Obtains a description of the tracked route.
+ |
+
void |
+tunnelProxy(org.apache.http.HttpHost proxy,
+ boolean secure)
+Tracks tunnelling to a proxy in a proxy chain.
+ |
+
void |
+tunnelTarget(boolean secure)
+Tracks tunnelling to the target.
+ |
+
public RouteTracker(org.apache.http.HttpHost target, + InetAddress local)+
target
- the host to which to routelocal
- the local address to route from, or
+ null
for the defaultpublic RouteTracker(HttpRoute route)+
route
- the route to trackpublic void reset()+
public void connectTarget(boolean secure)+
secure
- true
if the route is secure,
+ false
otherwisepublic void connectProxy(org.apache.http.HttpHost proxy, + boolean secure)+
proxy
- the proxy connected tosecure
- true
if the route is secure,
+ false
otherwisepublic void tunnelTarget(boolean secure)+
secure
- true
if the route is secure,
+ false
otherwisepublic void tunnelProxy(org.apache.http.HttpHost proxy, + boolean secure)+
proxy
- the proxy tunnelled tosecure
- true
if the route is secure,
+ false
otherwisepublic void layerProtocol(boolean secure)+
secure
- true
if the route is secure,
+ false
otherwisepublic org.apache.http.HttpHost getTargetHost()+
RouteInfo
getTargetHost
in interface RouteInfo
public InetAddress getLocalAddress()+
RouteInfo
getLocalAddress
in interface RouteInfo
null
public int getHopCount()+
RouteInfo
getHopCount
in interface RouteInfo
public org.apache.http.HttpHost getHopTarget(int hop)+
RouteInfo
target host
,
+ the target of previous hops is the respective proxy in the chain.
+ For a route through exactly one proxy, target of hop 0 is the proxy
+ and target of hop 1 is the target host.getHopTarget
in interface RouteInfo
hop
- index of the hop for which to get the target,
+ 0 for firstpublic org.apache.http.HttpHost getProxyHost()+
RouteInfo
getProxyHost
in interface RouteInfo
null
if this route is directpublic boolean isConnected()+
public RouteInfo.TunnelType getTunnelType()+
RouteInfo
getTunnelType
in interface RouteInfo
public boolean isTunnelled()+
RouteInfo
isTunnelled
in interface RouteInfo
true
if tunnelled end-to-end through at least
+ one proxy,
+ false
otherwisepublic RouteInfo.LayerType getLayerType()+
RouteInfo
getLayerType
in interface RouteInfo
public boolean isLayered()+
RouteInfo
public boolean isSecure()+
RouteInfo
public HttpRoute toRoute()+
connected
.
+ If not connected, nothing has been tracked so far.null
if nothing has been tracked so farpublic boolean equals(Object o)+
public int hashCode()+
toRoute
to obtain an
+ unmodifiable representation of the tracked route.public String toString()+
public Object clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/BasicRouteDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/BasicRouteDirector.html new file mode 100644 index 0000000..5967e66 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/BasicRouteDirector.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoute.html new file mode 100644 index 0000000..107441c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoute.html @@ -0,0 +1,1226 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BackoffManager.backOff(HttpRoute route)
+Called when we have decided that the result of
+ using a connection should be interpreted as a
+ backoff signal.
+ |
+
void |
+BackoffManager.probe(HttpRoute route)
+Called when we have determined that the result of
+ using a connection has succeeded and that we may
+ probe for more connections.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+HttpRoutedConnection.getRoute()
+Deprecated.
+Obtains the current route of this connection.
+ |
+
HttpRoute |
+ManagedClientConnection.getRoute()
+Deprecated.
+Obtains the current route of this connection.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientConnectionManager.connect(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context)
+Connects the underlying connection socket to the connection target in case
+ of a direct route or to the first proxy hop in case of a route via a proxy
+ (or multiple proxies).
+ |
+
void |
+ManagedClientConnection.open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens this connection according to the given route.
+ |
+
ConnectionRequest |
+HttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Returns a new
+ConnectionRequest , from which a
+ HttpClientConnection can be obtained or the request can be
+ aborted. |
+
ClientConnectionRequest |
+ClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+HttpClientConnectionManager.routeComplete(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Marks the connection as fully established with all its intermediate
+ hops completed.
+ |
+
void |
+HttpClientConnectionManager.upgrade(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Upgrades the underlying connection socket to TLS/SSL (or another layering
+ protocol) after having executed
+CONNECT method to all
+ intermediate proxy hops |
+
Modifier and Type | +Field and Description | +
---|---|
static HttpRoute |
+ConnRouteParams.NO_ROUTE
+Deprecated.
+A special value indicating "no route".
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpRoute |
+ConnRouteParams.getForcedRoute(org.apache.http.params.HttpParams params)
+Deprecated.
+Obtains the
+FORCED_ROUTE
+ parameter value. |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+ConnPerRouteBean.getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
int |
+ConnPerRoute.getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
static void |
+ConnRouteParams.setForcedRoute(org.apache.http.params.HttpParams params,
+ HttpRoute route)
+Deprecated.
+Sets the
+FORCED_ROUTE
+ parameter value. |
+
void |
+ConnRouteParamBean.setForcedRoute(HttpRoute route)
+Deprecated.
+ |
+
void |
+ConnPerRouteBean.setMaxForRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ConnPerRouteBean.setMaxForRoutes(Map<HttpRoute,Integer> map)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+HttpRoutePlanner.determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Determines the route for a request.
+ |
+
HttpRoute |
+RouteTracker.toRoute()
+Obtains the tracked route.
+ |
+
Constructor and Description | +
---|
RouteTracker(HttpRoute route)
+Creates a new tracker for the given route.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected HttpRoute |
+RoutedRequest.route
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected HttpRoute |
+DefaultRequestDirector.determineRoute(org.apache.http.HttpHost targetHost,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the route for a request.
+ |
+
HttpRoute |
+RoutedRequest.getRoute()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AIMDBackoffManager.backOff(HttpRoute route) |
+
protected org.apache.http.HttpRequest |
+DefaultRequestDirector.createConnectRequest(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates the CONNECT request for tunnelling.
+ |
+
protected boolean |
+DefaultRequestDirector.createTunnelToProxy(HttpRoute route,
+ int hop,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates a tunnel to an intermediate proxy.
+ |
+
protected boolean |
+DefaultRequestDirector.createTunnelToTarget(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates a tunnel to the target server.
+ |
+
protected void |
+DefaultRequestDirector.establishRoute(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Establishes the target route.
+ |
+
void |
+AIMDBackoffManager.probe(HttpRoute route) |
+
protected void |
+DefaultRequestDirector.rewriteRequestURI(RequestWrapper request,
+ HttpRoute route)
+Deprecated.
+ |
+
Constructor and Description | +
---|
RoutedRequest(RequestWrapper req,
+ HttpRoute route)
+Deprecated.
+Creates a new routed request.
+ |
+
Constructor and Description | +
---|
AIMDBackoffManager(org.apache.http.pool.ConnPoolControl<HttpRoute> connPerRoute)
+Creates an
+AIMDBackoffManager to manage
+ per-host connection pool sizes represented by the
+ given ConnPoolControl . |
+
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ org.apache.http.config.ConnectionConfig connectionConfig,
+ RequestConfig requestConfig) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context) |
+
CloseableHttpResponse |
+CachingExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Modifier and Type | +Field and Description | +
---|---|
protected HttpRoute |
+AbstractPoolEntry.route
+Deprecated.
+The route for which this entry gets allocated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+DefaultHttpRoutePlanner.determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
HttpRoute |
+ProxySelectorRoutePlanner.determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
HttpRoute |
+DefaultRoutePlanner.determineRoute(org.apache.http.HttpHost host,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
HttpRoute |
+AbstractPooledConnAdapter.getRoute()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Set<HttpRoute> |
+PoolingHttpClientConnectionManager.getRoutes() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicHttpClientConnectionManager.connect(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+PoolingHttpClientConnectionManager.connect(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context) |
+
ManagedHttpClientConnection |
+ManagedHttpClientConnectionFactory.create(HttpRoute route,
+ org.apache.http.config.ConnectionConfig config) |
+
ManagedClientConnection |
+SingleClientConnManager.getConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Obtains a connection.
+ |
+
int |
+PoolingHttpClientConnectionManager.getMaxPerRoute(HttpRoute route) |
+
int |
+PoolingClientConnectionManager.getMaxPerRoute(HttpRoute route)
+Deprecated.
+ |
+
org.apache.http.pool.PoolStats |
+PoolingHttpClientConnectionManager.getStats(HttpRoute route) |
+
org.apache.http.pool.PoolStats |
+PoolingClientConnectionManager.getStats(HttpRoute route)
+Deprecated.
+ |
+
void |
+AbstractPooledConnAdapter.open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
void |
+AbstractPoolEntry.open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens the underlying connection.
+ |
+
ClientConnectionRequest |
+SingleClientConnManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
ConnectionRequest |
+BasicHttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state) |
+
ConnectionRequest |
+PoolingHttpClientConnectionManager.requestConnection(HttpRoute route,
+ Object state) |
+
ClientConnectionRequest |
+PoolingClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
ClientConnectionRequest |
+BasicClientConnectionManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
void |
+BasicHttpClientConnectionManager.routeComplete(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+PoolingHttpClientConnectionManager.routeComplete(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+PoolingHttpClientConnectionManager.setMaxPerRoute(HttpRoute route,
+ int max) |
+
void |
+PoolingClientConnectionManager.setMaxPerRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
void |
+BasicHttpClientConnectionManager.upgrade(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+PoolingHttpClientConnectionManager.upgrade(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+PoolingHttpClientConnectionManager.enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
protected void |
+PoolingHttpClientConnectionManager.enumLeased(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
Constructor and Description | +
---|
AbstractPoolEntry(ClientConnectionOperator connOperator,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry,
+ HttpRoute route)
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected HttpRoute |
+RouteSpecificPool.route
+Deprecated.
+The route this pool is for.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<HttpRoute,RouteSpecificPool> |
+ConnPoolByRoute.routeToPool
+Deprecated.
+Map of route-specific pools
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected HttpRoute |
+BasicPoolEntry.getPlannedRoute()
+Deprecated.
+ |
+
HttpRoute |
+RouteSpecificPool.getRoute()
+Deprecated.
+Obtains the route for which this pool is specific.
+ |
+
HttpRoute |
+BasicPoolEntryRef.getRoute()
+Deprecated.
+Obtain the planned route for the referenced entry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Map<HttpRoute,RouteSpecificPool> |
+ConnPoolByRoute.createRouteToPoolMap()
+Deprecated.
+Creates the map for
+ConnPoolByRoute.routeToPool . |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+ThreadSafeClientConnManager.getConnectionsInPool(HttpRoute route)
+Deprecated.
+Gets the total number of pooled connections for the given route.
+ |
+
int |
+ConnPoolByRoute.getConnectionsInPool(HttpRoute route)
+Deprecated.
+ |
+
BasicPoolEntry |
+AbstractConnPool.getEntry(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.getEntryBlocking(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit,
+ WaitingThreadAborter aborter)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
int |
+ThreadSafeClientConnManager.getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
protected RouteSpecificPool |
+ConnPoolByRoute.getRoutePool(HttpRoute route,
+ boolean create)
+Deprecated.
+Get a route-specific pool of available connections.
+ |
+
protected abstract void |
+AbstractConnPool.handleLostEntry(HttpRoute route)
+Deprecated.
+ |
+
protected void |
+ConnPoolByRoute.handleLostEntry(HttpRoute route)
+Deprecated.
+ |
+
protected RouteSpecificPool |
+ConnPoolByRoute.newRouteSpecificPool(HttpRoute route)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
ClientConnectionRequest |
+ThreadSafeClientConnManager.requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
abstract PoolEntryRequest |
+AbstractConnPool.requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+PoolEntryRequest , from which a BasicPoolEntry
+ can be obtained, or the request can be aborted. |
+
PoolEntryRequest |
+ConnPoolByRoute.requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
void |
+ThreadSafeClientConnManager.setMaxForRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
Constructor and Description | +
---|
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ long connTTL,
+ TimeUnit timeunit)
+Deprecated.
+Creates a new pool entry with a specified maximum lifetime.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ ReferenceQueue<Object> queue)
+Deprecated.
+ |
+
RouteSpecificPool(HttpRoute route,
+ ConnPerRoute connPerRoute)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
RouteSpecificPool(HttpRoute route,
+ int maxEntries)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+MainClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+MinimalClientExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RedirectExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ProtocolExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+BackoffStrategyExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+RetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
CloseableHttpResponse |
+ClientExecChain.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse |
+ServiceUnavailableRetryExec.execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRouteDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRouteDirector.html new file mode 100644 index 0000000..1e2b213 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRouteDirector.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicRouteDirector
+Basic
+HttpRouteDirector implementation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoutePlanner.html new file mode 100644 index 0000000..e35e4e0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/HttpRoutePlanner.html @@ -0,0 +1,404 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected HttpRoutePlanner |
+DefaultRequestDirector.routePlanner
+Deprecated.
+The route planner.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected HttpRoutePlanner |
+SystemDefaultHttpClient.createHttpRoutePlanner()
+Deprecated.
+ |
+
protected HttpRoutePlanner |
+AbstractHttpClient.createHttpRoutePlanner()
+Deprecated.
+ |
+
HttpRoutePlanner |
+AbstractHttpClient.getRoutePlanner()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setRoutePlanner(HttpRoutePlanner routePlanner)
+Assigns
+HttpRoutePlanner instance. |
+
void |
+AbstractHttpClient.setRoutePlanner(HttpRoutePlanner routePlanner)
+Deprecated.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultHttpRoutePlanner
+Deprecated.
+
+(4.3) use
+DefaultRoutePlanner |
+
class |
+DefaultProxyRoutePlanner
+Implementation of an
+HttpRoutePlanner
+ that routes requests through a default proxy. |
+
class |
+DefaultRoutePlanner
+Default implementation of an
+HttpRoutePlanner . |
+
class |
+ProxySelectorRoutePlanner
+Deprecated.
+
+(4.3) use
+SystemDefaultRoutePlanner |
+
class |
+SystemDefaultRoutePlanner
+HttpRoutePlanner implementation
+ based on ProxySelector . |
+
Constructor and Description | +
---|
RedirectExec(ClientExecChain requestExecutor,
+ HttpRoutePlanner routePlanner,
+ RedirectStrategy redirectStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.LayerType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.LayerType.html new file mode 100644 index 0000000..964bc84 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.LayerType.html @@ -0,0 +1,210 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RouteInfo.LayerType |
+RouteInfo.getLayerType()
+Obtains the layering type of this route.
+ |
+
RouteInfo.LayerType |
+HttpRoute.getLayerType() |
+
RouteInfo.LayerType |
+RouteTracker.getLayerType() |
+
static RouteInfo.LayerType |
+RouteInfo.LayerType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RouteInfo.LayerType[] |
+RouteInfo.LayerType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost[] proxies,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with all attributes specified explicitly.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost proxy,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with at most one proxy.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.TunnelType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.TunnelType.html new file mode 100644 index 0000000..f349d56 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.TunnelType.html @@ -0,0 +1,210 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RouteInfo.TunnelType |
+RouteInfo.getTunnelType()
+Obtains the tunnel type of this route.
+ |
+
RouteInfo.TunnelType |
+HttpRoute.getTunnelType() |
+
RouteInfo.TunnelType |
+RouteTracker.getTunnelType() |
+
static RouteInfo.TunnelType |
+RouteInfo.TunnelType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RouteInfo.TunnelType[] |
+RouteInfo.TunnelType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost[] proxies,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with all attributes specified explicitly.
+ |
+
HttpRoute(org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.HttpHost proxy,
+ boolean secure,
+ RouteInfo.TunnelType tunnelled,
+ RouteInfo.LayerType layered)
+Creates a new route with at most one proxy.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.html new file mode 100644 index 0000000..41e2499 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteInfo.html @@ -0,0 +1,271 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RouteInfo |
+HttpClientContext.getHttpRoute() |
+
Modifier and Type | +Method and Description | +
---|---|
static URI |
+URIUtils.rewriteURIForRoute(URI uri,
+ RouteInfo route)
+A convenience method that optionally converts the original
+URI either
+ to a relative or an absolute form as required by the specified route. |
+
static URI |
+URIUtils.rewriteURIForRoute(URI uri,
+ RouteInfo route,
+ boolean normalizeUri)
+A convenience method that optionally converts the original
+URI either
+ to a relative or an absolute form as required by the specified route. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpRoute
+The route for a request.
+ |
+
class |
+RouteTracker
+Helps tracking the steps in establishing a route.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+BasicRouteDirector.directStep(RouteInfo plan,
+ RouteInfo fact)
+Determines the next step to establish a direct connection.
+ |
+
protected int |
+BasicRouteDirector.firstStep(RouteInfo plan)
+Determines the first step to establish a route.
+ |
+
int |
+HttpRouteDirector.nextStep(RouteInfo plan,
+ RouteInfo fact)
+Provides the next step.
+ |
+
int |
+BasicRouteDirector.nextStep(RouteInfo plan,
+ RouteInfo fact)
+Provides the next step.
+ |
+
protected int |
+BasicRouteDirector.proxiedStep(RouteInfo plan,
+ RouteInfo fact)
+Determines the next step to establish a connection via proxy.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteTracker.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteTracker.html new file mode 100644 index 0000000..6b902c5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/class-use/RouteTracker.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected RouteTracker |
+AbstractPoolEntry.tracker
+Deprecated.
+The tracked route, or
+null before tracking starts. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-frame.html new file mode 100644 index 0000000..2ac1cc6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +Interface | +Description | +
---|---|
HttpRouteDirector | +
+ Provides directions on establishing a route.
+ |
+
HttpRoutePlanner | +
+ Encapsulates logic to compute a
+HttpRoute to a target host. |
+
RouteInfo | +
+ Read-only interface for route information.
+ |
+
Class | +Description | +
---|---|
BasicRouteDirector | +
+ Basic
+HttpRouteDirector implementation. |
+
HttpRoute | +
+ The route for a request.
+ |
+
RouteTracker | +
+ Helps tracking the steps in establishing a route.
+ |
+
Enum | +Description | +
---|---|
RouteInfo.LayerType | +
+ The layering type of a route.
+ |
+
RouteInfo.TunnelType | +
+ The tunnelling type of a route.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-tree.html new file mode 100644 index 0000000..d3c6abd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-use.html new file mode 100644 index 0000000..03939aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/routing/package-use.html @@ -0,0 +1,427 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
Class and Description | +
---|
RouteInfo
+ Read-only interface for route information.
+ |
+
Class and Description | +
---|
RouteInfo
+ Read-only interface for route information.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
HttpRouteDirector
+ Provides directions on establishing a route.
+ |
+
RouteInfo
+ Read-only interface for route information.
+ |
+
RouteInfo.LayerType
+ The layering type of a route.
+ |
+
RouteInfo.TunnelType
+ The tunnelling type of a route.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
HttpRoutePlanner
+ Encapsulates logic to compute a
+HttpRoute to a target host. |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
HttpRoutePlanner
+ Encapsulates logic to compute a
+HttpRoute to a target host. |
+
RouteTracker
+ Helps tracking the steps in establishing a route.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
Class and Description | +
---|
HttpRoute
+ The route for a request.
+ |
+
HttpRoutePlanner
+ Encapsulates logic to compute a
+HttpRoute to a target host. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/HostNameResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/HostNameResolver.html new file mode 100644 index 0000000..feb4180 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/HostNameResolver.html @@ -0,0 +1,225 @@ + + + + + + +@Deprecated +public interface HostNameResolver+
Modifier and Type | +Method and Description | +
---|---|
InetAddress |
+resolve(String hostname)
+Deprecated.
+Resolves given hostname to its IP address
+ |
+
InetAddress resolve(String hostname) + throws IOException+
hostname
- the hostname.IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSchemeSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSchemeSocketFactory.html new file mode 100644 index 0000000..87e576d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSchemeSocketFactory.html @@ -0,0 +1,254 @@ + + + + + + +SchemeLayeredSocketFactory
@Deprecated +public interface LayeredSchemeSocketFactory +extends SchemeSocketFactory+
SchemeSocketFactory
interface for layered sockets such as SSL/TLS.Modifier and Type | +Method and Description | +
---|---|
Socket |
+createLayeredSocket(Socket socket,
+ String target,
+ int port,
+ boolean autoClose)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
connectSocket, createSocket, isSecure
Socket createLayeredSocket(Socket socket, + String target, + int port, + boolean autoClose) + throws IOException, + UnknownHostException+
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target hostautoClose
- a flag for closing the underling socket when the created
+ socket is closedIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSocketFactory.html new file mode 100644 index 0000000..02f670f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/LayeredSocketFactory.html @@ -0,0 +1,255 @@ + + + + + + +SchemeSocketFactory
@Deprecated +public interface LayeredSocketFactory +extends SocketFactory+
SocketFactory
for layered sockets (SSL/TLS).
+ See there for things to consider when implementing a socket factory.Modifier and Type | +Method and Description | +
---|---|
Socket |
+createSocket(Socket socket,
+ String host,
+ int port,
+ boolean autoClose)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
connectSocket, createSocket, isSecure
Socket createSocket(Socket socket, + String host, + int port, + boolean autoClose) + throws IOException, + UnknownHostException+
socket
- the existing sockethost
- the host name/IPport
- the port on the hostautoClose
- a flag for closing the underling socket when the created
+ socket is closedIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/PlainSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/PlainSocketFactory.html new file mode 100644 index 0000000..349cc44 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/PlainSocketFactory.html @@ -0,0 +1,484 @@ + + + + + + +PlainConnectionSocketFactory
@Contract(threading=IMMUTABLE) +@Deprecated +public class PlainSocketFactory +extends Object +implements SocketFactory, SchemeSocketFactory+
Constructor and Description | +
---|
PlainSocketFactory()
+Deprecated.
+ |
+
PlainSocketFactory(HostNameResolver nameResolver)
+Deprecated.
+
+(4.1) use
+DnsResolver |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(Socket socket,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the target host with the given remote address.
+ |
+
Socket |
+connectSocket(Socket socket,
+ String host,
+ int port,
+ InetAddress localAddress,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+
+ |
+
Socket |
+createSocket()
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
Socket |
+createSocket(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
static PlainSocketFactory |
+getSocketFactory()
+Deprecated.
+Gets the default factory.
+ |
+
boolean |
+isSecure(Socket sock)
+Deprecated.
+Checks whether a socket connection is secure.
+ |
+
@Deprecated +public PlainSocketFactory(HostNameResolver nameResolver)+
DnsResolver
public PlainSocketFactory()+
public static PlainSocketFactory getSocketFactory()+
public Socket createSocket(org.apache.http.params.HttpParams params)+
SchemeSocketFactory
SchemeSocketFactory.connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
.createSocket
in interface SchemeSocketFactory
params
- Optional parameters. Parameters passed to this method will have no effect.
+ This method will create a unconnected instance of Socket
class
+ using default constructor.public Socket createSocket()+
SocketFactory
connectSocket
.createSocket
in interface SocketFactory
public Socket connectSocket(Socket socket, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.params.HttpParams params) + throws IOException, + ConnectTimeoutException+
SchemeSocketFactory
+ Please note that HttpInetSocketAddress
class should
+ be used in order to pass the target remote address along with the original
+ HttpHost
value used to resolve the address. The use of
+ HttpInetSocketAddress
can also ensure that no reverse
+ DNS lookup will be performed if the target remote address was specified
+ as an IP address.
+
connectSocket
in interface SchemeSocketFactory
socket
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.remoteAddress
- the remote address to connect to.localAddress
- the local address to bind the socket to, or
+ null
for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
HttpInetSocketAddress
public final boolean isSecure(Socket sock)+
isSecure
in interface SchemeSocketFactory
isSecure
in interface SocketFactory
sock
- the connected socketfalse
@Deprecated +public Socket connectSocket(Socket socket, + String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException, + ConnectTimeoutException+
connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
SocketFactory
connectSocket
in interface SocketFactory
socket
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.host
- the host to connect toport
- the port to connect to on the hostlocalAddress
- the local address to bind the socket to, or
+ null
for anylocalPort
- the port on the local machine,
+ 0 or a negative number for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/Scheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/Scheme.html new file mode 100644 index 0000000..631e822 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/Scheme.html @@ -0,0 +1,493 @@ + + + + + + +SchemePortResolver
for default port
+ resolution and Registry
for socket factory lookups.@Contract(threading=IMMUTABLE) +@Deprecated +public final class Scheme +extends Object+
SchemeRegistry
.
+ + For example, to configure support for "https://" URLs, you could write code like the following: +
++ Scheme https = new Scheme("https", 443, new MySecureSocketFactory()); + SchemeRegistry registry = new SchemeRegistry(); + registry.register(https); +
Constructor and Description | +
---|
Scheme(String name,
+ int port,
+ SchemeSocketFactory factory)
+Deprecated.
+Creates a new scheme.
+ |
+
Scheme(String name,
+ SocketFactory factory,
+ int port)
+Deprecated.
+
+(4.1) Use
+Scheme(String, int, SchemeSocketFactory) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object obj)
+Deprecated.
+ |
+
int |
+getDefaultPort()
+Deprecated.
+Obtains the default port.
+ |
+
String |
+getName()
+Deprecated.
+Obtains the scheme name.
+ |
+
SchemeSocketFactory |
+getSchemeSocketFactory()
+Deprecated.
+Obtains the socket factory.
+ |
+
SocketFactory |
+getSocketFactory()
+Deprecated.
+
+(4.1) Use
+getSchemeSocketFactory() |
+
int |
+hashCode()
+Deprecated.
+ |
+
boolean |
+isLayered()
+Deprecated.
+Indicates whether this scheme allows for layered connections.
+ |
+
int |
+resolvePort(int port)
+Deprecated.
+Resolves the correct port for this scheme.
+ |
+
String |
+toString()
+Deprecated.
+Return a string representation of this object.
+ |
+
public Scheme(String name, + int port, + SchemeSocketFactory factory)+
factory
.name
- the scheme name, for example "http".
+ The name will be converted to lowercase.port
- the default port for this schemefactory
- the factory for creating sockets for communication
+ with this scheme@Deprecated +public Scheme(String name, + SocketFactory factory, + int port)+
Scheme(String, int, SchemeSocketFactory)
factory
.name
- the scheme name, for example "http".
+ The name will be converted to lowercase.factory
- the factory for creating sockets for communication
+ with this schemeport
- the default port for this schemepublic int getDefaultPort()+
@Deprecated +public SocketFactory getSocketFactory()+
getSchemeSocketFactory()
layered
, the factory implements
+ LayeredSocketFactory
.public SchemeSocketFactory getSchemeSocketFactory()+
layered
, the factory implements
+ LayeredSchemeSocketFactory
.public String getName()+
public boolean isLayered()+
true
if layered connections are possible,
+ false
otherwisepublic int resolvePort(int port)+
port
- the port to be resolved,
+ a negative number to obtain the default portpublic String toString()+
public boolean equals(Object obj)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeLayeredSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeLayeredSocketFactory.html new file mode 100644 index 0000000..58222cd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeLayeredSocketFactory.html @@ -0,0 +1,253 @@ + + + + + + +LayeredConnectionSocketFactory
@Deprecated +public interface SchemeLayeredSocketFactory +extends SchemeSocketFactory+
SchemeSocketFactory
interface for layered sockets such as SSL/TLS.Modifier and Type | +Method and Description | +
---|---|
Socket |
+createLayeredSocket(Socket socket,
+ String target,
+ int port,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
connectSocket, createSocket, isSecure
Socket createLayeredSocket(Socket socket, + String target, + int port, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException+
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target hostparams
- HTTP parametersIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeRegistry.html new file mode 100644 index 0000000..ad69e35 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeRegistry.html @@ -0,0 +1,409 @@ + + + + + + +Registry
@Contract(threading=SAFE) +@Deprecated +public final class SchemeRegistry +extends Object+
Scheme
s.
+ Schemes are identified by lowercase names.Constructor and Description | +
---|
SchemeRegistry()
+Deprecated.
+Creates a new, empty scheme registry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Scheme |
+get(String name)
+Deprecated.
+Obtains a scheme by name, if registered.
+ |
+
Scheme |
+getScheme(org.apache.http.HttpHost host)
+Deprecated.
+Obtains the scheme for a host.
+ |
+
Scheme |
+getScheme(String name)
+Deprecated.
+Obtains a scheme by name.
+ |
+
List<String> |
+getSchemeNames()
+Deprecated.
+Obtains the names of the registered schemes.
+ |
+
Scheme |
+register(Scheme sch)
+Deprecated.
+Registers a scheme.
+ |
+
void |
+setItems(Map<String,Scheme> map)
+Deprecated.
+Populates the internal collection of registered
+protocol schemes
+ with the content of the map passed as a parameter. |
+
Scheme |
+unregister(String name)
+Deprecated.
+Unregisters a scheme.
+ |
+
public SchemeRegistry()+
public Scheme getScheme(String name)+
name
- the name of the scheme to look up (in lowercase)null
IllegalStateException
- if the scheme with the given name is not registeredpublic Scheme getScheme(org.apache.http.HttpHost host)+
getScheme(host.getSchemeName())
host
- the host for which to obtain the schemenull
IllegalStateException
- if a scheme with the respective name is not registeredpublic Scheme get(String name)+
name
- the name of the scheme to look up (in lowercase)null
if there is none by this namepublic Scheme register(Scheme sch)+
sch
- the scheme to registernull
if none was registeredpublic Scheme unregister(String name)+
name
- the name of the scheme to unregister (in lowercase)null
if there was nonepublic List<String> getSchemeNames()+
public void setItems(Map<String,Scheme> map)+
protocol schemes
+ with the content of the map passed as a parameter.map
- protocol schemesCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeSocketFactory.html new file mode 100644 index 0000000..3098f69 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SchemeSocketFactory.html @@ -0,0 +1,327 @@ + + + + + + +ConnectionSocketFactory
@Deprecated +public interface SchemeSocketFactory+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(Socket sock,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the target host with the given remote address.
+ |
+
Socket |
+createSocket(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
boolean |
+isSecure(Socket sock)
+Deprecated.
+Checks whether a socket provides a secure connection.
+ |
+
Socket createSocket(org.apache.http.params.HttpParams params) + throws IOException+
connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
.params
- Optional parameters
. In most cases these parameters
+ will not be required and will have no effect, as usually socket
+ initialization should take place in the
+ connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
+ method. However, in rare cases one may want to pass additional parameters
+ to this method in order to create a customized Socket
instance,
+ for instance bound to a SOCKS proxy server.IOException
- if an I/O error occurs while creating the socketSocket connectSocket(Socket sock, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException, + ConnectTimeoutException+
+ Please note that HttpInetSocketAddress
class should
+ be used in order to pass the target remote address along with the original
+ HttpHost
value used to resolve the address. The use of
+ HttpInetSocketAddress
can also ensure that no reverse
+ DNS lookup will be performed if the target remote address was specified
+ as an IP address.
+
sock
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.remoteAddress
- the remote address to connect to.localAddress
- the local address to bind the socket to, or
+ null
for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
HttpInetSocketAddress
boolean isSecure(Socket sock) + throws IllegalArgumentException+
connected
+ by this factory. The factory will not perform I/O operations in this method.
+ + As a rule of thumb, plain sockets are not secure and TLS/SSL sockets are secure. However, + there may be application specific deviations. For example, a plain socket to a host in the + same intranet ("trusted zone") could be considered secure. On the other hand, a TLS/SSL + socket could be considered insecure based on the cipher suite chosen for the connection.
sock
- the connected socket to checktrue
if the connection of the socket
+ should be considered secure, or
+ false
if it should notIllegalArgumentException
- if the argument is invalid, for example because it is
+ not a connected socket or was created by a different
+ socket factory.
+ Note that socket factories are not required to
+ check these conditions, they may simply return a default
+ value when called with an invalid socket argument.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SocketFactory.html new file mode 100644 index 0000000..19e52e5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/SocketFactory.html @@ -0,0 +1,324 @@ + + + + + + +SchemeSocketFactory
@Deprecated +public interface SocketFactory+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(Socket sock,
+ String host,
+ int port,
+ InetAddress localAddress,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the given host.
+ |
+
Socket |
+createSocket()
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
boolean |
+isSecure(Socket sock)
+Deprecated.
+Checks whether a socket provides a secure connection.
+ |
+
Socket createSocket() + throws IOException+
connectSocket
.IOException
- if an I/O error occurs while creating the socketSocket connectSocket(Socket sock, + String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException, + ConnectTimeoutException+
sock
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.host
- the host to connect toport
- the port to connect to on the hostlocalAddress
- the local address to bind the socket to, or
+ null
for anylocalPort
- the port on the local machine,
+ 0 or a negative number for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
boolean isSecure(Socket sock) + throws IllegalArgumentException+
connected
+ by this factory.
+ The factory will not perform I/O operations
+ in this method.
+ + As a rule of thumb, plain sockets are not secure and + TLS/SSL sockets are secure. However, there may be + application specific deviations. For example, a plain + socket to a host in the same intranet ("trusted zone") + could be considered secure. On the other hand, a + TLS/SSL socket could be considered insecure based on + the cipher suite chosen for the connection. +
sock
- the connected socket to checktrue
if the connection of the socket
+ should be considered secure, or
+ false
if it should notIllegalArgumentException
- if the argument is invalid, for example because it is
+ not a connected socket or was created by a different
+ socket factory.
+ Note that socket factories are not required to
+ check these conditions, they may simply return a default
+ value when called with an invalid socket argument.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/HostNameResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/HostNameResolver.html new file mode 100644 index 0000000..29e445a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/HostNameResolver.html @@ -0,0 +1,196 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Constructor and Description | +
---|
PlainSocketFactory(HostNameResolver nameResolver)
+Deprecated.
+
+(4.1) use
+DnsResolver |
+
Constructor and Description | +
---|
SSLSocketFactory(SSLContext sslContext,
+ HostNameResolver nameResolver)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ HostNameResolver nameResolver)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSchemeSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSchemeSocketFactory.html new file mode 100644 index 0000000..9917b15 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSchemeSocketFactory.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSocketFactory.html new file mode 100644 index 0000000..4453d60 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/LayeredSocketFactory.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/PlainSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/PlainSocketFactory.html new file mode 100644 index 0000000..2e7e0d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/PlainSocketFactory.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static PlainSocketFactory |
+PlainSocketFactory.getSocketFactory()
+Deprecated.
+Gets the default factory.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/Scheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/Scheme.html new file mode 100644 index 0000000..88190ef --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/Scheme.html @@ -0,0 +1,252 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+Executor.registerScheme(Scheme scheme)
+Deprecated.
+
+(4.3) do not use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Scheme |
+SchemeRegistry.get(String name)
+Deprecated.
+Obtains a scheme by name, if registered.
+ |
+
Scheme |
+SchemeRegistry.getScheme(org.apache.http.HttpHost host)
+Deprecated.
+Obtains the scheme for a host.
+ |
+
Scheme |
+SchemeRegistry.getScheme(String name)
+Deprecated.
+Obtains a scheme by name.
+ |
+
Scheme |
+SchemeRegistry.register(Scheme sch)
+Deprecated.
+Registers a scheme.
+ |
+
Scheme |
+SchemeRegistry.unregister(String name)
+Deprecated.
+Unregisters a scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Scheme |
+SchemeRegistry.register(Scheme sch)
+Deprecated.
+Registers a scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+SchemeRegistry.setItems(Map<String,Scheme> map)
+Deprecated.
+Populates the internal collection of registered
+protocol schemes
+ with the content of the map passed as a parameter. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeLayeredSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeLayeredSocketFactory.html new file mode 100644 index 0000000..b640e7c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeLayeredSocketFactory.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeRegistry.html new file mode 100644 index 0000000..1d18b3e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeRegistry.html @@ -0,0 +1,478 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SchemeRegistry |
+ClientConnectionManager.getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClientConnectionManager |
+ClientConnectionManagerFactory.newInstance(org.apache.http.params.HttpParams params,
+ SchemeRegistry schemeRegistry)
+Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected SchemeRegistry |
+DefaultHttpRoutePlanner.schemeRegistry
+Deprecated.
+The scheme registry.
+ |
+
protected SchemeRegistry |
+SingleClientConnManager.schemeRegistry
+Deprecated.
+The schemes supported by this connection manager.
+ |
+
protected SchemeRegistry |
+DefaultClientConnectionOperator.schemeRegistry
+Deprecated.
+The scheme registry for looking up socket factories.
+ |
+
protected SchemeRegistry |
+ProxySelectorRoutePlanner.schemeRegistry
+Deprecated.
+The scheme registry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SchemeRegistry |
+SchemeRegistryFactory.createDefault()
+Deprecated.
+Initializes default scheme registry based on JSSE defaults.
+ |
+
static SchemeRegistry |
+SchemeRegistryFactory.createSystemDefault()
+Deprecated.
+Initializes default scheme registry using system properties as described in
+
+ "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform
+ Standard Edition 5
+ |
+
SchemeRegistry |
+SingleClientConnManager.getSchemeRegistry()
+Deprecated.
+ |
+
SchemeRegistry |
+PoolingClientConnectionManager.getSchemeRegistry()
+Deprecated.
+ |
+
SchemeRegistry |
+BasicClientConnectionManager.getSchemeRegistry()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionOperator |
+SingleClientConnManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected ClientConnectionOperator |
+PoolingClientConnectionManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected ClientConnectionOperator |
+BasicClientConnectionManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+ |
+
Constructor and Description | +
---|
BasicClientConnectionManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new simple connection manager.
+ |
+
DefaultClientConnectionOperator(SchemeRegistry schemes)
+Deprecated.
+Creates a new client connection operator for the given scheme registry.
+ |
+
DefaultClientConnectionOperator(SchemeRegistry schemes,
+ DnsResolver dnsResolver)
+Deprecated.
+Creates a new client connection operator for the given scheme registry
+ and the given custom DNS lookup mechanism.
+ |
+
DefaultHttpRoutePlanner(SchemeRegistry schreg)
+Deprecated.
+Creates a new default route planner.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schreg)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schreg,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
+ long timeToLive,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
+ long timeToLive,
+ TimeUnit timeUnit,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
ProxySelectorRoutePlanner(SchemeRegistry schreg,
+ ProxySelector prosel)
+Deprecated.
+Creates a new proxy selector route planner.
+ |
+
SingleClientConnManager(org.apache.http.params.HttpParams params,
+ SchemeRegistry schreg)
+Deprecated.
+
+
+ |
+
SingleClientConnManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new simple connection manager.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected SchemeRegistry |
+ThreadSafeClientConnManager.schemeRegistry
+Deprecated.
+The schemes supported by this connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SchemeRegistry |
+ThreadSafeClientConnManager.getSchemeRegistry()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionOperator |
+ThreadSafeClientConnManager.createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
Constructor and Description | +
---|
ThreadSafeClientConnManager(org.apache.http.params.HttpParams params,
+ SchemeRegistry schreg)
+Deprecated.
+
+
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg,
+ long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg,
+ long connTTL,
+ TimeUnit connTTLTimeUnit,
+ ConnPerRouteBean connPerRoute)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeSocketFactory.html new file mode 100644 index 0000000..445e6b6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SchemeSocketFactory.html @@ -0,0 +1,248 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+LayeredSchemeSocketFactory
+Deprecated.
+
+(4.2) use
+SchemeLayeredSocketFactory |
+
interface |
+SchemeLayeredSocketFactory
+Deprecated.
+
+(4.3) use
+LayeredConnectionSocketFactory |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+PlainSocketFactory
+Deprecated.
+
+(4.3) use
+PlainConnectionSocketFactory |
+
Modifier and Type | +Method and Description | +
---|---|
SchemeSocketFactory |
+Scheme.getSchemeSocketFactory()
+Deprecated.
+Obtains the socket factory.
+ |
+
Constructor and Description | +
---|
Scheme(String name,
+ int port,
+ SchemeSocketFactory factory)
+Deprecated.
+Creates a new scheme.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SocketFactory.html new file mode 100644 index 0000000..2f1f8be --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/class-use/SocketFactory.html @@ -0,0 +1,271 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MultihomePlainSocketFactory
+Deprecated.
+
+(4.1) Do not use. For multihome support socket factories must implement
+
+SchemeSocketFactory interface. |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+LayeredSocketFactory
+Deprecated.
+
+(4.1) use
+SchemeSocketFactory |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+PlainSocketFactory
+Deprecated.
+
+(4.3) use
+PlainConnectionSocketFactory |
+
Modifier and Type | +Method and Description | +
---|---|
SocketFactory |
+Scheme.getSocketFactory()
+Deprecated.
+
+(4.1) Use
+Scheme.getSchemeSocketFactory() |
+
Constructor and Description | +
---|
Scheme(String name,
+ SocketFactory factory,
+ int port)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-frame.html new file mode 100644 index 0000000..fc8d22f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-frame.html @@ -0,0 +1,31 @@ + + + + + + +Interface | +Description | +
---|---|
HostNameResolver | +Deprecated
+ (4.1) Do not use
+ |
+
LayeredSchemeSocketFactory | +Deprecated
+ (4.2) use
+SchemeLayeredSocketFactory |
+
LayeredSocketFactory | +Deprecated
+ (4.1) use
+SchemeSocketFactory |
+
SchemeLayeredSocketFactory | +Deprecated
+ (4.3) use
+LayeredConnectionSocketFactory |
+
SchemeSocketFactory | +Deprecated
+ (4.3) use
+ConnectionSocketFactory |
+
SocketFactory | +Deprecated
+ (4.1) use
+SchemeSocketFactory |
+
Class | +Description | +
---|---|
PlainSocketFactory | +Deprecated
+ (4.3) use
+PlainConnectionSocketFactory |
+
Scheme | +Deprecated
+ (4.3) use
+SchemePortResolver for default port
+ resolution and Registry for socket factory lookups. |
+
SchemeRegistry | +Deprecated
+ (4.3) use
+Registry |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-tree.html new file mode 100644 index 0000000..9af76d1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-use.html new file mode 100644 index 0000000..5c29f8e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/scheme/package-use.html @@ -0,0 +1,355 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Class and Description | +
---|
Scheme
+ Deprecated.
+
+(4.3) use
+SchemePortResolver for default port
+ resolution and Registry for socket factory lookups. |
+
Class and Description | +
---|
SchemeRegistry
+ Deprecated.
+
+(4.3) use
+Registry |
+
SocketFactory
+ Deprecated.
+
+(4.1) use
+SchemeSocketFactory |
+
Class and Description | +
---|
HostNameResolver
+ Deprecated.
+
+(4.1) Do not use
+ |
+
PlainSocketFactory
+ Deprecated.
+
+(4.3) use
+PlainConnectionSocketFactory |
+
Scheme
+ Deprecated.
+
+(4.3) use
+SchemePortResolver for default port
+ resolution and Registry for socket factory lookups. |
+
SchemeSocketFactory
+ Deprecated.
+
+(4.3) use
+ConnectionSocketFactory |
+
SocketFactory
+ Deprecated.
+
+(4.1) use
+SchemeSocketFactory |
+
Class and Description | +
---|
HostNameResolver
+ Deprecated.
+
+(4.1) Do not use
+ |
+
LayeredSchemeSocketFactory
+ Deprecated.
+
+(4.2) use
+SchemeLayeredSocketFactory |
+
LayeredSocketFactory
+ Deprecated.
+
+(4.1) use
+SchemeSocketFactory |
+
SchemeLayeredSocketFactory
+ Deprecated.
+
+(4.3) use
+LayeredConnectionSocketFactory |
+
SchemeSocketFactory
+ Deprecated.
+
+(4.3) use
+ConnectionSocketFactory |
+
SocketFactory
+ Deprecated.
+
+(4.1) use
+SchemeSocketFactory |
+
Class and Description | +
---|
SchemeRegistry
+ Deprecated.
+
+(4.3) use
+Registry |
+
Class and Description | +
---|
SchemeRegistry
+ Deprecated.
+
+(4.3) use
+Registry |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/ConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/ConnectionSocketFactory.html new file mode 100644 index 0000000..4d53647 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/ConnectionSocketFactory.html @@ -0,0 +1,261 @@ + + + + + + +public interface ConnectionSocketFactory
+Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(int connectTimeout,
+ Socket sock,
+ org.apache.http.HttpHost host,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.protocol.HttpContext context)
+Connects the socket to the target host with the given resolved remote address.
+ |
+
Socket |
+createSocket(org.apache.http.protocol.HttpContext context)
+Creates new, unconnected socket.
+ |
+
Socket createSocket(org.apache.http.protocol.HttpContext context) + throws IOException+
connectSocket
method.IOException
- if an I/O error occurs while creating the socketSocket connectSocket(int connectTimeout, + Socket sock, + org.apache.http.HttpHost host, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.protocol.HttpContext context) + throws IOException+
connectTimeout
- connect timeout.sock
- the socket to connect, as obtained from createSocket(HttpContext)
.
+ null
indicates that a new socket should be created and connected.host
- target host as specified by the caller (end user).remoteAddress
- the resolved remote address to connect to.localAddress
- the local address to bind the socket to, or null
for any.context
- the actual HTTP context.sock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/LayeredConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/LayeredConnectionSocketFactory.html new file mode 100644 index 0000000..a22ebb0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/LayeredConnectionSocketFactory.html @@ -0,0 +1,246 @@ + + + + + + +public interface LayeredConnectionSocketFactory +extends ConnectionSocketFactory+
ConnectionSocketFactory
interface for layered sockets such as SSL/TLS.Modifier and Type | +Method and Description | +
---|---|
Socket |
+createLayeredSocket(Socket socket,
+ String target,
+ int port,
+ org.apache.http.protocol.HttpContext context)
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
connectSocket, createSocket
Socket createLayeredSocket(Socket socket, + String target, + int port, + org.apache.http.protocol.HttpContext context) + throws IOException, + UnknownHostException+
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target host.context
- the actual HTTP context.IOException
- if an I/O error occurs while creating the socketUnknownHostException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/PlainConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/PlainConnectionSocketFactory.html new file mode 100644 index 0000000..cc460cd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/PlainConnectionSocketFactory.html @@ -0,0 +1,366 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class PlainConnectionSocketFactory +extends Object +implements ConnectionSocketFactory+
Modifier and Type | +Field and Description | +
---|---|
static PlainConnectionSocketFactory |
+INSTANCE |
+
Constructor and Description | +
---|
PlainConnectionSocketFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(int connectTimeout,
+ Socket socket,
+ org.apache.http.HttpHost host,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.protocol.HttpContext context)
+Connects the socket to the target host with the given resolved remote address.
+ |
+
Socket |
+createSocket(org.apache.http.protocol.HttpContext context)
+Creates new, unconnected socket.
+ |
+
static PlainConnectionSocketFactory |
+getSocketFactory() |
+
public static final PlainConnectionSocketFactory INSTANCE+
public PlainConnectionSocketFactory()+
public static PlainConnectionSocketFactory getSocketFactory()+
public Socket createSocket(org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
method.createSocket
in interface ConnectionSocketFactory
IOException
- if an I/O error occurs while creating the socketpublic Socket connectSocket(int connectTimeout, + Socket socket, + org.apache.http.HttpHost host, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
in interface ConnectionSocketFactory
connectTimeout
- connect timeout.socket
- the socket to connect, as obtained from ConnectionSocketFactory.createSocket(HttpContext)
.
+ null
indicates that a new socket should be created and connected.host
- target host as specified by the caller (end user).remoteAddress
- the resolved remote address to connect to.localAddress
- the local address to bind the socket to, or null
for any.context
- the actual HTTP context.sock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/ConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/ConnectionSocketFactory.html new file mode 100644 index 0000000..8a8bb8e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/ConnectionSocketFactory.html @@ -0,0 +1,272 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.socket | +
+ Client connection socket APIs.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+LayeredConnectionSocketFactory
+Extended
+ConnectionSocketFactory interface for layered sockets such as SSL/TLS. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+PlainConnectionSocketFactory
+The default class for creating plain (unencrypted) sockets.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLConnectionSocketFactory
+Layered socket factory for TLS/SSL connections.
+ |
+
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/LayeredConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/LayeredConnectionSocketFactory.html new file mode 100644 index 0000000..5440fc1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/LayeredConnectionSocketFactory.html @@ -0,0 +1,195 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SSLConnectionSocketFactory
+Layered socket factory for TLS/SSL connections.
+ |
+
class |
+SSLSocketFactory
+Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setSSLSocketFactory(LayeredConnectionSocketFactory sslSocketFactory)
+Assigns
+LayeredConnectionSocketFactory instance. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/PlainConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/PlainConnectionSocketFactory.html new file mode 100644 index 0000000..bd884dc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/class-use/PlainConnectionSocketFactory.html @@ -0,0 +1,172 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.socket | +
+ Client connection socket APIs.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static PlainConnectionSocketFactory |
+PlainConnectionSocketFactory.INSTANCE |
+
Modifier and Type | +Method and Description | +
---|---|
static PlainConnectionSocketFactory |
+PlainConnectionSocketFactory.getSocketFactory() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-frame.html new file mode 100644 index 0000000..5a7d832 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Interface | +Description | +
---|---|
ConnectionSocketFactory | +
+ A factory for creating and connecting connection sockets.
+ |
+
LayeredConnectionSocketFactory | +
+ Extended
+ConnectionSocketFactory interface for layered sockets such as SSL/TLS. |
+
Class | +Description | +
---|---|
PlainConnectionSocketFactory | +
+ The default class for creating plain (unencrypted) sockets.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-tree.html new file mode 100644 index 0000000..3abd8e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-use.html new file mode 100644 index 0000000..7d2e368 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/socket/package-use.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.socket | +
+ Client connection socket APIs.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Class and Description | +
---|
ConnectionSocketFactory
+ A factory for creating and connecting connection sockets.
+ |
+
PlainConnectionSocketFactory
+ The default class for creating plain (unencrypted) sockets.
+ |
+
Class and Description | +
---|
ConnectionSocketFactory
+ A factory for creating and connecting connection sockets.
+ |
+
LayeredConnectionSocketFactory
+ Extended
+ConnectionSocketFactory interface for layered sockets such as SSL/TLS. |
+
Class and Description | +
---|
LayeredConnectionSocketFactory
+ Extended
+ConnectionSocketFactory interface for layered sockets such as SSL/TLS. |
+
Class and Description | +
---|
ConnectionSocketFactory
+ A factory for creating and connecting connection sockets.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AbstractVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AbstractVerifier.html new file mode 100644 index 0000000..8abcf04 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AbstractVerifier.html @@ -0,0 +1,463 @@ + + + + + + +HostnameVerifier
or
+ DefaultHostnameVerifier
.@Deprecated +public abstract class AbstractVerifier +extends Object +implements X509HostnameVerifier+
X509HostnameVerifier
+ implementations.Constructor and Description | +
---|
AbstractVerifier()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+acceptableCountryWildcard(String cn)
+Deprecated.
+ |
+
static int |
+countDots(String s)
+Deprecated.
+Counts the number of dots "." in a string.
+ |
+
static String[] |
+getCNs(X509Certificate cert)
+Deprecated.
+ |
+
static String[] |
+getDNSSubjectAlts(X509Certificate cert)
+Deprecated.
+Extracts the array of SubjectAlt DNS names from an X509Certificate.
+ |
+
boolean |
+verify(String host,
+ SSLSession session)
+Deprecated.
+ |
+
void |
+verify(String host,
+ SSLSocket ssl)
+Deprecated.
+Verifies that the host name is an acceptable match with the server's
+ authentication scheme based on the given
+SSLSocket . |
+
void |
+verify(String host,
+ String[] cns,
+ String[] subjectAlts,
+ boolean strictWithSubDomains)
+Deprecated.
+ |
+
void |
+verify(String host,
+ X509Certificate cert)
+Deprecated.
+Verifies that the host name is an acceptable match with the server's
+ authentication scheme based on the given
+X509Certificate . |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
verify
public AbstractVerifier()+
public final void verify(String host, + SSLSocket ssl) + throws IOException+
X509HostnameVerifier
SSLSocket
.verify
in interface X509HostnameVerifier
host
- the host.ssl
- the SSL socket.IOException
- if an I/O error occurs or the verification process
+ fails.public final boolean verify(String host, + SSLSession session)+
verify
in interface HostnameVerifier
public final void verify(String host, + X509Certificate cert) + throws SSLException+
X509HostnameVerifier
X509Certificate
.verify
in interface X509HostnameVerifier
host
- the host.cert
- the certificate.SSLException
- if the verification process fails.public final void verify(String host, + String[] cns, + String[] subjectAlts, + boolean strictWithSubDomains) + throws SSLException+
SSLException
public static boolean acceptableCountryWildcard(String cn)+
public static String[] getCNs(X509Certificate cert)+
public static String[] getDNSSubjectAlts(X509Certificate cert)+
+ Note: Java doesn't appear able to extract international characters + from the SubjectAlts. It can only extract international characters + from the CN field. +
++ (Or maybe the version of OpenSSL I'm using to test isn't storing the + international characters correctly in the SubjectAlts?). +
cert
- X509Certificatepublic static int countDots(String s)+
s
- string to count dots fromCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AllowAllHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AllowAllHostnameVerifier.html new file mode 100644 index 0000000..4cc0a6d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/AllowAllHostnameVerifier.html @@ -0,0 +1,363 @@ + + + + + + +NoopHostnameVerifier
@Deprecated +@Contract(threading=IMMUTABLE) +public class AllowAllHostnameVerifier +extends AbstractVerifier+
Modifier and Type | +Field and Description | +
---|---|
static AllowAllHostnameVerifier |
+INSTANCE
+Deprecated.
+ |
+
Constructor and Description | +
---|
AllowAllHostnameVerifier()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString()
+Deprecated.
+ |
+
void |
+verify(String host,
+ String[] cns,
+ String[] subjectAlts)
+Deprecated.
+Checks to see if the supplied hostname matches any of the supplied CNs
+ or "DNS" Subject-Alts.
+ |
+
acceptableCountryWildcard, countDots, getCNs, getDNSSubjectAlts, verify, verify, verify, verify
public static final AllowAllHostnameVerifier INSTANCE+
public AllowAllHostnameVerifier()+
public final void verify(String host, + String[] cns, + String[] subjectAlts)+
X509HostnameVerifier
host
- The hostname to verify.cns
- CN fields, in order, as extracted from the X.509
+ certificate.subjectAlts
- Subject-Alt fields of type 2 ("DNS"), as extracted
+ from the X.509 certificate.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.html new file mode 100644 index 0000000..c2a6b0b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.html @@ -0,0 +1,374 @@ + + + + + + +DefaultHostnameVerifier
@Contract(threading=IMMUTABLE) +@Deprecated +public class BrowserCompatHostnameVerifier +extends AbstractVerifier+
+ The hostname must match either the first CN, or any of the subject-alts. + A wildcard can occur in the CN, and in any of the subject-alts. +
++ The only difference between BROWSER_COMPATIBLE and STRICT is that a wildcard + (such as "*.foo.com") with BROWSER_COMPATIBLE matches all subdomains, + including "a.b.foo.com". +
Modifier and Type | +Field and Description | +
---|---|
static BrowserCompatHostnameVerifier |
+INSTANCE
+Deprecated.
+ |
+
Constructor and Description | +
---|
BrowserCompatHostnameVerifier()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString()
+Deprecated.
+ |
+
void |
+verify(String host,
+ String[] cns,
+ String[] subjectAlts)
+Deprecated.
+Checks to see if the supplied hostname matches any of the supplied CNs
+ or "DNS" Subject-Alts.
+ |
+
acceptableCountryWildcard, countDots, getCNs, getDNSSubjectAlts, verify, verify, verify, verify
public static final BrowserCompatHostnameVerifier INSTANCE+
public BrowserCompatHostnameVerifier()+
public final void verify(String host, + String[] cns, + String[] subjectAlts) + throws SSLException+
X509HostnameVerifier
host
- The hostname to verify.cns
- CN fields, in order, as extracted from the X.509
+ certificate.subjectAlts
- Subject-Alt fields of type 2 ("DNS"), as extracted
+ from the X.509 certificate.SSLException
- if the verification process fails.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/DefaultHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/DefaultHostnameVerifier.html new file mode 100644 index 0000000..d897a03 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/DefaultHostnameVerifier.html @@ -0,0 +1,303 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public final class DefaultHostnameVerifier +extends Object +implements HostnameVerifier+
HostnameVerifier
implementation.Constructor and Description | +
---|
DefaultHostnameVerifier() |
+
DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+verify(String host,
+ SSLSession session) |
+
void |
+verify(String host,
+ X509Certificate cert) |
+
public DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher)+
public DefaultHostnameVerifier()+
public boolean verify(String host, + SSLSession session)+
verify
in interface HostnameVerifier
public void verify(String host, + X509Certificate cert) + throws SSLException+
SSLException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/NoopHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/NoopHostnameVerifier.html new file mode 100644 index 0000000..6c1d54b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/NoopHostnameVerifier.html @@ -0,0 +1,327 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NoopHostnameVerifier +extends Object +implements HostnameVerifier+
Modifier and Type | +Field and Description | +
---|---|
static NoopHostnameVerifier |
+INSTANCE |
+
Constructor and Description | +
---|
NoopHostnameVerifier() |
+
public static final NoopHostnameVerifier INSTANCE+
public boolean verify(String s, + SSLSession sslSession)+
verify
in interface HostnameVerifier
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyDetails.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyDetails.html new file mode 100644 index 0000000..34f61a3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyDetails.html @@ -0,0 +1,309 @@ + + + + + + +PrivateKeyDetails
.@Deprecated +public final class PrivateKeyDetails +extends Object+
Constructor and Description | +
---|
PrivateKeyDetails(String type,
+ X509Certificate[] certChain)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
X509Certificate[] |
+getCertChain()
+Deprecated.
+ |
+
String |
+getType()
+Deprecated.
+ |
+
String |
+toString()
+Deprecated.
+ |
+
public PrivateKeyDetails(String type, + X509Certificate[] certChain)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyStrategy.html new file mode 100644 index 0000000..b62630f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/PrivateKeyStrategy.html @@ -0,0 +1,222 @@ + + + + + + +PrivateKeyStrategy
.@Deprecated +public interface PrivateKeyStrategy+
Modifier and Type | +Method and Description | +
---|---|
String |
+chooseAlias(Map<String,PrivateKeyDetails> aliases,
+ Socket socket)
+Deprecated.
+Determines what key material to use for SSL authentication.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLConnectionSocketFactory.html new file mode 100644 index 0000000..c06651c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLConnectionSocketFactory.html @@ -0,0 +1,799 @@ + + + + + + +@Contract(threading=SAFE) +public class SSLConnectionSocketFactory +extends Object +implements LayeredConnectionSocketFactory+
+ SSLSocketFactory can be used to validate the identity of the HTTPS server against a list of + trusted certificates and to authenticate to the HTTPS server using a private key. +
+ SSLSocketFactory will enable server authentication when supplied with
+ a trust-store
file containing one or several trusted certificates. The client
+ secure socket will reject the connection during the SSL session handshake if the target HTTPS
+ server attempts to authenticate itself with a non-trusted certificate.
+
+ Use JDK keytool utility to import a trusted certificate and generate a trust-store file: +
+ keytool -import -alias "my server cert" -file server.crt -keystore my.truststore ++
+ In special cases the standard trust verification process can be bypassed by using a custom
+ TrustStrategy
. This interface is primarily intended for allowing self-signed
+ certificates to be accepted as trusted without having to add them to the trust-store file.
+
+ SSLSocketFactory will enable client authentication when supplied with
+ a key-store
file containing a private key/public certificate
+ pair. The client secure socket will use the private key to authenticate
+ itself to the target HTTPS server during the SSL session handshake if
+ requested to do so by the server.
+ The target HTTPS server will in its turn verify the certificate presented
+ by the client in order to establish client's authenticity.
+
+ Use the following sequence of actions to generate a key-store file +
++ Use JDK keytool utility to generate a new key +
+keytool -genkey -v -alias "my client key" -validity 365 -keystore my.keystore+
+ For simplicity use the same password for the key as that of the key-store +
++ Issue a certificate signing request (CSR) +
+keytool -certreq -alias "my client key" -file mycertreq.csr -keystore my.keystore+
+ Send the certificate request to the trusted Certificate Authority for signature. + One may choose to act as her own CA and sign the certificate request using a PKI + tool, such as OpenSSL. +
++ Import the trusted CA root certificate +
+keytool -import -alias "my trusted ca" -file caroot.crt -keystore my.keystore+
+ Import the PKCS#7 file containing the complete certificate chain +
+keytool -import -alias "my client key" -file mycert.p7 -keystore my.keystore+
+ Verify the content of the resultant keystore file +
+keytool -list -v -keystore my.keystore+
Modifier and Type | +Field and Description | +
---|---|
static X509HostnameVerifier |
+ALLOW_ALL_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static X509HostnameVerifier |
+BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static String |
+SSL |
+
static String |
+SSLV2 |
+
static X509HostnameVerifier |
+STRICT_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static String |
+TLS |
+
Constructor and Description | +
---|
SSLConnectionSocketFactory(SSLContext sslContext) |
+
SSLConnectionSocketFactory(SSLContext sslContext,
+ HostnameVerifier hostnameVerifier) |
+
SSLConnectionSocketFactory(SSLContext sslContext,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ HostnameVerifier hostnameVerifier) |
+
SSLConnectionSocketFactory(SSLContext sslContext,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLConnectionSocketFactory(SSLContext sslContext,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+
+
+ |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ HostnameVerifier hostnameVerifier) |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ HostnameVerifier hostnameVerifier) |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(int connectTimeout,
+ Socket socket,
+ org.apache.http.HttpHost host,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.protocol.HttpContext context)
+Connects the socket to the target host with the given resolved remote address.
+ |
+
Socket |
+createLayeredSocket(Socket socket,
+ String target,
+ int port,
+ org.apache.http.protocol.HttpContext context)
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
Socket |
+createSocket(org.apache.http.protocol.HttpContext context)
+Creates new, unconnected socket.
+ |
+
static HostnameVerifier |
+getDefaultHostnameVerifier() |
+
static SSLConnectionSocketFactory |
+getSocketFactory()
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLConnectionSocketFactory |
+getSystemSocketFactory()
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ Java™ Secure Socket Extension (JSSE) Reference Guide.
+ |
+
protected void |
+prepareSocket(SSLSocket socket)
+Performs any custom initialization for a newly created SSLSocket
+ (before the SSL handshake happens).
+ |
+
public static final String TLS+
public static final String SSL+
public static final String SSLV2+
@Deprecated +public static final X509HostnameVerifier ALLOW_ALL_HOSTNAME_VERIFIER+
AllowAllHostnameVerifier.INSTANCE
.@Deprecated +public static final X509HostnameVerifier BROWSER_COMPATIBLE_HOSTNAME_VERIFIER+
BrowserCompatHostnameVerifier.INSTANCE
.@Deprecated +public static final X509HostnameVerifier STRICT_HOSTNAME_VERIFIER+
StrictHostnameVerifier.INSTANCE
.public SSLConnectionSocketFactory(SSLContext sslContext)+
@Deprecated +public SSLConnectionSocketFactory(SSLContext sslContext, + X509HostnameVerifier hostnameVerifier)+
SSLConnectionSocketFactory(javax.net.ssl.SSLContext,
+ javax.net.ssl.HostnameVerifier)
@Deprecated +public SSLConnectionSocketFactory(SSLContext sslContext, + String[] supportedProtocols, + String[] supportedCipherSuites, + X509HostnameVerifier hostnameVerifier)+ +
@Deprecated +public SSLConnectionSocketFactory(SSLSocketFactory socketfactory, + X509HostnameVerifier hostnameVerifier)+ +
@Deprecated +public SSLConnectionSocketFactory(SSLSocketFactory socketfactory, + String[] supportedProtocols, + String[] supportedCipherSuites, + X509HostnameVerifier hostnameVerifier)+ +
public SSLConnectionSocketFactory(SSLContext sslContext, + HostnameVerifier hostnameVerifier)+
public SSLConnectionSocketFactory(SSLContext sslContext, + String[] supportedProtocols, + String[] supportedCipherSuites, + HostnameVerifier hostnameVerifier)+
public SSLConnectionSocketFactory(SSLSocketFactory socketfactory, + HostnameVerifier hostnameVerifier)+
public SSLConnectionSocketFactory(SSLSocketFactory socketfactory, + String[] supportedProtocols, + String[] supportedCipherSuites, + HostnameVerifier hostnameVerifier)+
public static HostnameVerifier getDefaultHostnameVerifier()+
public static SSLConnectionSocketFactory getSocketFactory() + throws SSLInitializationException+
cacerts
file in the security properties directory).
+ System properties are not taken into consideration.SSLInitializationException
public static SSLConnectionSocketFactory getSystemSocketFactory() + throws SSLInitializationException+
SSLInitializationException
protected void prepareSocket(SSLSocket socket) + throws IOException+
SSLSocket.setEnabledCipherSuites(String[])
.IOException
- may be thrown if overriddenpublic Socket createSocket(org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
method.createSocket
in interface ConnectionSocketFactory
IOException
- if an I/O error occurs while creating the socketpublic Socket connectSocket(int connectTimeout, + Socket socket, + org.apache.http.HttpHost host, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
in interface ConnectionSocketFactory
connectTimeout
- connect timeout.socket
- the socket to connect, as obtained from ConnectionSocketFactory.createSocket(HttpContext)
.
+ null
indicates that a new socket should be created and connected.host
- target host as specified by the caller (end user).remoteAddress
- the resolved remote address to connect to.localAddress
- the local address to bind the socket to, or null
for any.context
- the actual HTTP context.sock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occurspublic Socket createLayeredSocket(Socket socket, + String target, + int port, + org.apache.http.protocol.HttpContext context) + throws IOException+
LayeredConnectionSocketFactory
createLayeredSocket
in interface LayeredConnectionSocketFactory
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target host.context
- the actual HTTP context.IOException
- if an I/O error occurs while creating the socketCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContextBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContextBuilder.html new file mode 100644 index 0000000..ecdf967 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContextBuilder.html @@ -0,0 +1,436 @@ + + + + + + +SSLContextBuilder
.@Deprecated +public class SSLContextBuilder +extends Object+
SSLContext
instances.Constructor and Description | +
---|
SSLContextBuilder()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SSLContext |
+build()
+Deprecated.
+ |
+
SSLContextBuilder |
+loadKeyMaterial(KeyStore keystore,
+ char[] keyPassword)
+Deprecated.
+ |
+
SSLContextBuilder |
+loadKeyMaterial(KeyStore keystore,
+ char[] keyPassword,
+ PrivateKeyStrategy aliasStrategy)
+Deprecated.
+ |
+
SSLContextBuilder |
+loadTrustMaterial(KeyStore truststore)
+Deprecated.
+ |
+
SSLContextBuilder |
+loadTrustMaterial(KeyStore truststore,
+ TrustStrategy trustStrategy)
+Deprecated.
+ |
+
SSLContextBuilder |
+setSecureRandom(SecureRandom secureRandom)
+Deprecated.
+ |
+
SSLContextBuilder |
+useProtocol(String protocol)
+Deprecated.
+ |
+
SSLContextBuilder |
+useSSL()
+Deprecated.
+ |
+
SSLContextBuilder |
+useTLS()
+Deprecated.
+ |
+
public SSLContextBuilder()+
public SSLContextBuilder useTLS()+
public SSLContextBuilder useSSL()+
public SSLContextBuilder useProtocol(String protocol)+
public SSLContextBuilder setSecureRandom(SecureRandom secureRandom)+
public SSLContextBuilder loadTrustMaterial(KeyStore truststore, + TrustStrategy trustStrategy) + throws NoSuchAlgorithmException, + KeyStoreException+
NoSuchAlgorithmException
KeyStoreException
public SSLContextBuilder loadTrustMaterial(KeyStore truststore) + throws NoSuchAlgorithmException, + KeyStoreException+
NoSuchAlgorithmException
KeyStoreException
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, + char[] keyPassword) + throws NoSuchAlgorithmException, + KeyStoreException, + UnrecoverableKeyException+
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, + char[] keyPassword, + PrivateKeyStrategy aliasStrategy) + throws NoSuchAlgorithmException, + KeyStoreException, + UnrecoverableKeyException+
public SSLContext build() + throws NoSuchAlgorithmException, + KeyManagementException+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContexts.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContexts.html new file mode 100644 index 0000000..e2454d0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLContexts.html @@ -0,0 +1,326 @@ + + + + + + +SSLContexts
.@Contract(threading=IMMUTABLE) +@Deprecated +public class SSLContexts +extends Object+
SSLContext
factory methods.Constructor and Description | +
---|
SSLContexts()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SSLContext |
+createDefault()
+Deprecated.
+Creates default factory based on the standard JSSE trust material
+ (
+cacerts file in the security properties directory). |
+
static SSLContext |
+createSystemDefault()
+Deprecated.
+Creates default SSL context based on system properties.
+ |
+
static SSLContextBuilder |
+custom()
+Deprecated.
+Creates custom SSL context.
+ |
+
public static SSLContext createDefault() + throws SSLInitializationException+
cacerts
file in the security properties directory). System properties
+ are not taken into consideration.SSLInitializationException
public static SSLContext createSystemDefault() + throws SSLInitializationException+
SSLContext.getInstance("Default")
.
+ Please note that Default
algorithm is supported as of Java 6.
+ This method will fall back onto createDefault()
when
+ Default
algorithm is not available.SSLInitializationException
public static SSLContextBuilder custom()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLInitializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLInitializationException.html new file mode 100644 index 0000000..1c4acef --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLInitializationException.html @@ -0,0 +1,264 @@ + + + + + + +public class SSLInitializationException +extends IllegalStateException+
Constructor and Description | +
---|
SSLInitializationException(String message,
+ Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLSocketFactory.html new file mode 100644 index 0000000..0cebfd9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/SSLSocketFactory.html @@ -0,0 +1,1328 @@ + + + + + + +SSLConnectionSocketFactory
.@Contract(threading=SAFE_CONDITIONAL) +@Deprecated +public class SSLSocketFactory +extends Object +implements LayeredConnectionSocketFactory, SchemeLayeredSocketFactory, LayeredSchemeSocketFactory, LayeredSocketFactory+
+ SSLSocketFactory can be used to validate the identity of the HTTPS server against a list of + trusted certificates and to authenticate to the HTTPS server using a private key. +
+
+ SSLSocketFactory will enable server authentication when supplied with
+ a trust-store
file containing one or several trusted certificates. The client
+ secure socket will reject the connection during the SSL session handshake if the target HTTPS
+ server attempts to authenticate itself with a non-trusted certificate.
+
+ Use JDK keytool utility to import a trusted certificate and generate a trust-store file: +
+keytool -import -alias "my server cert" -file server.crt -keystore my.truststore ++
+ In special cases the standard trust verification process can be bypassed by using a custom
+ TrustStrategy
. This interface is primarily intended for allowing self-signed
+ certificates to be accepted as trusted without having to add them to the trust-store file.
+
+ SSLSocketFactory will enable client authentication when supplied with
+ a key-store
file containing a private key/public certificate
+ pair. The client secure socket will use the private key to authenticate
+ itself to the target HTTPS server during the SSL session handshake if
+ requested to do so by the server.
+ The target HTTPS server will in its turn verify the certificate presented
+ by the client in order to establish client's authenticity.
+
+ Use the following sequence of actions to generate a key-store file +
++ Use JDK keytool utility to generate a new key +
+keytool -genkey -v -alias "my client key" -validity 365 -keystore my.keystore+
+ For simplicity use the same password for the key as that of the key-store +
++ Issue a certificate signing request (CSR) +
+keytool -certreq -alias "my client key" -file mycertreq.csr -keystore my.keystore+
+ Send the certificate request to the trusted Certificate Authority for signature. + One may choose to act as her own CA and sign the certificate request using a PKI + tool, such as OpenSSL. +
++ Import the trusted CA root certificate +
+keytool -import -alias "my trusted ca" -file caroot.crt -keystore my.keystore+
+ Import the PKCS#7 file containg the complete certificate chain +
+keytool -import -alias "my client key" -file mycert.p7 -keystore my.keystore+
+ Verify the content the resultant keystore file +
+keytool -list -v -keystore my.keystore+
Modifier and Type | +Field and Description | +
---|---|
static X509HostnameVerifier |
+ALLOW_ALL_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
static X509HostnameVerifier |
+BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
static String |
+SSL
+Deprecated.
+ |
+
static String |
+SSLV2
+Deprecated.
+ |
+
static X509HostnameVerifier |
+STRICT_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
static String |
+TLS
+Deprecated.
+ |
+
Constructor and Description | +
---|
SSLSocketFactory(KeyStore truststore)
+Deprecated.
+ |
+
SSLSocketFactory(KeyStore keystore,
+ String keystorePassword)
+Deprecated.
+ |
+
SSLSocketFactory(KeyStore keystore,
+ String keystorePassword,
+ KeyStore truststore)
+Deprecated.
+ |
+
SSLSocketFactory(SSLContext sslContext)
+Deprecated.
+ |
+
SSLSocketFactory(SSLContext sslContext,
+ HostNameResolver nameResolver)
+Deprecated.
+ |
+
SSLSocketFactory(SSLContext sslContext,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLContext sslContext,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLSocketFactory socketfactory,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLSocketFactory socketfactory,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ HostNameResolver nameResolver)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(TrustStrategy trustStrategy)
+Deprecated.
+ |
+
SSLSocketFactory(TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Socket |
+connectSocket(int connectTimeout,
+ Socket socket,
+ org.apache.http.HttpHost host,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Connects the socket to the target host with the given resolved remote address.
+ |
+
Socket |
+connectSocket(Socket socket,
+ InetSocketAddress remoteAddress,
+ InetSocketAddress localAddress,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the target host with the given remote address.
+ |
+
Socket |
+connectSocket(Socket socket,
+ String host,
+ int port,
+ InetAddress local,
+ int localPort,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Connects a socket to the given host.
+ |
+
Socket |
+createLayeredSocket(Socket socket,
+ String host,
+ int port,
+ boolean autoClose)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
Socket |
+createLayeredSocket(Socket socket,
+ String target,
+ int port,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
Socket |
+createLayeredSocket(Socket socket,
+ String host,
+ int port,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
Socket |
+createSocket()
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
Socket |
+createSocket(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates new, unconnected socket.
+ |
+
Socket |
+createSocket(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new, unconnected socket.
+ |
+
Socket |
+createSocket(Socket socket,
+ String host,
+ int port,
+ boolean autoClose)
+Deprecated.
+Returns a socket connected to the given host that is layered over an
+ existing socket.
+ |
+
X509HostnameVerifier |
+getHostnameVerifier()
+Deprecated.
+ |
+
static SSLSocketFactory |
+getSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLSocketFactory |
+getSystemSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform
+ Standard Edition 5
+ |
+
boolean |
+isSecure(Socket sock)
+Deprecated.
+Checks whether a socket connection is secure.
+ |
+
protected void |
+prepareSocket(SSLSocket socket)
+Deprecated.
+Performs any custom initialization for a newly created SSLSocket
+ (before the SSL handshake happens).
+ |
+
void |
+setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
public static final String TLS+
public static final String SSL+
public static final String SSLV2+
public static final X509HostnameVerifier ALLOW_ALL_HOSTNAME_VERIFIER+
public static final X509HostnameVerifier BROWSER_COMPATIBLE_HOSTNAME_VERIFIER+
public static final X509HostnameVerifier STRICT_HOSTNAME_VERIFIER+
public SSLSocketFactory(String algorithm, + KeyStore keystore, + String keyPassword, + KeyStore truststore, + SecureRandom random, + HostNameResolver nameResolver) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
public SSLSocketFactory(String algorithm, + KeyStore keystore, + String keyPassword, + KeyStore truststore, + SecureRandom random, + TrustStrategy trustStrategy, + X509HostnameVerifier hostnameVerifier) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
NoSuchAlgorithmException
KeyManagementException
KeyStoreException
UnrecoverableKeyException
public SSLSocketFactory(String algorithm, + KeyStore keystore, + String keyPassword, + KeyStore truststore, + SecureRandom random, + X509HostnameVerifier hostnameVerifier) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
NoSuchAlgorithmException
KeyManagementException
KeyStoreException
UnrecoverableKeyException
public SSLSocketFactory(KeyStore keystore, + String keystorePassword, + KeyStore truststore) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
public SSLSocketFactory(KeyStore keystore, + String keystorePassword) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
public SSLSocketFactory(KeyStore truststore) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
public SSLSocketFactory(TrustStrategy trustStrategy, + X509HostnameVerifier hostnameVerifier) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
NoSuchAlgorithmException
KeyManagementException
KeyStoreException
UnrecoverableKeyException
public SSLSocketFactory(TrustStrategy trustStrategy) + throws NoSuchAlgorithmException, + KeyManagementException, + KeyStoreException, + UnrecoverableKeyException+
NoSuchAlgorithmException
KeyManagementException
KeyStoreException
UnrecoverableKeyException
public SSLSocketFactory(SSLContext sslContext)+
public SSLSocketFactory(SSLContext sslContext, + HostNameResolver nameResolver)+
public SSLSocketFactory(SSLContext sslContext, + X509HostnameVerifier hostnameVerifier)+
public SSLSocketFactory(SSLContext sslContext, + String[] supportedProtocols, + String[] supportedCipherSuites, + X509HostnameVerifier hostnameVerifier)+
public SSLSocketFactory(SSLSocketFactory socketfactory, + X509HostnameVerifier hostnameVerifier)+
public SSLSocketFactory(SSLSocketFactory socketfactory, + String[] supportedProtocols, + String[] supportedCipherSuites, + X509HostnameVerifier hostnameVerifier)+
public static SSLSocketFactory getSocketFactory() + throws SSLInitializationException+
cacerts
file in the security properties directory).
+ System properties are not taken into consideration.SSLInitializationException
public static SSLSocketFactory getSystemSocketFactory() + throws SSLInitializationException+
SSLInitializationException
public Socket createSocket(org.apache.http.params.HttpParams params) + throws IOException+
SchemeSocketFactory
SchemeSocketFactory.connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
.createSocket
in interface SchemeSocketFactory
params
- Optional parameters. Parameters passed to this method will have no effect.
+ This method will create a unconnected instance of Socket
class.IOException
- if an I/O error occurs while creating the socketpublic Socket createSocket() + throws IOException+
SocketFactory
connectSocket
.createSocket
in interface SocketFactory
IOException
- if an I/O error occurs while creating the socketpublic Socket connectSocket(Socket socket, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException, + ConnectTimeoutException+
SchemeSocketFactory
+ Please note that HttpInetSocketAddress
class should
+ be used in order to pass the target remote address along with the original
+ HttpHost
value used to resolve the address. The use of
+ HttpInetSocketAddress
can also ensure that no reverse
+ DNS lookup will be performed if the target remote address was specified
+ as an IP address.
+
connectSocket
in interface SchemeSocketFactory
socket
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.remoteAddress
- the remote address to connect to.localAddress
- the local address to bind the socket to, or
+ null
for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
HttpInetSocketAddress
public boolean isSecure(Socket sock) + throws IllegalArgumentException+
+ Derived classes may override this method to perform + runtime checks, for example based on the cypher suite. +
isSecure
in interface SchemeSocketFactory
isSecure
in interface SocketFactory
sock
- the connected sockettrue
IllegalArgumentException
- if the argument is invalidpublic Socket createLayeredSocket(Socket socket, + String host, + int port, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException+
SchemeLayeredSocketFactory
createLayeredSocket
in interface SchemeLayeredSocketFactory
socket
- the existing sockethost
- the name of the target host.port
- the port to connect to on the target hostparams
- HTTP parametersIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedpublic Socket createLayeredSocket(Socket socket, + String host, + int port, + boolean autoClose) + throws IOException, + UnknownHostException+
LayeredSchemeSocketFactory
createLayeredSocket
in interface LayeredSchemeSocketFactory
socket
- the existing sockethost
- the name of the target host.port
- the port to connect to on the target hostautoClose
- a flag for closing the underling socket when the created
+ socket is closedIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedpublic void setHostnameVerifier(X509HostnameVerifier hostnameVerifier)+
public X509HostnameVerifier getHostnameVerifier()+
public Socket connectSocket(Socket socket, + String host, + int port, + InetAddress local, + int localPort, + org.apache.http.params.HttpParams params) + throws IOException, + UnknownHostException, + ConnectTimeoutException+
SocketFactory
connectSocket
in interface SocketFactory
socket
- the socket to connect, as obtained from
+ createSocket
.
+ null
indicates that a new socket
+ should be created and connected.host
- the host to connect toport
- the port to connect to on the hostlocal
- the local address to bind the socket to, or
+ null
for anylocalPort
- the port on the local machine,
+ 0 or a negative number for anyparams
- additional parameters
for connectingsock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occursUnknownHostException
- if the IP address of the target host
+ can not be determinedConnectTimeoutException
- if the socket cannot be connected
+ within the time limit defined in the params
public Socket createSocket(Socket socket, + String host, + int port, + boolean autoClose) + throws IOException, + UnknownHostException+
LayeredSocketFactory
createSocket
in interface LayeredSocketFactory
socket
- the existing sockethost
- the host name/IPport
- the port on the hostautoClose
- a flag for closing the underling socket when the created
+ socket is closedIOException
- if an I/O error occurs while creating the socketUnknownHostException
- if the IP address of the host cannot be
+ determinedprotected void prepareSocket(SSLSocket socket) + throws IOException+
SSLSocket.setEnabledCipherSuites(java.lang.String[])
.IOException
- (only if overridden)public Socket createSocket(org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
method.createSocket
in interface ConnectionSocketFactory
IOException
- if an I/O error occurs while creating the socketpublic Socket connectSocket(int connectTimeout, + Socket socket, + org.apache.http.HttpHost host, + InetSocketAddress remoteAddress, + InetSocketAddress localAddress, + org.apache.http.protocol.HttpContext context) + throws IOException+
ConnectionSocketFactory
connectSocket
in interface ConnectionSocketFactory
connectTimeout
- connect timeout.socket
- the socket to connect, as obtained from ConnectionSocketFactory.createSocket(HttpContext)
.
+ null
indicates that a new socket should be created and connected.host
- target host as specified by the caller (end user).remoteAddress
- the resolved remote address to connect to.localAddress
- the local address to bind the socket to, or null
for any.context
- the actual HTTP context.sock
argument if this factory supports
+ a layered protocol.IOException
- if an I/O error occurspublic Socket createLayeredSocket(Socket socket, + String target, + int port, + org.apache.http.protocol.HttpContext context) + throws IOException+
LayeredConnectionSocketFactory
createLayeredSocket
in interface LayeredConnectionSocketFactory
socket
- the existing sockettarget
- the name of the target host.port
- the port to connect to on the target host.context
- the actual HTTP context.IOException
- if an I/O error occurs while creating the socketCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/StrictHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/StrictHostnameVerifier.html new file mode 100644 index 0000000..f4150c5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/StrictHostnameVerifier.html @@ -0,0 +1,380 @@ + + + + + + +DefaultHostnameVerifier
@Contract(threading=IMMUTABLE) +@Deprecated +public class StrictHostnameVerifier +extends AbstractVerifier+
+ The hostname must match either the first CN, or any of the subject-alts. + A wildcard can occur in the CN, and in any of the subject-alts. The + one divergence from IE6 is how we only check the first CN. IE6 allows + a match against any of the CNs present. We decided to follow in + Sun Java 1.4's footsteps and only check the first CN. (If you need + to check all the CN's, feel free to write your own implementation!). +
++ A wildcard such as "*.foo.com" matches only subdomains in the same + level, for example "a.foo.com". It does not match deeper subdomains + such as "a.b.foo.com". +
Modifier and Type | +Field and Description | +
---|---|
static StrictHostnameVerifier |
+INSTANCE
+Deprecated.
+ |
+
Constructor and Description | +
---|
StrictHostnameVerifier()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString()
+Deprecated.
+ |
+
void |
+verify(String host,
+ String[] cns,
+ String[] subjectAlts)
+Deprecated.
+Checks to see if the supplied hostname matches any of the supplied CNs
+ or "DNS" Subject-Alts.
+ |
+
acceptableCountryWildcard, countDots, getCNs, getDNSSubjectAlts, verify, verify, verify, verify
public static final StrictHostnameVerifier INSTANCE+
public StrictHostnameVerifier()+
public final void verify(String host, + String[] cns, + String[] subjectAlts) + throws SSLException+
X509HostnameVerifier
host
- The hostname to verify.cns
- CN fields, in order, as extracted from the X.509
+ certificate.subjectAlts
- Subject-Alt fields of type 2 ("DNS"), as extracted
+ from the X.509 certificate.SSLException
- if the verification process fails.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustAllStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustAllStrategy.html new file mode 100644 index 0000000..763d46b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustAllStrategy.html @@ -0,0 +1,312 @@ + + + + + + +public class TrustAllStrategy +extends Object +implements TrustStrategy+
Modifier and Type | +Field and Description | +
---|---|
static TrustAllStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
TrustAllStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+isTrusted(X509Certificate[] chain,
+ String authType) |
+
public static final TrustAllStrategy INSTANCE+
public boolean isTrusted(X509Certificate[] chain, + String authType) + throws CertificateException+
isTrusted
in interface org.apache.http.ssl.TrustStrategy
CertificateException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustSelfSignedStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustSelfSignedStrategy.html new file mode 100644 index 0000000..9f348a4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustSelfSignedStrategy.html @@ -0,0 +1,311 @@ + + + + + + +public class TrustSelfSignedStrategy +extends Object +implements TrustStrategy+
Modifier and Type | +Field and Description | +
---|---|
static TrustSelfSignedStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
TrustSelfSignedStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+isTrusted(X509Certificate[] chain,
+ String authType) |
+
public static final TrustSelfSignedStrategy INSTANCE+
public TrustSelfSignedStrategy()+
public boolean isTrusted(X509Certificate[] chain, + String authType) + throws CertificateException+
isTrusted
in interface org.apache.http.ssl.TrustStrategy
CertificateException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustStrategy.html new file mode 100644 index 0000000..eb1b81d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/TrustStrategy.html @@ -0,0 +1,191 @@ + + + + + + +public interface TrustStrategy
+extends org.apache.http.ssl.TrustStrategy
+Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/X509HostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/X509HostnameVerifier.html new file mode 100644 index 0000000..90979c5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/X509HostnameVerifier.html @@ -0,0 +1,307 @@ + + + + + + +HostnameVerifier
.@Deprecated +public interface X509HostnameVerifier +extends HostnameVerifier+
HostnameVerifier
, but it is recommended to use
+ methods added by X509HostnameVerifier.Modifier and Type | +Method and Description | +
---|---|
void |
+verify(String host,
+ SSLSocket ssl)
+Deprecated.
+Verifies that the host name is an acceptable match with the server's
+ authentication scheme based on the given
+SSLSocket . |
+
void |
+verify(String host,
+ String[] cns,
+ String[] subjectAlts)
+Deprecated.
+Checks to see if the supplied hostname matches any of the supplied CNs
+ or "DNS" Subject-Alts.
+ |
+
void |
+verify(String host,
+ X509Certificate cert)
+Deprecated.
+Verifies that the host name is an acceptable match with the server's
+ authentication scheme based on the given
+X509Certificate . |
+
verify
void verify(String host, + SSLSocket ssl) + throws IOException+
SSLSocket
.host
- the host.ssl
- the SSL socket.IOException
- if an I/O error occurs or the verification process
+ fails.void verify(String host, + X509Certificate cert) + throws SSLException+
X509Certificate
.host
- the host.cert
- the certificate.SSLException
- if the verification process fails.void verify(String host, + String[] cns, + String[] subjectAlts) + throws SSLException+
cns
- CN fields, in order, as extracted from the X.509
+ certificate.subjectAlts
- Subject-Alt fields of type 2 ("DNS"), as extracted
+ from the X.509 certificate.host
- The hostname to verify.SSLException
- if the verification process fails.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AbstractVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AbstractVerifier.html new file mode 100644 index 0000000..677d8a4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AbstractVerifier.html @@ -0,0 +1,179 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AllowAllHostnameVerifier
+Deprecated.
+
+(4.4) Use
+NoopHostnameVerifier |
+
class |
+BrowserCompatHostnameVerifier
+Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
class |
+StrictHostnameVerifier
+Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AllowAllHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AllowAllHostnameVerifier.html new file mode 100644 index 0000000..d064fd2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/AllowAllHostnameVerifier.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static AllowAllHostnameVerifier |
+AllowAllHostnameVerifier.INSTANCE
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/BrowserCompatHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/BrowserCompatHostnameVerifier.html new file mode 100644 index 0000000..9d1978b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/BrowserCompatHostnameVerifier.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static BrowserCompatHostnameVerifier |
+BrowserCompatHostnameVerifier.INSTANCE
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/DefaultHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/DefaultHostnameVerifier.html new file mode 100644 index 0000000..738067a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/DefaultHostnameVerifier.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/NoopHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/NoopHostnameVerifier.html new file mode 100644 index 0000000..db275a0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/NoopHostnameVerifier.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static NoopHostnameVerifier |
+NoopHostnameVerifier.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyDetails.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyDetails.html new file mode 100644 index 0000000..d9f2978 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyDetails.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+PrivateKeyStrategy.chooseAlias(Map<String,PrivateKeyDetails> aliases,
+ Socket socket)
+Deprecated.
+Determines what key material to use for SSL authentication.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyStrategy.html new file mode 100644 index 0000000..4915740 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/PrivateKeyStrategy.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SSLContextBuilder |
+SSLContextBuilder.loadKeyMaterial(KeyStore keystore,
+ char[] keyPassword,
+ PrivateKeyStrategy aliasStrategy)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLConnectionSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLConnectionSocketFactory.html new file mode 100644 index 0000000..265e8c4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLConnectionSocketFactory.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SSLConnectionSocketFactory |
+SSLConnectionSocketFactory.getSocketFactory()
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLConnectionSocketFactory |
+SSLConnectionSocketFactory.getSystemSocketFactory()
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ Java™ Secure Socket Extension (JSSE) Reference Guide.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContextBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContextBuilder.html new file mode 100644 index 0000000..57eae38 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContextBuilder.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SSLContextBuilder |
+SSLContexts.custom()
+Deprecated.
+Creates custom SSL context.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.loadKeyMaterial(KeyStore keystore,
+ char[] keyPassword)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.loadKeyMaterial(KeyStore keystore,
+ char[] keyPassword,
+ PrivateKeyStrategy aliasStrategy)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.loadTrustMaterial(KeyStore truststore)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.loadTrustMaterial(KeyStore truststore,
+ TrustStrategy trustStrategy)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.setSecureRandom(SecureRandom secureRandom)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.useProtocol(String protocol)
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.useSSL()
+Deprecated.
+ |
+
SSLContextBuilder |
+SSLContextBuilder.useTLS()
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContexts.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContexts.html new file mode 100644 index 0000000..2768aeb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLContexts.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLInitializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLInitializationException.html new file mode 100644 index 0000000..9556a1a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLInitializationException.html @@ -0,0 +1,205 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SSLContext |
+SSLContexts.createDefault()
+Deprecated.
+Creates default factory based on the standard JSSE trust material
+ (
+cacerts file in the security properties directory). |
+
static SSLContext |
+SSLContexts.createSystemDefault()
+Deprecated.
+Creates default SSL context based on system properties.
+ |
+
static SSLConnectionSocketFactory |
+SSLConnectionSocketFactory.getSocketFactory()
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLSocketFactory |
+SSLSocketFactory.getSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLConnectionSocketFactory |
+SSLConnectionSocketFactory.getSystemSocketFactory()
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ Java™ Secure Socket Extension (JSSE) Reference Guide.
+ |
+
static SSLSocketFactory |
+SSLSocketFactory.getSystemSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform
+ Standard Edition 5
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLSocketFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLSocketFactory.html new file mode 100644 index 0000000..84b6936 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/SSLSocketFactory.html @@ -0,0 +1,174 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SSLSocketFactory |
+SSLSocketFactory.getSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on the standard JSSE
+ trust material (
+cacerts file in the security properties directory). |
+
static SSLSocketFactory |
+SSLSocketFactory.getSystemSocketFactory()
+Deprecated.
+Obtains default SSL socket factory with an SSL context based on system properties
+ as described in
+
+ "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform
+ Standard Edition 5
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/StrictHostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/StrictHostnameVerifier.html new file mode 100644 index 0000000..0fd1624 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/StrictHostnameVerifier.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static StrictHostnameVerifier |
+StrictHostnameVerifier.INSTANCE
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustAllStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustAllStrategy.html new file mode 100644 index 0000000..5da55dc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustAllStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static TrustAllStrategy |
+TrustAllStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustSelfSignedStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustSelfSignedStrategy.html new file mode 100644 index 0000000..7ccd257 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustSelfSignedStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static TrustSelfSignedStrategy |
+TrustSelfSignedStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustStrategy.html new file mode 100644 index 0000000..d9ae4c9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/TrustStrategy.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SSLContextBuilder |
+SSLContextBuilder.loadTrustMaterial(KeyStore truststore,
+ TrustStrategy trustStrategy)
+Deprecated.
+ |
+
Constructor and Description | +
---|
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(TrustStrategy trustStrategy)
+Deprecated.
+ |
+
SSLSocketFactory(TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/X509HostnameVerifier.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/X509HostnameVerifier.html new file mode 100644 index 0000000..8e04606 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/class-use/X509HostnameVerifier.html @@ -0,0 +1,400 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractVerifier
+Deprecated.
+
+(4.4) use an implementation of
+HostnameVerifier or
+ DefaultHostnameVerifier . |
+
class |
+AllowAllHostnameVerifier
+Deprecated.
+
+(4.4) Use
+NoopHostnameVerifier |
+
class |
+BrowserCompatHostnameVerifier
+Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
class |
+StrictHostnameVerifier
+Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
Modifier and Type | +Field and Description | +
---|---|
static X509HostnameVerifier |
+SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static X509HostnameVerifier |
+SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
static X509HostnameVerifier |
+SSLConnectionSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static X509HostnameVerifier |
+SSLSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
static X509HostnameVerifier |
+SSLConnectionSocketFactory.STRICT_HOSTNAME_VERIFIER
+Deprecated.
+
+
+ |
+
static X509HostnameVerifier |
+SSLSocketFactory.STRICT_HOSTNAME_VERIFIER
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
X509HostnameVerifier |
+SSLSocketFactory.getHostnameVerifier()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+SSLSocketFactory.setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
Constructor and Description | +
---|
SSLConnectionSocketFactory(SSLContext sslContext,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLConnectionSocketFactory(SSLContext sslContext,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLConnectionSocketFactory(SSLSocketFactory socketfactory,
+ X509HostnameVerifier hostnameVerifier)
+
+ |
+
SSLSocketFactory(SSLContext sslContext,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLContext sslContext,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLSocketFactory socketfactory,
+ String[] supportedProtocols,
+ String[] supportedCipherSuites,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(SSLSocketFactory socketfactory,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(String algorithm,
+ KeyStore keystore,
+ String keyPassword,
+ KeyStore truststore,
+ SecureRandom random,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
SSLSocketFactory(TrustStrategy trustStrategy,
+ X509HostnameVerifier hostnameVerifier)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
+Deprecated.
+
+(4.4)
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-frame.html new file mode 100644 index 0000000..7a657a9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +Interface | +Description | +
---|---|
PrivateKeyStrategy | +Deprecated
+ (4.4) use
+PrivateKeyStrategy . |
+
TrustStrategy | +
+ A strategy to establish trustworthiness of certificates without consulting
+ the trust manager configured in the actual SSL context.
+ |
+
X509HostnameVerifier | +Deprecated
+ (4.4) Use
+HostnameVerifier . |
+
Class | +Description | +
---|---|
AbstractVerifier | +Deprecated
+ (4.4) use an implementation of
+HostnameVerifier or
+ DefaultHostnameVerifier . |
+
AllowAllHostnameVerifier | +Deprecated
+ (4.4) Use
+NoopHostnameVerifier |
+
BrowserCompatHostnameVerifier | +Deprecated
+ (4.4) Use
+DefaultHostnameVerifier |
+
DefaultHostnameVerifier | +
+ Default
+HostnameVerifier implementation. |
+
NoopHostnameVerifier | +
+ The NO_OP HostnameVerifier essentially turns hostname verification
+ off.
+ |
+
PrivateKeyDetails | +Deprecated
+ (4.4) use
+PrivateKeyDetails . |
+
SSLConnectionSocketFactory | +
+ Layered socket factory for TLS/SSL connections.
+ |
+
SSLContextBuilder | +Deprecated
+ (4.4) use
+SSLContextBuilder . |
+
SSLContexts | +Deprecated
+ (4.4) use
+SSLContexts . |
+
SSLSocketFactory | +Deprecated
+ (4.3) use
+SSLConnectionSocketFactory . |
+
StrictHostnameVerifier | +Deprecated
+ (4.4) Use
+DefaultHostnameVerifier |
+
TrustAllStrategy | +
+ A trust strategy that accepts all certificates as trusted.
+ |
+
TrustSelfSignedStrategy | +
+ A trust strategy that accepts self-signed certificates as trusted.
+ |
+
Exception | +Description | +
---|---|
SSLInitializationException | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-tree.html new file mode 100644 index 0000000..3b235f9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-tree.html @@ -0,0 +1,176 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-use.html new file mode 100644 index 0000000..69191a3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/ssl/package-use.html @@ -0,0 +1,268 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Class and Description | +
---|
AbstractVerifier
+ Deprecated.
+
+(4.4) use an implementation of
+HostnameVerifier or
+ DefaultHostnameVerifier . |
+
AllowAllHostnameVerifier
+ Deprecated.
+
+(4.4) Use
+NoopHostnameVerifier |
+
BrowserCompatHostnameVerifier
+ Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
NoopHostnameVerifier
+ The NO_OP HostnameVerifier essentially turns hostname verification
+ off.
+ |
+
PrivateKeyDetails
+ Deprecated.
+
+(4.4) use
+PrivateKeyDetails . |
+
PrivateKeyStrategy
+ Deprecated.
+
+(4.4) use
+PrivateKeyStrategy . |
+
SSLConnectionSocketFactory
+ Layered socket factory for TLS/SSL connections.
+ |
+
SSLContextBuilder
+ Deprecated.
+
+(4.4) use
+SSLContextBuilder . |
+
SSLInitializationException | +
SSLSocketFactory
+ Deprecated.
+
+(4.3) use
+SSLConnectionSocketFactory . |
+
StrictHostnameVerifier
+ Deprecated.
+
+(4.4) Use
+DefaultHostnameVerifier |
+
TrustAllStrategy
+ A trust strategy that accepts all certificates as trusted.
+ |
+
TrustSelfSignedStrategy
+ A trust strategy that accepts self-signed certificates as trusted.
+ |
+
TrustStrategy
+ A strategy to establish trustworthiness of certificates without consulting
+ the trust manager configured in the actual SSL context.
+ |
+
X509HostnameVerifier
+ Deprecated.
+
+(4.4) Use
+HostnameVerifier . |
+
Class and Description | +
---|
X509HostnameVerifier
+ Deprecated.
+
+(4.4) Use
+HostnameVerifier . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DnsUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DnsUtils.html new file mode 100644 index 0000000..451a067 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DnsUtils.html @@ -0,0 +1,227 @@ + + + + + + +public class DnsUtils +extends Object+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DomainType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DomainType.html new file mode 100644 index 0000000..e48d717 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/DomainType.html @@ -0,0 +1,336 @@ + + + + + + +public enum DomainType +extends Enum<DomainType>+
Enum Constant and Description | +
---|
ICANN |
+
PRIVATE |
+
UNKNOWN |
+
Modifier and Type | +Method and Description | +
---|---|
static DomainType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DomainType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DomainType UNKNOWN+
public static final DomainType ICANN+
public static final DomainType PRIVATE+
public static DomainType[] values()+
+for (DomainType c : DomainType.values()) + System.out.println(c); +
public static DomainType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/InetAddressUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/InetAddressUtils.html new file mode 100644 index 0000000..022436e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/InetAddressUtils.html @@ -0,0 +1,299 @@ + + + + + + +public class InetAddressUtils +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+isIPv4Address(String input)
+Checks whether the parameter is a valid IPv4 address
+ |
+
static boolean |
+isIPv4MappedIPv64Address(String input) |
+
static boolean |
+isIPv6Address(String input)
+Checks whether the parameter is a valid IPv6 address (including compressed).
+ |
+
static boolean |
+isIPv6HexCompressedAddress(String input)
+Checks whether the parameter is a valid compressed IPv6 address
+ |
+
static boolean |
+isIPv6StdAddress(String input)
+Checks whether the parameter is a valid standard (non-compressed) IPv6 address
+ |
+
public static boolean isIPv4Address(String input)+
input
- the address string to check for validitypublic static boolean isIPv4MappedIPv64Address(String input)+
public static boolean isIPv6StdAddress(String input)+
input
- the address string to check for validitypublic static boolean isIPv6HexCompressedAddress(String input)+
input
- the address string to check for validitypublic static boolean isIPv6Address(String input)+
input
- the address string to check for validityCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixList.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixList.html new file mode 100644 index 0000000..a2cf30d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixList.html @@ -0,0 +1,314 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class PublicSuffixList +extends Object+
+ An up-to-date list of suffixes can be obtained from + publicsuffix.org
Constructor and Description | +
---|
PublicSuffixList(DomainType type,
+ List<String> rules,
+ List<String> exceptions) |
+
PublicSuffixList(List<String> rules,
+ List<String> exceptions) |
+
Modifier and Type | +Method and Description | +
---|---|
List<String> |
+getExceptions() |
+
List<String> |
+getRules() |
+
DomainType |
+getType() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixListParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixListParser.html new file mode 100644 index 0000000..845621f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixListParser.html @@ -0,0 +1,297 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class PublicSuffixListParser +extends Object+
Constructor and Description | +
---|
PublicSuffixListParser() |
+
Modifier and Type | +Method and Description | +
---|---|
PublicSuffixList |
+parse(Reader reader)
+Parses the public suffix list format.
+ |
+
List<PublicSuffixList> |
+parseByType(Reader reader)
+Parses the public suffix list format by domain type (currently supported ICANN and PRIVATE).
+ |
+
public PublicSuffixListParser()+
public PublicSuffixList parse(Reader reader) + throws IOException+
+ When creating the reader from the file, make sure to use the correct encoding + (the original list is in UTF-8).
reader
- the data reader. The caller is responsible for closing the reader.IOException
- on error while reading from listpublic List<PublicSuffixList> parseByType(Reader reader) + throws IOException+
+ When creating the reader from the file, make sure to use the correct encoding + (the original list is in UTF-8).
reader
- the data reader. The caller is responsible for closing the reader.IOException
- on error while reading from listCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcher.html new file mode 100644 index 0000000..e332ab1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcher.html @@ -0,0 +1,367 @@ + + + + + + +@Contract(threading=SAFE) +public final class PublicSuffixMatcher +extends Object+
+ An up-to-date list of suffixes can be obtained from + publicsuffix.org
PublicSuffixList
Constructor and Description | +
---|
PublicSuffixMatcher(Collection<PublicSuffixList> lists) |
+
PublicSuffixMatcher(Collection<String> rules,
+ Collection<String> exceptions) |
+
PublicSuffixMatcher(DomainType domainType,
+ Collection<String> rules,
+ Collection<String> exceptions) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getDomainRoot(String domain)
+Returns registrable part of the domain for the given domain name or
+null
+ if given domain represents a public suffix. |
+
String |
+getDomainRoot(String domain,
+ DomainType expectedType)
+Returns registrable part of the domain for the given domain name or
+null
+ if given domain represents a public suffix. |
+
boolean |
+matches(String domain)
+Tests whether the given domain matches any of entry from the public suffix list.
+ |
+
boolean |
+matches(String domain,
+ DomainType expectedType)
+Tests whether the given domain matches any of entry from the public suffix list.
+ |
+
public PublicSuffixMatcher(Collection<String> rules, + Collection<String> exceptions)+
public PublicSuffixMatcher(DomainType domainType, + Collection<String> rules, + Collection<String> exceptions)+
public PublicSuffixMatcher(Collection<PublicSuffixList> lists)+
public String getDomainRoot(String domain)+
null
+ if given domain represents a public suffix.domain
- public String getDomainRoot(String domain, + DomainType expectedType)+
null
+ if given domain represents a public suffix.domain
- expectedType
- expected domain type or null
if any.public boolean matches(String domain)+
public boolean matches(String domain, + DomainType expectedType)+
domain
- expectedType
- expected domain type or null
if any.true
if the given domain matches any of the public suffixes.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcherLoader.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcherLoader.html new file mode 100644 index 0000000..f6c148b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/PublicSuffixMatcherLoader.html @@ -0,0 +1,294 @@ + + + + + + +@Contract(threading=SAFE) +public final class PublicSuffixMatcherLoader +extends Object+
PublicSuffixMatcher
loader.Constructor and Description | +
---|
PublicSuffixMatcherLoader() |
+
Modifier and Type | +Method and Description | +
---|---|
static PublicSuffixMatcher |
+getDefault() |
+
static PublicSuffixMatcher |
+load(File file) |
+
static PublicSuffixMatcher |
+load(URL url) |
+
public PublicSuffixMatcherLoader()+
public static PublicSuffixMatcher load(URL url) + throws IOException+
IOException
public static PublicSuffixMatcher load(File file) + throws IOException+
IOException
public static PublicSuffixMatcher getDefault()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DnsUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DnsUtils.html new file mode 100644 index 0000000..5cd9178 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DnsUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DomainType.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DomainType.html new file mode 100644 index 0000000..7397b1c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/DomainType.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.util | +
+ Connection utility classes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
DomainType |
+PublicSuffixList.getType() |
+
static DomainType |
+DomainType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DomainType[] |
+DomainType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+PublicSuffixMatcher.getDomainRoot(String domain,
+ DomainType expectedType)
+Returns registrable part of the domain for the given domain name or
+null
+ if given domain represents a public suffix. |
+
boolean |
+PublicSuffixMatcher.matches(String domain,
+ DomainType expectedType)
+Tests whether the given domain matches any of entry from the public suffix list.
+ |
+
Constructor and Description | +
---|
PublicSuffixList(DomainType type,
+ List<String> rules,
+ List<String> exceptions) |
+
PublicSuffixMatcher(DomainType domainType,
+ Collection<String> rules,
+ Collection<String> exceptions) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/InetAddressUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/InetAddressUtils.html new file mode 100644 index 0000000..7e2d5a1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/InetAddressUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixList.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixList.html new file mode 100644 index 0000000..b3acc91 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixList.html @@ -0,0 +1,211 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.util | +
+ Connection utility classes.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PublicSuffixList |
+PublicSuffixListParser.parse(Reader reader)
+Parses the public suffix list format.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<PublicSuffixList> |
+PublicSuffixListParser.parseByType(Reader reader)
+Parses the public suffix list format by domain type (currently supported ICANN and PRIVATE).
+ |
+
Constructor and Description | +
---|
PublicSuffixMatcher(Collection<PublicSuffixList> lists) |
+
Constructor and Description | +
---|
PublicSuffixDomainFilter(CommonCookieAttributeHandler handler,
+ PublicSuffixList suffixList) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixListParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixListParser.html new file mode 100644 index 0000000..b4209d3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixListParser.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcher.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcher.html new file mode 100644 index 0000000..e68a36a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcher.html @@ -0,0 +1,299 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.conn.util | +
+ Connection utility classes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Constructor and Description | +
---|
DefaultHostnameVerifier(PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
static PublicSuffixMatcher |
+PublicSuffixMatcherLoader.getDefault() |
+
static PublicSuffixMatcher |
+PublicSuffixMatcherLoader.load(File file) |
+
static PublicSuffixMatcher |
+PublicSuffixMatcherLoader.load(URL url) |
+
Modifier and Type | +Method and Description | +
---|---|
static org.apache.http.config.Lookup<CookieSpecProvider> |
+CookieSpecRegistries.createDefault(PublicSuffixMatcher publicSuffixMatcher)
+Creates the default registry with the provided public suffix matcher
+ |
+
static org.apache.http.config.RegistryBuilder<CookieSpecProvider> |
+CookieSpecRegistries.createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)
+Creates a builder containing the default registry entries, using the provided public suffix matcher.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)
+Assigns file containing public suffix matcher.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static CommonCookieAttributeHandler |
+PublicSuffixDomainFilter.decorate(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcherLoader.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcherLoader.html new file mode 100644 index 0000000..4b32eef --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/class-use/PublicSuffixMatcherLoader.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-frame.html new file mode 100644 index 0000000..d044999 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Class | +Description | +
---|---|
DnsUtils | +
+ A collection of utilities relating to Domain Name System.
+ |
+
InetAddressUtils | +
+ A collection of utilities relating to InetAddresses.
+ |
+
PublicSuffixList | +
+ Public suffix is a set of DNS names or wildcards concatenated with dots.
+ |
+
PublicSuffixListParser | +
+ Parses the list from publicsuffix.org
+ and configures a PublicSuffixFilter.
+ |
+
PublicSuffixMatcher | +
+ Utility class that can test if DNS names match the content of the Public Suffix List.
+ |
+
PublicSuffixMatcherLoader | +
+PublicSuffixMatcher loader. |
+
Enum | +Description | +
---|---|
DomainType | +
+ Domain types differentiated by Mozilla Public Suffix List.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-tree.html new file mode 100644 index 0000000..49a10eb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-use.html new file mode 100644 index 0000000..862338b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/conn/util/package-use.html @@ -0,0 +1,239 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.conn.util | +
+ Connection utility classes.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Class and Description | +
---|
PublicSuffixMatcher
+ Utility class that can test if DNS names match the content of the Public Suffix List.
+ |
+
Class and Description | +
---|
DomainType
+ Domain types differentiated by Mozilla Public Suffix List.
+ |
+
PublicSuffixList
+ Public suffix is a set of DNS names or wildcards concatenated with dots.
+ |
+
PublicSuffixMatcher
+ Utility class that can test if DNS names match the content of the Public Suffix List.
+ |
+
Class and Description | +
---|
PublicSuffixMatcher
+ Utility class that can test if DNS names match the content of the Public Suffix List.
+ |
+
Class and Description | +
---|
PublicSuffixList
+ Public suffix is a set of DNS names or wildcards concatenated with dots.
+ |
+
PublicSuffixMatcher
+ Utility class that can test if DNS names match the content of the Public Suffix List.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/ClientCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/ClientCookie.html new file mode 100644 index 0000000..94d57bd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/ClientCookie.html @@ -0,0 +1,417 @@ + + + + + + +public interface ClientCookie +extends Cookie+
Cookie
interface with
+ additional client specific functionality such ability to retrieve
+ original cookie attributes exactly as they were specified by the
+ origin server. This is important for generating the Cookie
+ header because some cookie specifications require that the
+ Cookie
header should include certain attributes only if
+ they were specified in the Set-Cookie
header.
+ + Please do not use attributes marked as @Obsolete. They have been rendered + obsolete by RFC 6265.
Modifier and Type | +Field and Description | +
---|---|
static String |
+COMMENT_ATTR |
+
static String |
+COMMENTURL_ATTR |
+
static String |
+DISCARD_ATTR |
+
static String |
+DOMAIN_ATTR |
+
static String |
+EXPIRES_ATTR |
+
static String |
+MAX_AGE_ATTR |
+
static String |
+PATH_ATTR |
+
static String |
+PORT_ATTR |
+
static String |
+SECURE_ATTR |
+
static String |
+VERSION_ATTR |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+containsAttribute(String name) |
+
String |
+getAttribute(String name) |
+
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
@Obsolete +static final String VERSION_ATTR+
static final String PATH_ATTR+
static final String DOMAIN_ATTR+
static final String MAX_AGE_ATTR+
static final String SECURE_ATTR+
@Obsolete +static final String COMMENT_ATTR+
static final String EXPIRES_ATTR+
@Obsolete +static final String PORT_ATTR+
@Obsolete +static final String COMMENTURL_ATTR+
@Obsolete +static final String DISCARD_ATTR+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CommonCookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CommonCookieAttributeHandler.html new file mode 100644 index 0000000..b8b3888 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CommonCookieAttributeHandler.html @@ -0,0 +1,229 @@ + + + + + + +public interface CommonCookieAttributeHandler +extends CookieAttributeHandler+
CookieAttributeHandler
intended
+ to handle one specific common attribute whose name is returned with
+ getAttributeName()
method.Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
match, parse, validate
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/Cookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/Cookie.html new file mode 100644 index 0000000..71f3735 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/Cookie.html @@ -0,0 +1,438 @@ + + + + + + +public interface Cookie
++ Please do not use attributes marked as @Obsolete. They have been rendered + obsolete by RFC 6265.
Modifier and Type | +Method and Description | +
---|---|
String |
+getComment()
+Returns the comment describing the purpose of this cookie, or
+
+null if no such comment has been defined. |
+
String |
+getCommentURL()
+If a user agent (web browser) presents this cookie to a user, the
+ cookie's purpose will be described by the information at this URL.
+ |
+
String |
+getDomain()
+Returns domain attribute of the cookie.
+ |
+
Date |
+getExpiryDate()
+Returns the expiration
+Date of the cookie, or null
+ if none exists. |
+
String |
+getName()
+Returns the name.
+ |
+
String |
+getPath()
+Returns the path attribute of the cookie.
+ |
+
int[] |
+getPorts()
+Get the Port attribute.
+ |
+
String |
+getValue()
+Returns the value.
+ |
+
int |
+getVersion()
+Returns the version of the cookie specification to which this
+ cookie conforms.
+ |
+
boolean |
+isExpired(Date date)
+Returns true if this cookie has expired.
+ |
+
boolean |
+isPersistent()
+Returns
+false if the cookie should be discarded at the end
+ of the "session"; true otherwise. |
+
boolean |
+isSecure()
+Indicates whether this cookie requires a secure connection.
+ |
+
String getName()+
String getValue()+
@Obsolete +String getComment()+
null
if no such comment has been defined.@Obsolete +String getCommentURL()+
Date getExpiryDate()+
Date
of the cookie, or null
+ if none exists.
+ Note: the object returned by this method is + considered immutable. Changing it (e.g. using setTime()) could result + in undefined behaviour. Do so at your peril.
Date
, or null
.boolean isPersistent()+
false
if the cookie should be discarded at the end
+ of the "session"; true
otherwise.false
if the cookie should be discarded at the end
+ of the "session"; true
otherwiseString getDomain()+
String getPath()+
@Obsolete +int[] getPorts()+
boolean isSecure()+
true
if this cookie should only be sent
+ over secure connections, false
otherwise.@Obsolete +int getVersion()+
boolean isExpired(Date date)+
date
- Current timetrue
if the cookie has expired.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieAttributeHandler.html new file mode 100644 index 0000000..90551d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieAttributeHandler.html @@ -0,0 +1,280 @@ + + + + + + +public interface CookieAttributeHandler
+Modifier and Type | +Method and Description | +
---|---|
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
Cookie
property.cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributeboolean match(Cookie cookie, + CookieOrigin origin)+
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieIdentityComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieIdentityComparator.html new file mode 100644 index 0000000..bcd5697 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieIdentityComparator.html @@ -0,0 +1,284 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class CookieIdentityComparator +extends Object +implements Serializable, Comparator<Cookie>+
+ Cookies are considered identical if their names are equal and + their domain attributes match ignoring case.
Constructor and Description | +
---|
CookieIdentityComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Cookie c1,
+ Cookie c2) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieOrigin.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieOrigin.html new file mode 100644 index 0000000..ad04a96 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieOrigin.html @@ -0,0 +1,325 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class CookieOrigin +extends Object+
Constructor and Description | +
---|
CookieOrigin(String host,
+ int port,
+ String path,
+ boolean secure) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePathComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePathComparator.html new file mode 100644 index 0000000..fc98cfc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePathComparator.html @@ -0,0 +1,326 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class CookiePathComparator +extends Object +implements Serializable, Comparator<Cookie>+
Cookie
header such
+ that those with more specific Path attributes precede those with
+ less specific.
+
+ + This comparator assumes that Path attributes of two cookies + path-match a commmon request-URI. Otherwise, the result of the + comparison is undefined. +
Modifier and Type | +Field and Description | +
---|---|
static CookiePathComparator |
+INSTANCE |
+
Constructor and Description | +
---|
CookiePathComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Cookie c1,
+ Cookie c2) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final CookiePathComparator INSTANCE+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePriorityComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePriorityComparator.html new file mode 100644 index 0000000..a891e6c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookiePriorityComparator.html @@ -0,0 +1,318 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class CookiePriorityComparator +extends Object +implements Comparator<Cookie>+
Modifier and Type | +Field and Description | +
---|---|
static CookiePriorityComparator |
+INSTANCE |
+
Constructor and Description | +
---|
CookiePriorityComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Cookie c1,
+ Cookie c2) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final CookiePriorityComparator INSTANCE+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieRestrictionViolationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieRestrictionViolationException.html new file mode 100644 index 0000000..42d60bb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieRestrictionViolationException.html @@ -0,0 +1,294 @@ + + + + + + +public class CookieRestrictionViolationException +extends MalformedCookieException+
Constructor and Description | +
---|
CookieRestrictionViolationException()
+Creates a new CookeFormatViolationException with a
+null detail
+ message. |
+
CookieRestrictionViolationException(String message)
+Creates a new CookeRestrictionViolationException with a specified
+ message string.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CookieRestrictionViolationException()+
null
detail
+ message.public CookieRestrictionViolationException(String message)+
message
- The exception detail messageCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpec.html new file mode 100644 index 0000000..4fa8e13 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpec.html @@ -0,0 +1,343 @@ + + + + + + +public interface CookieSpec
+Cookie management specification must define +
+ Please do not use methods marked as @Obsolete. They have been rendered + obsolete by RFC 6265.
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
@Obsolete +int getVersion()+
List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingvalidate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidboolean match(Cookie cookie, + CookieOrigin origin)+
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
"Cookie"
headers for an array of Cookies.cookies
- the Cookies format into a Cookie headerIllegalArgumentException
- if an input parameter is illegal@Obsolete +org.apache.http.Header getVersionHeader()+
null
if the cookie
+ specification does not support Cookie2
header.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecFactory.html new file mode 100644 index 0000000..de52971 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecFactory.html @@ -0,0 +1,226 @@ + + + + + + +CookieSpecProvider
@Deprecated +public interface CookieSpecFactory+
CookieSpec
implementations.Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpec
using given HTTP parameters.params
- HTTP parameters.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecProvider.html new file mode 100644 index 0000000..0991aaf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecProvider.html @@ -0,0 +1,219 @@ + + + + + + +public interface CookieSpecProvider
+CookieSpec
implementations.Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpec
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecRegistry.html new file mode 100644 index 0000000..2ed3d4b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/CookieSpecRegistry.html @@ -0,0 +1,420 @@ + + + + + + +Registry
.@Contract(threading=SAFE) +@Deprecated +public final class CookieSpecRegistry +extends Object +implements org.apache.http.config.Lookup<CookieSpecProvider>+
Constructor and Description | +
---|
CookieSpecRegistry()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+getCookieSpec(String name)
+Deprecated.
+Gets the
+cookie specification with the given name. |
+
CookieSpec |
+getCookieSpec(String name,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Gets the
+cookie specification with the given ID. |
+
List<String> |
+getSpecNames()
+Deprecated.
+Obtains a list containing the names of all registered
+cookie
+ specs . |
+
CookieSpecProvider |
+lookup(String name)
+Deprecated.
+ |
+
void |
+register(String name,
+ CookieSpecFactory factory)
+Deprecated.
+Registers a
+CookieSpecFactory with the given identifier. |
+
void |
+setItems(Map<String,CookieSpecFactory> map)
+Deprecated.
+Populates the internal collection of registered
+cookie
+ specs with the content of the map passed as a parameter. |
+
void |
+unregister(String id)
+Deprecated.
+Unregisters the
+CookieSpecFactory with the given ID. |
+
public CookieSpecRegistry()+
public void register(String name, + CookieSpecFactory factory)+
CookieSpecFactory
with the given identifier.
+ If a specification with the given name already exists it will be overridden.
+ This nameis the same one used to retrieve the CookieSpecFactory
+ from getCookieSpec(String)
.name
- the identifier for this specificationfactory
- the CookieSpecFactory
class to registergetCookieSpec(String)
public void unregister(String id)+
CookieSpecFactory
with the given ID.id
- the identifier of the cookie specification
to unregisterpublic CookieSpec getCookieSpec(String name, + org.apache.http.params.HttpParams params) + throws IllegalStateException+
cookie specification
with the given ID.name
- the cookie specification
identifierparams
- the HTTP parameters
for the cookie
+ specification.cookie specification
IllegalStateException
- if a policy with the given name cannot be foundpublic CookieSpec getCookieSpec(String name) + throws IllegalStateException+
cookie specification
with the given name.name
- the cookie specification
identifiercookie specification
IllegalStateException
- if a policy with the given name cannot be foundpublic List<String> getSpecNames()+
cookie
+ specs
.
+
+ Note that the DEFAULT policy (if present) is likely to be the same
+ as one of the other policies, but does not have to be.public void setItems(Map<String,CookieSpecFactory> map)+
cookie
+ specs
with the content of the map passed as a parameter.map
- cookie specspublic CookieSpecProvider lookup(String name)+
lookup
in interface org.apache.http.config.Lookup<CookieSpecProvider>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/MalformedCookieException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/MalformedCookieException.html new file mode 100644 index 0000000..97bf223 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/MalformedCookieException.html @@ -0,0 +1,308 @@ + + + + + + +public class MalformedCookieException
+extends org.apache.http.ProtocolException
+Constructor and Description | +
---|
MalformedCookieException()
+Creates a new MalformedCookieException with a
+null detail message. |
+
MalformedCookieException(String message)
+Creates a new MalformedCookieException with a specified message string.
+ |
+
MalformedCookieException(String message,
+ Throwable cause)
+Creates a new MalformedCookieException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MalformedCookieException()+
null
detail message.public MalformedCookieException(String message)+
message
- The exception detail messagepublic MalformedCookieException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SM.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SM.html new file mode 100644 index 0000000..50c90e7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SM.html @@ -0,0 +1,254 @@ + + + + + + +public interface SM
+Modifier and Type | +Field and Description | +
---|---|
static String |
+COOKIE |
+
static String |
+COOKIE2 |
+
static String |
+SET_COOKIE |
+
static String |
+SET_COOKIE2 |
+
static final String COOKIE+
static final String COOKIE2+
static final String SET_COOKIE+
static final String SET_COOKIE2+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie.html new file mode 100644 index 0000000..9fbcc3e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie.html @@ -0,0 +1,351 @@ + + + + + + +public interface SetCookie +extends Cookie+
Set-Cookie
response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state.
+ + Please do not use methods marked as @Obsolete. They have been rendered + obsolete by RFC 6265
Modifier and Type | +Method and Description | +
---|---|
void |
+setComment(String comment)
+If a user agent (web browser) presents this cookie to a user, the
+ cookie's purpose will be described using this comment.
+ |
+
void |
+setDomain(String domain)
+Sets the domain attribute.
+ |
+
void |
+setExpiryDate(Date expiryDate)
+Sets expiration date.
+ |
+
void |
+setPath(String path)
+Sets the path attribute.
+ |
+
void |
+setSecure(boolean secure)
+Sets the secure attribute of the cookie.
+ |
+
void |
+setValue(String value) |
+
void |
+setVersion(int version)
+Sets the version of the cookie specification to which this
+ cookie conforms.
+ |
+
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
void setValue(String value)+
@Obsolete +void setComment(String comment)+
comment
- Cookie.getComment()
void setExpiryDate(Date expiryDate)+
Note: the object returned by this method is considered + immutable. Changing it (e.g. using setTime()) could result in undefined + behaviour. Do so at your peril.
expiryDate
- the Date
after which this cookie is no longer valid.Cookie.getExpiryDate()
void setDomain(String domain)+
domain
- The value of the domain attributeCookie.getDomain()
void setPath(String path)+
path
- The value of the path attributeCookie.getPath()
void setSecure(boolean secure)+
+ When true
the cookie should only be sent
+ using a secure protocol (https). This should only be set when
+ the cookie's originating server used a secure protocol to set the
+ cookie's value.
secure
- The value of the secure attributeCookie.isSecure()
@Obsolete +void setVersion(int version)+
version
- the version of the cookie.Cookie.getVersion()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie2.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie2.html new file mode 100644 index 0000000..86c8c40 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/SetCookie2.html @@ -0,0 +1,282 @@ + + + + + + +public interface SetCookie2 +extends SetCookie+
Set-Cookie2
response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state.
+ + Please do not use methods marked as @Obsolete. They have been rendered + obsolete by RFC 6265
Modifier and Type | +Method and Description | +
---|---|
void |
+setCommentURL(String commentURL)
+If a user agent (web browser) presents this cookie to a user, the
+ cookie's purpose will be described by the information at this URL.
+ |
+
void |
+setDiscard(boolean discard)
+Set the Discard attribute.
+ |
+
void |
+setPorts(int[] ports)
+Sets the Port attribute.
+ |
+
setComment, setDomain, setExpiryDate, setPath, setSecure, setValue, setVersion
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
@Obsolete +void setCommentURL(String commentURL)+
@Obsolete +void setPorts(int[] ports)+
@Obsolete +void setDiscard(boolean discard)+
Discard
attribute overrides Max-age
.Cookie.isPersistent()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/ClientCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/ClientCookie.html new file mode 100644 index 0000000..97d44ab --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/ClientCookie.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientCookie
+Default implementation of
+SetCookie . |
+
class |
+BasicClientCookie2
+Default implementation of
+SetCookie2 . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CommonCookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CommonCookieAttributeHandler.html new file mode 100644 index 0000000..dfa5667 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CommonCookieAttributeHandler.html @@ -0,0 +1,302 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicCommentHandler |
+
class |
+BasicDomainHandler |
+
class |
+BasicExpiresHandler |
+
class |
+BasicMaxAgeHandler |
+
class |
+BasicPathHandler |
+
class |
+BasicSecureHandler |
+
class |
+BrowserCompatVersionAttributeHandler
+Deprecated.
+
+(4.4) no longer used.
+ |
+
class |
+LaxExpiresHandler |
+
class |
+LaxMaxAgeHandler |
+
class |
+NetscapeDomainHandler |
+
class |
+PublicSuffixDomainFilter
+Wraps a
+CookieAttributeHandler and leverages its match method
+ to never match a suffix from a black list. |
+
class |
+RFC2109DomainHandler |
+
class |
+RFC2109VersionHandler |
+
class |
+RFC2965CommentUrlAttributeHandler
+"CommentURL" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965DiscardAttributeHandler
+"Discard" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965DomainAttributeHandler
+"Domain" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965PortAttributeHandler
+"Port" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965VersionAttributeHandler
+"Version" cookie attribute handler for RFC 2965 cookie spec. |
+
Modifier and Type | +Method and Description | +
---|---|
static CommonCookieAttributeHandler |
+PublicSuffixDomainFilter.decorate(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
static CommonCookieAttributeHandler |
+PublicSuffixDomainFilter.decorate(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Constructor and Description | +
---|
AbstractCookieSpec(CommonCookieAttributeHandler... handlers) |
+
CookieSpecBase(CommonCookieAttributeHandler... handlers) |
+
PublicSuffixDomainFilter(CommonCookieAttributeHandler handler,
+ PublicSuffixList suffixList) |
+
PublicSuffixDomainFilter(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
RFC2109Spec(boolean oneHeader,
+ CommonCookieAttributeHandler... handlers) |
+
RFC6265CookieSpec(CommonCookieAttributeHandler... handlers) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/Cookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/Cookie.html new file mode 100644 index 0000000..334efcf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/Cookie.html @@ -0,0 +1,701 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+CookieStore.getCookies()
+Returns all cookies contained in this store.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+CookieStore.addCookie(Cookie cookie)
+Adds an
+Cookie , replacing any existing equivalent cookies. |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ClientCookie
+ClientCookie extends the standard
+Cookie interface with
+ additional client specific functionality such ability to retrieve
+ original cookie attributes exactly as they were specified by the
+ origin server. |
+
interface |
+SetCookie
+This interface represents a
+Set-Cookie response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
interface |
+SetCookie2
+This interface represents a
+Set-Cookie2 response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+CookiePriorityComparator.compare(Cookie c1,
+ Cookie c2) |
+
int |
+CookiePathComparator.compare(Cookie c1,
+ Cookie c2) |
+
int |
+CookieIdentityComparator.compare(Cookie c1,
+ Cookie c2) |
+
boolean |
+CookieAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
boolean |
+CookieSpec.match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
void |
+CookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
void |
+CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+CookieSpec.formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+BasicCookieStore.getCookies()
+Returns an immutable array of
+cookies that this HTTP
+ state currently contains. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicCookieStore.addCookie(Cookie cookie)
+Adds an
+HTTP cookie , replacing any existing equivalent cookies. |
+
void |
+BasicCookieStore.addCookies(Cookie[] cookies)
+Adds an array of
+HTTP cookies . |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientCookie
+Default implementation of
+SetCookie . |
+
class |
+BasicClientCookie2
+Default implementation of
+SetCookie2 . |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+IgnoreSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+DefaultCookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+NetscapeDraftSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parses the Set-Cookie value into an array of
+Cookie s. |
+
List<Cookie> |
+RFC2109Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+BrowserCompatSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Deprecated.
+ |
+
List<Cookie> |
+RFC2965Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+RFC6265CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+RFC2965Spec.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+CookieSpecBase.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+RFC2109Spec.formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer,
+ Cookie cookie,
+ int version)
+Return a string suitable for sending in a
+"Cookie" header
+ as defined in RFC 2109 for backward compatibility with cookie version 0 |
+
protected void |
+RFC2965Spec.formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer,
+ Cookie cookie,
+ int version)
+Adds valid Port attribute value, e.g.
+ |
+
boolean |
+BasicPathHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+IgnoreSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+DefaultCookieSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965DiscardAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965CommentUrlAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+BasicDomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+BasicSecureHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965DomainAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie domain attribute.
+ |
+
boolean |
+AbstractCookieAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+NetscapeDomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965VersionAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+PublicSuffixDomainFilter.match(Cookie cookie,
+ CookieOrigin origin)
+Never matches if the cookie's domain is from the blacklist.
+ |
+
boolean |
+PublicSuffixFilter.match(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+Never matches if the cookie's domain is from the blacklist.
+ |
+
boolean |
+RFC2965Spec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+CookieSpecBase.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965PortAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie port attribute.
+ |
+
boolean |
+RFC6265CookieSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2109DomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+BasicPathHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+DefaultCookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DiscardAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965CommentUrlAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+BasicDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DomainAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie domain attribute.
+ |
+
void |
+RFC2109Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+AbstractCookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+NetscapeDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109VersionHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965VersionAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+validate cookie version attribute.
+ |
+
void |
+PublicSuffixDomainFilter.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+PublicSuffixFilter.validate(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+ |
+
void |
+RFC2965Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+CookieSpecBase.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965PortAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie port attribute.
+ |
+
void |
+RFC6265CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109DomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+IgnoreSpec.formatCookies(List<Cookie> cookies) |
+
List<org.apache.http.Header> |
+DefaultCookieSpec.formatCookies(List<Cookie> cookies) |
+
List<org.apache.http.Header> |
+NetscapeDraftSpec.formatCookies(List<Cookie> cookies) |
+
List<org.apache.http.Header> |
+RFC2109Spec.formatCookies(List<Cookie> cookies) |
+
List<org.apache.http.Header> |
+BrowserCompatSpec.formatCookies(List<Cookie> cookies)
+Deprecated.
+ |
+
List<org.apache.http.Header> |
+RFC6265CookieSpec.formatCookies(List<Cookie> cookies) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieAttributeHandler.html new file mode 100644 index 0000000..c7da944 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieAttributeHandler.html @@ -0,0 +1,368 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+CommonCookieAttributeHandler
+Extension of
+CookieAttributeHandler intended
+ to handle one specific common attribute whose name is returned with
+ CommonCookieAttributeHandler.getAttributeName() method. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractCookieAttributeHandler |
+
class |
+BasicCommentHandler |
+
class |
+BasicDomainHandler |
+
class |
+BasicExpiresHandler |
+
class |
+BasicMaxAgeHandler |
+
class |
+BasicPathHandler |
+
class |
+BasicSecureHandler |
+
class |
+BrowserCompatVersionAttributeHandler
+Deprecated.
+
+(4.4) no longer used.
+ |
+
class |
+LaxExpiresHandler |
+
class |
+LaxMaxAgeHandler |
+
class |
+NetscapeDomainHandler |
+
class |
+PublicSuffixDomainFilter
+Wraps a
+CookieAttributeHandler and leverages its match method
+ to never match a suffix from a black list. |
+
class |
+PublicSuffixFilter
+Deprecated.
+
+(4.4) use
+PublicSuffixDomainFilter |
+
class |
+RFC2109DomainHandler |
+
class |
+RFC2109VersionHandler |
+
class |
+RFC2965CommentUrlAttributeHandler
+"CommentURL" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965DiscardAttributeHandler
+"Discard" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965DomainAttributeHandler
+"Domain" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965PortAttributeHandler
+"Port" cookie attribute handler for RFC 2965 cookie spec. |
+
class |
+RFC2965VersionAttributeHandler
+"Version" cookie attribute handler for RFC 2965 cookie spec. |
+
Modifier and Type | +Method and Description | +
---|---|
protected CookieAttributeHandler |
+AbstractCookieSpec.findAttribHandler(String name)
+Finds an attribute handler
+CookieAttributeHandler for the
+ given attribute. |
+
protected CookieAttributeHandler |
+AbstractCookieSpec.getAttribHandler(String name)
+Gets attribute handler
+CookieAttributeHandler for the
+ given attribute. |
+
Modifier and Type | +Method and Description | +
---|---|
protected Collection<CookieAttributeHandler> |
+AbstractCookieSpec.getAttribHandlers() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractCookieSpec.registerAttribHandler(String name,
+ CookieAttributeHandler handler)
+Deprecated.
+
+(4.4) use
+AbstractCookieSpec.AbstractCookieSpec(java.util.HashMap) or
+ AbstractCookieSpec.AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
+ constructors instead. |
+
Constructor and Description | +
---|
PublicSuffixFilter(CookieAttributeHandler wrapped)
+Deprecated.
+ |
+
Constructor and Description | +
---|
AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map) |
+
CookieSpecBase(HashMap<String,CookieAttributeHandler> map) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieIdentityComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieIdentityComparator.html new file mode 100644 index 0000000..421792d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieIdentityComparator.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieOrigin.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieOrigin.html new file mode 100644 index 0000000..18ed100 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieOrigin.html @@ -0,0 +1,491 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieOrigin |
+HttpClientContext.getCookieOrigin() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+CookieAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
boolean |
+CookieSpec.match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
void |
+CookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
void |
+CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected static String |
+CookieSpecBase.getDefaultDomain(CookieOrigin origin) |
+
protected static String |
+CookieSpecBase.getDefaultPath(CookieOrigin origin) |
+
boolean |
+BasicPathHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+IgnoreSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+DefaultCookieSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965DiscardAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965CommentUrlAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+BasicDomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+BasicSecureHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965DomainAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie domain attribute.
+ |
+
boolean |
+AbstractCookieAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+NetscapeDomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965VersionAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+PublicSuffixDomainFilter.match(Cookie cookie,
+ CookieOrigin origin)
+Never matches if the cookie's domain is from the blacklist.
+ |
+
boolean |
+PublicSuffixFilter.match(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+Never matches if the cookie's domain is from the blacklist.
+ |
+
boolean |
+RFC2965Spec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+CookieSpecBase.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2965PortAttributeHandler.match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie port attribute.
+ |
+
boolean |
+RFC6265CookieSpec.match(Cookie cookie,
+ CookieOrigin origin) |
+
boolean |
+RFC2109DomainHandler.match(Cookie cookie,
+ CookieOrigin origin) |
+
List<Cookie> |
+IgnoreSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+DefaultCookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+NetscapeDraftSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parses the Set-Cookie value into an array of
+Cookie s. |
+
List<Cookie> |
+RFC2109Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+BrowserCompatSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Deprecated.
+ |
+
List<Cookie> |
+RFC2965Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+RFC6265CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+RFC2965Spec.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+CookieSpecBase.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
void |
+BasicPathHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+DefaultCookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DiscardAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965CommentUrlAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+BasicDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DomainAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie domain attribute.
+ |
+
void |
+RFC2109Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+AbstractCookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+NetscapeDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109VersionHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965VersionAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+validate cookie version attribute.
+ |
+
void |
+PublicSuffixDomainFilter.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+PublicSuffixFilter.validate(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+ |
+
void |
+RFC2965Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+CookieSpecBase.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965PortAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie port attribute.
+ |
+
void |
+RFC6265CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109DomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePathComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePathComparator.html new file mode 100644 index 0000000..2d1ec94 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePathComparator.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static CookiePathComparator |
+CookiePathComparator.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePriorityComparator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePriorityComparator.html new file mode 100644 index 0000000..310e112 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookiePriorityComparator.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static CookiePriorityComparator |
+CookiePriorityComparator.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieRestrictionViolationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieRestrictionViolationException.html new file mode 100644 index 0000000..442dab0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieRestrictionViolationException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpec.html new file mode 100644 index 0000000..4b7bfdc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpec.html @@ -0,0 +1,418 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+HttpClientContext.getCookieSpec() |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+CookieSpecProvider.create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+CookieSpecRegistry.getCookieSpec(String name)
+Deprecated.
+Gets the
+cookie specification with the given name. |
+
CookieSpec |
+CookieSpecRegistry.getCookieSpec(String name,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Gets the
+cookie specification with the given ID. |
+
CookieSpec |
+CookieSpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractCookieSpec
+Abstract cookie specification which can delegate the job of parsing,
+ validation or matching cookie attributes to a number of arbitrary
+
+CookieAttributeHandler s. |
+
class |
+BestMatchSpec
+Deprecated.
+
+(4.4) use
+DefaultCookieSpec . |
+
class |
+BrowserCompatSpec
+Deprecated.
+
+(4.4) use
+DefaultCookieSpec . |
+
class |
+CookieSpecBase
+Cookie management functions shared by all specification.
+ |
+
class |
+DefaultCookieSpec
+Default cookie specification that picks up the best matching cookie policy based on
+ the format of cookies sent with the HTTP response.
+ |
+
class |
+IgnoreSpec
+CookieSpec that ignores all cookies
+ |
+
class |
+NetscapeDraftSpec
+This
+CookieSpec implementation conforms to
+ the original draft specification published by Netscape Communications. |
+
class |
+RFC2109Spec
+RFC 2109 compliant
+CookieSpec implementation. |
+
class |
+RFC2965Spec
+RFC 2965 compliant
+CookieSpec implementation. |
+
class |
+RFC6265CookieSpec
+Cookie management functions shared by RFC C6265 compliant specification.
+ |
+
class |
+RFC6265LaxSpec
+Standard
+CookieSpec implementation that enforces a more relaxed
+ interpretation of the HTTP state management specification (RFC 6265, section 5)
+ for interoperability with existing servers that do not conform to the well behaved profile
+ (RFC 6265, section 4). |
+
class |
+RFC6265StrictSpec
+Standard
+CookieSpec implementation that enforces syntax
+ and semantics of the well-behaved profile of the HTTP state management specification
+ (RFC 6265, section 4). |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+IgnoreSpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+BestMatchSpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+NetscapeDraftSpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+RFC2109SpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+IgnoreSpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+RFC6265CookieSpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+RFC2965SpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+NetscapeDraftSpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+DefaultCookieSpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+BrowserCompatSpecFactory.create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
CookieSpec |
+RFC2965SpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+RFC2109SpecProvider.create(org.apache.http.protocol.HttpContext context) |
+
CookieSpec |
+IgnoreSpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
CookieSpec |
+BestMatchSpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
CookieSpec |
+RFC2109SpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
CookieSpec |
+RFC2965SpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
CookieSpec |
+NetscapeDraftSpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
CookieSpec |
+BrowserCompatSpecFactory.newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecFactory.html new file mode 100644 index 0000000..481d7d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecFactory.html @@ -0,0 +1,249 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+CookieSpecRegistry.register(String name,
+ CookieSpecFactory factory)
+Deprecated.
+Registers a
+CookieSpecFactory with the given identifier. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+CookieSpecRegistry.setItems(Map<String,CookieSpecFactory> map)
+Deprecated.
+Populates the internal collection of registered
+cookie
+ specs with the content of the map passed as a parameter. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BestMatchSpecFactory
+Deprecated.
+
+(4.4) use
+DefaultCookieSpecProvider . |
+
class |
+BrowserCompatSpecFactory
+Deprecated.
+
+(4.4) use
+DefaultCookieSpecProvider . |
+
class |
+IgnoreSpecFactory
+Deprecated.
+
+(4.4) Use
+IgnoreSpecProvider . |
+
class |
+NetscapeDraftSpecFactory
+Deprecated.
+
+(4.4) Use
+NetscapeDraftSpecProvider . |
+
class |
+RFC2109SpecFactory
+Deprecated.
+
+(4.4) Use
+RFC2109SpecProvider . |
+
class |
+RFC2965SpecFactory
+Deprecated.
+
+(4.4) Use
+RFC2965SpecProvider . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecProvider.html new file mode 100644 index 0000000..7acfd05 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecProvider.html @@ -0,0 +1,369 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.config.Lookup<CookieSpecProvider> |
+HttpClientContext.getCookieSpecRegistry() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpClientContext.setCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> lookup) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpecProvider |
+CookieSpecRegistry.lookup(String name)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static org.apache.http.config.Lookup<CookieSpecProvider> |
+CookieSpecRegistries.createDefault()
+Creates the default registry, using the default public suffix matcher.
+ |
+
static org.apache.http.config.Lookup<CookieSpecProvider> |
+CookieSpecRegistries.createDefault(PublicSuffixMatcher publicSuffixMatcher)
+Creates the default registry with the provided public suffix matcher
+ |
+
static org.apache.http.config.RegistryBuilder<CookieSpecProvider> |
+CookieSpecRegistries.createDefaultBuilder()
+Creates a builder containing the default registry entries with the default public suffix matcher.
+ |
+
static org.apache.http.config.RegistryBuilder<CookieSpecProvider> |
+CookieSpecRegistries.createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)
+Creates a builder containing the default registry entries, using the provided public suffix matcher.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> cookieSpecRegistry)
+Assigns default
+CookieSpec registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BestMatchSpecFactory
+Deprecated.
+
+(4.4) use
+DefaultCookieSpecProvider . |
+
class |
+BrowserCompatSpecFactory
+Deprecated.
+
+(4.4) use
+DefaultCookieSpecProvider . |
+
class |
+DefaultCookieSpecProvider
+CookieSpecProvider implementation that provides an instance of
+ DefaultCookieSpec . |
+
class |
+IgnoreSpecFactory
+Deprecated.
+
+(4.4) Use
+IgnoreSpecProvider . |
+
class |
+IgnoreSpecProvider
+CookieSpecProvider implementation that ignores all cookies. |
+
class |
+NetscapeDraftSpecFactory
+Deprecated.
+
+(4.4) Use
+NetscapeDraftSpecProvider . |
+
class |
+NetscapeDraftSpecProvider
+CookieSpecProvider implementation that provides an instance of
+ NetscapeDraftSpec . |
+
class |
+RFC2109SpecFactory
+Deprecated.
+
+(4.4) Use
+RFC2109SpecProvider . |
+
class |
+RFC2109SpecProvider
+CookieSpecProvider implementation that provides an instance of
+ RFC2109Spec . |
+
class |
+RFC2965SpecFactory
+Deprecated.
+
+(4.4) Use
+RFC2965SpecProvider . |
+
class |
+RFC2965SpecProvider
+CookieSpecProvider implementation that provides an instance of
+ RFC2965Spec . |
+
class |
+RFC6265CookieSpecProvider
+CookieSpecProvider implementation that provides an instance of
+ RFC 6265 conformant cookie policy. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecRegistry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecRegistry.html new file mode 100644 index 0000000..92dd628 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/CookieSpecRegistry.html @@ -0,0 +1,208 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ClientContextConfigurer.setCookieSpecRegistry(CookieSpecRegistry registry)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected CookieSpecRegistry |
+AbstractHttpClient.createCookieSpecRegistry()
+Deprecated.
+ |
+
CookieSpecRegistry |
+AbstractHttpClient.getCookieSpecs()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractHttpClient.setCookieSpecs(CookieSpecRegistry registry)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/MalformedCookieException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/MalformedCookieException.html new file mode 100644 index 0000000..b0ad85a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/MalformedCookieException.html @@ -0,0 +1,475 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CookieRestrictionViolationException
+Signals that a cookie violates a restriction imposed by the cookie
+ specification.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
void |
+CookieAttributeHandler.parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+CookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
void |
+CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<Cookie> |
+IgnoreSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+DefaultCookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+NetscapeDraftSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parses the Set-Cookie value into an array of
+Cookie s. |
+
List<Cookie> |
+RFC2109Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+BrowserCompatSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Deprecated.
+ |
+
List<Cookie> |
+RFC2965Spec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
List<Cookie> |
+RFC6265CookieSpec.parse(org.apache.http.Header header,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+RFC2965Spec.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
protected List<Cookie> |
+CookieSpecBase.parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
void |
+BasicExpiresHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BrowserCompatVersionAttributeHandler.parse(SetCookie cookie,
+ String value)
+Deprecated.
+Parse cookie version attribute.
+ |
+
void |
+BasicMaxAgeHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BasicPathHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+LaxExpiresHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+LaxMaxAgeHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965DiscardAttributeHandler.parse(SetCookie cookie,
+ String commenturl) |
+
void |
+RFC2965CommentUrlAttributeHandler.parse(SetCookie cookie,
+ String commenturl) |
+
void |
+BasicDomainHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BasicSecureHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965DomainAttributeHandler.parse(SetCookie cookie,
+ String domain)
+Parse cookie domain attribute.
+ |
+
void |
+NetscapeDomainHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2109VersionHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965VersionAttributeHandler.parse(SetCookie cookie,
+ String value)
+Parse cookie version attribute.
+ |
+
void |
+PublicSuffixDomainFilter.parse(SetCookie cookie,
+ String value) |
+
void |
+PublicSuffixFilter.parse(SetCookie cookie,
+ String value)
+Deprecated.
+ |
+
void |
+BasicCommentHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965PortAttributeHandler.parse(SetCookie cookie,
+ String portValue)
+Parse cookie port attribute.
+ |
+
void |
+RFC2109DomainHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BasicPathHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+DefaultCookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DiscardAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965CommentUrlAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+BasicDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965DomainAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie domain attribute.
+ |
+
void |
+RFC2109Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+AbstractCookieAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+NetscapeDomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109VersionHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965VersionAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+validate cookie version attribute.
+ |
+
void |
+PublicSuffixDomainFilter.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+PublicSuffixFilter.validate(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+ |
+
void |
+RFC2965Spec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+CookieSpecBase.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2965PortAttributeHandler.validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie port attribute.
+ |
+
void |
+RFC6265CookieSpec.validate(Cookie cookie,
+ CookieOrigin origin) |
+
void |
+RFC2109DomainHandler.validate(Cookie cookie,
+ CookieOrigin origin) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SM.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SM.html new file mode 100644 index 0000000..0a13ba9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SM.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie.html new file mode 100644 index 0000000..36f5ac1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie.html @@ -0,0 +1,327 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+SetCookie2
+This interface represents a
+Set-Cookie2 response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+CookieAttributeHandler.parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientCookie
+Default implementation of
+SetCookie . |
+
class |
+BasicClientCookie2
+Default implementation of
+SetCookie2 . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+BasicExpiresHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BrowserCompatVersionAttributeHandler.parse(SetCookie cookie,
+ String value)
+Deprecated.
+Parse cookie version attribute.
+ |
+
void |
+BasicMaxAgeHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BasicPathHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+LaxExpiresHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+LaxMaxAgeHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965DiscardAttributeHandler.parse(SetCookie cookie,
+ String commenturl) |
+
void |
+RFC2965CommentUrlAttributeHandler.parse(SetCookie cookie,
+ String commenturl) |
+
void |
+BasicDomainHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+BasicSecureHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965DomainAttributeHandler.parse(SetCookie cookie,
+ String domain)
+Parse cookie domain attribute.
+ |
+
void |
+NetscapeDomainHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2109VersionHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965VersionAttributeHandler.parse(SetCookie cookie,
+ String value)
+Parse cookie version attribute.
+ |
+
void |
+PublicSuffixDomainFilter.parse(SetCookie cookie,
+ String value) |
+
void |
+PublicSuffixFilter.parse(SetCookie cookie,
+ String value)
+Deprecated.
+ |
+
void |
+BasicCommentHandler.parse(SetCookie cookie,
+ String value) |
+
void |
+RFC2965PortAttributeHandler.parse(SetCookie cookie,
+ String portValue)
+Parse cookie port attribute.
+ |
+
void |
+RFC2109DomainHandler.parse(SetCookie cookie,
+ String value) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie2.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie2.html new file mode 100644 index 0000000..8b3f3f3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/class-use/SetCookie2.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientCookie2
+Default implementation of
+SetCookie2 . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-frame.html new file mode 100644 index 0000000..211bc24 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +Interface | +Description | +
---|---|
ClientCookie | +
+ ClientCookie extends the standard
+Cookie interface with
+ additional client specific functionality such ability to retrieve
+ original cookie attributes exactly as they were specified by the
+ origin server. |
+
CommonCookieAttributeHandler | +
+ Extension of
+CookieAttributeHandler intended
+ to handle one specific common attribute whose name is returned with
+ CommonCookieAttributeHandler.getAttributeName() method. |
+
Cookie | +
+ Cookie interface represents a token or short packet of state information
+ (also referred to as "magic-cookie") that the HTTP agent and the target
+ server can exchange to maintain a session.
+ |
+
CookieAttributeHandler | +
+ This interface represents a cookie attribute handler responsible
+ for parsing, validating, and matching a specific cookie attribute,
+ such as path, domain, port, etc.
+ |
+
CookieSpec | +
+ Defines the cookie management specification.
+ |
+
CookieSpecFactory | +Deprecated
+ (4.3) use
+CookieSpecProvider |
+
CookieSpecProvider | +
+ Factory for
+CookieSpec implementations. |
+
SetCookie | +
+ This interface represents a
+Set-Cookie response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
SetCookie2 | +
+ This interface represents a
+Set-Cookie2 response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
SM | +
+ Constants and static helpers related to the HTTP state management.
+ |
+
Class | +Description | +
---|---|
CookieIdentityComparator | +
+ This cookie comparator can be used to compare identity of cookies.
+ |
+
CookieOrigin | +
+ CookieOrigin class encapsulates details of an origin server that
+ are relevant when parsing, validating or matching HTTP cookies.
+ |
+
CookiePathComparator | +
+ This cookie comparator ensures that multiple cookies satisfying
+ a common criteria are ordered in the
+Cookie header such
+ that those with more specific Path attributes precede those with
+ less specific. |
+
CookiePriorityComparator | +
+ This cookie comparator ensures that cookies with longer paths take precedence over
+ cookies with shorter path.
+ |
+
CookieSpecRegistry | +Deprecated
+ (4.3) use
+Registry . |
+
Exception | +Description | +
---|---|
CookieRestrictionViolationException | +
+ Signals that a cookie violates a restriction imposed by the cookie
+ specification.
+ |
+
MalformedCookieException | +
+ Signals that a cookie is in some way invalid or illegal in a given
+ context
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-tree.html new file mode 100644 index 0000000..a07a255 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-tree.html @@ -0,0 +1,177 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-use.html new file mode 100644 index 0000000..b494e06 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/package-use.html @@ -0,0 +1,404 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Class and Description | +
---|
Cookie
+ Cookie interface represents a token or short packet of state information
+ (also referred to as "magic-cookie") that the HTTP agent and the target
+ server can exchange to maintain a session.
+ |
+
Class and Description | +
---|
CookieOrigin
+ CookieOrigin class encapsulates details of an origin server that
+ are relevant when parsing, validating or matching HTTP cookies.
+ |
+
CookieSpec
+ Defines the cookie management specification.
+ |
+
CookieSpecProvider
+ Factory for
+CookieSpec implementations. |
+
CookieSpecRegistry
+ Deprecated.
+
+(4.3) use
+Registry . |
+
Class and Description | +
---|
Cookie
+ Cookie interface represents a token or short packet of state information
+ (also referred to as "magic-cookie") that the HTTP agent and the target
+ server can exchange to maintain a session.
+ |
+
CookieAttributeHandler
+ This interface represents a cookie attribute handler responsible
+ for parsing, validating, and matching a specific cookie attribute,
+ such as path, domain, port, etc.
+ |
+
CookieOrigin
+ CookieOrigin class encapsulates details of an origin server that
+ are relevant when parsing, validating or matching HTTP cookies.
+ |
+
CookiePathComparator
+ This cookie comparator ensures that multiple cookies satisfying
+ a common criteria are ordered in the
+Cookie header such
+ that those with more specific Path attributes precede those with
+ less specific. |
+
CookiePriorityComparator
+ This cookie comparator ensures that cookies with longer paths take precedence over
+ cookies with shorter path.
+ |
+
CookieSpec
+ Defines the cookie management specification.
+ |
+
CookieSpecFactory
+ Deprecated.
+
+(4.3) use
+CookieSpecProvider |
+
CookieSpecProvider
+ Factory for
+CookieSpec implementations. |
+
MalformedCookieException
+ Signals that a cookie is in some way invalid or illegal in a given
+ context
+ |
+
SetCookie
+ This interface represents a
+Set-Cookie response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
Class and Description | +
---|
Cookie
+ Cookie interface represents a token or short packet of state information
+ (also referred to as "magic-cookie") that the HTTP agent and the target
+ server can exchange to maintain a session.
+ |
+
CookieSpecProvider
+ Factory for
+CookieSpec implementations. |
+
CookieSpecRegistry
+ Deprecated.
+
+(4.3) use
+Registry . |
+
Class and Description | +
---|
ClientCookie
+ ClientCookie extends the standard
+Cookie interface with
+ additional client specific functionality such ability to retrieve
+ original cookie attributes exactly as they were specified by the
+ origin server. |
+
CommonCookieAttributeHandler
+ Extension of
+CookieAttributeHandler intended
+ to handle one specific common attribute whose name is returned with
+ CommonCookieAttributeHandler.getAttributeName() method. |
+
Cookie
+ Cookie interface represents a token or short packet of state information
+ (also referred to as "magic-cookie") that the HTTP agent and the target
+ server can exchange to maintain a session.
+ |
+
CookieAttributeHandler
+ This interface represents a cookie attribute handler responsible
+ for parsing, validating, and matching a specific cookie attribute,
+ such as path, domain, port, etc.
+ |
+
CookieOrigin
+ CookieOrigin class encapsulates details of an origin server that
+ are relevant when parsing, validating or matching HTTP cookies.
+ |
+
CookieSpec
+ Defines the cookie management specification.
+ |
+
CookieSpecFactory
+ Deprecated.
+
+(4.3) use
+CookieSpecProvider |
+
CookieSpecProvider
+ Factory for
+CookieSpec implementations. |
+
MalformedCookieException
+ Signals that a cookie is in some way invalid or illegal in a given
+ context
+ |
+
SetCookie
+ This interface represents a
+Set-Cookie response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
SetCookie2
+ This interface represents a
+Set-Cookie2 response header sent by the
+ origin server to the HTTP agent in order to maintain a conversational state. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecPNames.html new file mode 100644 index 0000000..1dc2e33 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecPNames.html @@ -0,0 +1,260 @@ + + + + + + +CookieSpecProvider
s.@Deprecated +public interface CookieSpecPNames+
Modifier and Type | +Field and Description | +
---|---|
static String |
+DATE_PATTERNS
+Deprecated.
+Defines valid date patterns to be used for parsing non-standard
+
+expires attribute. |
+
static String |
+SINGLE_COOKIE_HEADER
+Deprecated.
+Defines whether cookies should be forced into a single
+
+Cookie request header. |
+
static final String DATE_PATTERNS+
expires
attribute. Only required for compatibility
+ with non-compliant servers that still use expires
+ defined in the Netscape draft instead of the standard
+ max-age
attribute.
+
+ This parameter expects a value of type Collection
.
+ The collection elements must be of type String
compatible
+ with the syntax of SimpleDateFormat
.
+
static final String SINGLE_COOKIE_HEADER+
Cookie
request header. Otherwise, each cookie is formatted
+ as a separate Cookie
header.
+
+ This parameter expects a value of type Boolean
.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecParamBean.html new file mode 100644 index 0000000..4d6578a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/CookieSpecParamBean.html @@ -0,0 +1,309 @@ + + + + + + +CookieSpecProvider
s.@Deprecated +public class CookieSpecParamBean +extends org.apache.http.params.HttpAbstractParamBean+
HttpParams
and manipulate HTTP cookie parameters using Java Beans
+ conventions.params
Constructor and Description | +
---|
CookieSpecParamBean(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+setDatePatterns(Collection<String> patterns)
+Deprecated.
+ |
+
void |
+setSingleHeader(boolean singleHeader)
+Deprecated.
+ |
+
public CookieSpecParamBean(org.apache.http.params.HttpParams params)+
public void setDatePatterns(Collection<String> patterns)+
public void setSingleHeader(boolean singleHeader)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecPNames.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecPNames.html new file mode 100644 index 0000000..9ea86fb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecPNames.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+AllClientPNames
+Deprecated.
+
+
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecParamBean.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecParamBean.html new file mode 100644 index 0000000..a593e45 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/class-use/CookieSpecParamBean.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-frame.html new file mode 100644 index 0000000..829f7b0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +Interface | +Description | +
---|---|
CookieSpecPNames | +Deprecated
+ (4.3) use constructor parameters of
+CookieSpecProvider s. |
+
Class | +Description | +
---|---|
CookieSpecParamBean | +Deprecated
+ (4.3) use constructor parameters of
+CookieSpecProvider s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-tree.html new file mode 100644 index 0000000..e8a2dca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-use.html new file mode 100644 index 0000000..a647351 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/cookie/params/package-use.html @@ -0,0 +1,156 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.params | +
+ Deprecated.
+ |
+
Class and Description | +
---|
CookieSpecPNames
+ Deprecated.
+
+(4.3) use constructor parameters of
+CookieSpecProvider s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPart.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPart.html new file mode 100644 index 0000000..fe3106e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPart.html @@ -0,0 +1,369 @@ + + + + + + +public class FormBodyPart +extends Object+
Constructor and Description | +
---|
FormBodyPart(String name,
+ ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addField(String name,
+ String value) |
+
protected void |
+generateContentDisp(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
protected void |
+generateContentType(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
protected void |
+generateTransferEncoding(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
ContentBody |
+getBody() |
+
Header |
+getHeader() |
+
String |
+getName() |
+
@Deprecated +public FormBodyPart(String name, + ContentBody body)+
FormBodyPartBuilder
.public String getName()+
public ContentBody getBody()+
public Header getHeader()+
@Deprecated +protected void generateContentDisp(ContentBody body)+
FormBodyPartBuilder
.@Deprecated +protected void generateContentType(ContentBody body)+
FormBodyPartBuilder
.@Deprecated +protected void generateTransferEncoding(ContentBody body)+
FormBodyPartBuilder
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPartBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPartBuilder.html new file mode 100644 index 0000000..1de0468 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/FormBodyPartBuilder.html @@ -0,0 +1,324 @@ + + + + + + +public class FormBodyPartBuilder +extends Object+
FormBodyPart
s.Modifier and Type | +Method and Description | +
---|---|
FormBodyPartBuilder |
+addField(String name,
+ String value) |
+
FormBodyPart |
+build() |
+
static FormBodyPartBuilder |
+create() |
+
static FormBodyPartBuilder |
+create(String name,
+ ContentBody body) |
+
FormBodyPartBuilder |
+removeFields(String name) |
+
FormBodyPartBuilder |
+setBody(ContentBody body) |
+
FormBodyPartBuilder |
+setField(String name,
+ String value) |
+
FormBodyPartBuilder |
+setName(String name) |
+
public static FormBodyPartBuilder create(String name, + ContentBody body)+
public static FormBodyPartBuilder create()+
public FormBodyPartBuilder setName(String name)+
public FormBodyPartBuilder setBody(ContentBody body)+
public FormBodyPartBuilder addField(String name, + String value)+
public FormBodyPartBuilder setField(String name, + String value)+
public FormBodyPartBuilder removeFields(String name)+
public FormBodyPart build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/Header.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/Header.html new file mode 100644 index 0000000..9c7672e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/Header.html @@ -0,0 +1,363 @@ + + + + + + +public class Header +extends Object +implements Iterable<MinimalField>+
Modifier and Type | +Method and Description | +
---|---|
void |
+addField(MinimalField field) |
+
MinimalField |
+getField(String name) |
+
List<MinimalField> |
+getFields() |
+
List<MinimalField> |
+getFields(String name) |
+
Iterator<MinimalField> |
+iterator() |
+
int |
+removeFields(String name) |
+
void |
+setField(MinimalField field) |
+
String |
+toString() |
+
public void addField(MinimalField field)+
public List<MinimalField> getFields()+
public MinimalField getField(String name)+
public List<MinimalField> getFields(String name)+
public int removeFields(String name)+
public void setField(MinimalField field)+
public Iterator<MinimalField> iterator()+
iterator
in interface Iterable<MinimalField>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipart.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipart.html new file mode 100644 index 0000000..57efe30 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipart.html @@ -0,0 +1,518 @@ + + + + + + +MultipartEntityBuilder
.@Deprecated +public class HttpMultipart +extends Object+
Constructor and Description | +
---|
HttpMultipart(String subType,
+ Charset charset,
+ String boundary)
+Deprecated.
+Creates an instance with the specified settings.
+ |
+
HttpMultipart(String subType,
+ Charset charset,
+ String boundary,
+ HttpMultipartMode mode)
+Deprecated.
+Creates an instance with the specified settings.
+ |
+
HttpMultipart(String subType,
+ String boundary)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addBodyPart(FormBodyPart part)
+Deprecated.
+ |
+
protected void |
+formatMultipartHeader(FormBodyPart part,
+ OutputStream out)
+Deprecated.
+Write the multipart header fields; depends on the style.
+ |
+
List<FormBodyPart> |
+getBodyParts()
+Deprecated.
+ |
+
String |
+getBoundary()
+Deprecated.
+ |
+
Charset |
+getCharset()
+Deprecated.
+ |
+
HttpMultipartMode |
+getMode()
+Deprecated.
+ |
+
String |
+getSubType()
+Deprecated.
+ |
+
long |
+getTotalLength()
+Determines the total length of the multipart content (content length of
+ individual parts plus that of extra elements required to delimit the parts
+ from one another).
+ |
+
protected static void |
+writeField(MinimalField field,
+ Charset charset,
+ OutputStream out) |
+
protected static void |
+writeField(MinimalField field,
+ OutputStream out) |
+
void |
+writeTo(OutputStream out)
+Writes out the content in the multipart/form encoding.
+ |
+
public HttpMultipart(String subType, + Charset charset, + String boundary, + HttpMultipartMode mode)+
subType
- MIME subtype - must not be null
charset
- the character set to use. May be null
,
+ in which case MIME.DEFAULT_CHARSET
- i.e. US-ASCII - is used.boundary
- to use - must not be null
mode
- the mode to useIllegalArgumentException
- if charset is null or boundary is nullpublic HttpMultipart(String subType, + Charset charset, + String boundary)+
HttpMultipartMode.STRICT
subType
- MIME subtype - must not be null
charset
- the character set to use. May be null
,
+ in which case MIME.DEFAULT_CHARSET
- i.e. US-ASCII - is used.boundary
- to use - must not be null
IllegalArgumentException
- if charset is null or boundary is nullpublic HttpMultipartMode getMode()+
protected void formatMultipartHeader(FormBodyPart part, + OutputStream out) + throws IOException+
IOException
public List<FormBodyPart> getBodyParts()+
public void addBodyPart(FormBodyPart part)+
public String getSubType()+
public Charset getCharset()+
public String getBoundary()+
protected static void writeField(MinimalField field, + OutputStream out) + throws IOException+
IOException
protected static void writeField(MinimalField field, + Charset charset, + OutputStream out) + throws IOException+
IOException
public void writeTo(OutputStream out) + throws IOException+
IOException
public long getTotalLength()+
+ This method buffers only a small amount of data in order to determine the + total length of the entire entity. The content of individual parts is not + buffered. +
-1
+ otherwise.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipartMode.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipartMode.html new file mode 100644 index 0000000..2ed391f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/HttpMultipartMode.html @@ -0,0 +1,344 @@ + + + + + + +public enum HttpMultipartMode +extends Enum<HttpMultipartMode>+
Enum Constant and Description | +
---|
BROWSER_COMPATIBLE
+browser-compatible mode, i.e.
+ |
+
RFC6532
+RFC 6532 compliant
+ |
+
STRICT
+RFC 822, RFC 2045, RFC 2046 compliant
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static HttpMultipartMode |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static HttpMultipartMode[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final HttpMultipartMode STRICT+
public static final HttpMultipartMode BROWSER_COMPATIBLE+
public static final HttpMultipartMode RFC6532+
public static HttpMultipartMode[] values()+
+for (HttpMultipartMode c : HttpMultipartMode.values()) + System.out.println(c); +
public static HttpMultipartMode valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MIME.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MIME.html new file mode 100644 index 0000000..2b9f824 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MIME.html @@ -0,0 +1,357 @@ + + + + + + +public final class MIME +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static String |
+CONTENT_DISPOSITION |
+
static String |
+CONTENT_TRANSFER_ENC |
+
static String |
+CONTENT_TYPE |
+
static Charset |
+DEFAULT_CHARSET
+The default character set to be used, i.e.
+ |
+
static String |
+ENC_8BIT |
+
static String |
+ENC_BINARY |
+
static Charset |
+UTF8_CHARSET
+UTF-8 is used for RFC6532
+ |
+
public static final String CONTENT_TYPE+
public static final String CONTENT_TRANSFER_ENC+
public static final String CONTENT_DISPOSITION+
public static final String ENC_8BIT+
public static final String ENC_BINARY+
public static final Charset DEFAULT_CHARSET+
public static final Charset UTF8_CHARSET+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MinimalField.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MinimalField.html new file mode 100644 index 0000000..8288b36 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MinimalField.html @@ -0,0 +1,293 @@ + + + + + + +public class MinimalField +extends Object+
Constructor and Description | +
---|
MinimalField(String name,
+ String value) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntity.html new file mode 100644 index 0000000..25ac905 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntity.html @@ -0,0 +1,561 @@ + + + + + + +MultipartEntityBuilder
.@Deprecated +public class MultipartEntity +extends Object +implements org.apache.http.HttpEntity+
Constructor and Description | +
---|
MultipartEntity()
+Deprecated.
+Creates an instance using mode
+HttpMultipartMode.STRICT |
+
MultipartEntity(HttpMultipartMode mode)
+Deprecated.
+Creates an instance using the specified
+HttpMultipartMode mode. |
+
MultipartEntity(HttpMultipartMode mode,
+ String boundary,
+ Charset charset)
+Deprecated.
+Creates an instance using the specified parameters
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addPart(FormBodyPart bodyPart)
+Deprecated.
+ |
+
void |
+addPart(String name,
+ ContentBody contentBody)
+Deprecated.
+ |
+
void |
+consumeContent()
+Deprecated.
+ |
+
protected String |
+generateBoundary()
+Deprecated.
+ |
+
protected String |
+generateContentType(String boundary,
+ Charset charset)
+Deprecated.
+ |
+
InputStream |
+getContent()
+Deprecated.
+ |
+
org.apache.http.Header |
+getContentEncoding()
+Deprecated.
+ |
+
long |
+getContentLength()
+Deprecated.
+ |
+
org.apache.http.Header |
+getContentType()
+Deprecated.
+ |
+
boolean |
+isChunked()
+Deprecated.
+ |
+
boolean |
+isRepeatable()
+Deprecated.
+ |
+
boolean |
+isStreaming()
+Deprecated.
+ |
+
void |
+writeTo(OutputStream outStream)
+Deprecated.
+ |
+
public MultipartEntity(HttpMultipartMode mode, + String boundary, + Charset charset)+
mode
- the mode to use, may be null
, in which case HttpMultipartMode.STRICT
is usedboundary
- the boundary string, may be null
, in which case generateBoundary()
is invoked to create the stringcharset
- the character set to use, may be null
, in which case MIME.DEFAULT_CHARSET
- i.e. US-ASCII - is used.public MultipartEntity(HttpMultipartMode mode)+
HttpMultipartMode
mode.
+ Boundary and charset are set to null
.mode
- the desired modepublic MultipartEntity()+
HttpMultipartMode.STRICT
protected String generateContentType(String boundary, + Charset charset)+
protected String generateBoundary()+
public void addPart(FormBodyPart bodyPart)+
public void addPart(String name, + ContentBody contentBody)+
public boolean isRepeatable()+
isRepeatable
in interface org.apache.http.HttpEntity
public boolean isChunked()+
isChunked
in interface org.apache.http.HttpEntity
public boolean isStreaming()+
isStreaming
in interface org.apache.http.HttpEntity
public long getContentLength()+
getContentLength
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentType()+
getContentType
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentEncoding()+
getContentEncoding
in interface org.apache.http.HttpEntity
public void consumeContent() + throws IOException, + UnsupportedOperationException+
consumeContent
in interface org.apache.http.HttpEntity
IOException
UnsupportedOperationException
public InputStream getContent() + throws IOException, + UnsupportedOperationException+
getContent
in interface org.apache.http.HttpEntity
IOException
UnsupportedOperationException
public void writeTo(OutputStream outStream) + throws IOException+
writeTo
in interface org.apache.http.HttpEntity
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntityBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntityBuilder.html new file mode 100644 index 0000000..6ce2f83 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/MultipartEntityBuilder.html @@ -0,0 +1,520 @@ + + + + + + +public class MultipartEntityBuilder +extends Object+
HttpEntity
s.Modifier and Type | +Method and Description | +
---|---|
MultipartEntityBuilder |
+addBinaryBody(String name,
+ byte[] b) |
+
MultipartEntityBuilder |
+addBinaryBody(String name,
+ byte[] b,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+addBinaryBody(String name,
+ File file) |
+
MultipartEntityBuilder |
+addBinaryBody(String name,
+ File file,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+addBinaryBody(String name,
+ InputStream stream) |
+
MultipartEntityBuilder |
+addBinaryBody(String name,
+ InputStream stream,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+addPart(FormBodyPart bodyPart) |
+
MultipartEntityBuilder |
+addPart(String name,
+ ContentBody contentBody) |
+
MultipartEntityBuilder |
+addTextBody(String name,
+ String text) |
+
MultipartEntityBuilder |
+addTextBody(String name,
+ String text,
+ org.apache.http.entity.ContentType contentType) |
+
org.apache.http.HttpEntity |
+build() |
+
static MultipartEntityBuilder |
+create() |
+
MultipartEntityBuilder |
+seContentType(org.apache.http.entity.ContentType contentType)
+Deprecated.
+
+
+ |
+
MultipartEntityBuilder |
+setBoundary(String boundary) |
+
MultipartEntityBuilder |
+setCharset(Charset charset) |
+
MultipartEntityBuilder |
+setContentType(org.apache.http.entity.ContentType contentType) |
+
MultipartEntityBuilder |
+setLaxMode() |
+
MultipartEntityBuilder |
+setMimeSubtype(String subType) |
+
MultipartEntityBuilder |
+setMode(HttpMultipartMode mode) |
+
MultipartEntityBuilder |
+setStrictMode() |
+
public static MultipartEntityBuilder create()+
public MultipartEntityBuilder setMode(HttpMultipartMode mode)+
public MultipartEntityBuilder setLaxMode()+
public MultipartEntityBuilder setStrictMode()+
public MultipartEntityBuilder setBoundary(String boundary)+
public MultipartEntityBuilder setMimeSubtype(String subType)+
@Deprecated +public MultipartEntityBuilder seContentType(org.apache.http.entity.ContentType contentType)+
setContentType(org.apache.http.entity.ContentType)
.public MultipartEntityBuilder setContentType(org.apache.http.entity.ContentType contentType)+
public MultipartEntityBuilder setCharset(Charset charset)+
public MultipartEntityBuilder addPart(FormBodyPart bodyPart)+
public MultipartEntityBuilder addPart(String name, + ContentBody contentBody)+
public MultipartEntityBuilder addTextBody(String name, + String text, + org.apache.http.entity.ContentType contentType)+
public MultipartEntityBuilder addTextBody(String name, + String text)+
public MultipartEntityBuilder addBinaryBody(String name, + byte[] b, + org.apache.http.entity.ContentType contentType, + String filename)+
public MultipartEntityBuilder addBinaryBody(String name, + byte[] b)+
public MultipartEntityBuilder addBinaryBody(String name, + File file, + org.apache.http.entity.ContentType contentType, + String filename)+
public MultipartEntityBuilder addBinaryBody(String name, + File file)+
public MultipartEntityBuilder addBinaryBody(String name, + InputStream stream, + org.apache.http.entity.ContentType contentType, + String filename)+
public MultipartEntityBuilder addBinaryBody(String name, + InputStream stream)+
public org.apache.http.HttpEntity build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPart.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPart.html new file mode 100644 index 0000000..a12864f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPart.html @@ -0,0 +1,206 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
FormBodyPart |
+FormBodyPartBuilder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
List<FormBodyPart> |
+HttpMultipart.getBodyParts()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+HttpMultipart.addBodyPart(FormBodyPart part)
+Deprecated.
+ |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addPart(FormBodyPart bodyPart) |
+
void |
+MultipartEntity.addPart(FormBodyPart bodyPart)
+Deprecated.
+ |
+
protected void |
+HttpMultipart.formatMultipartHeader(FormBodyPart part,
+ OutputStream out)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPartBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPartBuilder.html new file mode 100644 index 0000000..4c06ef8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/FormBodyPartBuilder.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
FormBodyPartBuilder |
+FormBodyPartBuilder.addField(String name,
+ String value) |
+
static FormBodyPartBuilder |
+FormBodyPartBuilder.create() |
+
static FormBodyPartBuilder |
+FormBodyPartBuilder.create(String name,
+ ContentBody body) |
+
FormBodyPartBuilder |
+FormBodyPartBuilder.removeFields(String name) |
+
FormBodyPartBuilder |
+FormBodyPartBuilder.setBody(ContentBody body) |
+
FormBodyPartBuilder |
+FormBodyPartBuilder.setField(String name,
+ String value) |
+
FormBodyPartBuilder |
+FormBodyPartBuilder.setName(String name) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/Header.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/Header.html new file mode 100644 index 0000000..71e2fe9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/Header.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Header |
+FormBodyPart.getHeader() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipart.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipart.html new file mode 100644 index 0000000..6c19044 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipart.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipartMode.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipartMode.html new file mode 100644 index 0000000..9962953 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/HttpMultipartMode.html @@ -0,0 +1,218 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpMultipartMode |
+HttpMultipart.getMode()
+Deprecated.
+ |
+
static HttpMultipartMode |
+HttpMultipartMode.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static HttpMultipartMode[] |
+HttpMultipartMode.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
MultipartEntityBuilder |
+MultipartEntityBuilder.setMode(HttpMultipartMode mode) |
+
Constructor and Description | +
---|
HttpMultipart(String subType,
+ Charset charset,
+ String boundary,
+ HttpMultipartMode mode)
+Deprecated.
+Creates an instance with the specified settings.
+ |
+
MultipartEntity(HttpMultipartMode mode)
+Deprecated.
+Creates an instance using the specified
+HttpMultipartMode mode. |
+
MultipartEntity(HttpMultipartMode mode,
+ String boundary,
+ Charset charset)
+Deprecated.
+Creates an instance using the specified parameters
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MIME.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MIME.html new file mode 100644 index 0000000..0fd2534 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MIME.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MinimalField.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MinimalField.html new file mode 100644 index 0000000..9e28f51 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MinimalField.html @@ -0,0 +1,197 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
MinimalField |
+Header.getField(String name) |
+
Modifier and Type | +Method and Description | +
---|---|
List<MinimalField> |
+Header.getFields() |
+
List<MinimalField> |
+Header.getFields(String name) |
+
Iterator<MinimalField> |
+Header.iterator() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Header.addField(MinimalField field) |
+
void |
+Header.setField(MinimalField field) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntity.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntity.html new file mode 100644 index 0000000..8ab7e4a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntity.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntityBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntityBuilder.html new file mode 100644 index 0000000..62b427b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/class-use/MultipartEntityBuilder.html @@ -0,0 +1,251 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ byte[] b) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ byte[] b,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ File file) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ File file,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ InputStream stream) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addBinaryBody(String name,
+ InputStream stream,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addPart(FormBodyPart bodyPart) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addPart(String name,
+ ContentBody contentBody) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addTextBody(String name,
+ String text) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.addTextBody(String name,
+ String text,
+ org.apache.http.entity.ContentType contentType) |
+
static MultipartEntityBuilder |
+MultipartEntityBuilder.create() |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.seContentType(org.apache.http.entity.ContentType contentType)
+Deprecated.
+
+
+ |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setBoundary(String boundary) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setCharset(Charset charset) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setContentType(org.apache.http.entity.ContentType contentType) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setLaxMode() |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setMimeSubtype(String subType) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setMode(HttpMultipartMode mode) |
+
MultipartEntityBuilder |
+MultipartEntityBuilder.setStrictMode() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/AbstractContentBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/AbstractContentBody.html new file mode 100644 index 0000000..5051771 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/AbstractContentBody.html @@ -0,0 +1,402 @@ + + + + + + +public abstract class AbstractContentBody +extends Object +implements ContentBody+
Constructor and Description | +
---|
AbstractContentBody(org.apache.http.entity.ContentType contentType) |
+
AbstractContentBody(String mimeType)
+Deprecated.
+
+(4.3) use
+AbstractContentBody(ContentType) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getCharset()
+The body descriptors character set, defaulted appropriately for the MIME type.
+ |
+
org.apache.http.entity.ContentType |
+getContentType() |
+
String |
+getMediaType()
+Gets the defaulted MIME media type for this content.
+ |
+
String |
+getMimeType()
+Returns the body descriptors MIME type.
+ |
+
String |
+getSubType()
+Gets the defaulted MIME sub type for this content.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFilename, writeTo
getContentLength, getTransferEncoding
public AbstractContentBody(org.apache.http.entity.ContentType contentType)+
@Deprecated +public AbstractContentBody(String mimeType)+
AbstractContentBody(ContentType)
public org.apache.http.entity.ContentType getContentType()+
public String getMimeType()+
ContentDescriptor
getMimeType
in interface ContentDescriptor
ContentDescriptor.getMediaType()
,
+ContentDescriptor.getSubType()
public String getMediaType()+
ContentDescriptor
TEXT
, IMAGE
, MULTIPART
getMediaType
in interface ContentDescriptor
TEXT
)ContentDescriptor.getMimeType()
public String getSubType()+
ContentDescriptor
getSubType
in interface ContentDescriptor
PLAIN
)ContentDescriptor.getMimeType()
public String getCharset()+
ContentDescriptor
The body descriptors character set, defaulted appropriately for the MIME type.
+
+ For TEXT
types, this will be defaulted to us-ascii
.
+ For other types, when the charset parameter is missing this property will be null.
+
getCharset
in interface ContentDescriptor
TEXT
types, when unset will
+ be set to default us-ascii
. For other types, when unset,
+ null will be returned.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ByteArrayBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ByteArrayBody.html new file mode 100644 index 0000000..02e9a12 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ByteArrayBody.html @@ -0,0 +1,412 @@ + + + + + + +public class ByteArrayBody +extends AbstractContentBody+
MultipartEntityBuilder
Constructor and Description | +
---|
ByteArrayBody(byte[] data,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
ByteArrayBody(byte[] data,
+ String filename)
+Creates a new ByteArrayBody.
+ |
+
ByteArrayBody(byte[] data,
+ String mimeType,
+ String filename)
+Deprecated.
+
+(4.3) use
+ByteArrayBody(byte[], ContentType, String)
+ or MultipartEntityBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getCharset()
+The body descriptors character set, defaulted appropriately for the MIME type.
+ |
+
long |
+getContentLength()
+Returns the body descriptors content-length.
+ |
+
String |
+getFilename() |
+
String |
+getTransferEncoding()
+Returns the body descriptors transfer encoding.
+ |
+
void |
+writeTo(OutputStream out) |
+
getContentType, getMediaType, getMimeType, getSubType
@Deprecated +public ByteArrayBody(byte[] data, + String mimeType, + String filename)+ +
data
- The contents of the file contained in this part.mimeType
- The MIME type of the file contained in this part.filename
- The name of the file contained in this part.public ByteArrayBody(byte[] data, + org.apache.http.entity.ContentType contentType, + String filename)+
public ByteArrayBody(byte[] data, + String filename)+
data
- The contents of the file contained in this part.filename
- The name of the file contained in this part.public String getFilename()+
public void writeTo(OutputStream out) + throws IOException+
IOException
public String getCharset()+
ContentDescriptor
The body descriptors character set, defaulted appropriately for the MIME type.
+
+ For TEXT
types, this will be defaulted to us-ascii
.
+ For other types, when the charset parameter is missing this property will be null.
+
getCharset
in interface ContentDescriptor
getCharset
in class AbstractContentBody
TEXT
types, when unset will
+ be set to default us-ascii
. For other types, when unset,
+ null will be returned.public String getTransferEncoding()+
ContentDescriptor
public long getContentLength()+
ContentDescriptor
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentBody.html new file mode 100644 index 0000000..24a7c46 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentBody.html @@ -0,0 +1,242 @@ + + + + + + +public interface ContentBody +extends ContentDescriptor+
Modifier and Type | +Method and Description | +
---|---|
String |
+getFilename() |
+
void |
+writeTo(OutputStream out) |
+
getCharset, getContentLength, getMediaType, getMimeType, getSubType, getTransferEncoding
String getFilename()+
void writeTo(OutputStream out) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentDescriptor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentDescriptor.html new file mode 100644 index 0000000..77b9ef2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/ContentDescriptor.html @@ -0,0 +1,321 @@ + + + + + + +public interface ContentDescriptor
+Modifier and Type | +Method and Description | +
---|---|
String |
+getCharset()
+The body descriptors character set, defaulted appropriately for the MIME type.
+ |
+
long |
+getContentLength()
+Returns the body descriptors content-length.
+ |
+
String |
+getMediaType()
+Gets the defaulted MIME media type for this content.
+ |
+
String |
+getMimeType()
+Returns the body descriptors MIME type.
+ |
+
String |
+getSubType()
+Gets the defaulted MIME sub type for this content.
+ |
+
String |
+getTransferEncoding()
+Returns the body descriptors transfer encoding.
+ |
+
String getMimeType()+
getMediaType()
,
+getSubType()
String getMediaType()+
TEXT
, IMAGE
, MULTIPART
TEXT
)getMimeType()
String getSubType()+
PLAIN
)getMimeType()
String getCharset()+
The body descriptors character set, defaulted appropriately for the MIME type.
+
+ For TEXT
types, this will be defaulted to us-ascii
.
+ For other types, when the charset parameter is missing this property will be null.
+
TEXT
types, when unset will
+ be set to default us-ascii
. For other types, when unset,
+ null will be returned.String getTransferEncoding()+
long getContentLength()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/FileBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/FileBody.html new file mode 100644 index 0000000..217b612 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/FileBody.html @@ -0,0 +1,471 @@ + + + + + + +public class FileBody +extends AbstractContentBody+
MultipartEntityBuilder
Constructor and Description | +
---|
FileBody(File file) |
+
FileBody(File file,
+ org.apache.http.entity.ContentType contentType) |
+
FileBody(File file,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
FileBody(File file,
+ String mimeType)
+Deprecated.
+
+(4.3) use
+FileBody(File, ContentType)
+ or MultipartEntityBuilder |
+
FileBody(File file,
+ String mimeType,
+ String charset)
+Deprecated.
+
+(4.3) use
+FileBody(File, ContentType)
+ or MultipartEntityBuilder |
+
FileBody(File file,
+ String filename,
+ String mimeType,
+ String charset)
+Deprecated.
+
+(4.3) use
+FileBody(File, ContentType, String)
+ or MultipartEntityBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getContentLength()
+Returns the body descriptors content-length.
+ |
+
File |
+getFile() |
+
String |
+getFilename() |
+
InputStream |
+getInputStream() |
+
String |
+getTransferEncoding()
+Returns the body descriptors transfer encoding.
+ |
+
void |
+writeTo(OutputStream out) |
+
getCharset, getContentType, getMediaType, getMimeType, getSubType
@Deprecated +public FileBody(File file, + String filename, + String mimeType, + String charset)+ +
@Deprecated +public FileBody(File file, + String mimeType, + String charset)+ +
@Deprecated +public FileBody(File file, + String mimeType)+ +
public FileBody(File file)+
public FileBody(File file, + org.apache.http.entity.ContentType contentType, + String filename)+
public FileBody(File file, + org.apache.http.entity.ContentType contentType)+
public InputStream getInputStream() + throws IOException+
IOException
public void writeTo(OutputStream out) + throws IOException+
IOException
public String getTransferEncoding()+
ContentDescriptor
public long getContentLength()+
ContentDescriptor
public String getFilename()+
public File getFile()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/InputStreamBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/InputStreamBody.html new file mode 100644 index 0000000..b02af84 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/InputStreamBody.html @@ -0,0 +1,407 @@ + + + + + + +public class InputStreamBody +extends AbstractContentBody+
MultipartEntityBuilder
Constructor and Description | +
---|
InputStreamBody(InputStream in,
+ org.apache.http.entity.ContentType contentType) |
+
InputStreamBody(InputStream in,
+ org.apache.http.entity.ContentType contentType,
+ String filename) |
+
InputStreamBody(InputStream in,
+ String filename) |
+
InputStreamBody(InputStream in,
+ String mimeType,
+ String filename)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getContentLength()
+Returns the body descriptors content-length.
+ |
+
String |
+getFilename() |
+
InputStream |
+getInputStream() |
+
String |
+getTransferEncoding()
+Returns the body descriptors transfer encoding.
+ |
+
void |
+writeTo(OutputStream out) |
+
getCharset, getContentType, getMediaType, getMimeType, getSubType
@Deprecated +public InputStreamBody(InputStream in, + String mimeType, + String filename)+ +
public InputStreamBody(InputStream in, + String filename)+
public InputStreamBody(InputStream in, + org.apache.http.entity.ContentType contentType, + String filename)+
public InputStreamBody(InputStream in, + org.apache.http.entity.ContentType contentType)+
public InputStream getInputStream()+
public void writeTo(OutputStream out) + throws IOException+
IOException
public String getTransferEncoding()+
ContentDescriptor
public long getContentLength()+
ContentDescriptor
public String getFilename()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/StringBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/StringBody.html new file mode 100644 index 0000000..cb2032a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/StringBody.html @@ -0,0 +1,517 @@ + + + + + + +public class StringBody +extends AbstractContentBody+
MultipartEntityBuilder
Constructor and Description | +
---|
StringBody(String text)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
StringBody(String text,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
StringBody(String text,
+ org.apache.http.entity.ContentType contentType) |
+
StringBody(String text,
+ String mimeType,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
static StringBody |
+create(String text)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
static StringBody |
+create(String text,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
static StringBody |
+create(String text,
+ String mimeType,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
long |
+getContentLength()
+Returns the body descriptors content-length.
+ |
+
String |
+getFilename() |
+
Reader |
+getReader() |
+
String |
+getTransferEncoding()
+Returns the body descriptors transfer encoding.
+ |
+
void |
+writeTo(OutputStream out) |
+
getCharset, getContentType, getMediaType, getMimeType, getSubType
@Deprecated +public StringBody(String text, + String mimeType, + Charset charset) + throws UnsupportedEncodingException+ +
text
- to be used for the body, not null
mimeType
- the MIME type, not null
charset
- the character set, may be null
, in which case the US-ASCII charset is usedUnsupportedEncodingException
IllegalArgumentException
- if the text
parameter is null@Deprecated +public StringBody(String text, + Charset charset) + throws UnsupportedEncodingException+ +
text
- to be used for the body, not null
charset
- the character set, may be null
, in which case the US-ASCII charset is usedUnsupportedEncodingException
IllegalArgumentException
- if the text
parameter is null@Deprecated +public StringBody(String text) + throws UnsupportedEncodingException+ +
text
- to be used for the body, not null
UnsupportedEncodingException
IllegalArgumentException
- if the text
parameter is nullpublic StringBody(String text, + org.apache.http.entity.ContentType contentType)+
@Deprecated +public static StringBody create(String text, + String mimeType, + Charset charset) + throws IllegalArgumentException+ +
IllegalArgumentException
@Deprecated +public static StringBody create(String text, + Charset charset) + throws IllegalArgumentException+ +
IllegalArgumentException
@Deprecated +public static StringBody create(String text) + throws IllegalArgumentException+ +
IllegalArgumentException
public Reader getReader()+
public void writeTo(OutputStream out) + throws IOException+
IOException
public String getTransferEncoding()+
ContentDescriptor
public long getContentLength()+
ContentDescriptor
public String getFilename()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/AbstractContentBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/AbstractContentBody.html new file mode 100644 index 0000000..3264562 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/AbstractContentBody.html @@ -0,0 +1,179 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ByteArrayBody
+Binary body part backed by a byte array.
+ |
+
class |
+FileBody
+Binary body part backed by a file.
+ |
+
class |
+InputStreamBody
+Binary body part backed by an input stream.
+ |
+
class |
+StringBody
+Text body part backed by a byte array.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ByteArrayBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ByteArrayBody.html new file mode 100644 index 0000000..3cf2213 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ByteArrayBody.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentBody.html new file mode 100644 index 0000000..97ec56b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentBody.html @@ -0,0 +1,277 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ContentBody |
+FormBodyPart.getBody() |
+
Modifier and Type | +Method and Description | +
---|---|
MultipartEntityBuilder |
+MultipartEntityBuilder.addPart(String name,
+ ContentBody contentBody) |
+
void |
+MultipartEntity.addPart(String name,
+ ContentBody contentBody)
+Deprecated.
+ |
+
static FormBodyPartBuilder |
+FormBodyPartBuilder.create(String name,
+ ContentBody body) |
+
protected void |
+FormBodyPart.generateContentDisp(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
protected void |
+FormBodyPart.generateContentType(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
protected void |
+FormBodyPart.generateTransferEncoding(ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
FormBodyPartBuilder |
+FormBodyPartBuilder.setBody(ContentBody body) |
+
Constructor and Description | +
---|
FormBodyPart(String name,
+ ContentBody body)
+Deprecated.
+
+(4.4) use
+FormBodyPartBuilder . |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractContentBody |
+
class |
+ByteArrayBody
+Binary body part backed by a byte array.
+ |
+
class |
+FileBody
+Binary body part backed by a file.
+ |
+
class |
+InputStreamBody
+Binary body part backed by an input stream.
+ |
+
class |
+StringBody
+Text body part backed by a byte array.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentDescriptor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentDescriptor.html new file mode 100644 index 0000000..631d962 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/ContentDescriptor.html @@ -0,0 +1,196 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+ContentBody |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractContentBody |
+
class |
+ByteArrayBody
+Binary body part backed by a byte array.
+ |
+
class |
+FileBody
+Binary body part backed by a file.
+ |
+
class |
+InputStreamBody
+Binary body part backed by an input stream.
+ |
+
class |
+StringBody
+Text body part backed by a byte array.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/FileBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/FileBody.html new file mode 100644 index 0000000..89facaa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/FileBody.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/InputStreamBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/InputStreamBody.html new file mode 100644 index 0000000..9af173f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/InputStreamBody.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/StringBody.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/StringBody.html new file mode 100644 index 0000000..1b5f6bd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/class-use/StringBody.html @@ -0,0 +1,185 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static StringBody |
+StringBody.create(String text)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
static StringBody |
+StringBody.create(String text,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
static StringBody |
+StringBody.create(String text,
+ String mimeType,
+ Charset charset)
+Deprecated.
+
+(4.3) use
+StringBody(String, ContentType)
+ or MultipartEntityBuilder |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-frame.html new file mode 100644 index 0000000..4083279 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
ContentBody | ++ |
ContentDescriptor | +
+ Represents common content properties.
+ |
+
Class | +Description | +
---|---|
AbstractContentBody | ++ |
ByteArrayBody | +
+ Binary body part backed by a byte array.
+ |
+
FileBody | +
+ Binary body part backed by a file.
+ |
+
InputStreamBody | +
+ Binary body part backed by an input stream.
+ |
+
StringBody | +
+ Text body part backed by a byte array.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-tree.html new file mode 100644 index 0000000..af6dae7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-tree.html @@ -0,0 +1,145 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-use.html new file mode 100644 index 0000000..1d985bb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/content/package-use.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
Class and Description | +
---|
ContentBody | +
Class and Description | +
---|
AbstractContentBody | +
ContentBody | +
ContentDescriptor
+ Represents common content properties.
+ |
+
StringBody
+ Text body part backed by a byte array.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-frame.html new file mode 100644 index 0000000..05ac121 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-frame.html @@ -0,0 +1,31 @@ + + + + + + +See: Description
+Class | +Description | +
---|---|
FormBodyPart | +
+ FormBodyPart class represents a content body that can be used as a part of multipart encoded
+ entities.
+ |
+
FormBodyPartBuilder | +
+ Builder for individual
+FormBodyPart s. |
+
Header | +
+ The header of an entity (see RFC 2045).
+ |
+
HttpMultipart | +Deprecated
+ (4.3) Use
+MultipartEntityBuilder . |
+
MIME | ++ |
MinimalField | +
+ Minimal MIME field.
+ |
+
MultipartEntity | +Deprecated
+ 4.3 Use
+MultipartEntityBuilder . |
+
MultipartEntityBuilder | +
+ Builder for multipart
+HttpEntity s. |
+
Enum | +Description | +
---|---|
HttpMultipartMode | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-tree.html new file mode 100644 index 0000000..2655e23 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-use.html new file mode 100644 index 0000000..89dbad2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/entity/mime/package-use.html @@ -0,0 +1,178 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
Class and Description | +
---|
FormBodyPart
+ FormBodyPart class represents a content body that can be used as a part of multipart encoded
+ entities.
+ |
+
FormBodyPartBuilder
+ Builder for individual
+FormBodyPart s. |
+
Header
+ The header of an entity (see RFC 2045).
+ |
+
HttpMultipartMode | +
MinimalField
+ Minimal MIME field.
+ |
+
MultipartEntityBuilder
+ Builder for multipart
+HttpEntity s. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/AuthSchemeBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/AuthSchemeBase.html new file mode 100644 index 0000000..de4619c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/AuthSchemeBase.html @@ -0,0 +1,457 @@ + + + + + + +public abstract class AuthSchemeBase +extends Object +implements ContextAwareAuthScheme+
Modifier and Type | +Field and Description | +
---|---|
protected ChallengeState |
+challengeState |
+
Constructor and Description | +
---|
AuthSchemeBase() |
+
AuthSchemeBase(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
ChallengeState |
+getChallengeState()
+Returns
+ChallengeState value or null if unchallenged. |
+
boolean |
+isProxy()
+Returns
+true if authenticating against a proxy, false
+ otherwise. |
+
protected abstract void |
+parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
void |
+processChallenge(org.apache.http.Header header)
+Processes the given challenge token.
+ |
+
String |
+toString() |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased
protected ChallengeState challengeState+
@Deprecated +public AuthSchemeBase(ChallengeState challengeState)+
AuthSchemeBase
with the given challenge
+ state.public AuthSchemeBase()+
public void processChallenge(org.apache.http.Header header) + throws MalformedChallengeException+
processChallenge
in interface AuthScheme
header
- the challenge headerMalformedChallengeException
- is thrown if the authentication challenge
+ is malformedpublic org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
ContextAwareAuthScheme
Credentials
.authenticate
in interface ContextAwareAuthScheme
credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failureprotected abstract void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, + int beginIndex, + int endIndex) + throws MalformedChallengeException+
MalformedChallengeException
public boolean isProxy()+
true
if authenticating against a proxy, false
+ otherwise.public ChallengeState getChallengeState()+
ChallengeState
value or null
if unchallenged.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicScheme.html new file mode 100644 index 0000000..5f54b32 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicScheme.html @@ -0,0 +1,514 @@ + + + + + + +public class BasicScheme +extends RFC2617Scheme+
challengeState
Constructor and Description | +
---|
BasicScheme() |
+
BasicScheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
BasicScheme(Charset credentialsCharset) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces basic authorization header for the given set of
+Credentials . |
+
static org.apache.http.Header |
+authenticate(Credentials credentials,
+ String charset,
+ boolean proxy)
+Deprecated.
+
+
+ |
+
String |
+getSchemeName()
+Returns textual designation of the basic authentication scheme.
+ |
+
boolean |
+isComplete()
+Tests if the Basic authentication process has been completed.
+ |
+
boolean |
+isConnectionBased()
+Returns
+false . |
+
void |
+processChallenge(org.apache.http.Header header)
+Processes the Basic challenge.
+ |
+
String |
+toString() |
+
getCredentialsCharset, getParameter, getParameters, getRealm, parseChallenge
getChallengeState, isProxy
public BasicScheme(Charset credentialsCharset)+
@Deprecated +public BasicScheme(ChallengeState challengeState)+
BasicScheme
with the given challenge
+ state.public BasicScheme()+
public String getSchemeName()+
basic
public void processChallenge(org.apache.http.Header header) + throws MalformedChallengeException+
processChallenge
in interface AuthScheme
processChallenge
in class AuthSchemeBase
header
- the challenge headerMalformedChallengeException
- is thrown if the authentication challenge
+ is malformedpublic boolean isComplete()+
true
if Basic authorization has been processed,
+ false
otherwise.public boolean isConnectionBased()+
false
. Basic authentication scheme is request based.false
.@Deprecated +public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
ContextAwareAuthScheme.authenticate(
+ Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
Credentials
.authenticate
in interface ContextAwareAuthScheme
authenticate
in class AuthSchemeBase
credentials
- The set of credentials to be used for authenticationrequest
- The request being authenticatedcontext
- HTTP contextInvalidCredentialsException
- if authentication
+ credentials are not valid or not applicable for this authentication schemeAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failure@Deprecated +public static org.apache.http.Header authenticate(Credentials credentials, + String charset, + boolean proxy)+
authenticate(Credentials, HttpRequest, HttpContext)
.Authorization
header value for the given
+ Credentials
and charset.credentials
- The credentials to encode.charset
- The charset to use for encoding the credentialspublic String toString()+
toString
in class AuthSchemeBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicSchemeFactory.html new file mode 100644 index 0000000..4b1d988 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/BasicSchemeFactory.html @@ -0,0 +1,312 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicSchemeFactory +extends Object +implements AuthSchemeFactory, AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ BasicScheme
instances.Constructor and Description | +
---|
BasicSchemeFactory() |
+
BasicSchemeFactory(Charset charset) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public BasicSchemeFactory(Charset charset)+
public BasicSchemeFactory()+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestScheme.html new file mode 100644 index 0000000..11fc127 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestScheme.html @@ -0,0 +1,530 @@ + + + + + + +public class DigestScheme +extends RFC2617Scheme+
+ Since the digest username is included as clear text in the generated + Authentication header, the charset of the username must be compatible + with the HTTP element charset used by the connection. +
challengeState
Constructor and Description | +
---|
DigestScheme() |
+
DigestScheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
DigestScheme(Charset credentialsCharset) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces a digest authorization string for the given set of
+
+Credentials , method name and URI. |
+
static String |
+createCnonce()
+Creates a random cnonce value based on the current time.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the digest authentication scheme.
+ |
+
boolean |
+isComplete()
+Tests if the Digest authentication process has been completed.
+ |
+
boolean |
+isConnectionBased()
+Returns
+false . |
+
void |
+overrideParamter(String name,
+ String value) |
+
void |
+processChallenge(org.apache.http.Header header)
+Processes the Digest challenge.
+ |
+
String |
+toString() |
+
getCredentialsCharset, getParameter, getParameters, getRealm, parseChallenge
getChallengeState, isProxy
public DigestScheme(Charset credentialsCharset)+
@Deprecated +public DigestScheme(ChallengeState challengeState)+
DigestScheme
with the given challenge
+ state.public DigestScheme()+
public void processChallenge(org.apache.http.Header header) + throws MalformedChallengeException+
processChallenge
in interface AuthScheme
processChallenge
in class AuthSchemeBase
header
- the challenge headerMalformedChallengeException
- is thrown if the authentication challenge
+ is malformedpublic boolean isComplete()+
true
if Digest authorization has been processed,
+ false
otherwise.public String getSchemeName()+
digest
public boolean isConnectionBased()+
false
. Digest authentication scheme is request based.false
.@Deprecated +public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
ContextAwareAuthScheme.authenticate(
+ Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
Credentials
, method name and URI.authenticate
in interface ContextAwareAuthScheme
authenticate
in class AuthSchemeBase
credentials
- A set of credentials to be used for athenticationrequest
- The request being authenticatedcontext
- HTTP contextInvalidCredentialsException
- if authentication credentials
+ are not valid or not applicable for this authentication schemeAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic static String createCnonce()+
public String toString()+
toString
in class AuthSchemeBase
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestSchemeFactory.html new file mode 100644 index 0000000..55d8e1b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/DigestSchemeFactory.html @@ -0,0 +1,312 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DigestSchemeFactory +extends Object +implements AuthSchemeFactory, AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ DigestScheme
instances.Constructor and Description | +
---|
DigestSchemeFactory() |
+
DigestSchemeFactory(Charset charset) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public DigestSchemeFactory(Charset charset)+
public DigestSchemeFactory()+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/GGSSchemeBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/GGSSchemeBase.html new file mode 100644 index 0000000..e1b721b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/GGSSchemeBase.html @@ -0,0 +1,466 @@ + + + + + + +public abstract class GGSSchemeBase +extends AuthSchemeBase+
challengeState
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+
+ |
+
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
protected byte[] |
+generateGSSToken(byte[] input,
+ Oid oid,
+ String authServer) |
+
protected byte[] |
+generateGSSToken(byte[] input,
+ Oid oid,
+ String authServer,
+ Credentials credentials) |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer)
+Deprecated.
+
+
+ |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
protected GSSManager |
+getManager() |
+
boolean |
+isComplete()
+Authentication process may involve a series of challenge-response exchanges.
+ |
+
protected void |
+parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
getChallengeState, isProxy, processChallenge, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameter, getRealm, getSchemeName, isConnectionBased
protected GSSManager getManager()+
protected byte[] generateGSSToken(byte[] input, + Oid oid, + String authServer) + throws GSSException+
GSSException
protected byte[] generateGSSToken(byte[] input, + Oid oid, + String authServer, + Credentials credentials) + throws GSSException+
GSSException
@Deprecated +protected byte[] generateToken(byte[] input, + String authServer) + throws GSSException+
generateToken(byte[], String, org.apache.http.auth.Credentials)
.GSSException
protected byte[] generateToken(byte[] input, + String authServer, + Credentials credentials) + throws GSSException+
GSSException
public boolean isComplete()+
AuthScheme
true
if the authentication process has been completed,
+ false
otherwise.@Deprecated +public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
ContextAwareAuthScheme.authenticate(
+ Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
ContextAwareAuthScheme
Credentials
.authenticate
in interface ContextAwareAuthScheme
authenticate
in class AuthSchemeBase
credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failureprotected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, + int beginIndex, + int endIndex) + throws MalformedChallengeException+
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/HttpAuthenticator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/HttpAuthenticator.html new file mode 100644 index 0000000..4cfb2e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/HttpAuthenticator.html @@ -0,0 +1,327 @@ + + + + + + +public class HttpAuthenticator +extends Object+
Constructor and Description | +
---|
HttpAuthenticator() |
+
HttpAuthenticator(org.apache.commons.logging.Log log) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+generateAuthResponse(org.apache.http.HttpRequest request,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
boolean |
+handleAuthChallenge(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context) |
+
public HttpAuthenticator(org.apache.commons.logging.Log log)+
public HttpAuthenticator()+
public boolean isAuthenticationRequested(org.apache.http.HttpHost host, + org.apache.http.HttpResponse response, + AuthenticationStrategy authStrategy, + AuthState authState, + org.apache.http.protocol.HttpContext context)+
public boolean handleAuthChallenge(org.apache.http.HttpHost host, + org.apache.http.HttpResponse response, + AuthenticationStrategy authStrategy, + AuthState authState, + org.apache.http.protocol.HttpContext context)+
public void generateAuthResponse(org.apache.http.HttpRequest request, + AuthState authState, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
org.apache.http.HttpException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosScheme.html new file mode 100644 index 0000000..2e99fc6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosScheme.html @@ -0,0 +1,470 @@ + + + + + + +public class KerberosScheme +extends GGSSchemeBase+
challengeState
Constructor and Description | +
---|
KerberosScheme() |
+
KerberosScheme(boolean stripPort) |
+
KerberosScheme(boolean stripPort,
+ boolean useCanonicalHostname) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces KERBEROS authorization Header based on token created by
+ processChallenge.
+ |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer) |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
String |
+getParameter(String name)
+There are no valid parameters for KERBEROS authentication so this
+ method always returns
+null . |
+
String |
+getRealm()
+The concept of an authentication realm is not supported by the Negotiate
+ authentication scheme.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the given authentication scheme.
+ |
+
boolean |
+isConnectionBased()
+Returns
+true . |
+
authenticate, generateGSSToken, generateGSSToken, getManager, isComplete, parseChallenge
getChallengeState, isProxy, processChallenge, toString
public KerberosScheme(boolean stripPort, + boolean useCanonicalHostname)+
public KerberosScheme(boolean stripPort)+
public KerberosScheme()+
public String getSchemeName()+
AuthScheme
public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
authenticate
in interface ContextAwareAuthScheme
authenticate
in class GGSSchemeBase
credentials
- not used by the KERBEROS scheme.request
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authentication string cannot
+ be generated due to an authentication failureprotected byte[] generateToken(byte[] input, + String authServer) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
protected byte[] generateToken(byte[] input, + String authServer, + Credentials credentials) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
public String getParameter(String name)+
null
.name
- The name of the parameter to be returnednull
public String getRealm()+
null
.null
public boolean isConnectionBased()+
true
. KERBEROS authentication scheme is connection based.true
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosSchemeFactory.html new file mode 100644 index 0000000..ae31789 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/KerberosSchemeFactory.html @@ -0,0 +1,352 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class KerberosSchemeFactory +extends Object +implements AuthSchemeFactory, AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ KerberosScheme
instances.Constructor and Description | +
---|
KerberosSchemeFactory() |
+
KerberosSchemeFactory(boolean stripPort) |
+
KerberosSchemeFactory(boolean stripPort,
+ boolean useCanonicalHostname) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
boolean |
+isStripPort() |
+
boolean |
+isUseCanonicalHostname() |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public KerberosSchemeFactory(boolean stripPort, + boolean useCanonicalHostname)+
public KerberosSchemeFactory(boolean stripPort)+
public KerberosSchemeFactory()+
public boolean isStripPort()+
public boolean isUseCanonicalHostname()+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngine.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngine.html new file mode 100644 index 0000000..35de222 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngine.html @@ -0,0 +1,255 @@ + + + + + + +public interface NTLMEngine
+Modifier and Type | +Method and Description | +
---|---|
String |
+generateType1Msg(String domain,
+ String workstation)
+Generates a Type1 message given the domain and workstation.
+ |
+
String |
+generateType3Msg(String username,
+ String password,
+ String domain,
+ String workstation,
+ String challenge)
+Generates a Type3 message given the user credentials and the
+ authentication challenge.
+ |
+
String generateType1Msg(String domain, + String workstation) + throws NTLMEngineException+
domain
- Optional Windows domain name. Can be null
.workstation
- Optional Windows workstation name. Can be
+ null
.NTLMEngineException
String generateType3Msg(String username, + String password, + String domain, + String workstation, + String challenge) + throws NTLMEngineException+
username
- Windows user namepassword
- Passworddomain
- Windows domain nameworkstation
- Windows workstation namechallenge
- Type2 challenge.NTLMEngineException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngineException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngineException.html new file mode 100644 index 0000000..609770a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMEngineException.html @@ -0,0 +1,305 @@ + + + + + + +public class NTLMEngineException +extends AuthenticationException+
Constructor and Description | +
---|
NTLMEngineException() |
+
NTLMEngineException(String message)
+Creates a new NTLMEngineException with the specified message.
+ |
+
NTLMEngineException(String message,
+ Throwable cause)
+Creates a new NTLMEngineException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NTLMEngineException()+
public NTLMEngineException(String message)+
message
- the exception detail messagepublic NTLMEngineException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMScheme.html new file mode 100644 index 0000000..c567294 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMScheme.html @@ -0,0 +1,442 @@ + + + + + + +public class NTLMScheme +extends AuthSchemeBase+
challengeState
Constructor and Description | +
---|
NTLMScheme() |
+
NTLMScheme(NTLMEngine engine) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Produces an authorization string for the given set of
+Credentials . |
+
String |
+getParameter(String name)
+Returns authentication parameter with the given name, if available.
+ |
+
String |
+getRealm()
+Returns authentication realm.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the given authentication scheme.
+ |
+
boolean |
+isComplete()
+Authentication process may involve a series of challenge-response exchanges.
+ |
+
boolean |
+isConnectionBased()
+Tests if the authentication scheme is provides authorization on a per
+ connection basis instead of usual per request basis
+ |
+
protected void |
+parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
authenticate, getChallengeState, isProxy, processChallenge, toString
public NTLMScheme(NTLMEngine engine)+
public NTLMScheme()+
public String getSchemeName()+
AuthScheme
public String getParameter(String name)+
AuthScheme
name
- The name of the parameter to be returnedpublic String getRealm()+
AuthScheme
null
.public boolean isConnectionBased()+
AuthScheme
true
if the scheme is connection based, false
+ if the scheme is request based.protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, + int beginIndex, + int endIndex) + throws MalformedChallengeException+
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic boolean isComplete()+
AuthScheme
true
if the authentication process has been completed,
+ false
otherwise.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMSchemeFactory.html new file mode 100644 index 0000000..5f8ded0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NTLMSchemeFactory.html @@ -0,0 +1,299 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NTLMSchemeFactory +extends Object +implements AuthSchemeFactory, AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ NTLMScheme
instances configured to use the default NTLMEngine
+ implementation.Constructor and Description | +
---|
NTLMSchemeFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateScheme.html new file mode 100644 index 0000000..65901ae --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateScheme.html @@ -0,0 +1,534 @@ + + + + + + +SPNegoScheme
or KerberosScheme
.@Deprecated +public class NegotiateScheme +extends GGSSchemeBase+
challengeState
Constructor and Description | +
---|
NegotiateScheme()
+Deprecated.
+ |
+
NegotiateScheme(SpnegoTokenGenerator spengoGenerator)
+Deprecated.
+ |
+
NegotiateScheme(SpnegoTokenGenerator spengoGenerator,
+ boolean stripPort)
+Deprecated.
+Default constructor for the Negotiate authentication scheme.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+Produces an authorization string for the given set of
+Credentials . |
+
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Produces Negotiate authorization Header based on token created by
+ processChallenge.
+ |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer)
+Deprecated.
+ |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer,
+ Credentials credentials)
+Deprecated.
+ |
+
String |
+getParameter(String name)
+Deprecated.
+Returns the authentication parameter with the given name, if available.
+ |
+
String |
+getRealm()
+Deprecated.
+The concept of an authentication realm is not supported by the Negotiate
+ authentication scheme.
+ |
+
String |
+getSchemeName()
+Deprecated.
+Returns textual designation of the Negotiate authentication scheme.
+ |
+
boolean |
+isConnectionBased()
+Deprecated.
+Returns
+true . |
+
generateGSSToken, generateGSSToken, getManager, isComplete, parseChallenge
getChallengeState, isProxy, processChallenge, toString
public NegotiateScheme(SpnegoTokenGenerator spengoGenerator, + boolean stripPort)+
public NegotiateScheme(SpnegoTokenGenerator spengoGenerator)+
public NegotiateScheme()+
public String getSchemeName()+
Negotiate
public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
AuthScheme
Credentials
.authenticate
in interface AuthScheme
authenticate
in class GGSSchemeBase
credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
authenticate
in interface ContextAwareAuthScheme
authenticate
in class GGSSchemeBase
credentials
- Never used be the Negotiate scheme but must be provided to
+ satisfy common-httpclient API. Credentials from JAAS will be used instead.request
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authorisation string cannot
+ be generated due to an authentication failureprotected byte[] generateToken(byte[] input, + String authServer) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
protected byte[] generateToken(byte[] input, + String authServer, + Credentials credentials) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
public String getParameter(String name)+
There are no valid parameters for Negotiate authentication so this
+ method always returns null
.
name
- The name of the parameter to be returnedpublic String getRealm()+
null
.null
public boolean isConnectionBased()+
true
.
+ Negotiate authentication scheme is connection based.true
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateSchemeFactory.html new file mode 100644 index 0000000..9fd255e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/NegotiateSchemeFactory.html @@ -0,0 +1,349 @@ + + + + + + +SPNegoSchemeFactory
or KerberosSchemeFactory
.@Deprecated +public class NegotiateSchemeFactory +extends Object +implements AuthSchemeFactory+
Constructor and Description | +
---|
NegotiateSchemeFactory()
+Deprecated.
+ |
+
NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator)
+Deprecated.
+ |
+
NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator,
+ boolean stripPort)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SpnegoTokenGenerator |
+getSpengoGenerator()
+Deprecated.
+ |
+
boolean |
+isStripPort()
+Deprecated.
+ |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator, + boolean stripPort)+
public NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator)+
public NegotiateSchemeFactory()+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public boolean isStripPort()+
public SpnegoTokenGenerator getSpengoGenerator()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/RFC2617Scheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/RFC2617Scheme.html new file mode 100644 index 0000000..beb6bd2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/RFC2617Scheme.html @@ -0,0 +1,426 @@ + + + + + + +public abstract class RFC2617Scheme +extends AuthSchemeBase +implements Serializable+
challengeState
Constructor and Description | +
---|
RFC2617Scheme() |
+
RFC2617Scheme(ChallengeState challengeState)
+Deprecated.
+
+(4.3) do not use.
+ |
+
RFC2617Scheme(Charset credentialsCharset) |
+
Modifier and Type | +Method and Description | +
---|---|
Charset |
+getCredentialsCharset() |
+
String |
+getParameter(String name)
+Returns authentication parameter with the given name, if available.
+ |
+
protected Map<String,String> |
+getParameters()
+Returns authentication parameters map.
+ |
+
String |
+getRealm()
+Returns authentication realm.
+ |
+
protected void |
+parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int pos,
+ int len) |
+
authenticate, getChallengeState, isProxy, processChallenge, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getSchemeName, isComplete, isConnectionBased
@Deprecated +public RFC2617Scheme(ChallengeState challengeState)+
RFC2617Scheme
with the given challenge
+ state.public RFC2617Scheme(Charset credentialsCharset)+
public RFC2617Scheme()+
public Charset getCredentialsCharset()+
protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, + int pos, + int len) + throws MalformedChallengeException+
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
protected Map<String,String> getParameters()+
public String getParameter(String name)+
getParameter
in interface AuthScheme
name
- The name of the parameter to be returnedpublic String getRealm()+
getRealm
in interface AuthScheme
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoScheme.html new file mode 100644 index 0000000..fc5dc74 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoScheme.html @@ -0,0 +1,471 @@ + + + + + + +public class SPNegoScheme +extends GGSSchemeBase+
challengeState
Constructor and Description | +
---|
SPNegoScheme() |
+
SPNegoScheme(boolean stripPort) |
+
SPNegoScheme(boolean stripPort,
+ boolean useCanonicalHostname) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces SPNEGO authorization Header based on token created by
+ processChallenge.
+ |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer) |
+
protected byte[] |
+generateToken(byte[] input,
+ String authServer,
+ Credentials credentials) |
+
String |
+getParameter(String name)
+There are no valid parameters for SPNEGO authentication so this
+ method always returns
+null . |
+
String |
+getRealm()
+The concept of an authentication realm is not supported by the Negotiate
+ authentication scheme.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the given authentication scheme.
+ |
+
boolean |
+isConnectionBased()
+Returns
+true . |
+
authenticate, generateGSSToken, generateGSSToken, getManager, isComplete, parseChallenge
getChallengeState, isProxy, processChallenge, toString
public SPNegoScheme(boolean stripPort, + boolean useCanonicalHostname)+
public SPNegoScheme(boolean stripPort)+
public SPNegoScheme()+
public String getSchemeName()+
AuthScheme
public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
authenticate
in interface ContextAwareAuthScheme
authenticate
in class GGSSchemeBase
credentials
- not used by the SPNEGO scheme.request
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authentication string cannot
+ be generated due to an authentication failureprotected byte[] generateToken(byte[] input, + String authServer) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
protected byte[] generateToken(byte[] input, + String authServer, + Credentials credentials) + throws GSSException+
generateToken
in class GGSSchemeBase
GSSException
public String getParameter(String name)+
null
.name
- The name of the parameter to be returnednull
public String getRealm()+
null
.null
public boolean isConnectionBased()+
true
. SPNEGO authentication scheme is connection based.true
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoSchemeFactory.html new file mode 100644 index 0000000..2996229 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SPNegoSchemeFactory.html @@ -0,0 +1,352 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class SPNegoSchemeFactory +extends Object +implements AuthSchemeFactory, AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ SPNegoScheme
instances.Constructor and Description | +
---|
SPNegoSchemeFactory() |
+
SPNegoSchemeFactory(boolean stripPort) |
+
SPNegoSchemeFactory(boolean stripPort,
+ boolean useCanonicalHostname) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
boolean |
+isStripPort() |
+
boolean |
+isUseCanonicalHostname() |
+
AuthScheme |
+newInstance(org.apache.http.params.HttpParams params)
+Creates an instance of
+AuthScheme using given HTTP parameters. |
+
public SPNegoSchemeFactory(boolean stripPort, + boolean useCanonicalHostname)+
public SPNegoSchemeFactory(boolean stripPort)+
public SPNegoSchemeFactory()+
public boolean isStripPort()+
public boolean isUseCanonicalHostname()+
public AuthScheme newInstance(org.apache.http.params.HttpParams params)+
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SpnegoTokenGenerator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SpnegoTokenGenerator.html new file mode 100644 index 0000000..794c465 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/SpnegoTokenGenerator.html @@ -0,0 +1,225 @@ + + + + + + +KerberosScheme
and override
+ GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials)
@Deprecated +public interface SpnegoTokenGenerator+
+ Implementations of this interface are expected to be thread-safe.
Modifier and Type | +Method and Description | +
---|---|
byte[] |
+generateSpnegoDERObject(byte[] kerberosTicket)
+Deprecated.
+ |
+
byte[] generateSpnegoDERObject(byte[] kerberosTicket) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.html new file mode 100644 index 0000000..98f4459 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.html @@ -0,0 +1,299 @@ + + + + + + +public class UnsupportedDigestAlgorithmException +extends RuntimeException+
Constructor and Description | +
---|
UnsupportedDigestAlgorithmException()
+Creates a new UnsupportedAuthAlgoritmException with a
+null detail message. |
+
UnsupportedDigestAlgorithmException(String message)
+Creates a new UnsupportedAuthAlgoritmException with the specified message.
+ |
+
UnsupportedDigestAlgorithmException(String message,
+ Throwable cause)
+Creates a new UnsupportedAuthAlgoritmException with the specified detail message and cause.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedDigestAlgorithmException()+
null
detail message.public UnsupportedDigestAlgorithmException(String message)+
message
- the exception detail messagepublic UnsupportedDigestAlgorithmException(String message, + Throwable cause)+
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
+ if the cause is unavailable, unknown, or not a Throwable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/AuthSchemeBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/AuthSchemeBase.html new file mode 100644 index 0000000..91d773a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/AuthSchemeBase.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicScheme
+Basic authentication scheme as defined in RFC 2617.
+ |
+
class |
+DigestScheme
+Digest authentication scheme as defined in RFC 2617.
+ |
+
class |
+GGSSchemeBase |
+
class |
+KerberosScheme
+KERBEROS authentication scheme.
+ |
+
class |
+NegotiateScheme
+Deprecated.
+
+(4.2) use
+SPNegoScheme or KerberosScheme . |
+
class |
+NTLMScheme
+NTLM is a proprietary authentication scheme developed by Microsoft
+ and optimized for Windows platforms.
+ |
+
class |
+RFC2617Scheme
+Abstract authentication scheme class that lays foundation for all
+ RFC 2617 compliant authentication schemes and provides capabilities common
+ to all authentication schemes defined in RFC 2617.
+ |
+
class |
+SPNegoScheme
+SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
+ scheme.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+WindowsNegotiateScheme
+Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicScheme.html new file mode 100644 index 0000000..36e0c47 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicSchemeFactory.html new file mode 100644 index 0000000..d0e2a5f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/BasicSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestScheme.html new file mode 100644 index 0000000..0f8dbc4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestSchemeFactory.html new file mode 100644 index 0000000..8b58217 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/DigestSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/GGSSchemeBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/GGSSchemeBase.html new file mode 100644 index 0000000..de4dd22 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/GGSSchemeBase.html @@ -0,0 +1,177 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+KerberosScheme
+KERBEROS authentication scheme.
+ |
+
class |
+NegotiateScheme
+Deprecated.
+
+(4.2) use
+SPNegoScheme or KerberosScheme . |
+
class |
+SPNegoScheme
+SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
+ scheme.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/HttpAuthenticator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/HttpAuthenticator.html new file mode 100644 index 0000000..0cba932 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/HttpAuthenticator.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+HttpAuthenticator
+Deprecated.
+
+(4.3) reserved for internal use.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosScheme.html new file mode 100644 index 0000000..116d24d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosSchemeFactory.html new file mode 100644 index 0000000..e5f3fbc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/KerberosSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngine.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngine.html new file mode 100644 index 0000000..ca47951 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngine.html @@ -0,0 +1,158 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Constructor and Description | +
---|
NTLMScheme(NTLMEngine engine) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngineException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngineException.html new file mode 100644 index 0000000..d07ed4e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMEngineException.html @@ -0,0 +1,174 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+NTLMEngine.generateType1Msg(String domain,
+ String workstation)
+Generates a Type1 message given the domain and workstation.
+ |
+
String |
+NTLMEngine.generateType3Msg(String username,
+ String password,
+ String domain,
+ String workstation,
+ String challenge)
+Generates a Type3 message given the user credentials and the
+ authentication challenge.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMScheme.html new file mode 100644 index 0000000..331e69f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMSchemeFactory.html new file mode 100644 index 0000000..8d57bc4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NTLMSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateScheme.html new file mode 100644 index 0000000..19f1af2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateSchemeFactory.html new file mode 100644 index 0000000..24a3c31 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/NegotiateSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/RFC2617Scheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/RFC2617Scheme.html new file mode 100644 index 0000000..6555a47 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/RFC2617Scheme.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicScheme
+Basic authentication scheme as defined in RFC 2617.
+ |
+
class |
+DigestScheme
+Digest authentication scheme as defined in RFC 2617.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoScheme.html new file mode 100644 index 0000000..4088aa5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoSchemeFactory.html new file mode 100644 index 0000000..19d9d4e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SPNegoSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SpnegoTokenGenerator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SpnegoTokenGenerator.html new file mode 100644 index 0000000..cd8ad02 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/SpnegoTokenGenerator.html @@ -0,0 +1,193 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
SpnegoTokenGenerator |
+NegotiateSchemeFactory.getSpengoGenerator()
+Deprecated.
+ |
+
Constructor and Description | +
---|
NegotiateScheme(SpnegoTokenGenerator spengoGenerator)
+Deprecated.
+ |
+
NegotiateScheme(SpnegoTokenGenerator spengoGenerator,
+ boolean stripPort)
+Deprecated.
+Default constructor for the Negotiate authentication scheme.
+ |
+
NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator)
+Deprecated.
+ |
+
NegotiateSchemeFactory(SpnegoTokenGenerator spengoGenerator,
+ boolean stripPort)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/UnsupportedDigestAlgorithmException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/UnsupportedDigestAlgorithmException.html new file mode 100644 index 0000000..474c1c2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/class-use/UnsupportedDigestAlgorithmException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-frame.html new file mode 100644 index 0000000..eb38ad2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
NTLMEngine | +
+ Abstract NTLM authentication engine.
+ |
+
SpnegoTokenGenerator | +Deprecated
+ (4.2) subclass
+KerberosScheme and override
+ GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials) |
+
Class | +Description | +
---|---|
AuthSchemeBase | +
+ Abstract authentication scheme class that serves as a basis
+ for all authentication schemes supported by HttpClient.
+ |
+
BasicScheme | +
+ Basic authentication scheme as defined in RFC 2617.
+ |
+
BasicSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ BasicScheme instances. |
+
DigestScheme | +
+ Digest authentication scheme as defined in RFC 2617.
+ |
+
DigestSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ DigestScheme instances. |
+
GGSSchemeBase | ++ |
HttpAuthenticator | ++ |
KerberosScheme | +
+ KERBEROS authentication scheme.
+ |
+
KerberosSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ KerberosScheme instances. |
+
NegotiateScheme | +Deprecated
+ (4.2) use
+SPNegoScheme or KerberosScheme . |
+
NegotiateSchemeFactory | +Deprecated
+ (4.2) use
+SPNegoSchemeFactory or KerberosSchemeFactory . |
+
NTLMScheme | +
+ NTLM is a proprietary authentication scheme developed by Microsoft
+ and optimized for Windows platforms.
+ |
+
NTLMSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ NTLMScheme instances configured to use the default NTLMEngine
+ implementation. |
+
RFC2617Scheme | +
+ Abstract authentication scheme class that lays foundation for all
+ RFC 2617 compliant authentication schemes and provides capabilities common
+ to all authentication schemes defined in RFC 2617.
+ |
+
SPNegoScheme | +
+ SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
+ scheme.
+ |
+
SPNegoSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ SPNegoScheme instances. |
+
Exception | +Description | +
---|---|
NTLMEngineException | +
+ Signals NTLM protocol failure.
+ |
+
UnsupportedDigestAlgorithmException | +
+ Authentication credentials required to respond to a authentication
+ challenge are invalid
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-tree.html new file mode 100644 index 0000000..c63802b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-use.html new file mode 100644 index 0000000..231921f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/package-use.html @@ -0,0 +1,229 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Class and Description | +
---|
AuthSchemeBase
+ Abstract authentication scheme class that serves as a basis
+ for all authentication schemes supported by HttpClient.
+ |
+
GGSSchemeBase | +
NTLMEngine
+ Abstract NTLM authentication engine.
+ |
+
NTLMEngineException
+ Signals NTLM protocol failure.
+ |
+
RFC2617Scheme
+ Abstract authentication scheme class that lays foundation for all
+ RFC 2617 compliant authentication schemes and provides capabilities common
+ to all authentication schemes defined in RFC 2617.
+ |
+
SpnegoTokenGenerator
+ Deprecated.
+
+(4.2) subclass
+KerberosScheme and override
+ GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials) |
+
Class and Description | +
---|
AuthSchemeBase
+ Abstract authentication scheme class that serves as a basis
+ for all authentication schemes supported by HttpClient.
+ |
+
Class and Description | +
---|
HttpAuthenticator | +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/CurrentWindowsCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/CurrentWindowsCredentials.html new file mode 100644 index 0000000..c45c40e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/CurrentWindowsCredentials.html @@ -0,0 +1,388 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public final class CurrentWindowsCredentials +extends Object +implements Credentials, Serializable, Principal+
+ EXPERIMENTAL +
Modifier and Type | +Field and Description | +
---|---|
static CurrentWindowsCredentials |
+INSTANCE |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
static String |
+getCurrentUsername()
+Get the SAM-compatible username of the currently logged-on user.
+ |
+
String |
+getName() |
+
String |
+getPassword()
+Returns an empty password
+ |
+
Principal |
+getUserPrincipal() |
+
int |
+hashCode() |
+
String |
+toString() |
+
public static final CurrentWindowsCredentials INSTANCE+
public static String getCurrentUsername()+
public Principal getUserPrincipal()+
getUserPrincipal
in interface Credentials
public int hashCode()+ +
public boolean equals(Object o)+ +
public String toString()+ +
public String getPassword()+
getPassword
in interface Credentials
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsCredentialsProvider.html new file mode 100644 index 0000000..7aab171 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsCredentialsProvider.html @@ -0,0 +1,328 @@ + + + + + + +@Contract(threading=SAFE) +public class WindowsCredentialsProvider +extends Object +implements CredentialsProvider+
CredentialsProvider
implementation that always returns
+ CurrentWindowsCredentials
instance to NTLM
+ and SPNego authentication challenges.
+ + EXPERIMENTAL +
Constructor and Description | +
---|
WindowsCredentialsProvider(CredentialsProvider provider) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+clear()
+Clears all credentials.
+ |
+
Credentials |
+getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
void |
+setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
public WindowsCredentialsProvider(CredentialsProvider provider)+
public Credentials getCredentials(AuthScope authscope)+
CredentialsProvider
credentials
for the given authentication scope.getCredentials
in interface CredentialsProvider
authscope
- the authentication scope
CredentialsProvider.setCredentials(AuthScope, Credentials)
public void setCredentials(AuthScope authscope, + Credentials credentials)+
CredentialsProvider
credentials
for the given authentication
+ scope. Any previous credentials for the given scope will be overwritten.setCredentials
in interface CredentialsProvider
authscope
- the authentication scope
credentials
- the authentication credentials
+ for the given scope.CredentialsProvider.getCredentials(AuthScope)
public void clear()+
CredentialsProvider
clear
in interface CredentialsProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNTLMSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNTLMSchemeFactory.html new file mode 100644 index 0000000..f5e132d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNTLMSchemeFactory.html @@ -0,0 +1,279 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class WindowsNTLMSchemeFactory +extends Object +implements AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ WindowsNegotiateScheme
using JNA to implement NTLM
+ + EXPERIMENTAL +
Constructor and Description | +
---|
WindowsNTLMSchemeFactory(String servicePrincipalName) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
public WindowsNTLMSchemeFactory(String servicePrincipalName)+
public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateScheme.html new file mode 100644 index 0000000..ca826d1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateScheme.html @@ -0,0 +1,505 @@ + + + + + + +public class WindowsNegotiateScheme +extends AuthSchemeBase+
+ This will delegate negotiation to the windows machine. +
++ EXPERIMENTAL +
challengeState
Constructor and Description | +
---|
WindowsNegotiateScheme(String scheme,
+ String servicePrincipalName) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request)
+Deprecated.
+
+
+ |
+
org.apache.http.Header |
+authenticate(Credentials credentials,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Produces an authorization string for the given set of
+
+Credentials . |
+
void |
+dispose() |
+
void |
+finalize() |
+
String |
+getParameter(String name)
+Returns authentication parameter with the given name, if available.
+ |
+
String |
+getRealm()
+Returns authentication realm.
+ |
+
String |
+getSchemeName()
+Returns textual designation of the given authentication scheme.
+ |
+
boolean |
+isComplete()
+Authentication process may involve a series of challenge-response exchanges.
+ |
+
boolean |
+isConnectionBased()
+Tests if the authentication scheme is provides authorization on a per
+ connection basis instead of usual per request basis
+ |
+
protected void |
+parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
+ int beginIndex,
+ int endIndex) |
+
getChallengeState, isProxy, processChallenge, toString
public void dispose()+
public void finalize() + throws Throwable+ +
public String getSchemeName()+
AuthScheme
public String getParameter(String name)+
AuthScheme
name
- The name of the parameter to be returnedpublic String getRealm()+
AuthScheme
null
.public boolean isConnectionBased()+
AuthScheme
true
if the scheme is connection based, false
+ if the scheme is request based.protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, + int beginIndex, + int endIndex) + throws MalformedChallengeException+
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
ContextAwareAuthScheme
Credentials
.authenticate
in interface ContextAwareAuthScheme
authenticate
in class AuthSchemeBase
credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedcontext
- HTTP contextAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failurepublic boolean isComplete()+
AuthScheme
true
if the authentication process has been completed,
+ false
otherwise.@Deprecated +public org.apache.http.Header authenticate(Credentials credentials, + org.apache.http.HttpRequest request) + throws AuthenticationException+
authenticate(Credentials, HttpRequest, HttpContext)
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
+ be generated due to an authentication failureCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateSchemeFactory.html new file mode 100644 index 0000000..4f2766c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/WindowsNegotiateSchemeFactory.html @@ -0,0 +1,279 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class WindowsNegotiateSchemeFactory +extends Object +implements AuthSchemeProvider+
AuthSchemeProvider
implementation that creates and initializes
+ WindowsNegotiateScheme
using JNA to Negotiate credentials
+ + EXPERIMENTAL +
Constructor and Description | +
---|
WindowsNegotiateSchemeFactory(String servicePrincipalName) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthScheme |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+AuthScheme . |
+
public WindowsNegotiateSchemeFactory(String servicePrincipalName)+
public AuthScheme create(org.apache.http.protocol.HttpContext context)+
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/CurrentWindowsCredentials.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/CurrentWindowsCredentials.html new file mode 100644 index 0000000..a118fcd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/CurrentWindowsCredentials.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static CurrentWindowsCredentials |
+CurrentWindowsCredentials.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsCredentialsProvider.html new file mode 100644 index 0000000..0404b92 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsCredentialsProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNTLMSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNTLMSchemeFactory.html new file mode 100644 index 0000000..505ced4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNTLMSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateScheme.html new file mode 100644 index 0000000..18d1d42 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateSchemeFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateSchemeFactory.html new file mode 100644 index 0000000..c8aaf02 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/class-use/WindowsNegotiateSchemeFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-frame.html new file mode 100644 index 0000000..5761c66 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +See: Description
+Class | +Description | +
---|---|
CurrentWindowsCredentials | +
+ Returns the current Windows user credentials
+ |
+
WindowsCredentialsProvider | +
+CredentialsProvider implementation that always returns
+ CurrentWindowsCredentials instance to NTLM
+ and SPNego authentication challenges. |
+
WindowsNegotiateScheme | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
WindowsNegotiateSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ WindowsNegotiateScheme using JNA to Negotiate credentials |
+
WindowsNTLMSchemeFactory | +
+AuthSchemeProvider implementation that creates and initializes
+ WindowsNegotiateScheme using JNA to implement NTLM |
+
+ Please note this class is considered experimental and may be discontinued or removed + in the future. +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-tree.html new file mode 100644 index 0000000..2211ddc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-use.html new file mode 100644 index 0000000..47c63c1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/auth/win/package-use.html @@ -0,0 +1,154 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
Class and Description | +
---|
CurrentWindowsCredentials
+ Returns the current Windows user credentials
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AIMDBackoffManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AIMDBackoffManager.html new file mode 100644 index 0000000..fdb40c3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AIMDBackoffManager.html @@ -0,0 +1,392 @@ + + + + + + +public class AIMDBackoffManager +extends Object +implements BackoffManager+
The AIMDBackoffManager
applies an additive increase,
+ multiplicative decrease (AIMD) to managing a dynamic limit to
+ the number of connections allowed to a given host. You may want
+ to experiment with the settings for the cooldown periods and the
+ backoff factor to get the adaptive behavior you want.
Generally speaking, shorter cooldowns will lead to more steady-state + variability but faster reaction times, while longer cooldowns + will lead to more stable equilibrium behavior but slower reaction + times.
+ +Similarly, higher backoff factors promote greater + utilization of available capacity at the expense of fairness + among clients. Lower backoff factors allow equal distribution of + capacity among clients (fairness) to happen faster, at the + expense of having more server capacity unused in the short term.
Constructor and Description | +
---|
AIMDBackoffManager(org.apache.http.pool.ConnPoolControl<HttpRoute> connPerRoute)
+Creates an
+AIMDBackoffManager to manage
+ per-host connection pool sizes represented by the
+ given ConnPoolControl . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+backOff(HttpRoute route)
+Called when we have decided that the result of
+ using a connection should be interpreted as a
+ backoff signal.
+ |
+
void |
+probe(HttpRoute route)
+Called when we have determined that the result of
+ using a connection has succeeded and that we may
+ probe for more connections.
+ |
+
void |
+setBackoffFactor(double d)
+Sets the factor to use when backing off; the new
+ per-host limit will be roughly the current max times
+ this factor.
+ |
+
void |
+setCooldownMillis(long l)
+Sets the amount of time, in milliseconds, to wait between
+ adjustments in pool sizes for a given host, to allow
+ enough time for the adjustments to take effect.
+ |
+
void |
+setPerHostConnectionCap(int cap)
+Sets the absolute maximum per-host connection pool size to
+ probe up to; defaults to 2 (the default per-host max).
+ |
+
public AIMDBackoffManager(org.apache.http.pool.ConnPoolControl<HttpRoute> connPerRoute)+
AIMDBackoffManager
to manage
+ per-host connection pool sizes represented by the
+ given ConnPoolControl
.connPerRoute
- per-host routing maximums to
+ be managedpublic void backOff(HttpRoute route)+
BackoffManager
backOff
in interface BackoffManager
public void probe(HttpRoute route)+
BackoffManager
probe
in interface BackoffManager
public void setBackoffFactor(double d)+
Math.floor
is applied in the
+ case of non-integer outcomes to ensure we actually
+ decrease the pool size. Pool sizes are never decreased
+ below 1, however. Defaults to 0.5.d
- must be between 0.0 and 1.0, exclusive.public void setCooldownMillis(long l)+
l
- must be positivepublic void setPerHostConnectionCap(int cap)+
cap
- must be >= 1Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractAuthenticationHandler.html new file mode 100644 index 0000000..dcf12e5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractAuthenticationHandler.html @@ -0,0 +1,370 @@ + + + + + + +AuthenticationStrategy
@Deprecated +@Contract(threading=IMMUTABLE) +public abstract class AbstractAuthenticationHandler +extends Object +implements AuthenticationHandler+
AuthenticationHandler
implementations.Constructor and Description | +
---|
AbstractAuthenticationHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<String> |
+getAuthPreferences()
+Deprecated.
+Returns default list of auth scheme names in their order of preference.
+ |
+
protected List<String> |
+getAuthPreferences(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Returns default list of auth scheme names in their order of preference
+ based on the HTTP response and the current execution context.
+ |
+
protected Map<String,org.apache.http.Header> |
+parseChallenges(org.apache.http.Header[] headers)
+Deprecated.
+ |
+
AuthScheme |
+selectScheme(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthScheme instance capable of
+ processing that challenge. |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChallenges, isAuthenticationRequested
public AbstractAuthenticationHandler()+
protected Map<String,org.apache.http.Header> parseChallenges(org.apache.http.Header[] headers) + throws MalformedChallengeException+
MalformedChallengeException
protected List<String> getAuthPreferences()+
protected List<String> getAuthPreferences(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
response
- HTTP response.context
- HTTP execution context.public AuthScheme selectScheme(Map<String,org.apache.http.Header> challenges, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws AuthenticationException+
AuthenticationHandler
AuthScheme
instance capable of
+ processing that challenge.selectScheme
in interface AuthenticationHandler
challenges
- collection of challenges.response
- HTTP response.context
- HTTP context.AuthenticationException
- if an authentication scheme
+ could not be selected.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractHttpClient.html new file mode 100644 index 0000000..77529da --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractHttpClient.html @@ -0,0 +1,1750 @@ + + + + + + +HttpClientBuilder
.@Contract(threading=SAFE_CONDITIONAL) +@Deprecated +public abstract class AbstractHttpClient +extends CloseableHttpClient+
HttpClient
implementations.
+ This class acts as a facade to a number of special purpose handler or
+ strategy implementations responsible for handling of a particular aspect
+ of the HTTP protocol such as redirect or authentication handling or
+ making decision about connection persistence and keep alive duration.
+ This enables the users to selectively replace default implementation
+ of those aspects with custom, application specific ones. This class
+ also provides factory methods to instantiate those objects:
+ HttpRequestExecutor
object used to transmit messages
+ over HTTP connections. The createRequestExecutor()
must be
+ implemented by concrete super classes to instantiate this object.
+ BasicHttpProcessor
object to manage a list of protocol
+ interceptors and apply cross-cutting protocol logic to all incoming
+ and outgoing HTTP messages. The createHttpProcessor()
must be
+ implemented by concrete super classes to instantiate this object.
+ HttpRequestRetryHandler
object used to decide whether
+ or not a failed HTTP request is safe to retry automatically.
+ The createHttpRequestRetryHandler()
must be
+ implemented by concrete super classes to instantiate this object.
+ ClientConnectionManager
object used to manage
+ persistent HTTP connections.
+ ConnectionReuseStrategy
object used to decide whether
+ or not a HTTP connection can be kept alive and re-used for subsequent
+ HTTP requests. The createConnectionReuseStrategy()
must be
+ implemented by concrete super classes to instantiate this object.
+ ConnectionKeepAliveStrategy
object used to decide how
+ long a persistent HTTP connection can be kept alive.
+ The createConnectionKeepAliveStrategy()
must be
+ implemented by concrete super classes to instantiate this object.
+ CookieSpecRegistry
object used to maintain a list of
+ supported cookie specifications.
+ The createCookieSpecRegistry()
must be implemented by concrete
+ super classes to instantiate this object.
+ CookieStore
object used to maintain a collection of
+ cookies. The createCookieStore()
must be implemented by
+ concrete super classes to instantiate this object.
+ AuthSchemeRegistry
object used to maintain a list of
+ supported authentication schemes.
+ The createAuthSchemeRegistry()
must be implemented by concrete
+ super classes to instantiate this object.
+ CredentialsProvider
object used to maintain
+ a collection user credentials. The createCredentialsProvider()
+ must be implemented by concrete super classes to instantiate
+ this object.
+ AuthenticationStrategy
object used to authenticate
+ against the target host.
+ The createTargetAuthenticationStrategy()
must be implemented
+ by concrete super classes to instantiate this object.
+ AuthenticationStrategy
object used to authenticate
+ against the proxy host.
+ The createProxyAuthenticationStrategy()
must be implemented
+ by concrete super classes to instantiate this object.
+ HttpRoutePlanner
object used to calculate a route
+ for establishing a connection to the target host. The route
+ may involve multiple intermediate hops.
+ The createHttpRoutePlanner()
must be implemented
+ by concrete super classes to instantiate this object.
+ RedirectStrategy
object used to determine if an HTTP
+ request should be redirected to a new location in response to an HTTP
+ response received from the target server.
+ UserTokenHandler
object used to determine if the
+ execution context is user identity specific.
+ The createUserTokenHandler()
must be implemented by
+ concrete super classes to instantiate this object.
+
+ This class also maintains a list of protocol interceptors intended
+ for processing outgoing requests and incoming responses and provides
+ methods for managing those interceptors. New protocol interceptors can be
+ introduced to the protocol processor chain or removed from it if needed.
+ Internally protocol interceptors are stored in a simple
+ ArrayList
. They are executed in the same natural order
+ as they are added to the list.
+
+ AbstractHttpClient is thread safe. It is recommended that the same
+ instance of this class is reused for multiple request executions.
+ When an instance of DefaultHttpClient is no longer needed and is about
+ to go out of scope the connection manager associated with it must be
+ shut down by calling ClientConnectionManager.shutdown()
!
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addRequestInterceptor(org.apache.http.HttpRequestInterceptor itcp)
+Deprecated.
+ |
+
void |
+addRequestInterceptor(org.apache.http.HttpRequestInterceptor itcp,
+ int index)
+Deprecated.
+ |
+
void |
+addResponseInterceptor(org.apache.http.HttpResponseInterceptor itcp)
+Deprecated.
+ |
+
void |
+addResponseInterceptor(org.apache.http.HttpResponseInterceptor itcp,
+ int index)
+Deprecated.
+ |
+
void |
+clearRequestInterceptors()
+Deprecated.
+ |
+
void |
+clearResponseInterceptors()
+Deprecated.
+ |
+
void |
+close()
+Deprecated.
+ |
+
protected AuthSchemeRegistry |
+createAuthSchemeRegistry()
+Deprecated.
+ |
+
protected ClientConnectionManager |
+createClientConnectionManager()
+Deprecated.
+ |
+
protected RequestDirector |
+createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) do not use
+ |
+
protected RequestDirector |
+createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.2) do not use
+ |
+
protected RequestDirector |
+createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected ConnectionKeepAliveStrategy |
+createConnectionKeepAliveStrategy()
+Deprecated.
+ |
+
protected org.apache.http.ConnectionReuseStrategy |
+createConnectionReuseStrategy()
+Deprecated.
+ |
+
protected CookieSpecRegistry |
+createCookieSpecRegistry()
+Deprecated.
+ |
+
protected CookieStore |
+createCookieStore()
+Deprecated.
+ |
+
protected CredentialsProvider |
+createCredentialsProvider()
+Deprecated.
+ |
+
protected org.apache.http.protocol.HttpContext |
+createHttpContext()
+Deprecated.
+ |
+
protected abstract org.apache.http.params.HttpParams |
+createHttpParams()
+Deprecated.
+ |
+
protected abstract org.apache.http.protocol.BasicHttpProcessor |
+createHttpProcessor()
+Deprecated.
+ |
+
protected HttpRequestRetryHandler |
+createHttpRequestRetryHandler()
+Deprecated.
+ |
+
protected HttpRoutePlanner |
+createHttpRoutePlanner()
+Deprecated.
+ |
+
protected AuthenticationHandler |
+createProxyAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
protected AuthenticationStrategy |
+createProxyAuthenticationStrategy()
+Deprecated.
+ |
+
protected RedirectHandler |
+createRedirectHandler()
+Deprecated.
+
+(4.1) do not use
+ |
+
protected org.apache.http.protocol.HttpRequestExecutor |
+createRequestExecutor()
+Deprecated.
+ |
+
protected AuthenticationHandler |
+createTargetAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
protected AuthenticationStrategy |
+createTargetAuthenticationStrategy()
+Deprecated.
+ |
+
protected UserTokenHandler |
+createUserTokenHandler()
+Deprecated.
+ |
+
protected org.apache.http.params.HttpParams |
+determineParams(org.apache.http.HttpRequest req)
+Deprecated.
+Obtains parameters for executing a request.
+ |
+
protected CloseableHttpResponse |
+doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
AuthSchemeRegistry |
+getAuthSchemes()
+Deprecated.
+ |
+
BackoffManager |
+getBackoffManager()
+Deprecated.
+ |
+
ConnectionBackoffStrategy |
+getConnectionBackoffStrategy()
+Deprecated.
+ |
+
ConnectionKeepAliveStrategy |
+getConnectionKeepAliveStrategy()
+Deprecated.
+ |
+
ClientConnectionManager |
+getConnectionManager()
+Deprecated.
+Obtains the connection manager used by this client.
+ |
+
org.apache.http.ConnectionReuseStrategy |
+getConnectionReuseStrategy()
+Deprecated.
+ |
+
CookieSpecRegistry |
+getCookieSpecs()
+Deprecated.
+ |
+
CookieStore |
+getCookieStore()
+Deprecated.
+ |
+
CredentialsProvider |
+getCredentialsProvider()
+Deprecated.
+ |
+
protected org.apache.http.protocol.BasicHttpProcessor |
+getHttpProcessor()
+Deprecated.
+ |
+
HttpRequestRetryHandler |
+getHttpRequestRetryHandler()
+Deprecated.
+ |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+Obtains the parameters for this client.
+ |
+
AuthenticationHandler |
+getProxyAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
AuthenticationStrategy |
+getProxyAuthenticationStrategy()
+Deprecated.
+ |
+
RedirectHandler |
+getRedirectHandler()
+Deprecated.
+
+(4.1) do not use
+ |
+
RedirectStrategy |
+getRedirectStrategy()
+Deprecated.
+ |
+
org.apache.http.protocol.HttpRequestExecutor |
+getRequestExecutor()
+Deprecated.
+ |
+
org.apache.http.HttpRequestInterceptor |
+getRequestInterceptor(int index)
+Deprecated.
+ |
+
int |
+getRequestInterceptorCount()
+Deprecated.
+ |
+
org.apache.http.HttpResponseInterceptor |
+getResponseInterceptor(int index)
+Deprecated.
+ |
+
int |
+getResponseInterceptorCount()
+Deprecated.
+ |
+
HttpRoutePlanner |
+getRoutePlanner()
+Deprecated.
+ |
+
AuthenticationHandler |
+getTargetAuthenticationHandler()
+Deprecated.
+
+(4.2) do not use
+ |
+
AuthenticationStrategy |
+getTargetAuthenticationStrategy()
+Deprecated.
+ |
+
UserTokenHandler |
+getUserTokenHandler()
+Deprecated.
+ |
+
void |
+removeRequestInterceptorByClass(Class<? extends org.apache.http.HttpRequestInterceptor> clazz)
+Deprecated.
+ |
+
void |
+removeResponseInterceptorByClass(Class<? extends org.apache.http.HttpResponseInterceptor> clazz)
+Deprecated.
+ |
+
void |
+setAuthSchemes(AuthSchemeRegistry registry)
+Deprecated.
+ |
+
void |
+setBackoffManager(BackoffManager manager)
+Deprecated.
+ |
+
void |
+setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy)
+Deprecated.
+ |
+
void |
+setCookieSpecs(CookieSpecRegistry registry)
+Deprecated.
+ |
+
void |
+setCookieStore(CookieStore cookieStore)
+Deprecated.
+ |
+
void |
+setCredentialsProvider(CredentialsProvider credsProvider)
+Deprecated.
+ |
+
void |
+setHttpRequestRetryHandler(HttpRequestRetryHandler handler)
+Deprecated.
+ |
+
void |
+setKeepAliveStrategy(ConnectionKeepAliveStrategy strategy)
+Deprecated.
+ |
+
void |
+setParams(org.apache.http.params.HttpParams params)
+Deprecated.
+Replaces the parameters.
+ |
+
void |
+setProxyAuthenticationHandler(AuthenticationHandler handler)
+Deprecated.
+
+(4.2) do not use
+ |
+
void |
+setProxyAuthenticationStrategy(AuthenticationStrategy strategy)
+Deprecated.
+ |
+
void |
+setRedirectHandler(RedirectHandler handler)
+Deprecated.
+
+(4.1) do not use
+ |
+
void |
+setRedirectStrategy(RedirectStrategy strategy)
+Deprecated.
+ |
+
void |
+setReuseStrategy(org.apache.http.ConnectionReuseStrategy strategy)
+Deprecated.
+ |
+
void |
+setRoutePlanner(HttpRoutePlanner routePlanner)
+Deprecated.
+ |
+
void |
+setTargetAuthenticationHandler(AuthenticationHandler handler)
+Deprecated.
+
+(4.2) do not use
+ |
+
void |
+setTargetAuthenticationStrategy(AuthenticationStrategy strategy)
+Deprecated.
+ |
+
void |
+setUserTokenHandler(UserTokenHandler handler)
+Deprecated.
+ |
+
protected AbstractHttpClient(ClientConnectionManager conman, + org.apache.http.params.HttpParams params)+
conman
- the connection managerparams
- the parametersprotected abstract org.apache.http.params.HttpParams createHttpParams()+
protected abstract org.apache.http.protocol.BasicHttpProcessor createHttpProcessor()+
protected org.apache.http.protocol.HttpContext createHttpContext()+
protected ClientConnectionManager createClientConnectionManager()+
protected AuthSchemeRegistry createAuthSchemeRegistry()+
protected CookieSpecRegistry createCookieSpecRegistry()+
protected org.apache.http.protocol.HttpRequestExecutor createRequestExecutor()+
protected org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy()+
protected ConnectionKeepAliveStrategy createConnectionKeepAliveStrategy()+
protected HttpRequestRetryHandler createHttpRequestRetryHandler()+
@Deprecated +protected RedirectHandler createRedirectHandler()+
protected AuthenticationStrategy createTargetAuthenticationStrategy()+
@Deprecated +protected AuthenticationHandler createTargetAuthenticationHandler()+
protected AuthenticationStrategy createProxyAuthenticationStrategy()+
@Deprecated +protected AuthenticationHandler createProxyAuthenticationHandler()+
protected CookieStore createCookieStore()+
protected CredentialsProvider createCredentialsProvider()+
protected HttpRoutePlanner createHttpRoutePlanner()+
protected UserTokenHandler createUserTokenHandler()+
public final org.apache.http.params.HttpParams getParams()+
HttpClient
public void setParams(org.apache.http.params.HttpParams params)+
params
- the new default parameterspublic final ClientConnectionManager getConnectionManager()+
HttpClient
public final org.apache.http.protocol.HttpRequestExecutor getRequestExecutor()+
public final AuthSchemeRegistry getAuthSchemes()+
public void setAuthSchemes(AuthSchemeRegistry registry)+
public final ConnectionBackoffStrategy getConnectionBackoffStrategy()+
public void setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy)+
public final CookieSpecRegistry getCookieSpecs()+
public final BackoffManager getBackoffManager()+
public void setBackoffManager(BackoffManager manager)+
public void setCookieSpecs(CookieSpecRegistry registry)+
public final org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy()+
public void setReuseStrategy(org.apache.http.ConnectionReuseStrategy strategy)+
public final ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()+
public void setKeepAliveStrategy(ConnectionKeepAliveStrategy strategy)+
public final HttpRequestRetryHandler getHttpRequestRetryHandler()+
public void setHttpRequestRetryHandler(HttpRequestRetryHandler handler)+
@Deprecated +public final RedirectHandler getRedirectHandler()+
@Deprecated +public void setRedirectHandler(RedirectHandler handler)+
public final RedirectStrategy getRedirectStrategy()+
public void setRedirectStrategy(RedirectStrategy strategy)+
@Deprecated +public final AuthenticationHandler getTargetAuthenticationHandler()+
@Deprecated +public void setTargetAuthenticationHandler(AuthenticationHandler handler)+
public final AuthenticationStrategy getTargetAuthenticationStrategy()+
public void setTargetAuthenticationStrategy(AuthenticationStrategy strategy)+
@Deprecated +public final AuthenticationHandler getProxyAuthenticationHandler()+
@Deprecated +public void setProxyAuthenticationHandler(AuthenticationHandler handler)+
public final AuthenticationStrategy getProxyAuthenticationStrategy()+
public void setProxyAuthenticationStrategy(AuthenticationStrategy strategy)+
public final CookieStore getCookieStore()+
public void setCookieStore(CookieStore cookieStore)+
public final CredentialsProvider getCredentialsProvider()+
public void setCredentialsProvider(CredentialsProvider credsProvider)+
public final HttpRoutePlanner getRoutePlanner()+
public void setRoutePlanner(HttpRoutePlanner routePlanner)+
public final UserTokenHandler getUserTokenHandler()+
public void setUserTokenHandler(UserTokenHandler handler)+
protected final org.apache.http.protocol.BasicHttpProcessor getHttpProcessor()+
public int getResponseInterceptorCount()+
public org.apache.http.HttpResponseInterceptor getResponseInterceptor(int index)+
public org.apache.http.HttpRequestInterceptor getRequestInterceptor(int index)+
public int getRequestInterceptorCount()+
public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor itcp)+
public void addResponseInterceptor(org.apache.http.HttpResponseInterceptor itcp, + int index)+
public void clearResponseInterceptors()+
public void removeResponseInterceptorByClass(Class<? extends org.apache.http.HttpResponseInterceptor> clazz)+
public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor itcp)+
public void addRequestInterceptor(org.apache.http.HttpRequestInterceptor itcp, + int index)+
public void clearRequestInterceptors()+
public void removeRequestInterceptorByClass(Class<? extends org.apache.http.HttpRequestInterceptor> clazz)+
protected final CloseableHttpResponse doExecute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
doExecute
in class CloseableHttpClient
IOException
ClientProtocolException
@Deprecated +protected RequestDirector createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectHandler redirectHandler, + AuthenticationHandler targetAuthHandler, + AuthenticationHandler proxyAuthHandler, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
@Deprecated +protected RequestDirector createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectStrategy redirectStrategy, + AuthenticationHandler targetAuthHandler, + AuthenticationHandler proxyAuthHandler, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
protected RequestDirector createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectStrategy redirectStrategy, + AuthenticationStrategy targetAuthStrategy, + AuthenticationStrategy proxyAuthStrategy, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
protected org.apache.http.params.HttpParams determineParams(org.apache.http.HttpRequest req)+
ClientParamsStack
from the request parameters
+ and the client parameters.
+
+ This method is called by the default implementation of
+ CloseableHttpClient.execute(HttpHost,HttpRequest,HttpContext)
+ to obtain the parameters for the
+ DefaultRequestDirector
.
+
req
- the request that will be executedpublic void close()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractResponseHandler.html new file mode 100644 index 0000000..1830f2f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AbstractResponseHandler.html @@ -0,0 +1,318 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public abstract class AbstractResponseHandler<T> +extends Object +implements ResponseHandler<T>+
ResponseHandler
that works with the response entity
+ for successful (2xx) responses. If the response code was >= 300, the response
+ body is consumed and an HttpResponseException
is thrown.
+
+ If this is used with
+ HttpClient.execute(
+ org.apache.http.client.methods.HttpUriRequest, ResponseHandler)
,
+ HttpClient may handle redirects (3xx responses) internally.
+
Constructor and Description | +
---|
AbstractResponseHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract T |
+handleEntity(org.apache.http.HttpEntity entity)
+Handle the response entity and transform it into the actual response
+ object.
+ |
+
T |
+handleResponse(org.apache.http.HttpResponse response)
+Read the entity from the response body and pass it to the entity handler
+ method if the response was successful (a 2xx status code).
+ |
+
public AbstractResponseHandler()+
public T handleResponse(org.apache.http.HttpResponse response) + throws HttpResponseException, + IOException+
HttpResponseException
.handleResponse
in interface ResponseHandler<T>
response
- The response to processClientProtocolException
- in case of an http protocol errorIOException
- in case of a problem or the connection was abortedHttpResponseException
public abstract T handleEntity(org.apache.http.HttpEntity entity) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AutoRetryHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AutoRetryHttpClient.html new file mode 100644 index 0000000..330a0e8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/AutoRetryHttpClient.html @@ -0,0 +1,694 @@ + + + + + + +HttpClientBuilder
.@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class AutoRetryHttpClient +extends Object +implements HttpClient+
HttpClient
implementation that can automatically retry the request in case of
+ a non-2xx response using the ServiceUnavailableRetryStrategy
interface.Constructor and Description | +
---|
AutoRetryHttpClient()
+Deprecated.
+Constructs a
+AutoRetryHttpClient with default caching settings that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient for backend requests. |
+
AutoRetryHttpClient(HttpClient client)
+Deprecated.
+Constructs a
+AutoRetryHttpClient with default caching settings that
+ stores cache entries in memory and uses the given HttpClient for
+ backend requests. |
+
AutoRetryHttpClient(HttpClient client,
+ ServiceUnavailableRetryStrategy retryStrategy)
+Deprecated.
+ |
+
AutoRetryHttpClient(ServiceUnavailableRetryStrategy config)
+Deprecated.
+Constructs a
+AutoRetryHttpClient with the given caching options that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient for backend requests. |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
ClientConnectionManager |
+getConnectionManager()
+Deprecated.
+Obtains the connection manager used by this client.
+ |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+Obtains the parameters for this client.
+ |
+
public AutoRetryHttpClient(HttpClient client, + ServiceUnavailableRetryStrategy retryStrategy)+
public AutoRetryHttpClient()+
AutoRetryHttpClient
with default caching settings that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient
for backend requests.public AutoRetryHttpClient(ServiceUnavailableRetryStrategy config)+
AutoRetryHttpClient
with the given caching options that
+ stores cache entries in memory and uses a vanilla
+ DefaultHttpClient
for backend requests.config
- retry configuration module optionspublic AutoRetryHttpClient(HttpClient client)+
AutoRetryHttpClient
with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
for
+ backend requests.client
- used to make origin requestspublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + throws IOException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(HttpUriRequest request) + throws IOException+
HttpClient
execute
in interface HttpClient
request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
execute
in interface HttpClient
request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic ClientConnectionManager getConnectionManager()+
HttpClient
getConnectionManager
in interface HttpClient
public org.apache.http.params.HttpParams getParams()+
HttpClient
getParams
in interface HttpClient
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicAuthCache.html new file mode 100644 index 0000000..d4eeff5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicAuthCache.html @@ -0,0 +1,376 @@ + + + + + + +@Contract(threading=SAFE) +public class BasicAuthCache +extends Object +implements AuthCache+
AuthCache
. This implements
+ expects AuthScheme
to be Serializable
+ in order to be cacheable.
+ + Instances of this class are thread safe as of version 4.4. +
Constructor and Description | +
---|
BasicAuthCache() |
+
BasicAuthCache(SchemePortResolver schemePortResolver)
+Default constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+clear() |
+
AuthScheme |
+get(org.apache.http.HttpHost host) |
+
protected org.apache.http.HttpHost |
+getKey(org.apache.http.HttpHost host) |
+
void |
+put(org.apache.http.HttpHost host,
+ AuthScheme authScheme) |
+
void |
+remove(org.apache.http.HttpHost host) |
+
String |
+toString() |
+
public BasicAuthCache(SchemePortResolver schemePortResolver)+
public BasicAuthCache()+
protected org.apache.http.HttpHost getKey(org.apache.http.HttpHost host)+
public void put(org.apache.http.HttpHost host, + AuthScheme authScheme)+ +
public AuthScheme get(org.apache.http.HttpHost host)+ +
public void remove(org.apache.http.HttpHost host)+ +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCookieStore.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCookieStore.html new file mode 100644 index 0000000..771df8f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCookieStore.html @@ -0,0 +1,377 @@ + + + + + + +@Contract(threading=SAFE) +public class BasicCookieStore +extends Object +implements CookieStore, Serializable+
CookieStore
Constructor and Description | +
---|
BasicCookieStore() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addCookie(Cookie cookie)
+Adds an
+HTTP cookie , replacing any existing equivalent cookies. |
+
void |
+addCookies(Cookie[] cookies)
+Adds an array of
+HTTP cookies . |
+
void |
+clear()
+Clears all cookies.
+ |
+
boolean |
+clearExpired(Date date)
+
+ |
+
List<Cookie> |
+getCookies()
+Returns an immutable array of
+cookies that this HTTP
+ state currently contains. |
+
String |
+toString() |
+
public void addCookie(Cookie cookie)+
HTTP cookie
, replacing any existing equivalent cookies.
+ If the given cookie has already expired it will not be added, but existing
+ values will still be removed.addCookie
in interface CookieStore
cookie
- the cookie
to be addedaddCookies(Cookie[])
public void addCookies(Cookie[] cookies)+
HTTP cookies
. Cookies are added individually and
+ in the given array order. If any of the given cookies has already expired it will
+ not be added, but existing values will still be removed.cookies
- the cookies
to be addedaddCookie(Cookie)
public List<Cookie> getCookies()+
cookies
that this HTTP
+ state currently contains.getCookies
in interface CookieStore
cookies
.public boolean clearExpired(Date date)+ +
clearExpired
in interface CookieStore
Cookie.isExpired(Date)
public void clear()+
clear
in interface CookieStore
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCredentialsProvider.html new file mode 100644 index 0000000..9041952 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicCredentialsProvider.html @@ -0,0 +1,343 @@ + + + + + + +@Contract(threading=SAFE) +public class BasicCredentialsProvider +extends Object +implements CredentialsProvider+
CredentialsProvider
.Constructor and Description | +
---|
BasicCredentialsProvider()
+Default constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+clear()
+Clears all credentials.
+ |
+
Credentials |
+getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
void |
+setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
String |
+toString() |
+
public BasicCredentialsProvider()+
public void setCredentials(AuthScope authscope, + Credentials credentials)+
CredentialsProvider
credentials
for the given authentication
+ scope. Any previous credentials for the given scope will be overwritten.setCredentials
in interface CredentialsProvider
authscope
- the authentication scope
credentials
- the authentication credentials
+ for the given scope.CredentialsProvider.getCredentials(AuthScope)
public Credentials getCredentials(AuthScope authscope)+
CredentialsProvider
credentials
for the given authentication scope.getCredentials
in interface CredentialsProvider
authscope
- the authentication scope
CredentialsProvider.setCredentials(AuthScope, Credentials)
public void clear()+
CredentialsProvider
clear
in interface CredentialsProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicResponseHandler.html new file mode 100644 index 0000000..f59e82b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/BasicResponseHandler.html @@ -0,0 +1,322 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicResponseHandler +extends AbstractResponseHandler<String>+
ResponseHandler
that returns the response body as a String
+ for successful (2xx) responses. If the response code was >= 300, the response
+ body is consumed and an HttpResponseException
is thrown.
+
+ If this is used with
+ HttpClient.execute(
+ org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)
,
+ HttpClient may handle redirects (3xx responses) internally.
+
Constructor and Description | +
---|
BasicResponseHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+handleEntity(org.apache.http.HttpEntity entity)
+Returns the entity as a body as a String.
+ |
+
String |
+handleResponse(org.apache.http.HttpResponse response)
+Read the entity from the response body and pass it to the entity handler
+ method if the response was successful (a 2xx status code).
+ |
+
public String handleEntity(org.apache.http.HttpEntity entity) + throws IOException+
handleEntity
in class AbstractResponseHandler<String>
IOException
public String handleResponse(org.apache.http.HttpResponse response) + throws HttpResponseException, + IOException+
AbstractResponseHandler
HttpResponseException
.handleResponse
in interface ResponseHandler<String>
handleResponse
in class AbstractResponseHandler<String>
response
- The response to processClientProtocolException
- in case of an http protocol errorIOException
- in case of a problem or the connection was abortedHttpResponseException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ClientParamsStack.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ClientParamsStack.html new file mode 100644 index 0000000..de7971d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ClientParamsStack.html @@ -0,0 +1,636 @@ + + + + + + +@Deprecated +public class ClientParamsStack +extends org.apache.http.params.AbstractHttpParams+
HttpClient
.
+ These provide client specific defaults.
+ HttpClient
.
+ These can be used to set parameters that cannot be overridden
+ on a per-request basis.
+ null
. That is preferable over
+ an empty params collection, since it avoids searching the empty collection
+ when looking up parameters.Modifier and Type | +Field and Description | +
---|---|
protected org.apache.http.params.HttpParams |
+applicationParams
+Deprecated.
+The application parameter collection, or
+null . |
+
protected org.apache.http.params.HttpParams |
+clientParams
+Deprecated.
+The client parameter collection, or
+null . |
+
protected org.apache.http.params.HttpParams |
+overrideParams
+Deprecated.
+The override parameter collection, or
+null . |
+
protected org.apache.http.params.HttpParams |
+requestParams
+Deprecated.
+The request parameter collection, or
+null . |
+
Constructor and Description | +
---|
ClientParamsStack(ClientParamsStack stack)
+Deprecated.
+Creates a copy of a parameter stack.
+ |
+
ClientParamsStack(ClientParamsStack stack,
+ org.apache.http.params.HttpParams aparams,
+ org.apache.http.params.HttpParams cparams,
+ org.apache.http.params.HttpParams rparams,
+ org.apache.http.params.HttpParams oparams)
+Deprecated.
+Creates a modified copy of a parameter stack.
+ |
+
ClientParamsStack(org.apache.http.params.HttpParams aparams,
+ org.apache.http.params.HttpParams cparams,
+ org.apache.http.params.HttpParams rparams,
+ org.apache.http.params.HttpParams oparams)
+Deprecated.
+Creates a new parameter stack from elements.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.params.HttpParams |
+copy()
+Deprecated.
+Does not copy parameters.
+ |
+
org.apache.http.params.HttpParams |
+getApplicationParams()
+Deprecated.
+Obtains the application parameters of this stack.
+ |
+
org.apache.http.params.HttpParams |
+getClientParams()
+Deprecated.
+Obtains the client parameters of this stack.
+ |
+
org.apache.http.params.HttpParams |
+getOverrideParams()
+Deprecated.
+Obtains the override parameters of this stack.
+ |
+
Object |
+getParameter(String name)
+Deprecated.
+Obtains a parameter from this stack.
+ |
+
org.apache.http.params.HttpParams |
+getRequestParams()
+Deprecated.
+Obtains the request parameters of this stack.
+ |
+
boolean |
+removeParameter(String name)
+Deprecated.
+Does not remove a parameter.
+ |
+
org.apache.http.params.HttpParams |
+setParameter(String name,
+ Object value)
+Deprecated.
+Does not set a parameter.
+ |
+
getBooleanParameter, getDoubleParameter, getIntParameter, getLongParameter, getNames, isParameterFalse, isParameterTrue, setBooleanParameter, setDoubleParameter, setIntParameter, setLongParameter
protected final org.apache.http.params.HttpParams applicationParams+
null
.protected final org.apache.http.params.HttpParams clientParams+
null
.protected final org.apache.http.params.HttpParams requestParams+
null
.protected final org.apache.http.params.HttpParams overrideParams+
null
.public ClientParamsStack(org.apache.http.params.HttpParams aparams, + org.apache.http.params.HttpParams cparams, + org.apache.http.params.HttpParams rparams, + org.apache.http.params.HttpParams oparams)+
aparams
- application parameters, or null
cparams
- client parameters, or null
rparams
- request parameters, or null
oparams
- override parameters, or null
public ClientParamsStack(ClientParamsStack stack)+
stack
- the stack to copypublic ClientParamsStack(ClientParamsStack stack, + org.apache.http.params.HttpParams aparams, + org.apache.http.params.HttpParams cparams, + org.apache.http.params.HttpParams rparams, + org.apache.http.params.HttpParams oparams)+
null
,
+ the corresponding element from the argument stack is used.
+ There is no copying of parameters.stack
- the stack to modifyaparams
- application parameters, or null
cparams
- client parameters, or null
rparams
- request parameters, or null
oparams
- override parameters, or null
public final org.apache.http.params.HttpParams getApplicationParams()+
null
public final org.apache.http.params.HttpParams getClientParams()+
null
public final org.apache.http.params.HttpParams getRequestParams()+
null
public final org.apache.http.params.HttpParams getOverrideParams()+
null
public Object getParameter(String name)+
name
- the name of the parameter to obtainnull
if it is not set anywhere in this stackpublic org.apache.http.params.HttpParams setParameter(String name, + Object value) + throws UnsupportedOperationException+
name
- ignoredvalue
- ignoredUnsupportedOperationException
- alwayspublic boolean removeParameter(String name)+
name
- ignoredUnsupportedOperationException
- alwayspublic org.apache.http.params.HttpParams copy()+
+ Derived classes may change this behavior. +
this
parameter stackCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CloseableHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CloseableHttpClient.html new file mode 100644 index 0000000..8199db7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CloseableHttpClient.html @@ -0,0 +1,582 @@ + + + + + + +@Contract(threading=SAFE) +public abstract class CloseableHttpClient +extends Object +implements HttpClient, Closeable+
HttpClient
that also implements Closeable
.Constructor and Description | +
---|
CloseableHttpClient() |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract CloseableHttpResponse |
+doExecute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context) |
+
CloseableHttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Executes HTTP request using the default context.
+ |
+
CloseableHttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
CloseableHttpResponse |
+execute(HttpUriRequest request)
+Executes HTTP request using the default context.
+ |
+
CloseableHttpResponse |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Executes a request using the default context and processes the
+ response using the given response handler.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionManager, getParams
protected abstract CloseableHttpResponse doExecute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
IOException
ClientProtocolException
public CloseableHttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic CloseableHttpResponse execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
execute
in interface HttpClient
request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic CloseableHttpResponse execute(HttpUriRequest request) + throws IOException, + ClientProtocolException+
execute
in interface HttpClient
request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic CloseableHttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + throws IOException, + ClientProtocolException+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
ResponseHandler
s from having to manage
+ resource deallocation internally.execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
ResponseHandler
s from having to manage
+ resource deallocation internally.execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
ResponseHandler
s from having to manage
+ resource deallocation internally.execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
ResponseHandler
s from having to manage
+ resource deallocation internally.execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ContentEncodingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ContentEncodingHttpClient.html new file mode 100644 index 0000000..93670cf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ContentEncodingHttpClient.html @@ -0,0 +1,389 @@ + + + + + + +HttpClientBuilder
@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class ContentEncodingHttpClient +extends DefaultHttpClient+
DefaultHttpClient
sub-class which includes a RequestAcceptEncoding
+ for the request and response.
+
+ Deprecation note: due to the way this class modifies a response body
+ without changing the response headers to reflect the entity changes, it cannot
+ be used as the "backend" for a caching HttpClient
and still have uncompressed responses be cached.
+ Users are encouraged to use the DecompressingHttpClient
instead
+ of this class, which can be wired in either before or after caching, depending on
+ whether you want to cache responses in compressed or uncompressed form.Constructor and Description | +
---|
ContentEncodingHttpClient()
+Deprecated.
+ |
+
ContentEncodingHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client from parameters and a connection manager.
+ |
+
ContentEncodingHttpClient(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.protocol.BasicHttpProcessor |
+createHttpProcessor()
+Deprecated.
+Create the processor with the following interceptors:
+
+
+RequestDefaultHeaders
+ RequestContent
+ RequestTargetHost
+ RequestClientConnControl
+ RequestUserAgent
+ RequestExpectContinue
+ RequestAddCookies
+ ResponseProcessCookies
+ RequestAuthCache
+ RequestTargetAuthentication
+ RequestProxyAuthentication
+ |
+
createHttpParams, setDefaultHttpParams
addRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, close, createAuthSchemeRegistry, createClientConnectionManager, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createConnectionReuseStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createHttpRoutePlanner, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, doExecute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandler
public ContentEncodingHttpClient(ClientConnectionManager conman, + org.apache.http.params.HttpParams params)+
params
- the parametersconman
- the connection managerpublic ContentEncodingHttpClient(org.apache.http.params.HttpParams params)+
params
- public ContentEncodingHttpClient()+
protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor()+
RequestDefaultHeaders
RequestContent
RequestTargetHost
RequestClientConnControl
RequestUserAgent
RequestExpectContinue
RequestAddCookies
ResponseProcessCookies
RequestAuthCache
RequestTargetAuthentication
RequestProxyAuthentication
createHttpProcessor
in class DefaultHttpClient
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CookieSpecRegistries.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CookieSpecRegistries.html new file mode 100644 index 0000000..76a4ce3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/CookieSpecRegistries.html @@ -0,0 +1,277 @@ + + + + + + +public final class CookieSpecRegistries +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static org.apache.http.config.Lookup<CookieSpecProvider> |
+createDefault()
+Creates the default registry, using the default public suffix matcher.
+ |
+
static org.apache.http.config.Lookup<CookieSpecProvider> |
+createDefault(PublicSuffixMatcher publicSuffixMatcher)
+Creates the default registry with the provided public suffix matcher
+ |
+
static org.apache.http.config.RegistryBuilder<CookieSpecProvider> |
+createDefaultBuilder()
+Creates a builder containing the default registry entries with the default public suffix matcher.
+ |
+
static org.apache.http.config.RegistryBuilder<CookieSpecProvider> |
+createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)
+Creates a builder containing the default registry entries, using the provided public suffix matcher.
+ |
+
public static org.apache.http.config.RegistryBuilder<CookieSpecProvider> createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)+
public static org.apache.http.config.RegistryBuilder<CookieSpecProvider> createDefaultBuilder()+
public static org.apache.http.config.Lookup<CookieSpecProvider> createDefault()+
public static org.apache.http.config.Lookup<CookieSpecProvider> createDefault(PublicSuffixMatcher publicSuffixMatcher)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DecompressingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DecompressingHttpClient.html new file mode 100644 index 0000000..6f133dc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DecompressingHttpClient.html @@ -0,0 +1,694 @@ + + + + + + +HttpClientBuilder
@Deprecated +public class DecompressingHttpClient +extends Object +implements HttpClient+
Decorator adding support for compressed responses. This class sets
+ the Accept-Encoding
header on requests to indicate
+ support for the gzip
and deflate
+ compression schemes; it then checks the Content-Encoding
+ header on the response to uncompress any compressed response bodies.
+ The InputStream
of the entity will contain the uncompressed
+ content.
N.B. Any upstream clients of this class need to be aware that
+ this effectively obscures visibility into the length of a server
+ response body, since the Content-Length
header will
+ correspond to the compressed entity length received from the server,
+ but the content length experienced by reading the response body may
+ be different (hopefully higher!).
That said, this decorator is compatible with the
+ CachingHttpClient
in that the two decorators can be added
+ in either order and still have cacheable responses be cached.
Constructor and Description | +
---|
DecompressingHttpClient()
+Deprecated.
+Constructs a decorator to ask for and handle compressed
+ entities on the fly.
+ |
+
DecompressingHttpClient(HttpClient backend)
+Deprecated.
+Constructs a decorator to ask for and handle compressed
+ entities on the fly.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
ClientConnectionManager |
+getConnectionManager()
+Deprecated.
+Obtains the connection manager used by this client.
+ |
+
HttpClient |
+getHttpClient()
+Deprecated.
+Gets the HttpClient to issue request.
+ |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+Obtains the parameters for this client.
+ |
+
public DecompressingHttpClient()+
public DecompressingHttpClient(HttpClient backend)+
backend
- the HttpClient
to use for actually
+ issuing requestspublic org.apache.http.params.HttpParams getParams()+
HttpClient
getParams
in interface HttpClient
public ClientConnectionManager getConnectionManager()+
HttpClient
getConnectionManager
in interface HttpClient
public org.apache.http.HttpResponse execute(HttpUriRequest request) + throws IOException, + ClientProtocolException+
HttpClient
execute
in interface HttpClient
request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic HttpClient getHttpClient()+
public org.apache.http.HttpResponse execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
HttpClient
execute
in interface HttpClient
request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + throws IOException, + ClientProtocolException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException, + ClientProtocolException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException, + ClientProtocolException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultBackoffStrategy.html new file mode 100644 index 0000000..9223417 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultBackoffStrategy.html @@ -0,0 +1,311 @@ + + + + + + +public class DefaultBackoffStrategy +extends Object +implements ConnectionBackoffStrategy+
ConnectionBackoffStrategy
backs off either for a raw
+ network socket or connection timeout or if the server explicitly
+ sends a 503 (Service Unavailable) response.Constructor and Description | +
---|
DefaultBackoffStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+shouldBackoff(org.apache.http.HttpResponse resp)
+Determines whether receiving the given
+HttpResponse as
+ a result of request execution should result in a backoff
+ signal. |
+
boolean |
+shouldBackoff(Throwable t)
+Determines whether seeing the given
+Throwable as
+ a result of request execution should result in a backoff
+ signal. |
+
public DefaultBackoffStrategy()+
public boolean shouldBackoff(Throwable t)+
ConnectionBackoffStrategy
Throwable
as
+ a result of request execution should result in a backoff
+ signal.shouldBackoff
in interface ConnectionBackoffStrategy
t
- the Throwable
that happenedtrue
if a backoff signal should be
+ givenpublic boolean shouldBackoff(org.apache.http.HttpResponse resp)+
ConnectionBackoffStrategy
HttpResponse
as
+ a result of request execution should result in a backoff
+ signal. Implementations MUST restrict themselves to examining
+ the response header and MUST NOT consume any of the response
+ body, if any.shouldBackoff
in interface ConnectionBackoffStrategy
resp
- the HttpResponse
that was receivedtrue
if a backoff signal should be
+ givenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultClientConnectionReuseStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultClientConnectionReuseStrategy.html new file mode 100644 index 0000000..20a9136 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultClientConnectionReuseStrategy.html @@ -0,0 +1,318 @@ + + + + + + +public class DefaultClientConnectionReuseStrategy
+extends org.apache.http.impl.DefaultConnectionReuseStrategy
+Modifier and Type | +Field and Description | +
---|---|
static DefaultClientConnectionReuseStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
DefaultClientConnectionReuseStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+keepAlive(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context) |
+
createTokenIterator
public static final DefaultClientConnectionReuseStrategy INSTANCE+
public DefaultClientConnectionReuseStrategy()+
public boolean keepAlive(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
keepAlive
in interface org.apache.http.ConnectionReuseStrategy
keepAlive
in class org.apache.http.impl.DefaultConnectionReuseStrategy
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultConnectionKeepAliveStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultConnectionKeepAliveStrategy.html new file mode 100644 index 0000000..3a93491 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultConnectionKeepAliveStrategy.html @@ -0,0 +1,329 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultConnectionKeepAliveStrategy +extends Object +implements ConnectionKeepAliveStrategy+
Modifier and Type | +Field and Description | +
---|---|
static DefaultConnectionKeepAliveStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
DefaultConnectionKeepAliveStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getKeepAliveDuration(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Returns the duration of time which this connection can be safely kept
+ idle.
+ |
+
public static final DefaultConnectionKeepAliveStrategy INSTANCE+
public DefaultConnectionKeepAliveStrategy()+
public long getKeepAliveDuration(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
ConnectionKeepAliveStrategy
ConnectionReuseStrategy
, if
+ ConnectionReuseStrategy.keepAlive(
+ HttpResponse, HttpContext)
returns true, this allows you to control
+ how long the reuse will last. If keepAlive returns false, this should
+ have no meaningful impactgetKeepAliveDuration
in interface ConnectionKeepAliveStrategy
response
- The last response received over the connection.context
- the context in which the connection is being used.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpClient.html new file mode 100644 index 0000000..bbe2696 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpClient.html @@ -0,0 +1,498 @@ + + + + + + +HttpClientBuilder
see also CloseableHttpClient
.@Contract(threading=SAFE_CONDITIONAL) +@Deprecated +public class DefaultHttpClient +extends AbstractHttpClient+
HttpClient
pre-configured
+ for most common use scenarios.
+
+ Please see the Javadoc for createHttpProcessor()
for the details of the interceptors
+ that are set up by default.
+
+ Additional interceptors can be added as follows, but + take care not to add the same interceptor more than once. +
+ DefaultHttpClient httpclient = new DefaultHttpClient(); + httpclient.addRequestInterceptor(new RequestAcceptEncoding()); + httpclient.addResponseInterceptor(new ResponseContentEncoding()); ++
+ This class sets up the following parameters if not explicitly set: +
+ The following parameters can be used to customize the behavior of this + class: +
CoreProtocolPNames.PROTOCOL_VERSION
CoreProtocolPNames.STRICT_TRANSFER_ENCODING
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
CoreProtocolPNames.USE_EXPECT_CONTINUE
CoreProtocolPNames.WAIT_FOR_CONTINUE
CoreProtocolPNames.USER_AGENT
CoreConnectionPNames.TCP_NODELAY
CoreConnectionPNames.SO_TIMEOUT
CoreConnectionPNames.SO_LINGER
CoreConnectionPNames.SO_REUSEADDR
CoreConnectionPNames.SOCKET_BUFFER_SIZE
CoreConnectionPNames.CONNECTION_TIMEOUT
CoreConnectionPNames.MAX_LINE_LENGTH
CoreConnectionPNames.MAX_HEADER_COUNT
CoreConnectionPNames.STALE_CONNECTION_CHECK
ConnRoutePNames.FORCED_ROUTE
ConnRoutePNames.LOCAL_ADDRESS
ConnRoutePNames.DEFAULT_PROXY
CookieSpecPNames.DATE_PATTERNS
CookieSpecPNames.SINGLE_COOKIE_HEADER
AuthPNames.CREDENTIAL_CHARSET
ClientPNames.COOKIE_POLICY
ClientPNames.HANDLE_AUTHENTICATION
ClientPNames.HANDLE_REDIRECTS
ClientPNames.MAX_REDIRECTS
ClientPNames.ALLOW_CIRCULAR_REDIRECTS
ClientPNames.VIRTUAL_HOST
ClientPNames.DEFAULT_HOST
ClientPNames.DEFAULT_HEADERS
ClientPNames.CONN_MANAGER_TIMEOUT
Constructor and Description | +
---|
DefaultHttpClient()
+Deprecated.
+ |
+
DefaultHttpClient(ClientConnectionManager conman)
+Deprecated.
+ |
+
DefaultHttpClient(ClientConnectionManager conman,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Creates a new HTTP client from parameters and a connection manager.
+ |
+
DefaultHttpClient(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.params.HttpParams |
+createHttpParams()
+Deprecated.
+Creates the default set of HttpParams by invoking
+setDefaultHttpParams(HttpParams) |
+
protected org.apache.http.protocol.BasicHttpProcessor |
+createHttpProcessor()
+Deprecated.
+Create the processor with the following interceptors:
+
+
+RequestDefaultHeaders
+ RequestContent
+ RequestTargetHost
+ RequestClientConnControl
+ RequestUserAgent
+ RequestExpectContinue
+ RequestAddCookies
+ ResponseProcessCookies
+ RequestAuthCache
+ RequestTargetAuthentication
+ RequestProxyAuthentication
+ |
+
static void |
+setDefaultHttpParams(org.apache.http.params.HttpParams params)
+Deprecated.
+Saves the default set of HttpParams in the provided parameter.
+ |
+
addRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, close, createAuthSchemeRegistry, createClientConnectionManager, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createConnectionReuseStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createHttpRoutePlanner, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, doExecute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandler
public DefaultHttpClient(ClientConnectionManager conman, + org.apache.http.params.HttpParams params)+
params
- the parametersconman
- the connection managerpublic DefaultHttpClient(ClientConnectionManager conman)+
public DefaultHttpClient(org.apache.http.params.HttpParams params)+
public DefaultHttpClient()+
protected org.apache.http.params.HttpParams createHttpParams()+
setDefaultHttpParams(HttpParams)
createHttpParams
in class AbstractHttpClient
SyncBasicHttpParams
with the defaults applied to it.public static void setDefaultHttpParams(org.apache.http.params.HttpParams params)+
CoreProtocolPNames.PROTOCOL_VERSION
:
+ 1.1CoreProtocolPNames.HTTP_CONTENT_CHARSET
:
+ ISO-8859-1CoreConnectionPNames.TCP_NODELAY
:
+ trueCoreConnectionPNames.SOCKET_BUFFER_SIZE
:
+ 8192CoreProtocolPNames.USER_AGENT
:
+ Apache-HttpClient (Java 1.5)protected org.apache.http.protocol.BasicHttpProcessor createHttpProcessor()+
RequestDefaultHeaders
RequestContent
RequestTargetHost
RequestClientConnControl
RequestUserAgent
RequestExpectContinue
RequestAddCookies
ResponseProcessCookies
RequestAuthCache
RequestTargetAuthentication
RequestProxyAuthentication
createHttpProcessor
in class AbstractHttpClient
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpRequestRetryHandler.html new file mode 100644 index 0000000..cd783ec --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultHttpRequestRetryHandler.html @@ -0,0 +1,462 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultHttpRequestRetryHandler +extends Object +implements HttpRequestRetryHandler+
HttpRequestRetryHandler
used by request executors.Modifier and Type | +Field and Description | +
---|---|
static DefaultHttpRequestRetryHandler |
+INSTANCE |
+
Modifier | +Constructor and Description | +
---|---|
|
+DefaultHttpRequestRetryHandler()
+Create the request retry handler with a retry count of 3, requestSentRetryEnabled false
+ and using the following list of non-retriable IOException classes:
++ + InterruptedIOException + UnknownHostException + ConnectException + SSLException + |
+
|
+DefaultHttpRequestRetryHandler(int retryCount,
+ boolean requestSentRetryEnabled)
+Create the request retry handler using the following list of
+ non-retriable IOException classes:
++ + InterruptedIOException + UnknownHostException + ConnectException + SSLException + |
+
protected |
+DefaultHttpRequestRetryHandler(int retryCount,
+ boolean requestSentRetryEnabled,
+ Collection<Class<? extends IOException>> clazzes)
+Create the request retry handler using the specified IOException classes
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+getRetryCount() |
+
protected boolean |
+handleAsIdempotent(org.apache.http.HttpRequest request) |
+
boolean |
+isRequestSentRetryEnabled() |
+
protected boolean |
+requestIsAborted(org.apache.http.HttpRequest request)
+Deprecated.
+
+(4.3)
+ |
+
boolean |
+retryRequest(IOException exception,
+ int executionCount,
+ org.apache.http.protocol.HttpContext context)
+Used
+retryCount and requestSentRetryEnabled to determine
+ if the given method should be retried. |
+
public static final DefaultHttpRequestRetryHandler INSTANCE+
protected DefaultHttpRequestRetryHandler(int retryCount, + boolean requestSentRetryEnabled, + Collection<Class<? extends IOException>> clazzes)+
retryCount
- how many times to retry; 0 means no retriesrequestSentRetryEnabled
- true if it's OK to retry requests that have been sentclazzes
- the IOException types that should not be retriedpublic DefaultHttpRequestRetryHandler(int retryCount, + boolean requestSentRetryEnabled)+
retryCount
- how many times to retry; 0 means no retriesrequestSentRetryEnabled
- true if it's OK to retry non-idempotent requests that have been sentpublic DefaultHttpRequestRetryHandler()+
public boolean retryRequest(IOException exception, + int executionCount, + org.apache.http.protocol.HttpContext context)+
retryCount
and requestSentRetryEnabled
to determine
+ if the given method should be retried.retryRequest
in interface HttpRequestRetryHandler
exception
- the exception that occurredexecutionCount
- the number of times this method has been
+ unsuccessfully executedcontext
- the context for the request executiontrue
if the method should be retried, false
+ otherwisepublic boolean isRequestSentRetryEnabled()+
true
if this handler will retry methods that have
+ successfully sent their request, false
otherwisepublic int getRetryCount()+
protected boolean handleAsIdempotent(org.apache.http.HttpRequest request)+
@Deprecated +protected boolean requestIsAborted(org.apache.http.HttpRequest request)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultProxyAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultProxyAuthenticationHandler.html new file mode 100644 index 0000000..416650c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultProxyAuthenticationHandler.html @@ -0,0 +1,360 @@ + + + + + + +ProxyAuthenticationStrategy
@Deprecated +@Contract(threading=IMMUTABLE) +public class DefaultProxyAuthenticationHandler +extends AbstractAuthenticationHandler+
AuthenticationHandler
implementation
+ for proxy host authentication.Constructor and Description | +
---|
DefaultProxyAuthenticationHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<String> |
+getAuthPreferences(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Returns default list of auth scheme names in their order of preference
+ based on the HTTP response and the current execution context.
+ |
+
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure
+ |
+
getAuthPreferences, parseChallenges, selectScheme
public DefaultProxyAuthenticationHandler()+
public boolean isAuthenticationRequested(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AuthenticationHandler
response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.public Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
AuthenticationHandler
response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.protected List<String> getAuthPreferences(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AbstractAuthenticationHandler
getAuthPreferences
in class AbstractAuthenticationHandler
response
- HTTP response.context
- HTTP execution context.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectHandler.html new file mode 100644 index 0000000..3f02e47 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectHandler.html @@ -0,0 +1,323 @@ + + + + + + +DefaultRedirectStrategy
.@Contract(threading=IMMUTABLE) +@Deprecated +public class DefaultRedirectHandler +extends Object +implements RedirectHandler+
RedirectHandler
.Constructor and Description | +
---|
DefaultRedirectHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
URI |
+getLocationURI(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the location request is expected to be redirected to
+ given the response from the target server and the current request
+ execution context.
+ |
+
boolean |
+isRedirectRequested(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines if a request should be redirected to a new location
+ given the response from the target server.
+ |
+
public DefaultRedirectHandler()+
public boolean isRedirectRequested(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
RedirectHandler
isRedirectRequested
in interface RedirectHandler
response
- the response received from the target servercontext
- the context for the request executiontrue
if the request should be redirected, false
+ otherwisepublic URI getLocationURI(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
RedirectHandler
getLocationURI
in interface RedirectHandler
response
- the response received from the target servercontext
- the context for the request executionorg.apache.http.ProtocolException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectStrategy.html new file mode 100644 index 0000000..474f233 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRedirectStrategy.html @@ -0,0 +1,472 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultRedirectStrategy +extends Object +implements RedirectStrategy+
RedirectStrategy
. This strategy honors the restrictions
+ on automatic redirection of entity enclosing methods such as POST and PUT imposed by the
+ HTTP specification. 302 Moved Temporarily
, 301 Moved Permanently
and
+ 307 Temporary Redirect
status codes will result in an automatic redirect of
+ HEAD and GET methods only. POST and PUT methods will not be automatically redirected
+ as requiring user confirmation.
+
+ The restriction on automatic redirection of POST methods can be relaxed by using
+ LaxRedirectStrategy
instead of DefaultRedirectStrategy
.
+
LaxRedirectStrategy
Modifier and Type | +Field and Description | +
---|---|
static DefaultRedirectStrategy |
+INSTANCE |
+
static String |
+REDIRECT_LOCATIONS
+Deprecated.
+
+(4.3) use
+HttpClientContext.REDIRECT_LOCATIONS . |
+
static int |
+SC_PERMANENT_REDIRECT |
+
Constructor and Description | +
---|
DefaultRedirectStrategy() |
+
DefaultRedirectStrategy(String[] redirectMethods)
+Constructs a new instance to redirect the given HTTP methods.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected URI |
+createLocationURI(String location) |
+
URI |
+getLocationURI(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context) |
+
HttpUriRequest |
+getRedirect(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines the redirect location given the response from the target
+ server and the current request execution context and generates a new
+ request to be sent to the location.
+ |
+
protected boolean |
+isRedirectable(String method) |
+
boolean |
+isRedirected(org.apache.http.HttpRequest request,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines if a request should be redirected to a new location
+ given the response from the target server.
+ |
+
public static final int SC_PERMANENT_REDIRECT+
@Deprecated +public static final String REDIRECT_LOCATIONS+
HttpClientContext.REDIRECT_LOCATIONS
.public static final DefaultRedirectStrategy INSTANCE+
public DefaultRedirectStrategy()+
public DefaultRedirectStrategy(String[] redirectMethods)+
redirectMethods
- The methods to redirect.public boolean isRedirected(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
RedirectStrategy
isRedirected
in interface RedirectStrategy
request
- the executed requestresponse
- the response received from the target servercontext
- the context for the request executiontrue
if the request should be redirected, false
+ otherwiseorg.apache.http.ProtocolException
public URI getLocationURI(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
org.apache.http.ProtocolException
protected URI createLocationURI(String location) + throws org.apache.http.ProtocolException+
org.apache.http.ProtocolException
protected boolean isRedirectable(String method)+
public HttpUriRequest getRedirect(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.ProtocolException+
RedirectStrategy
getRedirect
in interface RedirectStrategy
request
- the executed requestresponse
- the response received from the target servercontext
- the context for the request executionorg.apache.http.ProtocolException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRequestDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRequestDirector.html new file mode 100644 index 0000000..117d1b2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultRequestDirector.html @@ -0,0 +1,1007 @@ + + + + + + +@Deprecated +public class DefaultRequestDirector +extends Object +implements RequestDirector+
RequestDirector
.
+ + The following parameters can be used to customize the behavior of this + class: +
CoreProtocolPNames.PROTOCOL_VERSION
CoreProtocolPNames.STRICT_TRANSFER_ENCODING
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
CoreProtocolPNames.USE_EXPECT_CONTINUE
CoreProtocolPNames.WAIT_FOR_CONTINUE
CoreProtocolPNames.USER_AGENT
CoreConnectionPNames.SOCKET_BUFFER_SIZE
CoreConnectionPNames.MAX_LINE_LENGTH
CoreConnectionPNames.MAX_HEADER_COUNT
CoreConnectionPNames.SO_TIMEOUT
CoreConnectionPNames.SO_LINGER
CoreConnectionPNames.SO_REUSEADDR
CoreConnectionPNames.TCP_NODELAY
CoreConnectionPNames.CONNECTION_TIMEOUT
CoreConnectionPNames.STALE_CONNECTION_CHECK
ConnRoutePNames.FORCED_ROUTE
ConnRoutePNames.LOCAL_ADDRESS
ConnRoutePNames.DEFAULT_PROXY
CookieSpecPNames.DATE_PATTERNS
CookieSpecPNames.SINGLE_COOKIE_HEADER
AuthPNames.CREDENTIAL_CHARSET
ClientPNames.COOKIE_POLICY
ClientPNames.HANDLE_AUTHENTICATION
ClientPNames.HANDLE_REDIRECTS
ClientPNames.MAX_REDIRECTS
ClientPNames.ALLOW_CIRCULAR_REDIRECTS
ClientPNames.VIRTUAL_HOST
ClientPNames.DEFAULT_HOST
ClientPNames.DEFAULT_HEADERS
ClientPNames.CONN_MANAGER_TIMEOUT
Modifier and Type | +Field and Description | +
---|---|
protected ClientConnectionManager |
+connManager
+Deprecated.
+The connection manager.
+ |
+
protected org.apache.http.protocol.HttpProcessor |
+httpProcessor
+Deprecated.
+The HTTP protocol processor.
+ |
+
protected ConnectionKeepAliveStrategy |
+keepAliveStrategy
+Deprecated.
+The keep-alive duration strategy.
+ |
+
protected ManagedClientConnection |
+managedConn
+Deprecated.
+The currently allocated connection.
+ |
+
protected org.apache.http.params.HttpParams |
+params
+Deprecated.
+The HTTP parameters.
+ |
+
protected AuthenticationHandler |
+proxyAuthHandler
+Deprecated.
+The proxy authentication handler.
+ |
+
protected AuthState |
+proxyAuthState
+Deprecated.
+ |
+
protected AuthenticationStrategy |
+proxyAuthStrategy
+Deprecated.
+The proxy authentication handler.
+ |
+
protected RedirectHandler |
+redirectHandler
+Deprecated.
+The redirect handler.
+ |
+
protected RedirectStrategy |
+redirectStrategy
+Deprecated.
+The redirect strategy.
+ |
+
protected org.apache.http.protocol.HttpRequestExecutor |
+requestExec
+Deprecated.
+The request executor.
+ |
+
protected HttpRequestRetryHandler |
+retryHandler
+Deprecated.
+The request retry handler.
+ |
+
protected org.apache.http.ConnectionReuseStrategy |
+reuseStrategy
+Deprecated.
+The connection re-use strategy.
+ |
+
protected HttpRoutePlanner |
+routePlanner
+Deprecated.
+The route planner.
+ |
+
protected AuthenticationHandler |
+targetAuthHandler
+Deprecated.
+The target authentication handler.
+ |
+
protected AuthState |
+targetAuthState
+Deprecated.
+ |
+
protected AuthenticationStrategy |
+targetAuthStrategy
+Deprecated.
+The target authentication handler.
+ |
+
protected UserTokenHandler |
+userTokenHandler
+Deprecated.
+The user token handler.
+ |
+
Constructor and Description | +
---|
DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectHandler redirectHandler,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationHandler targetAuthHandler,
+ AuthenticationHandler proxyAuthHandler,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
DefaultRequestDirector(org.apache.commons.logging.Log log,
+ org.apache.http.protocol.HttpRequestExecutor requestExec,
+ ClientConnectionManager conman,
+ org.apache.http.ConnectionReuseStrategy reustrat,
+ ConnectionKeepAliveStrategy kastrat,
+ HttpRoutePlanner rouplan,
+ org.apache.http.protocol.HttpProcessor httpProcessor,
+ HttpRequestRetryHandler retryHandler,
+ RedirectStrategy redirectStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpRequest |
+createConnectRequest(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates the CONNECT request for tunnelling.
+ |
+
protected boolean |
+createTunnelToProxy(HttpRoute route,
+ int hop,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates a tunnel to an intermediate proxy.
+ |
+
protected boolean |
+createTunnelToTarget(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates a tunnel to the target server.
+ |
+
protected HttpRoute |
+determineRoute(org.apache.http.HttpHost targetHost,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the route for a request.
+ |
+
protected void |
+establishRoute(HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Establishes the target route.
+ |
+
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost targetHost,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes a request.
+ |
+
protected RoutedRequest |
+handleResponse(RoutedRequest roureq,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Analyzes a response to check need for a followup.
+ |
+
protected void |
+releaseConnection()
+Deprecated.
+Returns the connection back to the connection manager
+ and prepares for retrieving a new connection during
+ the next request.
+ |
+
protected void |
+rewriteRequestURI(RequestWrapper request,
+ HttpRoute route)
+Deprecated.
+ |
+
protected final ClientConnectionManager connManager+
protected final HttpRoutePlanner routePlanner+
protected final org.apache.http.ConnectionReuseStrategy reuseStrategy+
protected final ConnectionKeepAliveStrategy keepAliveStrategy+
protected final org.apache.http.protocol.HttpRequestExecutor requestExec+
protected final org.apache.http.protocol.HttpProcessor httpProcessor+
protected final HttpRequestRetryHandler retryHandler+
protected final RedirectHandler redirectHandler+
protected final RedirectStrategy redirectStrategy+
protected final AuthenticationHandler targetAuthHandler+
protected final AuthenticationStrategy targetAuthStrategy+
protected final AuthenticationHandler proxyAuthHandler+
protected final AuthenticationStrategy proxyAuthStrategy+
protected final UserTokenHandler userTokenHandler+
protected final org.apache.http.params.HttpParams params+
protected ManagedClientConnection managedConn+
protected final AuthState targetAuthState+
protected final AuthState proxyAuthState+
public DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectHandler redirectHandler, + AuthenticationHandler targetAuthHandler, + AuthenticationHandler proxyAuthHandler, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
public DefaultRequestDirector(org.apache.commons.logging.Log log, + org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectStrategy redirectStrategy, + AuthenticationHandler targetAuthHandler, + AuthenticationHandler proxyAuthHandler, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
public DefaultRequestDirector(org.apache.commons.logging.Log log, + org.apache.http.protocol.HttpRequestExecutor requestExec, + ClientConnectionManager conman, + org.apache.http.ConnectionReuseStrategy reustrat, + ConnectionKeepAliveStrategy kastrat, + HttpRoutePlanner rouplan, + org.apache.http.protocol.HttpProcessor httpProcessor, + HttpRequestRetryHandler retryHandler, + RedirectStrategy redirectStrategy, + AuthenticationStrategy targetAuthStrategy, + AuthenticationStrategy proxyAuthStrategy, + UserTokenHandler userTokenHandler, + org.apache.http.params.HttpParams params)+
protected void rewriteRequestURI(RequestWrapper request, + HttpRoute route) + throws org.apache.http.ProtocolException+
org.apache.http.ProtocolException
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost targetHost, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
RequestDirector
+ Note: For the time being, a new director is instantiated for each request.
+ This is the same behavior as for HttpMethodDirector
+ in HttpClient 3.
+
execute
in interface RequestDirector
targetHost
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context for executing the requestorg.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problem
+ or if the connection was abortedprotected void releaseConnection()+
protected HttpRoute determineRoute(org.apache.http.HttpHost targetHost, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)
+ to determine the route for either the original or a followup request.targetHost
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the execution,
+ never null
org.apache.http.HttpException
- in case of a problemprotected void establishRoute(HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
route
- the route to establishcontext
- the context for the request executionorg.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problemprotected boolean createTunnelToTarget(HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
route
- the route to establishcontext
- the context for request executiontrue
if the tunnelled route is secure,
+ false
otherwise.
+ The implementation here always returns false
,
+ but derived classes may override.org.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problemprotected boolean createTunnelToProxy(HttpRoute route, + int hop, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
route
- the route to establishhop
- the hop in the route to establish now.
+ route.getHopTarget(hop)
+ will return the proxy to tunnel to.context
- the context for request executiontrue
if the partially tunnelled connection
+ is secure, false
otherwise.org.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problemprotected org.apache.http.HttpRequest createConnectRequest(HttpRoute route, + org.apache.http.protocol.HttpContext context)+
createTunnelToTarget
.route
- the route to establishcontext
- the context for request executionprotected RoutedRequest handleResponse(RoutedRequest roureq, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException, + IOException+
roureq
- the request and route.response
- the response to analayzecontext
- the context used for the current request executionnull
if the response should be returned as isorg.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problemCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultServiceUnavailableRetryStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultServiceUnavailableRetryStrategy.html new file mode 100644 index 0000000..3fa8f0b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultServiceUnavailableRetryStrategy.html @@ -0,0 +1,315 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultServiceUnavailableRetryStrategy +extends Object +implements ServiceUnavailableRetryStrategy+
ServiceUnavailableRetryStrategy
interface.
+ that retries 503
(Service Unavailable) responses for a fixed number of times
+ at a fixed interval.Constructor and Description | +
---|
DefaultServiceUnavailableRetryStrategy() |
+
DefaultServiceUnavailableRetryStrategy(int maxRetries,
+ int retryInterval) |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getRetryInterval() |
+
boolean |
+retryRequest(org.apache.http.HttpResponse response,
+ int executionCount,
+ org.apache.http.protocol.HttpContext context)
+Determines if a method should be retried given the response from the target server.
+ |
+
public DefaultServiceUnavailableRetryStrategy(int maxRetries, + int retryInterval)+
public DefaultServiceUnavailableRetryStrategy()+
public boolean retryRequest(org.apache.http.HttpResponse response, + int executionCount, + org.apache.http.protocol.HttpContext context)+
ServiceUnavailableRetryStrategy
retryRequest
in interface ServiceUnavailableRetryStrategy
response
- the response from the target serverexecutionCount
- the number of times this method has been
+ unsuccessfully executedcontext
- the context for the request executiontrue
if the method should be retried, false
+ otherwisepublic long getRetryInterval()+
getRetryInterval
in interface ServiceUnavailableRetryStrategy
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultTargetAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultTargetAuthenticationHandler.html new file mode 100644 index 0000000..722482e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultTargetAuthenticationHandler.html @@ -0,0 +1,360 @@ + + + + + + +TargetAuthenticationStrategy
@Deprecated +@Contract(threading=IMMUTABLE) +public class DefaultTargetAuthenticationHandler +extends AbstractAuthenticationHandler+
AuthenticationHandler
implementation
+ for target host authentication.Constructor and Description | +
---|
DefaultTargetAuthenticationHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<String> |
+getAuthPreferences(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Returns default list of auth scheme names in their order of preference
+ based on the HTTP response and the current execution context.
+ |
+
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Extracts from the given HTTP response a collection of authentication
+ challenges, each of which represents an authentication scheme supported
+ by the authentication host.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure
+ |
+
getAuthPreferences, parseChallenges, selectScheme
public DefaultTargetAuthenticationHandler()+
public boolean isAuthenticationRequested(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AuthenticationHandler
response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.public Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
AuthenticationHandler
response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.protected List<String> getAuthPreferences(org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AbstractAuthenticationHandler
getAuthPreferences
in class AbstractAuthenticationHandler
response
- HTTP response.context
- HTTP execution context.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultUserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultUserTokenHandler.html new file mode 100644 index 0000000..29e2708 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/DefaultUserTokenHandler.html @@ -0,0 +1,326 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultUserTokenHandler +extends Object +implements UserTokenHandler+
UserTokenHandler
. This class will use
+ an instance of Principal
as a state object for HTTP connections,
+ if it can be obtained from the given execution context. This helps ensure
+ persistent connections created with a particular user identity within
+ a particular security context can be reused by the same user only.
+
+ DefaultUserTokenHandler will use the user principal of connection
+ based authentication schemes such as NTLM or that of the SSL session
+ with the client authentication turned on. If both are unavailable,
+ null
token will be returned.
Modifier and Type | +Field and Description | +
---|---|
static DefaultUserTokenHandler |
+INSTANCE |
+
Constructor and Description | +
---|
DefaultUserTokenHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+getUserToken(org.apache.http.protocol.HttpContext context)
+The token object returned by this method is expected to uniquely
+ identify the current user if the context is user specific or to be
+
+null if it is not. |
+
public static final DefaultUserTokenHandler INSTANCE+
public DefaultUserTokenHandler()+
public Object getUserToken(org.apache.http.protocol.HttpContext context)+
UserTokenHandler
null
if it is not.getUserToken
in interface UserTokenHandler
context
- the execution contextnull
if the context is not user specific.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/EntityEnclosingRequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/EntityEnclosingRequestWrapper.html new file mode 100644 index 0000000..ba20012 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/EntityEnclosingRequestWrapper.html @@ -0,0 +1,402 @@ + + + + + + +@Deprecated +public class EntityEnclosingRequestWrapper +extends RequestWrapper +implements org.apache.http.HttpEntityEnclosingRequest+
HttpEntityEnclosingRequest
s that can
+ be used to change properties of the current request without
+ modifying the original object.
+ + This class is also capable of resetting the request headers to + the state of the original request. +
headergroup, params
Constructor and Description | +
---|
EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+expectContinue()
+Deprecated.
+ |
+
org.apache.http.HttpEntity |
+getEntity()
+Deprecated.
+ |
+
boolean |
+isRepeatable()
+Deprecated.
+ |
+
void |
+setEntity(org.apache.http.HttpEntity entity)
+Deprecated.
+ |
+
abort, getExecCount, getMethod, getOriginal, getProtocolVersion, getRequestLine, getURI, incrementExecCount, isAborted, resetHeaders, setMethod, setProtocolVersion, setURI
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request) + throws org.apache.http.ProtocolException+
org.apache.http.ProtocolException
public org.apache.http.HttpEntity getEntity()+
getEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public void setEntity(org.apache.http.HttpEntity entity)+
setEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public boolean expectContinue()+
expectContinue
in interface org.apache.http.HttpEntityEnclosingRequest
public boolean isRepeatable()+
isRepeatable
in class RequestWrapper
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionMetrics.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionMetrics.html new file mode 100644 index 0000000..60e4c8b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionMetrics.html @@ -0,0 +1,359 @@ + + + + + + +public final class FutureRequestExecutionMetrics +extends Object+
FutureRequestExecutionService
.Modifier and Type | +Method and Description | +
---|---|
long |
+getActiveConnectionCount() |
+
long |
+getFailedConnectionAverageDuration() |
+
long |
+getFailedConnectionCount() |
+
long |
+getRequestAverageDuration() |
+
long |
+getRequestCount() |
+
long |
+getScheduledConnectionCount() |
+
long |
+getSuccessfulConnectionAverageDuration() |
+
long |
+getSuccessfulConnectionCount() |
+
long |
+getTaskAverageDuration() |
+
long |
+getTaskCount() |
+
String |
+toString() |
+
public long getActiveConnectionCount()+
public long getScheduledConnectionCount()+
public long getSuccessfulConnectionCount()+
public long getSuccessfulConnectionAverageDuration()+
public long getFailedConnectionCount()+
public long getFailedConnectionAverageDuration()+
public long getRequestCount()+
public long getRequestAverageDuration()+
public long getTaskCount()+
public long getTaskAverageDuration()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionService.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionService.html new file mode 100644 index 0000000..23acc12 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/FutureRequestExecutionService.html @@ -0,0 +1,346 @@ + + + + + + +@Contract(threading=SAFE) +public class FutureRequestExecutionService +extends Object +implements Closeable+
HttpRequestFutureTask
+ and schedules them using the provided executor service. Scheduled calls may be cancelled.Constructor and Description | +
---|
FutureRequestExecutionService(HttpClient httpclient,
+ ExecutorService executorService)
+Create a new FutureRequestExecutionService.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+close() |
+
<T> HttpRequestFutureTask<T> |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler)
+Schedule a request for execution.
+ |
+
<T> HttpRequestFutureTask<T> |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler,
+ org.apache.http.concurrent.FutureCallback<T> callback)
+Schedule a request for execution.
+ |
+
FutureRequestExecutionMetrics |
+metrics() |
+
public FutureRequestExecutionService(HttpClient httpclient, + ExecutorService executorService)+
httpclient
- you should tune your httpclient instance to match your needs. You should
+ align the max number of connections in the pool and the number of threads
+ in the executor; it doesn't make sense to have more threads than connections
+ and if you have less connections than threads, the threads will just end up
+ blocking on getting a connection from the pool.executorService
- any executorService will do here. E.g.
+ Executors.newFixedThreadPool(int)
public <T> HttpRequestFutureTask<T> execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context, + ResponseHandler<T> responseHandler)+
T
- request
- request to executeresponseHandler
- handler that will process the response.public <T> HttpRequestFutureTask<T> execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context, + ResponseHandler<T> responseHandler, + org.apache.http.concurrent.FutureCallback<T> callback)+
T
- request
- request to executecontext
- optional context; use null if not needed.responseHandler
- handler that will process the response.callback
- callback handler that will be called when the request is scheduled,
+ started, completed, failed, or cancelled.public FutureRequestExecutionMetrics metrics()+
FutureRequestExecutionMetrics
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpAuthenticator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpAuthenticator.html new file mode 100644 index 0000000..3d84616 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpAuthenticator.html @@ -0,0 +1,303 @@ + + + + + + +@Deprecated +public class HttpAuthenticator +extends HttpAuthenticator+
Constructor and Description | +
---|
HttpAuthenticator()
+Deprecated.
+ |
+
HttpAuthenticator(org.apache.commons.logging.Log log)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+authenticate(org.apache.http.HttpHost host,
+ org.apache.http.HttpResponse response,
+ AuthenticationStrategy authStrategy,
+ AuthState authState,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+ |
+
generateAuthResponse, handleAuthChallenge, isAuthenticationRequested
public HttpAuthenticator(org.apache.commons.logging.Log log)+
public HttpAuthenticator()+
public boolean authenticate(org.apache.http.HttpHost host, + org.apache.http.HttpResponse response, + AuthenticationStrategy authStrategy, + AuthState authState, + org.apache.http.protocol.HttpContext context)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClientBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClientBuilder.html new file mode 100644 index 0000000..1f5f827 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClientBuilder.html @@ -0,0 +1,1442 @@ + + + + + + +public class HttpClientBuilder +extends Object+
CloseableHttpClient
instances.
+
+ When a particular component is not explicitly set this class will
+ use its default implementation. System properties will be taken
+ into account when configuring the default implementations when
+ useSystemProperties()
method is called prior to calling
+ build()
.
+
+ Please note that some settings used by this class can be mutually
+ exclusive and may not apply when building CloseableHttpClient
+ instances.
+
Modifier | +Constructor and Description | +
---|---|
protected |
+HttpClientBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+addCloseable(Closeable closeable)
+For internal use.
+ |
+
HttpClientBuilder |
+addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp)
+Adds this protocol interceptor to the head of the protocol processing list.
+ |
+
HttpClientBuilder |
+addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp)
+Adds this protocol interceptor to the head of the protocol processing list.
+ |
+
HttpClientBuilder |
+addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp)
+Adds this protocol interceptor to the tail of the protocol processing list.
+ |
+
HttpClientBuilder |
+addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp)
+Adds this protocol interceptor to the tail of the protocol processing list.
+ |
+
CloseableHttpClient |
+build() |
+
static HttpClientBuilder |
+create() |
+
protected ClientExecChain |
+createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
protected ClientExecChain |
+decorateMainExec(ClientExecChain mainExec)
+For internal use.
+ |
+
protected ClientExecChain |
+decorateProtocolExec(ClientExecChain protocolExec)
+For internal use.
+ |
+
HttpClientBuilder |
+disableAuthCaching()
+Disables authentication scheme caching.
+ |
+
HttpClientBuilder |
+disableAutomaticRetries()
+Disables automatic request recovery and re-execution.
+ |
+
HttpClientBuilder |
+disableConnectionState()
+Disables connection state tracking.
+ |
+
HttpClientBuilder |
+disableContentCompression()
+Disables automatic content decompression.
+ |
+
HttpClientBuilder |
+disableCookieManagement()
+Disables state (cookie) management.
+ |
+
HttpClientBuilder |
+disableDefaultUserAgent()
+Disables the default user agent set by this builder if none has been provided by the user.
+ |
+
HttpClientBuilder |
+disableRedirectHandling()
+Disables automatic redirect handling.
+ |
+
HttpClientBuilder |
+evictExpiredConnections()
+Makes this instance of HttpClient proactively evict expired connections from the
+ connection pool using a background thread.
+ |
+
HttpClientBuilder |
+evictIdleConnections(long maxIdleTime,
+ TimeUnit maxIdleTimeUnit)
+Makes this instance of HttpClient proactively evict idle connections from the
+ connection pool using a background thread.
+ |
+
HttpClientBuilder |
+evictIdleConnections(Long maxIdleTime,
+ TimeUnit maxIdleTimeUnit)
+Deprecated.
+
+(4.5) use
+evictIdleConnections(long, TimeUnit) |
+
HttpClientBuilder |
+setBackoffManager(BackoffManager backoffManager)
+Assigns
+BackoffManager instance. |
+
HttpClientBuilder |
+setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
+Assigns
+ConnectionBackoffStrategy instance. |
+
HttpClientBuilder |
+setConnectionManager(HttpClientConnectionManager connManager)
+Assigns
+HttpClientConnectionManager instance. |
+
HttpClientBuilder |
+setConnectionManagerShared(boolean shared)
+Defines the connection manager is to be shared by multiple
+ client instances.
+ |
+
HttpClientBuilder |
+setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy reuseStrategy)
+Assigns
+ConnectionReuseStrategy instance. |
+
HttpClientBuilder |
+setConnectionTimeToLive(long connTimeToLive,
+ TimeUnit connTimeToLiveTimeUnit)
+Sets maximum time to live for persistent connections
+ |
+
HttpClientBuilder |
+setContentDecoderRegistry(Map<String,InputStreamFactory> contentDecoderMap)
+Assigns a map of
+InputStreamFactory s
+ to be used for automatic content decompression. |
+
HttpClientBuilder |
+setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> authSchemeRegistry)
+Assigns default
+AuthScheme registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig config)
+Assigns default
+ConnectionConfig . |
+
HttpClientBuilder |
+setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> cookieSpecRegistry)
+Assigns default
+CookieSpec registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+setDefaultCookieStore(CookieStore cookieStore)
+Assigns default
+CookieStore instance which will be used for
+ request execution if not explicitly set in the client execution context. |
+
HttpClientBuilder |
+setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
+Assigns default
+CredentialsProvider instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+setDefaultHeaders(Collection<? extends org.apache.http.Header> defaultHeaders)
+Assigns default request header values.
+ |
+
HttpClientBuilder |
+setDefaultRequestConfig(RequestConfig config)
+Assigns default
+RequestConfig instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+setDefaultSocketConfig(org.apache.http.config.SocketConfig config)
+Assigns default
+SocketConfig . |
+
HttpClientBuilder |
+setDnsResolver(DnsResolver dnsResolver)
+Assigns
+DnsResolver instance. |
+
HttpClientBuilder |
+setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
+Deprecated.
+
+(4.4)
+ |
+
HttpClientBuilder |
+setHttpProcessor(org.apache.http.protocol.HttpProcessor httpprocessor)
+Assigns
+HttpProcessor instance. |
+
HttpClientBuilder |
+setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
+Assigns
+ConnectionKeepAliveStrategy instance. |
+
HttpClientBuilder |
+setMaxConnPerRoute(int maxConnPerRoute)
+Assigns maximum connection per route value.
+ |
+
HttpClientBuilder |
+setMaxConnTotal(int maxConnTotal)
+Assigns maximum total connection value.
+ |
+
HttpClientBuilder |
+setProxy(org.apache.http.HttpHost proxy)
+Assigns default proxy value.
+ |
+
HttpClientBuilder |
+setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
+Assigns
+AuthenticationStrategy instance for proxy
+ authentication. |
+
HttpClientBuilder |
+setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)
+Assigns file containing public suffix matcher.
+ |
+
HttpClientBuilder |
+setRedirectStrategy(RedirectStrategy redirectStrategy)
+Assigns
+RedirectStrategy instance. |
+
HttpClientBuilder |
+setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor requestExec)
+Assigns
+HttpRequestExecutor instance. |
+
HttpClientBuilder |
+setRetryHandler(HttpRequestRetryHandler retryHandler)
+Assigns
+HttpRequestRetryHandler instance. |
+
HttpClientBuilder |
+setRoutePlanner(HttpRoutePlanner routePlanner)
+Assigns
+HttpRoutePlanner instance. |
+
HttpClientBuilder |
+setSchemePortResolver(SchemePortResolver schemePortResolver)
+Assigns
+SchemePortResolver instance. |
+
HttpClientBuilder |
+setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy serviceUnavailStrategy)
+Assigns
+ServiceUnavailableRetryStrategy instance. |
+
HttpClientBuilder |
+setSslcontext(SSLContext sslcontext)
+Deprecated.
+
+(4.5) use
+setSSLContext(SSLContext) |
+
HttpClientBuilder |
+setSSLContext(SSLContext sslContext)
+Assigns
+SSLContext instance. |
+
HttpClientBuilder |
+setSSLHostnameVerifier(HostnameVerifier hostnameVerifier)
+Assigns
+HostnameVerifier instance. |
+
HttpClientBuilder |
+setSSLSocketFactory(LayeredConnectionSocketFactory sslSocketFactory)
+Assigns
+LayeredConnectionSocketFactory instance. |
+
HttpClientBuilder |
+setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
+Assigns
+AuthenticationStrategy instance for target
+ host authentication. |
+
HttpClientBuilder |
+setUserAgent(String userAgent)
+Assigns
+User-Agent value. |
+
HttpClientBuilder |
+setUserTokenHandler(UserTokenHandler userTokenHandler)
+Assigns
+UserTokenHandler instance. |
+
HttpClientBuilder |
+useSystemProperties()
+Use system properties when creating and configuring default
+ implementations.
+ |
+
public static HttpClientBuilder create()+
public final HttpClientBuilder setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor requestExec)+
HttpRequestExecutor
instance.@Deprecated +public final HttpClientBuilder setHostnameVerifier(X509HostnameVerifier hostnameVerifier)+
X509HostnameVerifier
instance.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
and the setSSLSocketFactory(
+ org.apache.http.conn.socket.LayeredConnectionSocketFactory)
methods.
+
public final HttpClientBuilder setSSLHostnameVerifier(HostnameVerifier hostnameVerifier)+
HostnameVerifier
instance.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
and the setSSLSocketFactory(
+ org.apache.http.conn.socket.LayeredConnectionSocketFactory)
methods.
+
public final HttpClientBuilder setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)+
PublicSuffixMatcherLoader
.PublicSuffixMatcher
,
+PublicSuffixMatcherLoader
@Deprecated +public final HttpClientBuilder setSslcontext(SSLContext sslcontext)+
setSSLContext(SSLContext)
SSLContext
instance.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
and the setSSLSocketFactory(
+ org.apache.http.conn.socket.LayeredConnectionSocketFactory)
methods.
+
public final HttpClientBuilder setSSLContext(SSLContext sslContext)+
SSLContext
instance.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
and the setSSLSocketFactory(
+ org.apache.http.conn.socket.LayeredConnectionSocketFactory)
methods.
+
public final HttpClientBuilder setSSLSocketFactory(LayeredConnectionSocketFactory sslSocketFactory)+
LayeredConnectionSocketFactory
instance.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setMaxConnTotal(int maxConnTotal)+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setMaxConnPerRoute(int maxConnPerRoute)+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setDefaultSocketConfig(org.apache.http.config.SocketConfig config)+
SocketConfig
.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig config)+
ConnectionConfig
.
+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setConnectionTimeToLive(long connTimeToLive, + TimeUnit connTimeToLiveTimeUnit)+
+ Please note this value can be overridden by the setConnectionManager(
+ org.apache.http.conn.HttpClientConnectionManager)
method.
+
public final HttpClientBuilder setConnectionManager(HttpClientConnectionManager connManager)+
HttpClientConnectionManager
instance.public final HttpClientBuilder setConnectionManagerShared(boolean shared)+
+ If the connection manager is shared its life-cycle is expected + to be managed by the caller and it will not be shut down + if the client is closed. +
shared
- defines whether or not the connection manager can be shared
+ by multiple clients.public final HttpClientBuilder setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy reuseStrategy)+
ConnectionReuseStrategy
instance.public final HttpClientBuilder setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)+
ConnectionKeepAliveStrategy
instance.public final HttpClientBuilder setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)+
AuthenticationStrategy
instance for target
+ host authentication.public final HttpClientBuilder setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)+
AuthenticationStrategy
instance for proxy
+ authentication.public final HttpClientBuilder setUserTokenHandler(UserTokenHandler userTokenHandler)+
UserTokenHandler
instance.
+
+ Please note this value can be overridden by the disableConnectionState()
+ method.
+
public final HttpClientBuilder disableConnectionState()+
public final HttpClientBuilder setSchemePortResolver(SchemePortResolver schemePortResolver)+
SchemePortResolver
instance.public final HttpClientBuilder setUserAgent(String userAgent)+
User-Agent
value.
+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
+
public final HttpClientBuilder setDefaultHeaders(Collection<? extends org.apache.http.Header> defaultHeaders)+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
+
public final HttpClientBuilder addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp)+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
+
public final HttpClientBuilder addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp)+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
+
public final HttpClientBuilder addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp)+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
public final HttpClientBuilder addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp)+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
public final HttpClientBuilder disableCookieManagement()+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
public final HttpClientBuilder disableContentCompression()+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
public final HttpClientBuilder disableAuthCaching()+
+ Please note this value can be overridden by the setHttpProcessor(
+ org.apache.http.protocol.HttpProcessor)
method.
public final HttpClientBuilder setHttpProcessor(org.apache.http.protocol.HttpProcessor httpprocessor)+
HttpProcessor
instance.public final HttpClientBuilder setDnsResolver(DnsResolver dnsResolver)+
DnsResolver
instance.
+
+ Please note this value can be overridden by the setConnectionManager(HttpClientConnectionManager)
method.
public final HttpClientBuilder setRetryHandler(HttpRequestRetryHandler retryHandler)+
HttpRequestRetryHandler
instance.
+
+ Please note this value can be overridden by the disableAutomaticRetries()
+ method.
public final HttpClientBuilder disableAutomaticRetries()+
public final HttpClientBuilder setProxy(org.apache.http.HttpHost proxy)+
+ Please note this value can be overridden by the setRoutePlanner(
+ org.apache.http.conn.routing.HttpRoutePlanner)
method.
public final HttpClientBuilder setRoutePlanner(HttpRoutePlanner routePlanner)+
HttpRoutePlanner
instance.public final HttpClientBuilder setRedirectStrategy(RedirectStrategy redirectStrategy)+
RedirectStrategy
instance.
+
+ Please note this value can be overridden by the disableRedirectHandling()
+ method.
+
public final HttpClientBuilder disableRedirectHandling()+
public final HttpClientBuilder setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)+
ConnectionBackoffStrategy
instance.public final HttpClientBuilder setBackoffManager(BackoffManager backoffManager)+
BackoffManager
instance.public final HttpClientBuilder setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy serviceUnavailStrategy)+
ServiceUnavailableRetryStrategy
instance.public final HttpClientBuilder setDefaultCookieStore(CookieStore cookieStore)+
CookieStore
instance which will be used for
+ request execution if not explicitly set in the client execution context.public final HttpClientBuilder setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)+
CredentialsProvider
instance which will be used
+ for request execution if not explicitly set in the client execution
+ context.public final HttpClientBuilder setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> authSchemeRegistry)+
AuthScheme
registry which will
+ be used for request execution if not explicitly set in the client execution
+ context.public final HttpClientBuilder setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> cookieSpecRegistry)+
CookieSpec
registry which will
+ be used for request execution if not explicitly set in the client execution
+ context.CookieSpecRegistries
public final HttpClientBuilder setContentDecoderRegistry(Map<String,InputStreamFactory> contentDecoderMap)+
InputStreamFactory
s
+ to be used for automatic content decompression.public final HttpClientBuilder setDefaultRequestConfig(RequestConfig config)+
RequestConfig
instance which will be used
+ for request execution if not explicitly set in the client execution
+ context.public final HttpClientBuilder useSystemProperties()+
public final HttpClientBuilder evictExpiredConnections()+
+ One MUST explicitly close HttpClient with Closeable.close()
in order
+ to stop and release the background thread.
+
+ Please note this method has no effect if the instance of HttpClient is configuted to + use a shared connection manager. +
+ Please note this method may not be used when the instance of HttpClient is created + inside an EJB container.
setConnectionManagerShared(boolean)
,
+HttpClientConnectionManager.closeExpiredConnections()
@Deprecated +public final HttpClientBuilder evictIdleConnections(Long maxIdleTime, + TimeUnit maxIdleTimeUnit)+
evictIdleConnections(long, TimeUnit)
+ One MUST explicitly close HttpClient with Closeable.close()
in order
+ to stop and release the background thread.
+
+ Please note this method has no effect if the instance of HttpClient is configuted to + use a shared connection manager. +
+ Please note this method may not be used when the instance of HttpClient is created + inside an EJB container.
maxIdleTime
- maximum time persistent connections can stay idle while kept alive
+ in the connection pool. Connections whose inactivity period exceeds this value will
+ get closed and evicted from the pool.maxIdleTimeUnit
- time unit for the above parameter.setConnectionManagerShared(boolean)
,
+HttpClientConnectionManager.closeExpiredConnections()
public final HttpClientBuilder evictIdleConnections(long maxIdleTime, + TimeUnit maxIdleTimeUnit)+
+ One MUST explicitly close HttpClient with Closeable.close()
in order
+ to stop and release the background thread.
+
+ Please note this method has no effect if the instance of HttpClient is configuted to + use a shared connection manager. +
+ Please note this method may not be used when the instance of HttpClient is created + inside an EJB container.
maxIdleTime
- maximum time persistent connections can stay idle while kept alive
+ in the connection pool. Connections whose inactivity period exceeds this value will
+ get closed and evicted from the pool.maxIdleTimeUnit
- time unit for the above parameter.setConnectionManagerShared(boolean)
,
+HttpClientConnectionManager.closeExpiredConnections()
public final HttpClientBuilder disableDefaultUserAgent()+
protected ClientExecChain createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec, + HttpClientConnectionManager connManager, + org.apache.http.ConnectionReuseStrategy reuseStrategy, + ConnectionKeepAliveStrategy keepAliveStrategy, + org.apache.http.protocol.HttpProcessor proxyHttpProcessor, + AuthenticationStrategy targetAuthStrategy, + AuthenticationStrategy proxyAuthStrategy, + UserTokenHandler userTokenHandler)+
ClientExecChain
to be used as a main exec.
+
+ Default implementation produces an instance of MainClientExec
+
+ For internal use. +
protected ClientExecChain decorateMainExec(ClientExecChain mainExec)+
protected ClientExecChain decorateProtocolExec(ClientExecChain protocolExec)+
protected void addCloseable(Closeable closeable)+
public CloseableHttpClient build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClients.html new file mode 100644 index 0000000..3029742 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpClients.html @@ -0,0 +1,304 @@ + + + + + + +public class HttpClients +extends Object+
CloseableHttpClient
instances.Modifier and Type | +Method and Description | +
---|---|
static CloseableHttpClient |
+createDefault()
+Creates
+CloseableHttpClient instance with default
+ configuration. |
+
static CloseableHttpClient |
+createMinimal()
+Creates
+CloseableHttpClient instance that implements
+ the most basic HTTP protocol support. |
+
static CloseableHttpClient |
+createMinimal(HttpClientConnectionManager connManager)
+Creates
+CloseableHttpClient instance that implements
+ the most basic HTTP protocol support. |
+
static CloseableHttpClient |
+createSystem()
+Creates
+CloseableHttpClient instance with default
+ configuration based on system properties. |
+
static HttpClientBuilder |
+custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
public static HttpClientBuilder custom()+
CloseableHttpClient
instances.public static CloseableHttpClient createDefault()+
CloseableHttpClient
instance with default
+ configuration.public static CloseableHttpClient createSystem()+
CloseableHttpClient
instance with default
+ configuration based on system properties.public static CloseableHttpClient createMinimal()+
CloseableHttpClient
instance that implements
+ the most basic HTTP protocol support.public static CloseableHttpClient createMinimal(HttpClientConnectionManager connManager)+
CloseableHttpClient
instance that implements
+ the most basic HTTP protocol support.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpRequestFutureTask.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpRequestFutureTask.html new file mode 100644 index 0000000..b8073e6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/HttpRequestFutureTask.html @@ -0,0 +1,373 @@ + + + + + + +V
- public class HttpRequestFutureTask<V> +extends FutureTask<V>+
Constructor and Description | +
---|
HttpRequestFutureTask(HttpUriRequest request,
+ org.apache.http.impl.client.HttpRequestTaskCallable<V> httpCallable) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+cancel(boolean mayInterruptIfRunning) |
+
long |
+endedTime() |
+
long |
+requestDuration() |
+
long |
+scheduledTime() |
+
long |
+startedTime() |
+
long |
+taskDuration() |
+
String |
+toString() |
+
done, get, get, isCancelled, isDone, run, runAndReset, set, setException
public HttpRequestFutureTask(HttpUriRequest request, + org.apache.http.impl.client.HttpRequestTaskCallable<V> httpCallable)+
public boolean cancel(boolean mayInterruptIfRunning)+ +
public long scheduledTime()+
public long startedTime()+
public long endedTime()+
public long requestDuration()+
public long taskDuration()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/IdleConnectionEvictor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/IdleConnectionEvictor.html new file mode 100644 index 0000000..d3187a9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/IdleConnectionEvictor.html @@ -0,0 +1,352 @@ + + + + + + +public final class IdleConnectionEvictor +extends Object+
Constructor and Description | +
---|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ long sleepTime,
+ TimeUnit sleepTimeUnit,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
+ ThreadFactory threadFactory,
+ long sleepTime,
+ TimeUnit sleepTimeUnit,
+ long maxIdleTime,
+ TimeUnit maxIdleTimeUnit) |
+
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, + ThreadFactory threadFactory, + long sleepTime, + TimeUnit sleepTimeUnit, + long maxIdleTime, + TimeUnit maxIdleTimeUnit)+
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, + long sleepTime, + TimeUnit sleepTimeUnit, + long maxIdleTime, + TimeUnit maxIdleTimeUnit)+
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, + long maxIdleTime, + TimeUnit maxIdleTimeUnit)+
public void start()+
public void shutdown()+
public boolean isRunning()+
public void awaitTermination(long time, + TimeUnit timeUnit) + throws InterruptedException+
InterruptedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/LaxRedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/LaxRedirectStrategy.html new file mode 100644 index 0000000..066bb04 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/LaxRedirectStrategy.html @@ -0,0 +1,296 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class LaxRedirectStrategy +extends DefaultRedirectStrategy+
RedirectStrategy
implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests.
+ This strategy relaxes restrictions on automatic redirection of
+ POST methods imposed by the HTTP specification.Modifier and Type | +Field and Description | +
---|---|
static LaxRedirectStrategy |
+INSTANCE |
+
REDIRECT_LOCATIONS, SC_PERMANENT_REDIRECT
Constructor and Description | +
---|
LaxRedirectStrategy() |
+
createLocationURI, getLocationURI, getRedirect, isRedirectable, isRedirected
public static final LaxRedirectStrategy INSTANCE+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NoopUserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NoopUserTokenHandler.html new file mode 100644 index 0000000..208f078 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NoopUserTokenHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NoopUserTokenHandler +extends Object +implements UserTokenHandler+
UserTokenHandler
that always returns null
.Modifier and Type | +Field and Description | +
---|---|
static NoopUserTokenHandler |
+INSTANCE |
+
Constructor and Description | +
---|
NoopUserTokenHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+getUserToken(org.apache.http.protocol.HttpContext context)
+The token object returned by this method is expected to uniquely
+ identify the current user if the context is user specific or to be
+
+null if it is not. |
+
public static final NoopUserTokenHandler INSTANCE+
public Object getUserToken(org.apache.http.protocol.HttpContext context)+
UserTokenHandler
null
if it is not.getUserToken
in interface UserTokenHandler
context
- the execution contextnull
if the context is not user specific.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NullBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NullBackoffStrategy.html new file mode 100644 index 0000000..126e483 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/NullBackoffStrategy.html @@ -0,0 +1,310 @@ + + + + + + +public class NullBackoffStrategy +extends Object +implements ConnectionBackoffStrategy+
ConnectionBackoffStrategy
that never backs off,
+ for compatibility with existing behavior.Constructor and Description | +
---|
NullBackoffStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+shouldBackoff(org.apache.http.HttpResponse resp)
+Determines whether receiving the given
+HttpResponse as
+ a result of request execution should result in a backoff
+ signal. |
+
boolean |
+shouldBackoff(Throwable t)
+Determines whether seeing the given
+Throwable as
+ a result of request execution should result in a backoff
+ signal. |
+
public boolean shouldBackoff(Throwable t)+
ConnectionBackoffStrategy
Throwable
as
+ a result of request execution should result in a backoff
+ signal.shouldBackoff
in interface ConnectionBackoffStrategy
t
- the Throwable
that happenedtrue
if a backoff signal should be
+ givenpublic boolean shouldBackoff(org.apache.http.HttpResponse resp)+
ConnectionBackoffStrategy
HttpResponse
as
+ a result of request execution should result in a backoff
+ signal. Implementations MUST restrict themselves to examining
+ the response header and MUST NOT consume any of the response
+ body, if any.shouldBackoff
in interface ConnectionBackoffStrategy
resp
- the HttpResponse
that was receivedtrue
if a backoff signal should be
+ givenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyAuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyAuthenticationStrategy.html new file mode 100644 index 0000000..894539d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyAuthenticationStrategy.html @@ -0,0 +1,449 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class ProxyAuthenticationStrategy +extends Object+
AuthenticationStrategy
implementation
+ for proxy host authentication.Modifier and Type | +Field and Description | +
---|---|
static ProxyAuthenticationStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
ProxyAuthenticationStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+authFailed(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of unsuccessful authentication.
+ |
+
void |
+authSucceeded(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of successful authentication.
+ |
+
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Generates a map of challenge auth-scheme => Header entries.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure.
+ |
+
protected boolean |
+isCachable(AuthScheme authScheme) |
+
Queue<AuthOption> |
+select(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthOption instance capable of
+ processing that challenge. |
+
public static final ProxyAuthenticationStrategy INSTANCE+
public ProxyAuthenticationStrategy()+
public boolean isAuthenticationRequested(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
isAuthenticationRequested
in interface AuthenticationStrategy
authhost
- authentication host.response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.public Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
getChallenges
in interface AuthenticationStrategy
authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.public Queue<AuthOption> select(Map<String,org.apache.http.Header> challenges, + org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
AuthenticationStrategy
AuthOption
instance capable of
+ processing that challenge.select
in interface AuthenticationStrategy
challenges
- collection of challenges.authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.public void authSucceeded(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
authSucceeded
in interface AuthenticationStrategy
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.protected boolean isCachable(AuthScheme authScheme)+
public void authFailed(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
authFailed
in interface AuthenticationStrategy
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyClient.html new file mode 100644 index 0000000..642c51a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/ProxyClient.html @@ -0,0 +1,356 @@ + + + + + + +public class ProxyClient +extends Object+
Constructor and Description | +
---|
ProxyClient() |
+
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ org.apache.http.config.ConnectionConfig connectionConfig,
+ RequestConfig requestConfig) |
+
ProxyClient(org.apache.http.params.HttpParams params)
+Deprecated.
+
+
+ |
+
ProxyClient(RequestConfig requestConfig) |
+
Modifier and Type | +Method and Description | +
---|---|
AuthSchemeRegistry |
+getAuthSchemeRegistry()
+Deprecated.
+
+(4.3) do not use.
+ |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+
+(4.3) do not use.
+ |
+
Socket |
+tunnel(org.apache.http.HttpHost proxy,
+ org.apache.http.HttpHost target,
+ Credentials credentials) |
+
public ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, + org.apache.http.config.ConnectionConfig connectionConfig, + RequestConfig requestConfig)+
@Deprecated +public ProxyClient(org.apache.http.params.HttpParams params)+
ProxyClient(HttpConnectionFactory, ConnectionConfig, RequestConfig)
public ProxyClient(RequestConfig requestConfig)+
public ProxyClient()+
@Deprecated +public org.apache.http.params.HttpParams getParams()+
@Deprecated +public AuthSchemeRegistry getAuthSchemeRegistry()+
public Socket tunnel(org.apache.http.HttpHost proxy, + org.apache.http.HttpHost target, + Credentials credentials) + throws IOException, + org.apache.http.HttpException+
IOException
org.apache.http.HttpException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RedirectLocations.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RedirectLocations.html new file mode 100644 index 0000000..7fc1117 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RedirectLocations.html @@ -0,0 +1,547 @@ + + + + + + +public class RedirectLocations +extends AbstractList<Object>+
URI
s used
+ as redirect locations.modCount
Constructor and Description | +
---|
RedirectLocations() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+add(int index,
+ Object element)
+Inserts the specified element at the specified position in this list
+ (must be a URI).
+ |
+
void |
+add(URI uri)
+Adds a new URI to the collection.
+ |
+
boolean |
+contains(Object o)
+Returns
+true if this collection contains the specified element. |
+
boolean |
+contains(URI uri)
+Test if the URI is present in the collection.
+ |
+
URI |
+get(int index)
+Returns the URI at the specified position in this list.
+ |
+
List<URI> |
+getAll()
+Returns all redirect
+URI s in the order they were added to the collection. |
+
URI |
+remove(int index)
+Removes the URI at the specified position in this list.
+ |
+
boolean |
+remove(URI uri)
+Removes a URI from the collection.
+ |
+
Object |
+set(int index,
+ Object element)
+Replaces the URI at the specified position in this list with the
+ specified element (must be a URI).
+ |
+
int |
+size()
+Returns the number of elements in this list.
+ |
+
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public boolean contains(URI uri)+
public void add(URI uri)+
public boolean remove(URI uri)+
public List<URI> getAll()+
URI
s in the order they were added to the collection.public URI get(int index)+
get
in interface List<Object>
get
in class AbstractList<Object>
index
- index of the location to returnIndexOutOfBoundsException
- if the index is out of range (
+ index < 0 || index >= size()
)public int size()+
Integer.MAX_VALUE
elements, returns
+ Integer.MAX_VALUE
.size
in interface Collection<Object>
size
in interface List<Object>
size
in class AbstractCollection<Object>
public Object set(int index, + Object element)+
set
in interface List<Object>
set
in class AbstractList<Object>
index
- index of the element to replaceelement
- URI to be stored at the specified positionUnsupportedOperationException
- if the set
operation is not supported by this listClassCastException
- if the element is not a URI
NullPointerException
- if the specified element is null and this list does not
+ permit null elementsIndexOutOfBoundsException
- if the index is out of range (
+ index < 0 || index >= size()
)public void add(int index, + Object element)+
add
in interface List<Object>
add
in class AbstractList<Object>
index
- index at which the specified element is to be insertedelement
- URI to be insertedUnsupportedOperationException
- if the add
operation is not supported by this listClassCastException
- if the element is not a URI
NullPointerException
- if the specified element is null and this list does not
+ permit null elementsIndexOutOfBoundsException
- if the index is out of range (
+ index < 0 || index > size()
)public URI remove(int index)+
remove
in interface List<Object>
remove
in class AbstractList<Object>
index
- the index of the URI to be removedIndexOutOfBoundsException
- if the index is out of range (
+ index < 0 || index >= size()
)public boolean contains(Object o)+
true
if this collection contains the specified element.
+ More formally, returns true
if and only if this collection
+ contains at least one element e
such that
+ (o==null ? e==null : o.equals(e))
.contains
in interface Collection<Object>
contains
in interface List<Object>
contains
in class AbstractCollection<Object>
o
- element whose presence in this collection is to be testedtrue
if this collection contains the specified
+ elementCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RequestWrapper.html new file mode 100644 index 0000000..879eb22 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RequestWrapper.html @@ -0,0 +1,589 @@ + + + + + + +@Deprecated +public class RequestWrapper +extends org.apache.http.message.AbstractHttpMessage +implements HttpUriRequest+
HttpRequest
s that can be used to change
+ properties of the current request without modifying the original
+ object.
+ + This class is also capable of resetting the request headers to + the state of the original request. +
headergroup, params
Constructor and Description | +
---|
RequestWrapper(org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Deprecated.
+Aborts execution of the request.
+ |
+
int |
+getExecCount()
+Deprecated.
+ |
+
String |
+getMethod()
+Deprecated.
+Returns the HTTP method this request uses, such as
+GET ,
+ PUT , POST , or other. |
+
org.apache.http.HttpRequest |
+getOriginal()
+Deprecated.
+ |
+
org.apache.http.ProtocolVersion |
+getProtocolVersion()
+Deprecated.
+ |
+
org.apache.http.RequestLine |
+getRequestLine()
+Deprecated.
+ |
+
URI |
+getURI()
+Deprecated.
+Returns the URI this request uses, such as
+
+http://example.org/path/to/file . |
+
void |
+incrementExecCount()
+Deprecated.
+ |
+
boolean |
+isAborted()
+Deprecated.
+Tests if the request execution has been aborted.
+ |
+
boolean |
+isRepeatable()
+Deprecated.
+ |
+
void |
+resetHeaders()
+Deprecated.
+ |
+
void |
+setMethod(String method)
+Deprecated.
+ |
+
void |
+setProtocolVersion(org.apache.http.ProtocolVersion version)
+Deprecated.
+ |
+
void |
+setURI(URI uri)
+Deprecated.
+ |
+
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public RequestWrapper(org.apache.http.HttpRequest request) + throws org.apache.http.ProtocolException+
org.apache.http.ProtocolException
public void resetHeaders()+
public String getMethod()+
HttpUriRequest
GET
,
+ PUT
, POST
, or other.getMethod
in interface HttpUriRequest
public void setMethod(String method)+
public org.apache.http.ProtocolVersion getProtocolVersion()+
getProtocolVersion
in interface org.apache.http.HttpMessage
public void setProtocolVersion(org.apache.http.ProtocolVersion version)+
public URI getURI()+
HttpUriRequest
http://example.org/path/to/file
.
+ + Note that the URI may be absolute URI (as above) or may be a relative URI. +
++ Implementations are encouraged to return + the URI that was initially requested. +
++ To find the final URI after any redirects have been processed, + please see the section entitled + HTTP execution context + in the + HttpClient Tutorial +
getURI
in interface HttpUriRequest
public void setURI(URI uri)+
public org.apache.http.RequestLine getRequestLine()+
getRequestLine
in interface org.apache.http.HttpRequest
public void abort() + throws UnsupportedOperationException+
HttpUriRequest
abort
in interface HttpUriRequest
UnsupportedOperationException
- if the abort operation
+ is not supported / cannot be implemented.public boolean isAborted()+
HttpUriRequest
isAborted
in interface HttpUriRequest
true
if the request execution has been aborted,
+ false
otherwise.public org.apache.http.HttpRequest getOriginal()+
public boolean isRepeatable()+
public int getExecCount()+
public void incrementExecCount()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RoutedRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RoutedRequest.html new file mode 100644 index 0000000..eac8636 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/RoutedRequest.html @@ -0,0 +1,347 @@ + + + + + + +@Deprecated +public class RoutedRequest +extends Object+
Modifier and Type | +Field and Description | +
---|---|
protected RequestWrapper |
+request
+Deprecated.
+ |
+
protected HttpRoute |
+route
+Deprecated.
+ |
+
Constructor and Description | +
---|
RoutedRequest(RequestWrapper req,
+ HttpRoute route)
+Deprecated.
+Creates a new routed request.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RequestWrapper |
+getRequest()
+Deprecated.
+ |
+
HttpRoute |
+getRoute()
+Deprecated.
+ |
+
protected final RequestWrapper request+
protected final HttpRoute route+
public RoutedRequest(RequestWrapper req, + HttpRoute route)+
req
- the requestroute
- the routepublic final RequestWrapper getRequest()+
public final HttpRoute getRoute()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/StandardHttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/StandardHttpRequestRetryHandler.html new file mode 100644 index 0000000..b86e856 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/StandardHttpRequestRetryHandler.html @@ -0,0 +1,323 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class StandardHttpRequestRetryHandler +extends DefaultHttpRequestRetryHandler+
HttpRequestRetryHandler
which assumes
+ that all requested HTTP methods which should be idempotent according
+ to RFC-2616 are in fact idempotent and can be retried.
+ + According to RFC-2616 section 9.1.2 the idempotent HTTP methods are: + GET, HEAD, PUT, DELETE, OPTIONS, and TRACE +
INSTANCE
Constructor and Description | +
---|
StandardHttpRequestRetryHandler()
+Default constructor
+ |
+
StandardHttpRequestRetryHandler(int retryCount,
+ boolean requestSentRetryEnabled)
+Default constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected boolean |
+handleAsIdempotent(org.apache.http.HttpRequest request) |
+
getRetryCount, isRequestSentRetryEnabled, requestIsAborted, retryRequest
public StandardHttpRequestRetryHandler(int retryCount, + boolean requestSentRetryEnabled)+
public StandardHttpRequestRetryHandler()+
protected boolean handleAsIdempotent(org.apache.http.HttpRequest request)+
handleAsIdempotent
in class DefaultHttpRequestRetryHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultCredentialsProvider.html new file mode 100644 index 0000000..c587b66 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultCredentialsProvider.html @@ -0,0 +1,327 @@ + + + + + + +@Contract(threading=SAFE) +public class SystemDefaultCredentialsProvider +extends Object +implements CredentialsProvider+
CredentialsProvider
backed by standard
+ JRE Authenticator
.Constructor and Description | +
---|
SystemDefaultCredentialsProvider()
+Default constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+clear()
+Clears all credentials.
+ |
+
Credentials |
+getCredentials(AuthScope authscope)
+Get the
+credentials for the given authentication scope. |
+
void |
+setCredentials(AuthScope authscope,
+ Credentials credentials)
+Sets the
+credentials for the given authentication
+ scope. |
+
public SystemDefaultCredentialsProvider()+
public void setCredentials(AuthScope authscope, + Credentials credentials)+
CredentialsProvider
credentials
for the given authentication
+ scope. Any previous credentials for the given scope will be overwritten.setCredentials
in interface CredentialsProvider
authscope
- the authentication scope
credentials
- the authentication credentials
+ for the given scope.CredentialsProvider.getCredentials(AuthScope)
public Credentials getCredentials(AuthScope authscope)+
CredentialsProvider
credentials
for the given authentication scope.getCredentials
in interface CredentialsProvider
authscope
- the authentication scope
CredentialsProvider.setCredentials(AuthScope, Credentials)
public void clear()+
CredentialsProvider
clear
in interface CredentialsProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultHttpClient.html new file mode 100644 index 0000000..59eaac1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/SystemDefaultHttpClient.html @@ -0,0 +1,430 @@ + + + + + + +HttpClientBuilder
@Contract(threading=SAFE_CONDITIONAL) +@Deprecated +public class SystemDefaultHttpClient +extends DefaultHttpClient+
DefaultHttpClient
pre-configured using system properties.
+ + The following system properties are taken into account by this class: +
+
+ The following parameters can be used to customize the behavior of this + class: +
+CoreProtocolPNames.PROTOCOL_VERSION
CoreProtocolPNames.STRICT_TRANSFER_ENCODING
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
CoreProtocolPNames.USE_EXPECT_CONTINUE
CoreProtocolPNames.WAIT_FOR_CONTINUE
CoreProtocolPNames.USER_AGENT
CoreConnectionPNames.TCP_NODELAY
CoreConnectionPNames.SO_TIMEOUT
CoreConnectionPNames.SO_LINGER
CoreConnectionPNames.SO_REUSEADDR
CoreConnectionPNames.SOCKET_BUFFER_SIZE
CoreConnectionPNames.CONNECTION_TIMEOUT
CoreConnectionPNames.MAX_LINE_LENGTH
CoreConnectionPNames.MAX_HEADER_COUNT
CoreConnectionPNames.STALE_CONNECTION_CHECK
ConnRoutePNames.FORCED_ROUTE
ConnRoutePNames.LOCAL_ADDRESS
ConnRoutePNames.DEFAULT_PROXY
CookieSpecPNames.DATE_PATTERNS
CookieSpecPNames.SINGLE_COOKIE_HEADER
AuthPNames.CREDENTIAL_CHARSET
ClientPNames.COOKIE_POLICY
ClientPNames.HANDLE_AUTHENTICATION
ClientPNames.HANDLE_REDIRECTS
ClientPNames.MAX_REDIRECTS
ClientPNames.ALLOW_CIRCULAR_REDIRECTS
ClientPNames.VIRTUAL_HOST
ClientPNames.DEFAULT_HOST
ClientPNames.DEFAULT_HEADERS
ClientPNames.CONN_MANAGER_TIMEOUT
Constructor and Description | +
---|
SystemDefaultHttpClient()
+Deprecated.
+ |
+
SystemDefaultHttpClient(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientConnectionManager |
+createClientConnectionManager()
+Deprecated.
+ |
+
protected org.apache.http.ConnectionReuseStrategy |
+createConnectionReuseStrategy()
+Deprecated.
+ |
+
protected HttpRoutePlanner |
+createHttpRoutePlanner()
+Deprecated.
+ |
+
createHttpParams, createHttpProcessor, setDefaultHttpParams
addRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, close, createAuthSchemeRegistry, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, doExecute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandler
public SystemDefaultHttpClient(org.apache.http.params.HttpParams params)+
public SystemDefaultHttpClient()+
protected ClientConnectionManager createClientConnectionManager()+
createClientConnectionManager
in class AbstractHttpClient
protected HttpRoutePlanner createHttpRoutePlanner()+
createHttpRoutePlanner
in class AbstractHttpClient
protected org.apache.http.ConnectionReuseStrategy createConnectionReuseStrategy()+
createConnectionReuseStrategy
in class AbstractHttpClient
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TargetAuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TargetAuthenticationStrategy.html new file mode 100644 index 0000000..cd032ac --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TargetAuthenticationStrategy.html @@ -0,0 +1,449 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class TargetAuthenticationStrategy +extends Object+
AuthenticationStrategy
implementation
+ for proxy host authentication.Modifier and Type | +Field and Description | +
---|---|
static TargetAuthenticationStrategy |
+INSTANCE |
+
Constructor and Description | +
---|
TargetAuthenticationStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+authFailed(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of unsuccessful authentication.
+ |
+
void |
+authSucceeded(org.apache.http.HttpHost authhost,
+ AuthScheme authScheme,
+ org.apache.http.protocol.HttpContext context)
+Callback invoked in case of successful authentication.
+ |
+
Map<String,org.apache.http.Header> |
+getChallenges(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Generates a map of challenge auth-scheme => Header entries.
+ |
+
boolean |
+isAuthenticationRequested(org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Determines if the given HTTP response response represents
+ an authentication challenge that was sent back as a result
+ of authentication failure.
+ |
+
protected boolean |
+isCachable(AuthScheme authScheme) |
+
Queue<AuthOption> |
+select(Map<String,org.apache.http.Header> challenges,
+ org.apache.http.HttpHost authhost,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Selects one authentication challenge out of all available and
+ creates and generates
+AuthOption instance capable of
+ processing that challenge. |
+
public static final TargetAuthenticationStrategy INSTANCE+
public TargetAuthenticationStrategy()+
public boolean isAuthenticationRequested(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
isAuthenticationRequested
in interface AuthenticationStrategy
authhost
- authentication host.response
- HTTP response.context
- HTTP context.true
if user authentication is required,
+ false
otherwise.public Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
getChallenges
in interface AuthenticationStrategy
authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.public Queue<AuthOption> select(Map<String,org.apache.http.Header> challenges, + org.apache.http.HttpHost authhost, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + throws MalformedChallengeException+
AuthenticationStrategy
AuthOption
instance capable of
+ processing that challenge.select
in interface AuthenticationStrategy
challenges
- collection of challenges.authhost
- authentication host.response
- HTTP response.context
- HTTP context.MalformedChallengeException
- if one of the authentication
+ challenges is not valid or malformed.public void authSucceeded(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
authSucceeded
in interface AuthenticationStrategy
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.protected boolean isCachable(AuthScheme authScheme)+
public void authFailed(org.apache.http.HttpHost authhost, + AuthScheme authScheme, + org.apache.http.protocol.HttpContext context)+
AuthenticationStrategy
authFailed
in interface AuthenticationStrategy
authhost
- authentication host.authScheme
- authentication scheme used.context
- HTTP context.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TunnelRefusedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TunnelRefusedException.html new file mode 100644 index 0000000..908b381 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/TunnelRefusedException.html @@ -0,0 +1,300 @@ + + + + + + +@Deprecated +public class TunnelRefusedException +extends org.apache.http.HttpException+
Constructor and Description | +
---|
TunnelRefusedException(String message,
+ org.apache.http.HttpResponse response)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+getResponse()
+Deprecated.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/WinHttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/WinHttpClients.html new file mode 100644 index 0000000..16ecce7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/WinHttpClients.html @@ -0,0 +1,282 @@ + + + + + + +public class WinHttpClients +extends Object+
CloseableHttpClient
instances configured to use integrated
+ Windows authentication by default.Modifier and Type | +Method and Description | +
---|---|
static CloseableHttpClient |
+createDefault()
+Creates
+CloseableHttpClient instance with default
+ configuration. |
+
static CloseableHttpClient |
+createSystem()
+Creates
+CloseableHttpClient instance with default
+ configuration based on system properties. |
+
static HttpClientBuilder |
+custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
static boolean |
+isWinAuthAvailable() |
+
public static boolean isWinAuthAvailable()+
public static HttpClientBuilder custom()+
CloseableHttpClient
instances.public static CloseableHttpClient createDefault()+
CloseableHttpClient
instance with default
+ configuration.public static CloseableHttpClient createSystem()+
CloseableHttpClient
instance with default
+ configuration based on system properties.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/AsynchronousValidationRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/AsynchronousValidationRequest.html new file mode 100644 index 0000000..601d18e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/AsynchronousValidationRequest.html @@ -0,0 +1,265 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
int |
+getConsecutiveFailedAttempts()
+The number of consecutively failed revalidation attempts.
+ |
+
String |
+getIdentifier() |
+
void |
+run() |
+
public String getIdentifier()+
public int getConsecutiveFailedAttempts()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/BasicHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/BasicHttpCacheStorage.html new file mode 100644 index 0000000..d95eee8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/BasicHttpCacheStorage.html @@ -0,0 +1,362 @@ + + + + + + +@Contract(threading=SAFE) +public class BasicHttpCacheStorage +extends Object +implements HttpCacheStorage+
HttpCacheStorage
implementation backed by an instance of
+ LinkedHashMap
. In other words, cache entries and
+ the cached response bodies are held in-memory. This cache does NOT
+ deallocate resources associated with the cache entries; it is intended
+ for use with HeapResource
and similar. This is the default cache
+ storage backend used by CachingHttpClients
.Constructor and Description | +
---|
BasicHttpCacheStorage(CacheConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getEntry(String url)
+Gets an entry from the cache, if it exists
+ |
+
void |
+putEntry(String url,
+ HttpCacheEntry entry)
+Places a HttpCacheEntry in the cache
+ |
+
void |
+removeEntry(String url)
+Removes a HttpCacheEntry from the cache
+ |
+
void |
+updateEntry(String url,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
public BasicHttpCacheStorage(CacheConfig config)+
public void putEntry(String url, + HttpCacheEntry entry) + throws IOException+
putEntry
in interface HttpCacheStorage
url
- Url to use as the cache keyentry
- HttpCacheEntry to place in the cacheIOException
public HttpCacheEntry getEntry(String url) + throws IOException+
getEntry
in interface HttpCacheStorage
url
- Url that is the cache keyIOException
public void removeEntry(String url) + throws IOException+
removeEntry
in interface HttpCacheStorage
url
- Url that is the cache keyIOException
public void updateEntry(String url, + HttpCacheUpdateCallback callback) + throws IOException+
HttpCacheStorage
updateEntry
in interface HttpCacheStorage
url
- indicates which entry to modifycallback
- performs the update; see
+ HttpCacheUpdateCallback
for details, but roughly the
+ callback expects to be handed the current entry and will return
+ the new value for the entry.IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.Builder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.Builder.html new file mode 100644 index 0000000..fe1082c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.Builder.html @@ -0,0 +1,493 @@ + + + + + + +public static class CacheConfig.Builder +extends Object+
Modifier and Type | +Method and Description | +
---|---|
CacheConfig |
+build() |
+
CacheConfig.Builder |
+setAllow303Caching(boolean allow303Caching)
+Enables or disables 303 caching.
+ |
+
CacheConfig.Builder |
+setAsynchronousWorkerIdleLifetimeSecs(int asynchronousWorkerIdleLifetimeSecs)
+Sets the current maximum idle lifetime in seconds for a
+ background revalidation worker thread.
+ |
+
CacheConfig.Builder |
+setAsynchronousWorkersCore(int asynchronousWorkersCore)
+Sets the minimum number of threads to keep alive for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
CacheConfig.Builder |
+setAsynchronousWorkersMax(int asynchronousWorkersMax)
+Sets the maximum number of threads to allow for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
CacheConfig.Builder |
+setHeuristicCachingEnabled(boolean heuristicCachingEnabled)
+Enables or disables heuristic caching.
+ |
+
CacheConfig.Builder |
+setHeuristicCoefficient(float heuristicCoefficient)
+Sets coefficient to be used in heuristic freshness caching.
+ |
+
CacheConfig.Builder |
+setHeuristicDefaultLifetime(long heuristicDefaultLifetime)
+Sets default lifetime in seconds to be used if heuristic freshness
+ calculation is not possible.
+ |
+
CacheConfig.Builder |
+setMaxCacheEntries(int maxCacheEntries)
+Sets the maximum number of cache entries the cache will retain.
+ |
+
CacheConfig.Builder |
+setMaxObjectSize(long maxObjectSize)
+Specifies the maximum response body size that will be eligible for caching.
+ |
+
CacheConfig.Builder |
+setMaxUpdateRetries(int maxUpdateRetries)
+Sets the number of times to retry a cache update on failure
+ |
+
CacheConfig.Builder |
+setNeverCacheHTTP10ResponsesWithQueryString(boolean neverCacheHTTP10ResponsesWithQuery)
+Sets whether the cache should never cache HTTP 1.0 responses with a query string or not.
+ |
+
CacheConfig.Builder |
+setRevalidationQueueSize(int revalidationQueueSize)
+Sets the current maximum queue size for background revalidations.
+ |
+
CacheConfig.Builder |
+setSharedCache(boolean isSharedCache)
+Sets whether the cache should behave as a shared cache or not.
+ |
+
CacheConfig.Builder |
+setWeakETagOnPutDeleteAllowed(boolean weakETagOnPutDeleteAllowed)
+Allows or disallows weak etags to be used with PUT/DELETE If-Match requests.
+ |
+
public CacheConfig.Builder setMaxObjectSize(long maxObjectSize)+
maxObjectSize
- size in bytespublic CacheConfig.Builder setMaxCacheEntries(int maxCacheEntries)+
public CacheConfig.Builder setMaxUpdateRetries(int maxUpdateRetries)+
public CacheConfig.Builder setAllow303Caching(boolean allow303Caching)+
allow303Caching
- should be true
to
+ permit 303 caching, false
to disable it.public CacheConfig.Builder setWeakETagOnPutDeleteAllowed(boolean weakETagOnPutDeleteAllowed)+
weakETagOnPutDeleteAllowed
- should be true
to
+ permit weak etags, false
to reject them.public CacheConfig.Builder setHeuristicCachingEnabled(boolean heuristicCachingEnabled)+
heuristicCachingEnabled
- should be true
to
+ permit heuristic caching, false
to enable it.public CacheConfig.Builder setHeuristicCoefficient(float heuristicCoefficient)+
Last-Modified
+ and Date
headers of a cached response during which the cached
+ response will be considered heuristically fresh.heuristicCoefficient
- should be between 0.0
and
+ 1.0
.public CacheConfig.Builder setHeuristicDefaultLifetime(long heuristicDefaultLifetime)+
Last-Modified
freshness calculation if it is
+ available.heuristicDefaultLifetime
- is the number of seconds to
+ consider a cache-eligible response fresh in the absence of other
+ information. Set this to 0
to disable this style of
+ heuristic caching.public CacheConfig.Builder setSharedCache(boolean isSharedCache)+
isSharedCache
- true to behave as a shared cache, false to
+ behave as a non-shared (private) cache. To have the cache
+ behave like a browser cache, you want to set this to false
.public CacheConfig.Builder setAsynchronousWorkersMax(int asynchronousWorkersMax)+
stale-while-revalidate
directive.asynchronousWorkersMax
- number of threads; a value of 0 disables background
+ revalidations.public CacheConfig.Builder setAsynchronousWorkersCore(int asynchronousWorkersCore)+
stale-while-revalidate
directive.asynchronousWorkersCore
- should be greater than zero and less than or equal
+ to getAsynchronousWorkersMax()
public CacheConfig.Builder setAsynchronousWorkerIdleLifetimeSecs(int asynchronousWorkerIdleLifetimeSecs)+
asynchronousWorkerIdleLifetimeSecs
- idle lifetime in secondspublic CacheConfig.Builder setRevalidationQueueSize(int revalidationQueueSize)+
public CacheConfig.Builder setNeverCacheHTTP10ResponsesWithQueryString(boolean neverCacheHTTP10ResponsesWithQuery)+
neverCacheHTTP10ResponsesWithQuery
- true to never cache responses with a query
+ string, false to cache if explicit cache headers are found. Set this to true
+ to better emulate IE, which also never caches responses, regardless of what caching
+ headers may be present.public CacheConfig build()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.html new file mode 100644 index 0000000..a502799 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CacheConfig.html @@ -0,0 +1,1190 @@ + + + + + + +public class CacheConfig +extends Object +implements Cloneable+
Java Beans-style configuration for a CachingHttpClient
. Any class
+ in the caching module that has configuration options should take a
+ CacheConfig
argument in one of its constructors. A
+ CacheConfig
instance has sane and conservative defaults, so the
+ easiest way to specify options is to get an instance and then set just
+ the options you want to modify from their defaults.
N.B. This class is only for caching-specific configuration; to
+ configure the behavior of the rest of the client, configure the
+ HttpClient
used as the "backend"
+ for the CachingHttpClient
.
Cache configuration can be grouped into the following categories:
+ +Cache size. If the backend storage supports these limits, you
+ can specify the maximum number of
+ cache entries
as well as the maximum cacheable response body size
.
Public/private caching. By default, the caching module considers
+ itself to be a shared (public) cache, and will not, for example, cache
+ responses to requests with Authorization
headers or responses
+ marked with Cache-Control: private
. If, however, the cache
+ is only going to be used by one logical "user" (behaving similarly to a
+ browser cache), then you will want to turn off the shared cache setting
.
303 caching. RFC2616 explicitly disallows caching 303 responses;
+ however, the HTTPbis working group says they can be cached
+ if explicitly indicated in the response headers and permitted by the request method.
+ (They also indicate that disallowing 303 caching is actually an unintended
+ spec error in RFC2616).
+ This behavior is off by default, to err on the side of a conservative
+ adherence to the existing standard, but you may want to
+ enable it
.
+
+
Weak ETags on PUT/DELETE If-Match requests. RFC2616 explicitly
+ prohibits the use of weak validators in non-GET requests, however, the
+ HTTPbis working group says while the limitation for weak validators on ranged
+ requests makes sense, weak ETag validation is useful on full non-GET
+ requests; e.g., PUT with If-Match. This behavior is off by default, to err on
+ the side of a conservative adherence to the existing standard, but you may
+ want to enable it
.
+
+
Heuristic caching. Per RFC2616, a cache may cache certain cache
+ entries even if no explicit cache control headers are set by the origin.
+ This behavior is off by default, but you may want to turn this on if you
+ are working with an origin that doesn't set proper headers but where you
+ still want to cache the responses. You will want to enable heuristic caching
,
+ then specify either a default freshness lifetime
and/or a fraction of the time since
+ the resource was last modified
. See Sections
+
+ 13.2.2 and
+ 13.2.4 of the HTTP/1.1 RFC for more details on heuristic caching.
Background validation. The cache module supports the
+ stale-while-revalidate
directive of
+ RFC5861, which allows
+ certain cache entry revalidations to happen in the background. You may
+ want to tweak the settings for the minimum
and maximum
number of background
+ worker threads, as well as the maximum time they
+ can be idle before being reclaimed
. You can also control the size of the queue
used for
+ revalidations when there aren't enough workers to keep up with demand.
Modifier and Type | +Class and Description | +
---|---|
static class |
+CacheConfig.Builder |
+
Modifier and Type | +Field and Description | +
---|---|
static CacheConfig |
+DEFAULT |
+
static boolean |
+DEFAULT_303_CACHING_ENABLED
+Default setting for 303 caching
+ |
+
static int |
+DEFAULT_ASYNCHRONOUS_WORKER_IDLE_LIFETIME_SECS
+Default maximum idle lifetime for a background revalidation thread
+ before it gets reclaimed.
+ |
+
static int |
+DEFAULT_ASYNCHRONOUS_WORKERS_CORE
+Default minimum number of worker threads to allow for background
+ revalidations resulting from the stale-while-revalidate directive.
+ |
+
static int |
+DEFAULT_ASYNCHRONOUS_WORKERS_MAX
+Default number of worker threads to allow for background revalidations
+ resulting from the stale-while-revalidate directive.
+ |
+
static boolean |
+DEFAULT_HEURISTIC_CACHING_ENABLED
+Default setting for heuristic caching
+ |
+
static float |
+DEFAULT_HEURISTIC_COEFFICIENT
+Default coefficient used to heuristically determine freshness
+ lifetime from the Last-Modified time of a cache entry.
+ |
+
static long |
+DEFAULT_HEURISTIC_LIFETIME
+Default lifetime in seconds to be assumed when we cannot calculate
+ freshness heuristically.
+ |
+
static int |
+DEFAULT_MAX_CACHE_ENTRIES
+Default setting for the maximum number of cache entries
+ that will be retained.
+ |
+
static int |
+DEFAULT_MAX_OBJECT_SIZE_BYTES
+Default setting for the maximum object size that will be
+ cached, in bytes.
+ |
+
static int |
+DEFAULT_MAX_UPDATE_RETRIES
+Default setting for the number of retries on a failed
+ cache update
+ |
+
static int |
+DEFAULT_REVALIDATION_QUEUE_SIZE
+Default maximum queue length for background revalidation requests.
+ |
+
static boolean |
+DEFAULT_WEAK_ETAG_ON_PUTDELETE_ALLOWED
+Default setting to allow weak tags on PUT/DELETE methods
+ |
+
Constructor and Description | +
---|
CacheConfig()
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
Modifier and Type | +Method and Description | +
---|---|
protected CacheConfig |
+clone() |
+
static CacheConfig.Builder |
+copy(CacheConfig config) |
+
static CacheConfig.Builder |
+custom() |
+
int |
+getAsynchronousWorkerIdleLifetimeSecs()
+Returns the current maximum idle lifetime in seconds for a
+ background revalidation worker thread.
+ |
+
int |
+getAsynchronousWorkersCore()
+Returns the minimum number of threads to keep alive for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
int |
+getAsynchronousWorkersMax()
+Returns the maximum number of threads to allow for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
float |
+getHeuristicCoefficient()
+Returns lifetime coefficient used in heuristic freshness caching.
+ |
+
long |
+getHeuristicDefaultLifetime()
+Get the default lifetime to be used if heuristic freshness calculation is
+ not possible.
+ |
+
int |
+getMaxCacheEntries()
+Returns the maximum number of cache entries the cache will retain.
+ |
+
long |
+getMaxObjectSize()
+Returns the current maximum response body size that will be cached.
+ |
+
int |
+getMaxObjectSizeBytes()
+Deprecated.
+
+(4.2) use
+getMaxObjectSize() |
+
int |
+getMaxUpdateRetries()
+Returns the number of times to retry a cache update on failure
+ |
+
int |
+getRevalidationQueueSize()
+Returns the current maximum queue size for background revalidations.
+ |
+
boolean |
+is303CachingEnabled()
+Returns whether 303 caching is enabled.
+ |
+
boolean |
+isHeuristicCachingEnabled()
+Returns whether heuristic caching is enabled.
+ |
+
boolean |
+isNeverCacheHTTP10ResponsesWithQuery()
+Returns whether the cache will never cache HTTP 1.0 responses with a query string or not.
+ |
+
boolean |
+isSharedCache()
+Returns whether the cache will behave as a shared cache or not.
+ |
+
boolean |
+isWeakETagOnPutDeleteAllowed()
+Returns whether weak etags is allowed with PUT/DELETE methods.
+ |
+
void |
+setAsynchronousWorkerIdleLifetimeSecs(int secs)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setAsynchronousWorkersCore(int min)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setAsynchronousWorkersMax(int max)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setHeuristicCachingEnabled(boolean heuristicCachingEnabled)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setHeuristicCoefficient(float heuristicCoefficient)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setHeuristicDefaultLifetime(long heuristicDefaultLifetimeSecs)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setMaxCacheEntries(int maxCacheEntries)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setMaxObjectSize(long maxObjectSize)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setMaxObjectSizeBytes(int maxObjectSizeBytes)
+Deprecated.
+
+(4.2) use
+CacheConfig.Builder . |
+
void |
+setMaxUpdateRetries(int maxUpdateRetries)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setRevalidationQueueSize(int size)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
void |
+setSharedCache(boolean isSharedCache)
+Deprecated.
+
+(4.3) use
+CacheConfig.Builder . |
+
String |
+toString() |
+
public static final int DEFAULT_MAX_OBJECT_SIZE_BYTES+
public static final int DEFAULT_MAX_CACHE_ENTRIES+
public static final int DEFAULT_MAX_UPDATE_RETRIES+
public static final boolean DEFAULT_303_CACHING_ENABLED+
public static final boolean DEFAULT_WEAK_ETAG_ON_PUTDELETE_ALLOWED+
public static final boolean DEFAULT_HEURISTIC_CACHING_ENABLED+
public static final float DEFAULT_HEURISTIC_COEFFICIENT+
public static final long DEFAULT_HEURISTIC_LIFETIME+
public static final int DEFAULT_ASYNCHRONOUS_WORKERS_MAX+
public static final int DEFAULT_ASYNCHRONOUS_WORKERS_CORE+
public static final int DEFAULT_ASYNCHRONOUS_WORKER_IDLE_LIFETIME_SECS+
public static final int DEFAULT_REVALIDATION_QUEUE_SIZE+
public static final CacheConfig DEFAULT+
@Deprecated +public CacheConfig()+
CacheConfig.Builder
.@Deprecated +public int getMaxObjectSizeBytes()+
getMaxObjectSize()
@Deprecated +public void setMaxObjectSizeBytes(int maxObjectSizeBytes)+
CacheConfig.Builder
.maxObjectSizeBytes
- size in bytespublic long getMaxObjectSize()+
@Deprecated +public void setMaxObjectSize(long maxObjectSize)+
CacheConfig.Builder
.maxObjectSize
- size in bytespublic boolean isNeverCacheHTTP10ResponsesWithQuery()+
true
to not cache query string responses, false
to cache if explicit cache headers are
+ foundpublic int getMaxCacheEntries()+
@Deprecated +public void setMaxCacheEntries(int maxCacheEntries)+
CacheConfig.Builder
.public int getMaxUpdateRetries()+
@Deprecated +public void setMaxUpdateRetries(int maxUpdateRetries)+
CacheConfig.Builder
.public boolean is303CachingEnabled()+
true
if it is enabled.public boolean isWeakETagOnPutDeleteAllowed()+
true
if it is allowed.public boolean isHeuristicCachingEnabled()+
true
if it is enabled.@Deprecated +public void setHeuristicCachingEnabled(boolean heuristicCachingEnabled)+
CacheConfig.Builder
.heuristicCachingEnabled
- should be true
to
+ permit heuristic caching, false
to disable it.public float getHeuristicCoefficient()+
@Deprecated +public void setHeuristicCoefficient(float heuristicCoefficient)+
CacheConfig.Builder
.Last-Modified
+ and Date
headers of a cached response during which the cached
+ response will be considered heuristically fresh.heuristicCoefficient
- should be between 0.0
and
+ 1.0
.public long getHeuristicDefaultLifetime()+
@Deprecated +public void setHeuristicDefaultLifetime(long heuristicDefaultLifetimeSecs)+
CacheConfig.Builder
.Last-Modified
freshness calculation if it is
+ available.heuristicDefaultLifetimeSecs
- is the number of seconds to
+ consider a cache-eligible response fresh in the absence of other
+ information. Set this to 0
to disable this style of
+ heuristic caching.public boolean isSharedCache()+
true
for a shared cache, false
for a non-
+ shared (private) cache@Deprecated +public void setSharedCache(boolean isSharedCache)+
CacheConfig.Builder
.isSharedCache
- true to behave as a shared cache, false to
+ behave as a non-shared (private) cache. To have the cache
+ behave like a browser cache, you want to set this to false
.public int getAsynchronousWorkersMax()+
stale-while-revalidate
directive. A
+ value of 0 means background revalidations are disabled.@Deprecated +public void setAsynchronousWorkersMax(int max)+
CacheConfig.Builder
.stale-while-revalidate
directive.max
- number of threads; a value of 0 disables background
+ revalidations.public int getAsynchronousWorkersCore()+
stale-while-revalidate
directive.@Deprecated +public void setAsynchronousWorkersCore(int min)+
CacheConfig.Builder
.stale-while-revalidate
directive.min
- should be greater than zero and less than or equal
+ to getAsynchronousWorkersMax()
public int getAsynchronousWorkerIdleLifetimeSecs()+
@Deprecated +public void setAsynchronousWorkerIdleLifetimeSecs(int secs)+
CacheConfig.Builder
.secs
- idle lifetime in secondspublic int getRevalidationQueueSize()+
@Deprecated +public void setRevalidationQueueSize(int size)+
CacheConfig.Builder
.protected CacheConfig clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
public static CacheConfig.Builder custom()+
public static CacheConfig.Builder copy(CacheConfig config)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingExec.html new file mode 100644 index 0000000..499b70d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingExec.html @@ -0,0 +1,484 @@ + + + + + + +@Contract(threading=SAFE_CONDITIONAL) +public class CachingExec +extends Object +implements ClientExecChain+
+ Request executor in the request execution chain that is responsible for + transparent client-side caching. +
++ The current implementation is conditionally + compliant with HTTP/1.1 (meaning all the MUST and MUST NOTs are obeyed), + although quite a lot, though not all, of the SHOULDs and SHOULD NOTs + are obeyed too. +
+
+ Folks that would like to experiment with alternative storage backends
+ should look at the HttpCacheStorage
interface and the related
+ package documentation there. You may also be interested in the provided
+ EhCache
and memcached
storage backends.
+
+ Further responsibilities such as communication with the opposite + endpoint is delegated to the next executor in the request execution + chain. +
Constructor and Description | +
---|
CachingExec(ClientExecChain backend) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config,
+ org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator) |
+
CachingExec(ClientExecChain backend,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request) |
+
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context) |
+
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
long |
+getCacheHits()
+Reports the number of times that the cache successfully responded
+ to an
+HttpRequest without contacting the origin server. |
+
long |
+getCacheMisses()
+Reports the number of times that the cache contacted the origin
+ server because it had no appropriate response cached.
+ |
+
long |
+getCacheUpdates()
+Reports the number of times that the cache was able to satisfy
+ a response by revalidating an existing but stale cache entry.
+ |
+
boolean |
+supportsRangeAndContentRangeHeaders()
+Reports whether this
+CachingHttpClient implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range headers. |
+
public CachingExec(ClientExecChain backend, + org.apache.http.impl.client.cache.HttpCache cache, + CacheConfig config)+
public CachingExec(ClientExecChain backend, + org.apache.http.impl.client.cache.HttpCache cache, + CacheConfig config, + org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator)+
public CachingExec(ClientExecChain backend, + ResourceFactory resourceFactory, + HttpCacheStorage storage, + CacheConfig config)+
public CachingExec(ClientExecChain backend)+
public long getCacheHits()+
HttpRequest
without contacting the origin server.public long getCacheMisses()+
public long getCacheUpdates()+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request) + throws IOException, + org.apache.http.HttpException+
IOException
org.apache.http.HttpException
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context) + throws IOException, + org.apache.http.HttpException+
IOException
org.apache.http.HttpException
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).public boolean supportsRangeAndContentRangeHeaders()+
CachingHttpClient
implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range
headers.true
if byte-range requests are supportedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClient.html new file mode 100644 index 0000000..27648d5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClient.html @@ -0,0 +1,944 @@ + + + + + + +CachingHttpClientBuilder
or CachingHttpClients
.@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class CachingHttpClient +extends Object +implements HttpClient+
+ The CachingHttpClient
is meant to be a drop-in replacement for
+ a DefaultHttpClient
that transparently adds client-side caching.
+ The current implementation is conditionally compliant with HTTP/1.1
+ (meaning all the MUST and MUST NOTs are obeyed), although quite a lot,
+ though not all, of the SHOULDs and SHOULD NOTs are obeyed too. Generally
+ speaking, you construct a CachingHttpClient
by providing a
+ "backend" HttpClient
used for making actual network requests and
+ provide an HttpCacheStorage
instance to use for holding onto
+ cached responses. Additional configuration options can be provided by
+ passing in a CacheConfig
. Note that all of the usual client
+ related configuration you want to do vis-a-vis timeouts and connection
+ pools should be done on this backend client before constructing a CachingHttpClient
from it.
+
+ Generally speaking, the CachingHttpClient
is implemented as a
+ Decorator
+ of the backend client; for any incoming request it attempts to satisfy
+ it from the cache, but if it can't, or if it needs to revalidate a stale
+ cache entry, it will use the backend client to make an actual request.
+ However, a proper HTTP/1.1 cache won't change the semantics of a request
+ and response; in particular, if you issue an unconditional request you
+ will get a full response (although it may be served to you from the cache,
+ or the cache may make a conditional request on your behalf to the origin).
+ This notion of "semantic transparency" means you should be able to drop
+ a CachingHttpClient
into an existing application without breaking
+ anything.
+
+ Folks that would like to experiment with alternative storage backends
+ should look at the HttpCacheStorage
interface and the related
+ package documentation there. You may also be interested in the provided
+ EhCache
and memcached
storage backends.
+
Modifier and Type | +Field and Description | +
---|---|
static String |
+CACHE_RESPONSE_STATUS
+Deprecated.
+This is the name under which the
+CacheResponseStatus of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext is provided during execution. |
+
Constructor and Description | +
---|
CachingHttpClient()
+Deprecated.
+Constructs a
+CachingHttpClient with default caching settings that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests. |
+
CachingHttpClient(CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client)
+Deprecated.
+Constructs a
+CachingHttpClient with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
CachingHttpClient(HttpClient client,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest originalRequest,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request to the target using the default context and
+ processes the response using the given response handler.
+ |
+
<T> T |
+execute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request to the target using the given context and
+ processes the response using the given response handler.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request)
+Deprecated.
+Executes HTTP request using the default context.
+ |
+
org.apache.http.HttpResponse |
+execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler)
+Deprecated.
+Executes HTTP request using the default context and processes the
+ response using the given response handler.
+ |
+
<T> T |
+execute(HttpUriRequest request,
+ ResponseHandler<? extends T> responseHandler,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Executes HTTP request using the given context and processes the
+ response using the given response handler.
+ |
+
long |
+getCacheHits()
+Deprecated.
+Reports the number of times that the cache successfully responded
+ to an
+HttpRequest without contacting the origin server. |
+
long |
+getCacheMisses()
+Deprecated.
+Reports the number of times that the cache contacted the origin
+ server because it had no appropriate response cached.
+ |
+
long |
+getCacheUpdates()
+Deprecated.
+Reports the number of times that the cache was able to satisfy
+ a response by revalidating an existing but stale cache entry.
+ |
+
ClientConnectionManager |
+getConnectionManager()
+Deprecated.
+Obtains the connection manager used by this client.
+ |
+
org.apache.http.params.HttpParams |
+getParams()
+Deprecated.
+Obtains the parameters for this client.
+ |
+
boolean |
+isSharedCache()
+Deprecated.
+Reports whether this
+CachingHttpClient is configured as
+ a shared (public) or non-shared (private) cache. |
+
boolean |
+supportsRangeAndContentRangeHeaders()
+Deprecated.
+Reports whether this
+CachingHttpClient implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range headers. |
+
public static final String CACHE_RESPONSE_STATUS+
CacheResponseStatus
of a request
+ (for example, whether it resulted in a cache hit) will be recorded if an
+ HttpContext
is provided during execution.public CachingHttpClient()+
CachingHttpClient
with default caching settings that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests.public CachingHttpClient(CacheConfig config)+
CachingHttpClient
with the given caching options that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests.config
- cache module optionspublic CachingHttpClient(HttpClient client)+
CachingHttpClient
with default caching settings that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests.client
- used to make origin requestspublic CachingHttpClient(HttpClient client, + CacheConfig config)+
CachingHttpClient
with the given caching options that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests.config
- cache module optionsclient
- used to make origin requestspublic CachingHttpClient(HttpClient client, + ResourceFactory resourceFactory, + HttpCacheStorage storage, + CacheConfig config)+
CachingHttpClient
with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient
for backend requests. However, cached
+ response bodies are managed using the given ResourceFactory
.client
- used to make origin requestsresourceFactory
- how to manage cached response bodiesstorage
- where to store cache entriesconfig
- cache module optionspublic CachingHttpClient(HttpClient client, + HttpCacheStorage storage, + CacheConfig config)+
CachingHttpClient
with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient
for backend requests.client
- used to make origin requestsstorage
- where to store cache entriesconfig
- cache module optionspublic long getCacheHits()+
HttpRequest
without contacting the origin server.public long getCacheMisses()+
public long getCacheUpdates()+
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + throws IOException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(HttpUriRequest request) + throws IOException+
HttpClient
execute
in interface HttpClient
request
- the request to executeIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic org.apache.http.HttpResponse execute(HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
execute
in interface HttpClient
request
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlerIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic <T> T execute(HttpUriRequest request, + ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
+ Implementing classes are required to ensure that the content entity
+ associated with the response is fully consumed and the underlying
+ connection is released back to the connection manager automatically
+ in all cases relieving individual ResponseHandler
s from
+ having to manage resource deallocation internally.
+
execute
in interface HttpClient
request
- the request to executeresponseHandler
- the response handlercontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic ClientConnectionManager getConnectionManager()+
HttpClient
getConnectionManager
in interface HttpClient
public org.apache.http.params.HttpParams getParams()+
HttpClient
getParams
in interface HttpClient
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest originalRequest, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClient
execute
in interface HttpClient
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.originalRequest
- the request to executecontext
- the context to use for the execution, or
+ null
to use the default contextIOException
- in case of a problem or the connection was abortedClientProtocolException
- in case of an http protocol errorpublic boolean supportsRangeAndContentRangeHeaders()+
CachingHttpClient
implementation
+ supports byte-range requests as specified by the Range
+ and Content-Range
headers.true
if byte-range requests are supportedpublic boolean isSharedCache()+
CachingHttpClient
is configured as
+ a shared (public) or non-shared (private) cache. See CacheConfig.setSharedCache(boolean)
.true
if we are behaving as a shared (public)
+ cacheCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClientBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClientBuilder.html new file mode 100644 index 0000000..87e0a27 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClientBuilder.html @@ -0,0 +1,388 @@ + + + + + + +public class CachingHttpClientBuilder +extends HttpClientBuilder+
CloseableHttpClient
+ instances capable of client-side caching.Modifier | +Constructor and Description | +
---|---|
protected |
+CachingHttpClientBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
static CachingHttpClientBuilder |
+create() |
+
protected ClientExecChain |
+decorateMainExec(ClientExecChain mainExec)
+For internal use.
+ |
+
CachingHttpClientBuilder |
+setCacheConfig(CacheConfig cacheConfig) |
+
CachingHttpClientBuilder |
+setCacheDir(File cacheDir) |
+
CachingHttpClientBuilder |
+setDeleteCache(boolean deleteCache) |
+
CachingHttpClientBuilder |
+setHttpCacheInvalidator(HttpCacheInvalidator cacheInvalidator) |
+
CachingHttpClientBuilder |
+setHttpCacheStorage(HttpCacheStorage storage) |
+
CachingHttpClientBuilder |
+setResourceFactory(ResourceFactory resourceFactory) |
+
CachingHttpClientBuilder |
+setSchedulingStrategy(SchedulingStrategy schedulingStrategy) |
+
addCloseable, addInterceptorFirst, addInterceptorFirst, addInterceptorLast, addInterceptorLast, build, createMainExec, decorateProtocolExec, disableAuthCaching, disableAutomaticRetries, disableConnectionState, disableContentCompression, disableCookieManagement, disableDefaultUserAgent, disableRedirectHandling, evictExpiredConnections, evictIdleConnections, evictIdleConnections, setBackoffManager, setConnectionBackoffStrategy, setConnectionManager, setConnectionManagerShared, setConnectionReuseStrategy, setConnectionTimeToLive, setContentDecoderRegistry, setDefaultAuthSchemeRegistry, setDefaultConnectionConfig, setDefaultCookieSpecRegistry, setDefaultCookieStore, setDefaultCredentialsProvider, setDefaultHeaders, setDefaultRequestConfig, setDefaultSocketConfig, setDnsResolver, setHostnameVerifier, setHttpProcessor, setKeepAliveStrategy, setMaxConnPerRoute, setMaxConnTotal, setProxy, setProxyAuthenticationStrategy, setPublicSuffixMatcher, setRedirectStrategy, setRequestExecutor, setRetryHandler, setRoutePlanner, setSchemePortResolver, setServiceUnavailableRetryStrategy, setSslcontext, setSSLContext, setSSLHostnameVerifier, setSSLSocketFactory, setTargetAuthenticationStrategy, setUserAgent, setUserTokenHandler, useSystemProperties
protected CachingHttpClientBuilder()+
public static CachingHttpClientBuilder create()+
public final CachingHttpClientBuilder setResourceFactory(ResourceFactory resourceFactory)+
public final CachingHttpClientBuilder setHttpCacheStorage(HttpCacheStorage storage)+
public final CachingHttpClientBuilder setCacheDir(File cacheDir)+
public final CachingHttpClientBuilder setCacheConfig(CacheConfig cacheConfig)+
public final CachingHttpClientBuilder setSchedulingStrategy(SchedulingStrategy schedulingStrategy)+
public final CachingHttpClientBuilder setHttpCacheInvalidator(HttpCacheInvalidator cacheInvalidator)+
public CachingHttpClientBuilder setDeleteCache(boolean deleteCache)+
protected ClientExecChain decorateMainExec(ClientExecChain mainExec)+
HttpClientBuilder
decorateMainExec
in class HttpClientBuilder
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClients.html new file mode 100644 index 0000000..a67e650 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/CachingHttpClients.html @@ -0,0 +1,270 @@ + + + + + + +public class CachingHttpClients +extends Object+
CloseableHttpClient
instances
+ capable of client-side caching.Modifier and Type | +Method and Description | +
---|---|
static CloseableHttpClient |
+createFileBound(File cacheDir)
+Creates
+CloseableHttpClient instance that uses a file system
+ bound response cache. |
+
static CloseableHttpClient |
+createMemoryBound()
+Creates
+CloseableHttpClient instance that uses a memory bound
+ response cache. |
+
static CachingHttpClientBuilder |
+custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
public static CachingHttpClientBuilder custom()+
CloseableHttpClient
instances.public static CloseableHttpClient createMemoryBound()+
CloseableHttpClient
instance that uses a memory bound
+ response cache.public static CloseableHttpClient createFileBound(File cacheDir)+
CloseableHttpClient
instance that uses a file system
+ bound response cache.cacheDir
- location of response cache.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultFailureCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultFailureCache.html new file mode 100644 index 0000000..19955a3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultFailureCache.html @@ -0,0 +1,342 @@ + + + + + + +@Contract(threading=SAFE) +public class DefaultFailureCache +extends Object +implements FailureCache+
Constructor and Description | +
---|
DefaultFailureCache()
+Create a new failure cache with the maximum size of
+
+DEFAULT_MAX_SIZE . |
+
DefaultFailureCache(int maxSize)
+Creates a new failure cache with the specified maximum size.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+getErrorCount(String identifier)
+Get the current error count.
+ |
+
void |
+increaseErrorCount(String identifier)
+Increases the error count by one.
+ |
+
void |
+resetErrorCount(String identifier)
+Reset the error count back to zero.
+ |
+
public DefaultFailureCache()+
DEFAULT_MAX_SIZE
.public DefaultFailureCache(int maxSize)+
maxSize
- the maximum number of entries the cache should storepublic int getErrorCount(String identifier)+
FailureCache
getErrorCount
in interface FailureCache
identifier
- the identifier for which the error count is requestedpublic void resetErrorCount(String identifier)+
FailureCache
resetErrorCount
in interface FailureCache
identifier
- the identifier for which the error count should be
+ resetpublic void increaseErrorCount(String identifier)+
FailureCache
increaseErrorCount
in interface FailureCache
identifier
- the identifier for which the error count should be
+ increasedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultHttpCacheEntrySerializer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultHttpCacheEntrySerializer.html new file mode 100644 index 0000000..25d564d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/DefaultHttpCacheEntrySerializer.html @@ -0,0 +1,308 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultHttpCacheEntrySerializer +extends Object +implements HttpCacheEntrySerializer+
HttpCacheEntrySerializer
implementation that uses the default (native)
+ serialization.Serializable
Constructor and Description | +
---|
DefaultHttpCacheEntrySerializer() |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+readFrom(InputStream is)
+Deserializes a byte representation of a cache entry by reading
+ from the given
+InputStream . |
+
void |
+writeTo(HttpCacheEntry cacheEntry,
+ OutputStream os)
+Serializes the given entry to a byte representation on the
+ given
+OutputStream . |
+
public DefaultHttpCacheEntrySerializer()+
public void writeTo(HttpCacheEntry cacheEntry, + OutputStream os) + throws IOException+
HttpCacheEntrySerializer
OutputStream
.writeTo
in interface HttpCacheEntrySerializer
IOException
public HttpCacheEntry readFrom(InputStream is) + throws IOException+
HttpCacheEntrySerializer
InputStream
.readFrom
in interface HttpCacheEntrySerializer
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ExponentialBackOffSchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ExponentialBackOffSchedulingStrategy.html new file mode 100644 index 0000000..126eb24 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ExponentialBackOffSchedulingStrategy.html @@ -0,0 +1,503 @@ + + + + + + +@Contract(threading=SAFE) +public class ExponentialBackOffSchedulingStrategy +extends Object +implements SchedulingStrategy+
AsynchronousValidationRequest
. It uses the following defaults:
+ + no delay in case it was never tried or didn't fail so far + 6 secs delay for one failed attempt (=+ + The following equation is used to calculate the delay for a specific revalidation request: +getInitialExpiryInMillis()
) + 60 secs delay for two failed attempts + 10 mins delay for three failed attempts + 100 mins delay for four failed attempts + ~16 hours delay for five failed attempts + 24 hours delay for six or more failed attempts (=getMaxExpiryInMillis()
) +
+ delay =+ The resulting delay won't exceedgetInitialExpiryInMillis()
* Math.pow(getBackOffRate()
, +AsynchronousValidationRequest.getConsecutiveFailedAttempts()
- 1)) +
getMaxExpiryInMillis()
.Modifier and Type | +Field and Description | +
---|---|
static long |
+DEFAULT_BACK_OFF_RATE |
+
static long |
+DEFAULT_INITIAL_EXPIRY_IN_MILLIS |
+
static long |
+DEFAULT_MAX_EXPIRY_IN_MILLIS |
+
Constructor and Description | +
---|
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig)
+Create a new scheduling strategy using a fixed pool of worker threads.
+ |
+
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig,
+ long backOffRate,
+ long initialExpiryInMillis,
+ long maxExpiryInMillis)
+Create a new scheduling strategy by using a fixed pool of worker threads and the
+ given parameters to calculated the delay.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected long |
+calculateDelayInMillis(int consecutiveFailedAttempts) |
+
protected static long |
+checkNotNegative(String parameterName,
+ long value)
+Deprecated.
+
+Use
+Args.notNegative(long, String) |
+
protected static <T> T |
+checkNotNull(String parameterName,
+ T value)
+Deprecated.
+
+Use
+Args.notNull(Object, String) |
+
void |
+close() |
+
long |
+getBackOffRate() |
+
long |
+getInitialExpiryInMillis() |
+
long |
+getMaxExpiryInMillis() |
+
void |
+schedule(AsynchronousValidationRequest revalidationRequest)
+Schedule an
+AsynchronousValidationRequest to be executed. |
+
public static final long DEFAULT_BACK_OFF_RATE+
public static final long DEFAULT_INITIAL_EXPIRY_IN_MILLIS+
public static final long DEFAULT_MAX_EXPIRY_IN_MILLIS+
public ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig)+
cacheConfig
- the thread pool configuration to be used; not null
CacheConfig.getAsynchronousWorkersMax()
,
+DEFAULT_BACK_OFF_RATE
,
+DEFAULT_INITIAL_EXPIRY_IN_MILLIS
,
+DEFAULT_MAX_EXPIRY_IN_MILLIS
public ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig, + long backOffRate, + long initialExpiryInMillis, + long maxExpiryInMillis)+
cacheConfig
- the thread pool configuration to be used; not null
backOffRate
- the back off rate to be used; not negativeinitialExpiryInMillis
- the initial expiry in milli seconds; not negativemaxExpiryInMillis
- the upper limit of the delay in milli seconds; not negativeCacheConfig.getAsynchronousWorkersMax()
,
+ExponentialBackOffSchedulingStrategy
public void schedule(AsynchronousValidationRequest revalidationRequest)+
SchedulingStrategy
AsynchronousValidationRequest
to be executed.schedule
in interface SchedulingStrategy
revalidationRequest
- the request to be executed; not null
public void close()+
close
in interface Closeable
close
in interface AutoCloseable
public long getBackOffRate()+
public long getInitialExpiryInMillis()+
public long getMaxExpiryInMillis()+
protected long calculateDelayInMillis(int consecutiveFailedAttempts)+
@Deprecated +protected static <T> T checkNotNull(String parameterName, + T value)+
Args.notNull(Object, String)
@Deprecated +protected static long checkNotNegative(String parameterName, + long value)+
Args.notNegative(long, String)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCache.html new file mode 100644 index 0000000..d6fb752 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCache.html @@ -0,0 +1,257 @@ + + + + + + +public interface FailureCache
+Modifier and Type | +Method and Description | +
---|---|
int |
+getErrorCount(String identifier)
+Get the current error count.
+ |
+
void |
+increaseErrorCount(String identifier)
+Increases the error count by one.
+ |
+
void |
+resetErrorCount(String identifier)
+Reset the error count back to zero.
+ |
+
int getErrorCount(String identifier)+
identifier
- the identifier for which the error count is requestedvoid resetErrorCount(String identifier)+
identifier
- the identifier for which the error count should be
+ resetvoid increaseErrorCount(String identifier)+
identifier
- the identifier for which the error count should be
+ increasedCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCacheValue.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCacheValue.html new file mode 100644 index 0000000..8514b51 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FailureCacheValue.html @@ -0,0 +1,307 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class FailureCacheValue +extends Object+
Constructor and Description | +
---|
FailureCacheValue(String key,
+ int errorCount) |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+getCreationTimeInNanos() |
+
int |
+getErrorCount() |
+
String |
+getKey() |
+
String |
+toString() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResource.html new file mode 100644 index 0000000..ede9a84 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResource.html @@ -0,0 +1,326 @@ + + + + + + +@Contract(threading=SAFE) +public class FileResource +extends Object +implements Resource+
Constructor and Description | +
---|
FileResource(File file) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+dispose()
+Indicates the system no longer needs to keep this
+ response body and any system resources associated with
+ it may be reclaimed.
+ |
+
InputStream |
+getInputStream()
+Returns an
+InputStream from which the response
+ body can be read. |
+
long |
+length()
+Returns the length in bytes of the response body.
+ |
+
public InputStream getInputStream() + throws IOException+
Resource
InputStream
from which the response
+ body can be read.getInputStream
in interface Resource
IOException
public long length()+
Resource
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResourceFactory.html new file mode 100644 index 0000000..127c4e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/FileResourceFactory.html @@ -0,0 +1,318 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class FileResourceFactory +extends Object +implements ResourceFactory+
Resource
instances whose body is stored in a temporary file.Constructor and Description | +
---|
FileResourceFactory(File cacheDir) |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+copy(String requestId,
+ Resource resource)
+Clones an existing
+Resource . |
+
Resource |
+generate(String requestId,
+ InputStream inStream,
+ InputLimit limit)
+Creates a
+Resource from a given response body. |
+
public FileResourceFactory(File cacheDir)+
public Resource generate(String requestId, + InputStream inStream, + InputLimit limit) + throws IOException+
ResourceFactory
Resource
from a given response body.generate
in interface ResourceFactory
requestId
- a unique identifier for this particular
+ response bodyinStream
- the original InputStream
+ containing the response body of the origin HTTP response.limit
- maximum number of bytes to consume of the
+ response body; if this limit is reached before the
+ response body is fully consumed, mark the limit has
+ having been reached and return a Resource
+ containing the data read to that point.Resource
containing however much of
+ the response body was successfully read.IOException
public Resource copy(String requestId, + Resource resource) + throws IOException+
ResourceFactory
Resource
.copy
in interface ResourceFactory
requestId
- unique identifier provided to associate
+ with the cloned response body.resource
- the original response body to clone.Resource
copyIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResource.html new file mode 100644 index 0000000..59a3d37 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResource.html @@ -0,0 +1,324 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class HeapResource +extends Object +implements Resource+
Constructor and Description | +
---|
HeapResource(byte[] b) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+dispose()
+Indicates the system no longer needs to keep this
+ response body and any system resources associated with
+ it may be reclaimed.
+ |
+
InputStream |
+getInputStream()
+Returns an
+InputStream from which the response
+ body can be read. |
+
long |
+length()
+Returns the length in bytes of the response body.
+ |
+
public InputStream getInputStream()+
Resource
InputStream
from which the response
+ body can be read.getInputStream
in interface Resource
public long length()+
Resource
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResourceFactory.html new file mode 100644 index 0000000..d1a31bb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/HeapResourceFactory.html @@ -0,0 +1,318 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class HeapResourceFactory +extends Object +implements ResourceFactory+
Resource
instances stored entirely in heap.Constructor and Description | +
---|
HeapResourceFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
Resource |
+copy(String requestId,
+ Resource resource)
+Clones an existing
+Resource . |
+
Resource |
+generate(String requestId,
+ InputStream inStream,
+ InputLimit limit)
+Creates a
+Resource from a given response body. |
+
public Resource generate(String requestId, + InputStream inStream, + InputLimit limit) + throws IOException+
ResourceFactory
Resource
from a given response body.generate
in interface ResourceFactory
requestId
- a unique identifier for this particular
+ response bodyinStream
- the original InputStream
+ containing the response body of the origin HTTP response.limit
- maximum number of bytes to consume of the
+ response body; if this limit is reached before the
+ response body is fully consumed, mark the limit has
+ having been reached and return a Resource
+ containing the data read to that point.Resource
containing however much of
+ the response body was successfully read.IOException
public Resource copy(String requestId, + Resource resource) + throws IOException+
ResourceFactory
Resource
.copy
in interface ResourceFactory
requestId
- unique identifier provided to associate
+ with the cloned response body.resource
- the original response body to clone.Resource
copyIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ImmediateSchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ImmediateSchedulingStrategy.html new file mode 100644 index 0000000..16e2b12 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ImmediateSchedulingStrategy.html @@ -0,0 +1,305 @@ + + + + + + +@Contract(threading=SAFE) +public class ImmediateSchedulingStrategy +extends Object +implements SchedulingStrategy+
CacheConfig
to configure the used ThreadPoolExecutor
.Constructor and Description | +
---|
ImmediateSchedulingStrategy(CacheConfig cacheConfig)
+Uses a
+ThreadPoolExecutor which is configured according to the
+ given CacheConfig . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+close() |
+
void |
+schedule(AsynchronousValidationRequest revalidationRequest)
+Schedule an
+AsynchronousValidationRequest to be executed. |
+
public ImmediateSchedulingStrategy(CacheConfig cacheConfig)+
ThreadPoolExecutor
which is configured according to the
+ given CacheConfig
.cacheConfig
- specifies thread pool settings. See
+ CacheConfig.getAsynchronousWorkersMax()
,
+ CacheConfig.getAsynchronousWorkersCore()
,
+ CacheConfig.getAsynchronousWorkerIdleLifetimeSecs()
,
+ and CacheConfig.getRevalidationQueueSize()
.public void schedule(AsynchronousValidationRequest revalidationRequest)+
SchedulingStrategy
AsynchronousValidationRequest
to be executed.schedule
in interface SchedulingStrategy
revalidationRequest
- the request to be executed; not null
public void close()+
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ManagedHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ManagedHttpCacheStorage.html new file mode 100644 index 0000000..27c5a92 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ManagedHttpCacheStorage.html @@ -0,0 +1,434 @@ + + + + + + +@Contract(threading=SAFE) +public class ManagedHttpCacheStorage +extends Object +implements HttpCacheStorage, Closeable+
+ HttpCacheStorage
implementation capable of deallocating resources associated with
+ the cache entries.
+
+ This cache keeps track of cache entries using
+ PhantomReference
and maintains a collection of all resources that
+ are no longer in use. The cache, however, does not automatically deallocates associated
+ resources by invoking Resource.dispose()
method. The consumer MUST periodically
+ call cleanResources()
method to trigger resource deallocation. The cache can be
+ permanently shut down using shutdown()
method. All resources associated with
+ the entries used by the cache will be deallocated.
+
+ This HttpCacheStorage
implementation is intended for use with FileResource
+ and similar.
+
+ Compatibility note. Prior to version 4.4 this storage implementation used to dispose of
+ all resource entries upon close()
. As of version 4.4 the close()
method
+ disposes only of those resources that have been explicitly removed from the cache with
+ removeEntry(String)
method.
+
+ The shutdown()
()} method can still be used to shut down the storage and dispose of
+ all resources currently managed by it.
+
Constructor and Description | +
---|
ManagedHttpCacheStorage(CacheConfig config) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+cleanResources() |
+
void |
+close() |
+
HttpCacheEntry |
+getEntry(String url)
+Retrieves the cache entry stored under the given key
+ or null if no entry exists under that key.
+ |
+
void |
+putEntry(String url,
+ HttpCacheEntry entry)
+Store a given cache entry under the given key.
+ |
+
void |
+removeEntry(String url)
+Deletes/invalidates/removes any cache entries currently
+ stored under the given key.
+ |
+
void |
+shutdown() |
+
void |
+updateEntry(String url,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
public ManagedHttpCacheStorage(CacheConfig config)+
public void putEntry(String url, + HttpCacheEntry entry) + throws IOException+
HttpCacheStorage
putEntry
in interface HttpCacheStorage
url
- where in the cache to store the entryentry
- cached response to storeIOException
public HttpCacheEntry getEntry(String url) + throws IOException+
HttpCacheStorage
getEntry
in interface HttpCacheStorage
url
- cache keyHttpCacheEntry
or null
if no
+ entry existsIOException
public void removeEntry(String url) + throws IOException+
HttpCacheStorage
removeEntry
in interface HttpCacheStorage
IOException
public void updateEntry(String url, + HttpCacheUpdateCallback callback) + throws IOException+
HttpCacheStorage
updateEntry
in interface HttpCacheStorage
url
- indicates which entry to modifycallback
- performs the update; see
+ HttpCacheUpdateCallback
for details, but roughly the
+ callback expects to be handed the current entry and will return
+ the new value for the entry.IOException
public void cleanResources()+
public void shutdown()+
public void close()+
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/SchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/SchedulingStrategy.html new file mode 100644 index 0000000..e6b523c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/SchedulingStrategy.html @@ -0,0 +1,233 @@ + + + + + + +public interface SchedulingStrategy +extends Closeable+
Modifier and Type | +Method and Description | +
---|---|
void |
+schedule(AsynchronousValidationRequest revalidationRequest)
+Schedule an
+AsynchronousValidationRequest to be executed. |
+
void schedule(AsynchronousValidationRequest revalidationRequest)+
AsynchronousValidationRequest
to be executed.revalidationRequest
- the request to be executed; not null
RejectedExecutionException
- if the request could not be scheduled for executionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/AsynchronousValidationRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/AsynchronousValidationRequest.html new file mode 100644 index 0000000..daf106c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/AsynchronousValidationRequest.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+SchedulingStrategy.schedule(AsynchronousValidationRequest revalidationRequest)
+Schedule an
+AsynchronousValidationRequest to be executed. |
+
void |
+ImmediateSchedulingStrategy.schedule(AsynchronousValidationRequest revalidationRequest) |
+
void |
+ExponentialBackOffSchedulingStrategy.schedule(AsynchronousValidationRequest revalidationRequest) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/BasicHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/BasicHttpCacheStorage.html new file mode 100644 index 0000000..f32a701 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/BasicHttpCacheStorage.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.Builder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.Builder.html new file mode 100644 index 0000000..fd3a898 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.Builder.html @@ -0,0 +1,253 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static CacheConfig.Builder |
+CacheConfig.copy(CacheConfig config) |
+
static CacheConfig.Builder |
+CacheConfig.custom() |
+
CacheConfig.Builder |
+CacheConfig.Builder.setAllow303Caching(boolean allow303Caching)
+Enables or disables 303 caching.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setAsynchronousWorkerIdleLifetimeSecs(int asynchronousWorkerIdleLifetimeSecs)
+Sets the current maximum idle lifetime in seconds for a
+ background revalidation worker thread.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setAsynchronousWorkersCore(int asynchronousWorkersCore)
+Sets the minimum number of threads to keep alive for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
CacheConfig.Builder |
+CacheConfig.Builder.setAsynchronousWorkersMax(int asynchronousWorkersMax)
+Sets the maximum number of threads to allow for background
+ revalidations due to the
+stale-while-revalidate directive. |
+
CacheConfig.Builder |
+CacheConfig.Builder.setHeuristicCachingEnabled(boolean heuristicCachingEnabled)
+Enables or disables heuristic caching.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setHeuristicCoefficient(float heuristicCoefficient)
+Sets coefficient to be used in heuristic freshness caching.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setHeuristicDefaultLifetime(long heuristicDefaultLifetime)
+Sets default lifetime in seconds to be used if heuristic freshness
+ calculation is not possible.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setMaxCacheEntries(int maxCacheEntries)
+Sets the maximum number of cache entries the cache will retain.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setMaxObjectSize(long maxObjectSize)
+Specifies the maximum response body size that will be eligible for caching.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setMaxUpdateRetries(int maxUpdateRetries)
+Sets the number of times to retry a cache update on failure
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setNeverCacheHTTP10ResponsesWithQueryString(boolean neverCacheHTTP10ResponsesWithQuery)
+Sets whether the cache should never cache HTTP 1.0 responses with a query string or not.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setRevalidationQueueSize(int revalidationQueueSize)
+Sets the current maximum queue size for background revalidations.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setSharedCache(boolean isSharedCache)
+Sets whether the cache should behave as a shared cache or not.
+ |
+
CacheConfig.Builder |
+CacheConfig.Builder.setWeakETagOnPutDeleteAllowed(boolean weakETagOnPutDeleteAllowed)
+Allows or disallows weak etags to be used with PUT/DELETE If-Match requests.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.html new file mode 100644 index 0000000..da698fd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CacheConfig.html @@ -0,0 +1,367 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Field and Description | +
---|---|
static CacheConfig |
+CacheConfig.DEFAULT |
+
Modifier and Type | +Method and Description | +
---|---|
CacheConfig |
+CacheConfig.Builder.build() |
+
protected CacheConfig |
+CacheConfig.clone() |
+
Modifier and Type | +Method and Description | +
---|---|
static CacheConfig.Builder |
+CacheConfig.copy(CacheConfig config) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
+
Constructor and Description | +
---|
BasicHttpCacheStorage(CacheConfig config) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config,
+ org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator) |
+
CachingExec(ClientExecChain backend,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config) |
+
CachingHttpClient(CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options that
+ stores cache entries in memory and uses a vanilla DefaultHttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options that
+ stores cache entries in memory and uses the given HttpClient
+ for backend requests. |
+
CachingHttpClient(HttpClient client,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
CachingHttpClient(HttpClient client,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config)
+Deprecated.
+Constructs a
+CachingHttpClient with the given caching options
+ that stores cache entries in the provided storage backend and uses
+ the given HttpClient for backend requests. |
+
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig)
+Create a new scheduling strategy using a fixed pool of worker threads.
+ |
+
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig,
+ long backOffRate,
+ long initialExpiryInMillis,
+ long maxExpiryInMillis)
+Create a new scheduling strategy by using a fixed pool of worker threads and the
+ given parameters to calculated the delay.
+ |
+
ImmediateSchedulingStrategy(CacheConfig cacheConfig)
+Uses a
+ThreadPoolExecutor which is configured according to the
+ given CacheConfig . |
+
ManagedHttpCacheStorage(CacheConfig config) |
+
Constructor and Description | +
---|
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
+ CacheConfig config)
+Constructs a storage backend using the provided Ehcache
+ with the given configuration options.
+ |
+
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Constructs a storage backend using the provided Ehcache
+ with the given configuration options, but using an alternative
+ cache entry serialization strategy.
+ |
+
Constructor and Description | +
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Deprecated.
+
+(4.2) do not use
+ |
+
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ MemcachedCacheEntryFactory memcachedCacheEntryFactory,
+ KeyHashingScheme keyHashingScheme)
+Create a storage backend using the given memcached client and
+ applying the given cache configuration, serialization, and hashing
+ mechanisms.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingExec.html new file mode 100644 index 0000000..1fdc7e3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClient.html new file mode 100644 index 0000000..2ffbbf2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClientBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClientBuilder.html new file mode 100644 index 0000000..a6568c4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClientBuilder.html @@ -0,0 +1,218 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.osgi.services | ++ |
Modifier and Type | +Method and Description | +
---|---|
static CachingHttpClientBuilder |
+CachingHttpClientBuilder.create() |
+
static CachingHttpClientBuilder |
+CachingHttpClients.custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setCacheDir(File cacheDir) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setDeleteCache(boolean deleteCache) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setHttpCacheInvalidator(HttpCacheInvalidator cacheInvalidator) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setResourceFactory(ResourceFactory resourceFactory) |
+
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setSchedulingStrategy(SchedulingStrategy schedulingStrategy) |
+
Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+CachingHttpClientBuilderFactory.newBuilder() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClients.html new file mode 100644 index 0000000..a5b5095 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/CachingHttpClients.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultFailureCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultFailureCache.html new file mode 100644 index 0000000..4298431 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultFailureCache.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultHttpCacheEntrySerializer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultHttpCacheEntrySerializer.html new file mode 100644 index 0000000..9bed2b4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/DefaultHttpCacheEntrySerializer.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ExponentialBackOffSchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ExponentialBackOffSchedulingStrategy.html new file mode 100644 index 0000000..479bdd7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ExponentialBackOffSchedulingStrategy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCache.html new file mode 100644 index 0000000..44348c4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCache.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultFailureCache
+Implements a bounded failure cache.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCacheValue.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCacheValue.html new file mode 100644 index 0000000..79aed0e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FailureCacheValue.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResource.html new file mode 100644 index 0000000..01c5e5f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResource.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResourceFactory.html new file mode 100644 index 0000000..3859446 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/FileResourceFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResource.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResource.html new file mode 100644 index 0000000..be4c91b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResource.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResourceFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResourceFactory.html new file mode 100644 index 0000000..f2b3ac2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/HeapResourceFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ImmediateSchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ImmediateSchedulingStrategy.html new file mode 100644 index 0000000..0ec60d3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ImmediateSchedulingStrategy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ManagedHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ManagedHttpCacheStorage.html new file mode 100644 index 0000000..2ef8ee3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/ManagedHttpCacheStorage.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/SchedulingStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/SchedulingStrategy.html new file mode 100644 index 0000000..da9029e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/class-use/SchedulingStrategy.html @@ -0,0 +1,184 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ExponentialBackOffSchedulingStrategy
+An implementation that backs off exponentially based on the number of
+ consecutive failed attempts stored in the
+
+AsynchronousValidationRequest . |
+
class |
+ImmediateSchedulingStrategy
+Immediately schedules any incoming validation request.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+CachingHttpClientBuilder.setSchedulingStrategy(SchedulingStrategy schedulingStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/EhcacheHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/EhcacheHttpCacheStorage.html new file mode 100644 index 0000000..8f3a094 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/EhcacheHttpCacheStorage.html @@ -0,0 +1,430 @@ + + + + + + +public class EhcacheHttpCacheStorage +extends Object +implements HttpCacheStorage+
This class is a storage backend for cache entries that uses the + popular Ehcache cache implementation. + In particular, this backend allows for spillover to disk, where the + cache can be effectively larger than memory, and cached responses are + paged into and out of memory from disk as needed.
+ +N.B. Since the Ehcache is configured ahead of time with a
+ maximum number of cache entries, this effectively ignores the
+ maximum cache entries
+ specified by a provided CacheConfig
.
Please refer to the + Ehcache documentation for details on how to configure the Ehcache + itself.
Constructor and Description | +
---|
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache)
+Constructs a storage backend using the provided Ehcache
+ with default configuration options.
+ |
+
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
+ CacheConfig config)
+Constructs a storage backend using the provided Ehcache
+ with the given configuration options.
+ |
+
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Constructs a storage backend using the provided Ehcache
+ with the given configuration options, but using an alternative
+ cache entry serialization strategy.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getEntry(String key)
+Retrieves the cache entry stored under the given key
+ or null if no entry exists under that key.
+ |
+
void |
+putEntry(String key,
+ HttpCacheEntry entry)
+Store a given cache entry under the given key.
+ |
+
void |
+removeEntry(String key)
+Deletes/invalidates/removes any cache entries currently
+ stored under the given key.
+ |
+
void |
+updateEntry(String key,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
public EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache)+
cache
- where to store cached origin responsespublic EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache, + CacheConfig config)+
cache
- where to store cached origin responsesconfig
- cache storage configuration options - note that
+ the setting for max object size will be ignored and
+ should be configured in the Ehcache instead.public EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache, + CacheConfig config, + HttpCacheEntrySerializer serializer)+
cache
- where to store cached origin responsesconfig
- cache storage configuration options - note that
+ the setting for max object size will be ignored and
+ should be configured in the Ehcache instead.serializer
- alternative serialization mechanismpublic void putEntry(String key, + HttpCacheEntry entry) + throws IOException+
HttpCacheStorage
putEntry
in interface HttpCacheStorage
key
- where in the cache to store the entryentry
- cached response to storeIOException
public HttpCacheEntry getEntry(String key) + throws IOException+
HttpCacheStorage
getEntry
in interface HttpCacheStorage
key
- cache keyHttpCacheEntry
or null
if no
+ entry existsIOException
public void removeEntry(String key)+
HttpCacheStorage
removeEntry
in interface HttpCacheStorage
public void updateEntry(String key, + HttpCacheUpdateCallback callback) + throws IOException, + HttpCacheUpdateException+
HttpCacheStorage
updateEntry
in interface HttpCacheStorage
key
- indicates which entry to modifycallback
- performs the update; see
+ HttpCacheUpdateCallback
for details, but roughly the
+ callback expects to be handed the current entry and will return
+ the new value for the entry.IOException
HttpCacheUpdateException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/class-use/EhcacheHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/class-use/EhcacheHttpCacheStorage.html new file mode 100644 index 0000000..cec9953 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/class-use/EhcacheHttpCacheStorage.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-frame.html new file mode 100644 index 0000000..cbb0c02 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +CachingHttpClient
and
+used for storing cache entries.See: Description
+Class | +Description | +
---|---|
EhcacheHttpCacheStorage | +
+ This class is a storage backend for cache entries that uses the
+ popular Ehcache cache implementation.
+ |
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a CachingHttpClient
and
+used for storing cache entries.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-tree.html new file mode 100644 index 0000000..40b5d3a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-tree.html @@ -0,0 +1,130 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-use.html new file mode 100644 index 0000000..cd4fc22 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/ehcache/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/KeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/KeyHashingScheme.html new file mode 100644 index 0000000..729c826 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/KeyHashingScheme.html @@ -0,0 +1,226 @@ + + + + + + +public interface KeyHashingScheme
+HttpCacheStorage
interface
+ expects to use variant-annotated URLs for its storage keys, but Memcached
+ has a maximum key size, we need to support mapping storage keys to cache
+ keys. Clients can implement this interface to change the way the mapping
+ is done (for example, to add a prefix to all cache keys to provide a form
+ of memcached namespacing).String hash(String storageKey)+
storageKey
- what the higher-level HTTP cache wants to use
+ as its key for looking up cache entriesCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntry.html new file mode 100644 index 0000000..530eccd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntry.html @@ -0,0 +1,286 @@ + + + + + + +public interface MemcachedCacheEntry
+HttpCacheEntry
objects into byte arrays suitable for
+ storage in memcached. Clients wishing to change the serialization
+ mechanism from the provided defaults should implement this
+ interface as well as MemcachedCacheEntryFactory
.Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getHttpCacheEntry()
+Returns the
+HttpCacheEntry associated with this entry. |
+
String |
+getStorageKey()
+Returns the storage key associated with this entry.
+ |
+
void |
+set(byte[] bytes)
+Given a serialized representation of a
+MemcachedCacheEntry ,
+ attempt to reconstitute the storage key and HttpCacheEntry
+ represented therein. |
+
byte[] |
+toByteArray()
+Returns a serialized representation of the current cache entry.
+ |
+
byte[] toByteArray()+
String getStorageKey()+
null
if this is an "unset" instance waiting to be
+ set(byte[])
with a serialized representation.HttpCacheEntry getHttpCacheEntry()+
HttpCacheEntry
associated with this entry.
+ May return null
if this is an "unset" instance
+ waiting to be set(byte[])
with a serialized
+ representation.void set(byte[] bytes)+
MemcachedCacheEntry
,
+ attempt to reconstitute the storage key and HttpCacheEntry
+ represented therein. After a successful call to this method, this
+ object should return updated (as appropriate) values for
+ getStorageKey()
and getHttpCacheEntry()
. This
+ should be viewed as an atomic operation on the
+ MemcachedCacheEntry
.bytes
- serialized representationMemcachedSerializationException
- if deserialization
+ fails. In this case, the prior values for {getStorageKey()
+ and getHttpCacheEntry()
should remain unchanged.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactory.html new file mode 100644 index 0000000..a206090 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactory.html @@ -0,0 +1,252 @@ + + + + + + +public interface MemcachedCacheEntryFactory
+MemcachedCacheEntry
instances that can be used for
+ serializing and deserializing HttpCacheEntry
instances for
+ storage in memcached.Modifier and Type | +Method and Description | +
---|---|
MemcachedCacheEntry |
+getMemcachedCacheEntry(String storageKey,
+ HttpCacheEntry entry)
+Creates a new
+MemcachedCacheEntry for storing the
+ given HttpCacheEntry under the given storage key. |
+
MemcachedCacheEntry |
+getUnsetCacheEntry()
+Creates an "unset"
+MemcachedCacheEntry ready to accept
+ a serialized representation via MemcachedCacheEntry.set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry . |
+
MemcachedCacheEntry getMemcachedCacheEntry(String storageKey, + HttpCacheEntry entry)+
MemcachedCacheEntry
for storing the
+ given HttpCacheEntry
under the given storage key. Since
+ we are hashing storage keys into cache keys to accommodate
+ limitations in memcached's key space, it is possible to have
+ cache collisions. Therefore, we store the storage key along
+ with the HttpCacheEntry
so it can be compared
+ on retrieval and thus detect collisions.storageKey
- storage key under which the entry will
+ be logically storedentry
- the cache entry to storeMemcachedCacheEntry
ready to provide
+ a serialized representationMemcachedCacheEntry getUnsetCacheEntry()+
MemcachedCacheEntry
ready to accept
+ a serialized representation via MemcachedCacheEntry.set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry
.MemcachedCacheEntry
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactoryImpl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactoryImpl.html new file mode 100644 index 0000000..33a8484 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryFactoryImpl.html @@ -0,0 +1,309 @@ + + + + + + +public class MemcachedCacheEntryFactoryImpl +extends Object +implements MemcachedCacheEntryFactory+
MemcachedCacheEntryFactory
.Constructor and Description | +
---|
MemcachedCacheEntryFactoryImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
MemcachedCacheEntry |
+getMemcachedCacheEntry(String key,
+ HttpCacheEntry entry)
+Creates a new
+MemcachedCacheEntry for storing the
+ given HttpCacheEntry under the given storage key. |
+
MemcachedCacheEntry |
+getUnsetCacheEntry()
+Creates an "unset"
+MemcachedCacheEntry ready to accept
+ a serialized representation via MemcachedCacheEntry.set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry . |
+
public MemcachedCacheEntryFactoryImpl()+
public MemcachedCacheEntry getMemcachedCacheEntry(String key, + HttpCacheEntry entry)+
MemcachedCacheEntryFactory
MemcachedCacheEntry
for storing the
+ given HttpCacheEntry
under the given storage key. Since
+ we are hashing storage keys into cache keys to accommodate
+ limitations in memcached's key space, it is possible to have
+ cache collisions. Therefore, we store the storage key along
+ with the HttpCacheEntry
so it can be compared
+ on retrieval and thus detect collisions.getMemcachedCacheEntry
in interface MemcachedCacheEntryFactory
key
- storage key under which the entry will
+ be logically storedentry
- the cache entry to storeMemcachedCacheEntry
ready to provide
+ a serialized representationpublic MemcachedCacheEntry getUnsetCacheEntry()+
MemcachedCacheEntryFactory
MemcachedCacheEntry
ready to accept
+ a serialized representation via MemcachedCacheEntry.set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry
.getUnsetCacheEntry
in interface MemcachedCacheEntryFactory
MemcachedCacheEntry
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryImpl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryImpl.html new file mode 100644 index 0000000..8df37e0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedCacheEntryImpl.html @@ -0,0 +1,364 @@ + + + + + + +public class MemcachedCacheEntryImpl +extends Object +implements MemcachedCacheEntry+
MemcachedCacheEntry
. This implementation
+ simply uses Java serialization to serialize the storage key followed by
+ the HttpCacheEntry
into a byte array.Constructor and Description | +
---|
MemcachedCacheEntryImpl() |
+
MemcachedCacheEntryImpl(String key,
+ HttpCacheEntry httpCacheEntry) |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getHttpCacheEntry()
+Returns the
+HttpCacheEntry associated with this entry. |
+
String |
+getStorageKey()
+Returns the storage key associated with this entry.
+ |
+
void |
+set(byte[] bytes)
+Given a serialized representation of a
+MemcachedCacheEntry ,
+ attempt to reconstitute the storage key and HttpCacheEntry
+ represented therein. |
+
byte[] |
+toByteArray()
+Returns a serialized representation of the current cache entry.
+ |
+
public MemcachedCacheEntryImpl(String key, + HttpCacheEntry httpCacheEntry)+
public MemcachedCacheEntryImpl()+
public byte[] toByteArray()+
MemcachedCacheEntry
toByteArray
in interface MemcachedCacheEntry
public String getStorageKey()+
MemcachedCacheEntry
null
if this is an "unset" instance waiting to be
+ MemcachedCacheEntry.set(byte[])
with a serialized representation.getStorageKey
in interface MemcachedCacheEntry
public HttpCacheEntry getHttpCacheEntry()+
MemcachedCacheEntry
HttpCacheEntry
associated with this entry.
+ May return null
if this is an "unset" instance
+ waiting to be MemcachedCacheEntry.set(byte[])
with a serialized
+ representation.getHttpCacheEntry
in interface MemcachedCacheEntry
public void set(byte[] bytes)+
MemcachedCacheEntry
MemcachedCacheEntry
,
+ attempt to reconstitute the storage key and HttpCacheEntry
+ represented therein. After a successful call to this method, this
+ object should return updated (as appropriate) values for
+ MemcachedCacheEntry.getStorageKey()
and MemcachedCacheEntry.getHttpCacheEntry()
. This
+ should be viewed as an atomic operation on the
+ MemcachedCacheEntry
.set
in interface MemcachedCacheEntry
bytes
- serialized representationCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.html new file mode 100644 index 0000000..860d6c2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.html @@ -0,0 +1,497 @@ + + + + + + +public class MemcachedHttpCacheStorage +extends Object +implements HttpCacheStorage+
+ This class is a storage backend that uses an external memcached + for storing cached origin responses. This storage option provides a + couple of interesting advantages over the default in-memory storage + backend: +
++ Note that in a shared memcached pool setting you may wish to make use + of the Ketama consistent hashing algorithm to reduce the number of + cache misses that might result if one of the memcached cluster members + fails (see the + KetamaConnectionFactory). +
+
+ Because memcached places limits on the size of its keys, we need to
+ introduce a key hashing scheme to map the annotated URLs the higher-level
+ caching HTTP client wants to use as keys onto ones that are suitable
+ for use with memcached. Please see KeyHashingScheme
if you would
+ like to use something other than the provided SHA256KeyHashingScheme
.
+
+ Because this hashing scheme can potentially result in key collisions (though
+ highly unlikely), we need to store the higher-level logical storage key along
+ with the HttpCacheEntry
so that we can re-check it on retrieval. There
+ is a default serialization scheme provided for this, although you can provide
+ your own implementations of MemcachedCacheEntry
and
+ MemcachedCacheEntryFactory
to customize this serialization.
+
+ Please refer to the + memcached documentation and in particular to the documentation for + the spymemcached + documentation for details about how to set up and configure memcached + and the Java client used here, respectively. +
Constructor and Description | +
---|
MemcachedHttpCacheStorage(InetSocketAddress address)
+Create a storage backend talking to a memcached instance
+ listening on the specified host and port.
+ |
+
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF cache)
+Create a storage backend using the pre-configured given
+ memcached client.
+ |
+
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ HttpCacheEntrySerializer serializer)
+Deprecated.
+
+(4.2) do not use
+ |
+
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ MemcachedCacheEntryFactory memcachedCacheEntryFactory,
+ KeyHashingScheme keyHashingScheme)
+Create a storage backend using the given memcached client and
+ applying the given cache configuration, serialization, and hashing
+ mechanisms.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpCacheEntry |
+getEntry(String url)
+Retrieves the cache entry stored under the given key
+ or null if no entry exists under that key.
+ |
+
void |
+putEntry(String url,
+ HttpCacheEntry entry)
+Store a given cache entry under the given key.
+ |
+
void |
+removeEntry(String url)
+Deletes/invalidates/removes any cache entries currently
+ stored under the given key.
+ |
+
void |
+updateEntry(String url,
+ HttpCacheUpdateCallback callback)
+Atomically applies the given callback to update an existing cache
+ entry under a given key.
+ |
+
public MemcachedHttpCacheStorage(InetSocketAddress address) + throws IOException+
address
- where the memcached daemon is runningIOException
- in case of an errorpublic MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF cache)+
cache
- client to use for communicating with memcached@Deprecated +public MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client, + CacheConfig config, + HttpCacheEntrySerializer serializer)+
MemcachedHttpCacheStorage(MemcachedClientIF, CacheConfig,
+ MemcachedCacheEntryFactory, KeyHashingScheme)
constructor.client
- how to talk to memcachedconfig
- apply HTTP cache-related optionsserializer
- ignoredpublic MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client, + CacheConfig config, + MemcachedCacheEntryFactory memcachedCacheEntryFactory, + KeyHashingScheme keyHashingScheme)+
client
- how to talk to memcachedconfig
- apply HTTP cache-related optionsmemcachedCacheEntryFactory
- Factory pattern used for obtaining
+ instances of alternative cache entry serialization mechanismskeyHashingScheme
- how to map higher-level logical "storage keys"
+ onto "cache keys" suitable for use with memcachedpublic void putEntry(String url, + HttpCacheEntry entry) + throws IOException+
HttpCacheStorage
putEntry
in interface HttpCacheStorage
url
- where in the cache to store the entryentry
- cached response to storeIOException
public HttpCacheEntry getEntry(String url) + throws IOException+
HttpCacheStorage
getEntry
in interface HttpCacheStorage
url
- cache keyHttpCacheEntry
or null
if no
+ entry existsIOException
public void removeEntry(String url) + throws IOException+
HttpCacheStorage
removeEntry
in interface HttpCacheStorage
IOException
public void updateEntry(String url, + HttpCacheUpdateCallback callback) + throws HttpCacheUpdateException, + IOException+
HttpCacheStorage
updateEntry
in interface HttpCacheStorage
url
- indicates which entry to modifycallback
- performs the update; see
+ HttpCacheUpdateCallback
for details, but roughly the
+ callback expects to be handed the current entry and will return
+ the new value for the entry.HttpCacheUpdateException
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedKeyHashingException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedKeyHashingException.html new file mode 100644 index 0000000..46ad36f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedKeyHashingException.html @@ -0,0 +1,260 @@ + + + + + + +public class MemcachedKeyHashingException +extends RuntimeException+
Constructor and Description | +
---|
MemcachedKeyHashingException(Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedSerializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedSerializationException.html new file mode 100644 index 0000000..7fb8f8d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/MemcachedSerializationException.html @@ -0,0 +1,259 @@ + + + + + + +public class MemcachedSerializationException +extends RuntimeException+
Constructor and Description | +
---|
MemcachedSerializationException(Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/PrefixKeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/PrefixKeyHashingScheme.html new file mode 100644 index 0000000..dfbaba8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/PrefixKeyHashingScheme.html @@ -0,0 +1,290 @@ + + + + + + +public class PrefixKeyHashingScheme +extends Object +implements KeyHashingScheme+
KeyHashingScheme
decorator that simply adds
+ a known prefix to the results of another KeyHashingScheme
.
+ Primarily useful for namespacing a shared memcached cluster, for
+ example.Constructor and Description | +
---|
PrefixKeyHashingScheme(String prefix,
+ KeyHashingScheme backingScheme)
+Creates a new
+KeyHashingScheme that prepends the given
+ prefix to the results of hashes from the given backing scheme. |
+
public PrefixKeyHashingScheme(String prefix, + KeyHashingScheme backingScheme)+
KeyHashingScheme
that prepends the given
+ prefix to the results of hashes from the given backing scheme.
+ Users should be aware that memcached has a fixed maximum key
+ length, so the combination of this prefix plus the results of
+ the backing hashing scheme must still fit within these limits.prefix
- backingScheme
- public String hash(String storageKey)+
KeyHashingScheme
hash
in interface KeyHashingScheme
storageKey
- what the higher-level HTTP cache wants to use
+ as its key for looking up cache entriesCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/SHA256KeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/SHA256KeyHashingScheme.html new file mode 100644 index 0000000..863f55d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/SHA256KeyHashingScheme.html @@ -0,0 +1,280 @@ + + + + + + +public class SHA256KeyHashingScheme +extends Object +implements KeyHashingScheme+
KeyHashingScheme
based on the
+ SHA-256
+ algorithm. The hashes produced are hex-encoded SHA-256
+ digests and hence are always 64-character hexadecimal
+ strings.public SHA256KeyHashingScheme()+
public String hash(String key)+
KeyHashingScheme
hash
in interface KeyHashingScheme
key
- what the higher-level HTTP cache wants to use
+ as its key for looking up cache entriesCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/KeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/KeyHashingScheme.html new file mode 100644 index 0000000..4e9ee00 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/KeyHashingScheme.html @@ -0,0 +1,200 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+PrefixKeyHashingScheme
+This is a
+KeyHashingScheme decorator that simply adds
+ a known prefix to the results of another KeyHashingScheme . |
+
class |
+SHA256KeyHashingScheme
+This is a
+KeyHashingScheme based on the
+ SHA-256
+ algorithm. |
+
Constructor and Description | +
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ MemcachedCacheEntryFactory memcachedCacheEntryFactory,
+ KeyHashingScheme keyHashingScheme)
+Create a storage backend using the given memcached client and
+ applying the given cache configuration, serialization, and hashing
+ mechanisms.
+ |
+
PrefixKeyHashingScheme(String prefix,
+ KeyHashingScheme backingScheme)
+Creates a new
+KeyHashingScheme that prepends the given
+ prefix to the results of hashes from the given backing scheme. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntry.html new file mode 100644 index 0000000..0b51fe5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntry.html @@ -0,0 +1,200 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MemcachedCacheEntryImpl
+Default implementation of
+MemcachedCacheEntry . |
+
Modifier and Type | +Method and Description | +
---|---|
MemcachedCacheEntry |
+MemcachedCacheEntryFactoryImpl.getMemcachedCacheEntry(String key,
+ HttpCacheEntry entry) |
+
MemcachedCacheEntry |
+MemcachedCacheEntryFactory.getMemcachedCacheEntry(String storageKey,
+ HttpCacheEntry entry)
+Creates a new
+MemcachedCacheEntry for storing the
+ given HttpCacheEntry under the given storage key. |
+
MemcachedCacheEntry |
+MemcachedCacheEntryFactoryImpl.getUnsetCacheEntry() |
+
MemcachedCacheEntry |
+MemcachedCacheEntryFactory.getUnsetCacheEntry()
+Creates an "unset"
+MemcachedCacheEntry ready to accept
+ a serialized representation via set(byte[])
+ and deserialize it into a storage key and a HttpCacheEntry . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactory.html new file mode 100644 index 0000000..a1f6e08 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactory.html @@ -0,0 +1,184 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MemcachedCacheEntryFactoryImpl
+Default implementation of
+MemcachedCacheEntryFactory . |
+
Constructor and Description | +
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
+ CacheConfig config,
+ MemcachedCacheEntryFactory memcachedCacheEntryFactory,
+ KeyHashingScheme keyHashingScheme)
+Create a storage backend using the given memcached client and
+ applying the given cache configuration, serialization, and hashing
+ mechanisms.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactoryImpl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactoryImpl.html new file mode 100644 index 0000000..3091d22 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryFactoryImpl.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryImpl.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryImpl.html new file mode 100644 index 0000000..2057fc0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedCacheEntryImpl.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedHttpCacheStorage.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedHttpCacheStorage.html new file mode 100644 index 0000000..06bf994 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedHttpCacheStorage.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedKeyHashingException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedKeyHashingException.html new file mode 100644 index 0000000..ea9432b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedKeyHashingException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedSerializationException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedSerializationException.html new file mode 100644 index 0000000..71a4d2f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/MemcachedSerializationException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/PrefixKeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/PrefixKeyHashingScheme.html new file mode 100644 index 0000000..de6778c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/PrefixKeyHashingScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/SHA256KeyHashingScheme.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/SHA256KeyHashingScheme.html new file mode 100644 index 0000000..02143ea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/class-use/SHA256KeyHashingScheme.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-frame.html new file mode 100644 index 0000000..cb32e0a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-frame.html @@ -0,0 +1,35 @@ + + + + + + +CachingHttpClient
and
+used for storing cache entries.See: Description
+Interface | +Description | +
---|---|
KeyHashingScheme | +
+ Since the
+HttpCacheStorage interface
+ expects to use variant-annotated URLs for its storage keys, but Memcached
+ has a maximum key size, we need to support mapping storage keys to cache
+ keys. |
+
MemcachedCacheEntry | +
+ Provides for serialization and deserialization of higher-level
+
+HttpCacheEntry objects into byte arrays suitable for
+ storage in memcached. |
+
MemcachedCacheEntryFactory | +
+ Creates
+MemcachedCacheEntry instances that can be used for
+ serializing and deserializing HttpCacheEntry instances for
+ storage in memcached. |
+
Class | +Description | +
---|---|
MemcachedCacheEntryFactoryImpl | +
+ Default implementation of
+MemcachedCacheEntryFactory . |
+
MemcachedCacheEntryImpl | +
+ Default implementation of
+MemcachedCacheEntry . |
+
MemcachedHttpCacheStorage | +
+
+ This class is a storage backend that uses an external memcached
+ for storing cached origin responses.
+ |
+
PrefixKeyHashingScheme | +
+ This is a
+KeyHashingScheme decorator that simply adds
+ a known prefix to the results of another KeyHashingScheme . |
+
SHA256KeyHashingScheme | +
+ This is a
+KeyHashingScheme based on the
+ SHA-256
+ algorithm. |
+
Exception | +Description | +
---|---|
MemcachedKeyHashingException | +
+ Indicates a problem encountered when trying to map a
+ logical "storage key" to a "cache key" suitable for use with
+ memcached.
+ |
+
MemcachedSerializationException | +
+ Raised when there is a problem serializing or deserializing cache
+ entries into a byte representation suitable for memcached storage.
+ |
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a CachingHttpClient
and
+used for storing cache entries.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-tree.html new file mode 100644 index 0000000..c1781aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-tree.html @@ -0,0 +1,154 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-use.html new file mode 100644 index 0000000..41bc09f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/memcached/package-use.html @@ -0,0 +1,176 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
Class and Description | +
---|
KeyHashingScheme
+ Since the
+HttpCacheStorage interface
+ expects to use variant-annotated URLs for its storage keys, but Memcached
+ has a maximum key size, we need to support mapping storage keys to cache
+ keys. |
+
MemcachedCacheEntry
+ Provides for serialization and deserialization of higher-level
+
+HttpCacheEntry objects into byte arrays suitable for
+ storage in memcached. |
+
MemcachedCacheEntryFactory
+ Creates
+MemcachedCacheEntry instances that can be used for
+ serializing and deserializing HttpCacheEntry instances for
+ storage in memcached. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-frame.html new file mode 100644 index 0000000..a1d99b5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +See: Description
+Interface | +Description | +
---|---|
FailureCache | +
+ Increase and reset the number of errors associated with a specific
+ identifier.
+ |
+
SchedulingStrategy | +
+ Specifies when revalidation requests are scheduled.
+ |
+
Class | +Description | +
---|---|
AsynchronousValidationRequest | +
+ Class used to represent an asynchronous revalidation event, such as with
+ "stale-while-revalidate"
+ |
+
BasicHttpCacheStorage | +
+ Basic
+HttpCacheStorage implementation backed by an instance of
+ LinkedHashMap . |
+
CacheConfig | +
+ Java Beans-style configuration for a
+CachingHttpClient . |
+
CacheConfig.Builder | ++ |
CachingExec | +
+
+ Request executor in the request execution chain that is responsible for
+ transparent client-side caching.
+ |
+
CachingHttpClient | +Deprecated
+ (4.3) use
+CachingHttpClientBuilder or CachingHttpClients . |
+
CachingHttpClientBuilder | +
+ Builder for
+CloseableHttpClient
+ instances capable of client-side caching. |
+
CachingHttpClients | +
+ Factory methods for
+CloseableHttpClient instances
+ capable of client-side caching. |
+
DefaultFailureCache | +
+ Implements a bounded failure cache.
+ |
+
DefaultHttpCacheEntrySerializer | +
+HttpCacheEntrySerializer implementation that uses the default (native)
+ serialization. |
+
ExponentialBackOffSchedulingStrategy | +
+ An implementation that backs off exponentially based on the number of
+ consecutive failed attempts stored in the
+
+AsynchronousValidationRequest . |
+
FailureCacheValue | +
+ The error count with a creation timestamp and its associated key.
+ |
+
FileResource | +
+ Cache resource backed by a file.
+ |
+
FileResourceFactory | +
+ Generates
+Resource instances whose body is stored in a temporary file. |
+
HeapResource | +
+ Cache resource backed by a byte array on the heap.
+ |
+
HeapResourceFactory | +
+ Generates
+Resource instances stored entirely in heap. |
+
ImmediateSchedulingStrategy | +
+ Immediately schedules any incoming validation request.
+ |
+
ManagedHttpCacheStorage | +
+
+
+HttpCacheStorage implementation capable of deallocating resources associated with
+ the cache entries. |
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching. The primary classes in this package are the
+CachingHttpClient
,
+which is a drop-in replacement for
+a DefaultHttpClient
that adds
+caching, and the CacheConfig
+class that can be used for configuring it.
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-tree.html new file mode 100644 index 0000000..787693b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-tree.html @@ -0,0 +1,164 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-use.html new file mode 100644 index 0000000..625ec6b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/cache/package-use.html @@ -0,0 +1,260 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.osgi.services | ++ |
Class and Description | +
---|
AsynchronousValidationRequest
+ Class used to represent an asynchronous revalidation event, such as with
+ "stale-while-revalidate"
+ |
+
CacheConfig
+ Java Beans-style configuration for a
+CachingHttpClient . |
+
CacheConfig.Builder | +
CachingHttpClientBuilder
+ Builder for
+CloseableHttpClient
+ instances capable of client-side caching. |
+
FailureCache
+ Increase and reset the number of errors associated with a specific
+ identifier.
+ |
+
SchedulingStrategy
+ Specifies when revalidation requests are scheduled.
+ |
+
Class and Description | +
---|
CacheConfig
+ Java Beans-style configuration for a
+CachingHttpClient . |
+
Class and Description | +
---|
CacheConfig
+ Java Beans-style configuration for a
+CachingHttpClient . |
+
Class and Description | +
---|
CachingHttpClientBuilder
+ Builder for
+CloseableHttpClient
+ instances capable of client-side caching. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AIMDBackoffManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AIMDBackoffManager.html new file mode 100644 index 0000000..4f48d5e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AIMDBackoffManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractAuthenticationHandler.html new file mode 100644 index 0000000..89c95cc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractAuthenticationHandler.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultProxyAuthenticationHandler
+Deprecated.
+
+(4.2) use
+ProxyAuthenticationStrategy |
+
class |
+DefaultTargetAuthenticationHandler
+Deprecated.
+
+(4.2) use
+TargetAuthenticationStrategy |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractHttpClient.html new file mode 100644 index 0000000..4e7338c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractHttpClient.html @@ -0,0 +1,179 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ContentEncodingHttpClient
+Deprecated.
+
+(4.2) use
+HttpClientBuilder |
+
class |
+DefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder see also CloseableHttpClient . |
+
class |
+SystemDefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractResponseHandler.html new file mode 100644 index 0000000..d4d99b4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AbstractResponseHandler.html @@ -0,0 +1,191 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ContentResponseHandler
+
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicResponseHandler
+A
+ResponseHandler that returns the response body as a String
+ for successful (2xx) responses. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AutoRetryHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AutoRetryHttpClient.html new file mode 100644 index 0000000..008d08a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/AutoRetryHttpClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicAuthCache.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicAuthCache.html new file mode 100644 index 0000000..953874d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicAuthCache.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCookieStore.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCookieStore.html new file mode 100644 index 0000000..f1d5617 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCookieStore.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCredentialsProvider.html new file mode 100644 index 0000000..285241f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicCredentialsProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicResponseHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicResponseHandler.html new file mode 100644 index 0000000..02be37e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/BasicResponseHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ClientParamsStack.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ClientParamsStack.html new file mode 100644 index 0000000..9188a61 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ClientParamsStack.html @@ -0,0 +1,170 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Constructor and Description | +
---|
ClientParamsStack(ClientParamsStack stack)
+Deprecated.
+Creates a copy of a parameter stack.
+ |
+
ClientParamsStack(ClientParamsStack stack,
+ org.apache.http.params.HttpParams aparams,
+ org.apache.http.params.HttpParams cparams,
+ org.apache.http.params.HttpParams rparams,
+ org.apache.http.params.HttpParams oparams)
+Deprecated.
+Creates a modified copy of a parameter stack.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CloseableHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CloseableHttpClient.html new file mode 100644 index 0000000..e865c67 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CloseableHttpClient.html @@ -0,0 +1,302 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.osgi.impl | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder . |
+
class |
+ContentEncodingHttpClient
+Deprecated.
+
+(4.2) use
+HttpClientBuilder |
+
class |
+DefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder see also CloseableHttpClient . |
+
class |
+SystemDefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpClient |
+HttpClientBuilder.build() |
+
static CloseableHttpClient |
+WinHttpClients.createDefault()
+Creates
+CloseableHttpClient instance with default
+ configuration. |
+
static CloseableHttpClient |
+HttpClients.createDefault()
+Creates
+CloseableHttpClient instance with default
+ configuration. |
+
static CloseableHttpClient |
+HttpClients.createMinimal()
+Creates
+CloseableHttpClient instance that implements
+ the most basic HTTP protocol support. |
+
static CloseableHttpClient |
+HttpClients.createMinimal(HttpClientConnectionManager connManager)
+Creates
+CloseableHttpClient instance that implements
+ the most basic HTTP protocol support. |
+
static CloseableHttpClient |
+WinHttpClients.createSystem()
+Creates
+CloseableHttpClient instance with default
+ configuration based on system properties. |
+
static CloseableHttpClient |
+HttpClients.createSystem()
+Creates
+CloseableHttpClient instance with default
+ configuration based on system properties. |
+
Modifier and Type | +Method and Description | +
---|---|
static CloseableHttpClient |
+CachingHttpClients.createFileBound(File cacheDir)
+Creates
+CloseableHttpClient instance that uses a file system
+ bound response cache. |
+
static CloseableHttpClient |
+CachingHttpClients.createMemoryBound()
+Creates
+CloseableHttpClient instance that uses a memory bound
+ response cache. |
+
Constructor and Description | +
---|
OSGiClientBuilderFactory(org.osgi.framework.BundleContext bundleContext,
+ Map<String,org.osgi.framework.ServiceRegistration> registeredConfigurations,
+ List<CloseableHttpClient> trackedHttpClients)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ContentEncodingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ContentEncodingHttpClient.html new file mode 100644 index 0000000..f591dd9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ContentEncodingHttpClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CookieSpecRegistries.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CookieSpecRegistries.html new file mode 100644 index 0000000..bf77f66 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/CookieSpecRegistries.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DecompressingHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DecompressingHttpClient.html new file mode 100644 index 0000000..3b30720 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DecompressingHttpClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultBackoffStrategy.html new file mode 100644 index 0000000..c5abab9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultBackoffStrategy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultClientConnectionReuseStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultClientConnectionReuseStrategy.html new file mode 100644 index 0000000..2fb2ac2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultClientConnectionReuseStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultClientConnectionReuseStrategy |
+DefaultClientConnectionReuseStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultConnectionKeepAliveStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultConnectionKeepAliveStrategy.html new file mode 100644 index 0000000..896aadb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultConnectionKeepAliveStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultConnectionKeepAliveStrategy |
+DefaultConnectionKeepAliveStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpClient.html new file mode 100644 index 0000000..29ca297 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpClient.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ContentEncodingHttpClient
+Deprecated.
+
+(4.2) use
+HttpClientBuilder |
+
class |
+SystemDefaultHttpClient
+Deprecated.
+
+(4.3) use
+HttpClientBuilder |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpRequestRetryHandler.html new file mode 100644 index 0000000..eee3920 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultHttpRequestRetryHandler.html @@ -0,0 +1,176 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+StandardHttpRequestRetryHandler
+HttpRequestRetryHandler which assumes
+ that all requested HTTP methods which should be idempotent according
+ to RFC-2616 are in fact idempotent and can be retried. |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultHttpRequestRetryHandler |
+DefaultHttpRequestRetryHandler.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultProxyAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultProxyAuthenticationHandler.html new file mode 100644 index 0000000..6e5fffe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultProxyAuthenticationHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectHandler.html new file mode 100644 index 0000000..dbb4962 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectStrategy.html new file mode 100644 index 0000000..0e57ed4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRedirectStrategy.html @@ -0,0 +1,175 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+LaxRedirectStrategy
+Lax
+RedirectStrategy implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests. |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultRedirectStrategy |
+DefaultRedirectStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRequestDirector.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRequestDirector.html new file mode 100644 index 0000000..6c00ae4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultRequestDirector.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultServiceUnavailableRetryStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultServiceUnavailableRetryStrategy.html new file mode 100644 index 0000000..ff5e285 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultServiceUnavailableRetryStrategy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultTargetAuthenticationHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultTargetAuthenticationHandler.html new file mode 100644 index 0000000..4e61389 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultTargetAuthenticationHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultUserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultUserTokenHandler.html new file mode 100644 index 0000000..7bf82c0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/DefaultUserTokenHandler.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultUserTokenHandler |
+DefaultUserTokenHandler.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/EntityEnclosingRequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/EntityEnclosingRequestWrapper.html new file mode 100644 index 0000000..9ee46c5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/EntityEnclosingRequestWrapper.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionMetrics.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionMetrics.html new file mode 100644 index 0000000..47d256f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionMetrics.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
FutureRequestExecutionMetrics |
+FutureRequestExecutionService.metrics() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionService.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionService.html new file mode 100644 index 0000000..a4f23ea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/FutureRequestExecutionService.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpAuthenticator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpAuthenticator.html new file mode 100644 index 0000000..970f12c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpAuthenticator.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClientBuilder.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClientBuilder.html new file mode 100644 index 0000000..dc1d894 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClientBuilder.html @@ -0,0 +1,585 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.osgi.impl | ++ |
org.apache.http.osgi.services | ++ |
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilder.addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp)
+Adds this protocol interceptor to the head of the protocol processing list.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp)
+Adds this protocol interceptor to the head of the protocol processing list.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp)
+Adds this protocol interceptor to the tail of the protocol processing list.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp)
+Adds this protocol interceptor to the tail of the protocol processing list.
+ |
+
static HttpClientBuilder |
+HttpClientBuilder.create() |
+
static HttpClientBuilder |
+WinHttpClients.custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
static HttpClientBuilder |
+HttpClients.custom()
+Creates builder object for construction of custom
+
+CloseableHttpClient instances. |
+
HttpClientBuilder |
+HttpClientBuilder.disableAuthCaching()
+Disables authentication scheme caching.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableAutomaticRetries()
+Disables automatic request recovery and re-execution.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableConnectionState()
+Disables connection state tracking.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableContentCompression()
+Disables automatic content decompression.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableCookieManagement()
+Disables state (cookie) management.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableDefaultUserAgent()
+Disables the default user agent set by this builder if none has been provided by the user.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.disableRedirectHandling()
+Disables automatic redirect handling.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.evictExpiredConnections()
+Makes this instance of HttpClient proactively evict expired connections from the
+ connection pool using a background thread.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.evictIdleConnections(long maxIdleTime,
+ TimeUnit maxIdleTimeUnit)
+Makes this instance of HttpClient proactively evict idle connections from the
+ connection pool using a background thread.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.evictIdleConnections(Long maxIdleTime,
+ TimeUnit maxIdleTimeUnit)
+Deprecated.
+
+(4.5) use
+evictIdleConnections(long, TimeUnit) |
+
HttpClientBuilder |
+HttpClientBuilder.setBackoffManager(BackoffManager backoffManager)
+Assigns
+BackoffManager instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
+Assigns
+ConnectionBackoffStrategy instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionManager(HttpClientConnectionManager connManager)
+Assigns
+HttpClientConnectionManager instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionManagerShared(boolean shared)
+Defines the connection manager is to be shared by multiple
+ client instances.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy reuseStrategy)
+Assigns
+ConnectionReuseStrategy instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setConnectionTimeToLive(long connTimeToLive,
+ TimeUnit connTimeToLiveTimeUnit)
+Sets maximum time to live for persistent connections
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setContentDecoderRegistry(Map<String,InputStreamFactory> contentDecoderMap)
+Assigns a map of
+InputStreamFactory s
+ to be used for automatic content decompression. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<AuthSchemeProvider> authSchemeRegistry)
+Assigns default
+AuthScheme registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig config)
+Assigns default
+ConnectionConfig . |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<CookieSpecProvider> cookieSpecRegistry)
+Assigns default
+CookieSpec registry which will
+ be used for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
+Assigns default
+CookieStore instance which will be used for
+ request execution if not explicitly set in the client execution context. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
+Assigns default
+CredentialsProvider instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultHeaders(Collection<? extends org.apache.http.Header> defaultHeaders)
+Assigns default request header values.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultRequestConfig(RequestConfig config)
+Assigns default
+RequestConfig instance which will be used
+ for request execution if not explicitly set in the client execution
+ context. |
+
HttpClientBuilder |
+HttpClientBuilder.setDefaultSocketConfig(org.apache.http.config.SocketConfig config)
+Assigns default
+SocketConfig . |
+
HttpClientBuilder |
+HttpClientBuilder.setDnsResolver(DnsResolver dnsResolver)
+Assigns
+DnsResolver instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
+Deprecated.
+
+(4.4)
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setHttpProcessor(org.apache.http.protocol.HttpProcessor httpprocessor)
+Assigns
+HttpProcessor instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
+Assigns
+ConnectionKeepAliveStrategy instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setMaxConnPerRoute(int maxConnPerRoute)
+Assigns maximum connection per route value.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setMaxConnTotal(int maxConnTotal)
+Assigns maximum total connection value.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setProxy(org.apache.http.HttpHost proxy)
+Assigns default proxy value.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
+Assigns
+AuthenticationStrategy instance for proxy
+ authentication. |
+
HttpClientBuilder |
+HttpClientBuilder.setPublicSuffixMatcher(PublicSuffixMatcher publicSuffixMatcher)
+Assigns file containing public suffix matcher.
+ |
+
HttpClientBuilder |
+HttpClientBuilder.setRedirectStrategy(RedirectStrategy redirectStrategy)
+Assigns
+RedirectStrategy instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor requestExec)
+Assigns
+HttpRequestExecutor instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setRetryHandler(HttpRequestRetryHandler retryHandler)
+Assigns
+HttpRequestRetryHandler instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setRoutePlanner(HttpRoutePlanner routePlanner)
+Assigns
+HttpRoutePlanner instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setSchemePortResolver(SchemePortResolver schemePortResolver)
+Assigns
+SchemePortResolver instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy serviceUnavailStrategy)
+Assigns
+ServiceUnavailableRetryStrategy instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setSslcontext(SSLContext sslcontext)
+Deprecated.
+
+(4.5) use
+setSSLContext(SSLContext) |
+
HttpClientBuilder |
+HttpClientBuilder.setSSLContext(SSLContext sslContext)
+Assigns
+SSLContext instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setSSLHostnameVerifier(HostnameVerifier hostnameVerifier)
+Assigns
+HostnameVerifier instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setSSLSocketFactory(LayeredConnectionSocketFactory sslSocketFactory)
+Assigns
+LayeredConnectionSocketFactory instance. |
+
HttpClientBuilder |
+HttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
+Assigns
+AuthenticationStrategy instance for target
+ host authentication. |
+
HttpClientBuilder |
+HttpClientBuilder.setUserAgent(String userAgent)
+Assigns
+User-Agent value. |
+
HttpClientBuilder |
+HttpClientBuilder.setUserTokenHandler(UserTokenHandler userTokenHandler)
+Assigns
+UserTokenHandler instance. |
+
HttpClientBuilder |
+HttpClientBuilder.useSystemProperties()
+Use system properties when creating and configuring default
+ implementations.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CachingHttpClientBuilder
+Builder for
+CloseableHttpClient
+ instances capable of client-side caching. |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+OSGiClientBuilderFactory.newBuilder()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+HttpClientBuilderFactory.newBuilder() |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClients.html new file mode 100644 index 0000000..d84911a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpClients.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpRequestFutureTask.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpRequestFutureTask.html new file mode 100644 index 0000000..b3ff06a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/HttpRequestFutureTask.html @@ -0,0 +1,172 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler)
+Schedule a request for execution.
+ |
+
<T> HttpRequestFutureTask<T> |
+FutureRequestExecutionService.execute(HttpUriRequest request,
+ org.apache.http.protocol.HttpContext context,
+ ResponseHandler<T> responseHandler,
+ org.apache.http.concurrent.FutureCallback<T> callback)
+Schedule a request for execution.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/IdleConnectionEvictor.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/IdleConnectionEvictor.html new file mode 100644 index 0000000..e0cc77e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/IdleConnectionEvictor.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/LaxRedirectStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/LaxRedirectStrategy.html new file mode 100644 index 0000000..1eaf3ac --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/LaxRedirectStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static LaxRedirectStrategy |
+LaxRedirectStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NoopUserTokenHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NoopUserTokenHandler.html new file mode 100644 index 0000000..9e5f9f8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NoopUserTokenHandler.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static NoopUserTokenHandler |
+NoopUserTokenHandler.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NullBackoffStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NullBackoffStrategy.html new file mode 100644 index 0000000..7b14a99 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/NullBackoffStrategy.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyAuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyAuthenticationStrategy.html new file mode 100644 index 0000000..284aee0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyAuthenticationStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static ProxyAuthenticationStrategy |
+ProxyAuthenticationStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyClient.html new file mode 100644 index 0000000..e72c9b8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/ProxyClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RedirectLocations.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RedirectLocations.html new file mode 100644 index 0000000..b286864 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RedirectLocations.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RequestWrapper.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RequestWrapper.html new file mode 100644 index 0000000..87ab3aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RequestWrapper.html @@ -0,0 +1,224 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+EntityEnclosingRequestWrapper
+Deprecated.
+
+(4.3) do not use.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected RequestWrapper |
+RoutedRequest.request
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RequestWrapper |
+RoutedRequest.getRequest()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+DefaultRequestDirector.rewriteRequestURI(RequestWrapper request,
+ HttpRoute route)
+Deprecated.
+ |
+
Constructor and Description | +
---|
RoutedRequest(RequestWrapper req,
+ HttpRoute route)
+Deprecated.
+Creates a new routed request.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RoutedRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RoutedRequest.html new file mode 100644 index 0000000..f080aeb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/RoutedRequest.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RoutedRequest |
+DefaultRequestDirector.handleResponse(RoutedRequest roureq,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Analyzes a response to check need for a followup.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected RoutedRequest |
+DefaultRequestDirector.handleResponse(RoutedRequest roureq,
+ org.apache.http.HttpResponse response,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Analyzes a response to check need for a followup.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/StandardHttpRequestRetryHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/StandardHttpRequestRetryHandler.html new file mode 100644 index 0000000..f5ca5e6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/StandardHttpRequestRetryHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultCredentialsProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultCredentialsProvider.html new file mode 100644 index 0000000..0f27038 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultCredentialsProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultHttpClient.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultHttpClient.html new file mode 100644 index 0000000..cd4b2d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/SystemDefaultHttpClient.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TargetAuthenticationStrategy.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TargetAuthenticationStrategy.html new file mode 100644 index 0000000..099c965 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TargetAuthenticationStrategy.html @@ -0,0 +1,159 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static TargetAuthenticationStrategy |
+TargetAuthenticationStrategy.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TunnelRefusedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TunnelRefusedException.html new file mode 100644 index 0000000..df64d4a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/TunnelRefusedException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/WinHttpClients.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/WinHttpClients.html new file mode 100644 index 0000000..e5e4bbf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/class-use/WinHttpClients.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-frame.html new file mode 100644 index 0000000..a7f83ce --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-frame.html @@ -0,0 +1,70 @@ + + + + + + +Class | +Description | +
---|---|
AbstractAuthenticationHandler | +Deprecated
+ (4.2) use
+AuthenticationStrategy |
+
AbstractHttpClient | +Deprecated
+ (4.3) use
+HttpClientBuilder . |
+
AbstractResponseHandler<T> | +
+ A generic
+ResponseHandler that works with the response entity
+ for successful (2xx) responses. |
+
AIMDBackoffManager | +
+ The
+AIMDBackoffManager applies an additive increase,
+ multiplicative decrease (AIMD) to managing a dynamic limit to
+ the number of connections allowed to a given host. |
+
AutoRetryHttpClient | +Deprecated
+ (4.3) use
+HttpClientBuilder . |
+
BasicAuthCache | +
+ Default implementation of
+AuthCache . |
+
BasicCookieStore | +
+ Default implementation of
+CookieStore |
+
BasicCredentialsProvider | +
+ Default implementation of
+CredentialsProvider . |
+
BasicResponseHandler | +
+ A
+ResponseHandler that returns the response body as a String
+ for successful (2xx) responses. |
+
ClientParamsStack | +Deprecated
+ (4.3) use configuration classes provided 'org.apache.http.config'
+ and 'org.apache.http.client.config'
+ |
+
CloseableHttpClient | +
+ Base implementation of
+HttpClient that also implements Closeable . |
+
ContentEncodingHttpClient | +Deprecated
+ (4.2) use
+HttpClientBuilder |
+
CookieSpecRegistries | ++ |
DecompressingHttpClient | +Deprecated
+ (4.3) use
+HttpClientBuilder |
+
DefaultBackoffStrategy | +
+ This
+ConnectionBackoffStrategy backs off either for a raw
+ network socket or connection timeout or if the server explicitly
+ sends a 503 (Service Unavailable) response. |
+
DefaultClientConnectionReuseStrategy | ++ |
DefaultConnectionKeepAliveStrategy | +
+ Default implementation of a strategy deciding duration
+ that a connection can remain idle.
+ |
+
DefaultHttpClient | +Deprecated
+ (4.3) use
+HttpClientBuilder see also CloseableHttpClient . |
+
DefaultHttpRequestRetryHandler | +
+ The default
+HttpRequestRetryHandler used by request executors. |
+
DefaultProxyAuthenticationHandler | +Deprecated
+ (4.2) use
+ProxyAuthenticationStrategy |
+
DefaultRedirectHandler | +Deprecated
+ (4.1) use
+DefaultRedirectStrategy . |
+
DefaultRedirectStrategy | +
+ Default implementation of
+RedirectStrategy . |
+
DefaultRequestDirector | +Deprecated
+ Do not use.
+ |
+
DefaultServiceUnavailableRetryStrategy | +
+ Default implementation of the
+ServiceUnavailableRetryStrategy interface. |
+
DefaultTargetAuthenticationHandler | +Deprecated
+ (4.2) use
+TargetAuthenticationStrategy |
+
DefaultUserTokenHandler | +
+ Default implementation of
+UserTokenHandler . |
+
EntityEnclosingRequestWrapper | +Deprecated
+ (4.3) do not use.
+ |
+
FutureRequestExecutionMetrics | +
+ Collection of different counters used to gather metrics for
+FutureRequestExecutionService . |
+
FutureRequestExecutionService | +
+ HttpAsyncClientWithFuture wraps calls to execute with a
+HttpRequestFutureTask
+ and schedules them using the provided executor service. |
+
HttpAuthenticator | +Deprecated
+ (4.3) reserved for internal use.
+ |
+
HttpClientBuilder | +
+ Builder for
+CloseableHttpClient instances. |
+
HttpClients | +
+ Factory methods for
+CloseableHttpClient instances. |
+
HttpRequestFutureTask<V> | +
+ FutureTask implementation that wraps a HttpAsyncClientCallable and exposes various task
+ specific metrics.
+ |
+
IdleConnectionEvictor | +
+ This class maintains a background thread to enforce an eviction policy for expired / idle
+ persistent connections kept alive in the connection pool.
+ |
+
LaxRedirectStrategy | +
+ Lax
+RedirectStrategy implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests. |
+
NoopUserTokenHandler | +
+ Noop implementation of
+UserTokenHandler that always returns null . |
+
NullBackoffStrategy | +
+ This is a
+ConnectionBackoffStrategy that never backs off,
+ for compatibility with existing behavior. |
+
ProxyAuthenticationStrategy | +
+ Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
ProxyClient | +
+ ProxyClient can be used to establish a tunnel via an HTTP proxy.
+ |
+
RedirectLocations | +
+ This class represents a collection of
+URI s used
+ as redirect locations. |
+
RequestWrapper | +Deprecated
+ (4.3) do not use.
+ |
+
RoutedRequest | +Deprecated
+ (4.3) do not use.
+ |
+
StandardHttpRequestRetryHandler | +
+HttpRequestRetryHandler which assumes
+ that all requested HTTP methods which should be idempotent according
+ to RFC-2616 are in fact idempotent and can be retried. |
+
SystemDefaultCredentialsProvider | +
+ Implementation of
+CredentialsProvider backed by standard
+ JRE Authenticator . |
+
SystemDefaultHttpClient | +Deprecated
+ (4.3) use
+HttpClientBuilder |
+
TargetAuthenticationStrategy | +
+ Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
WinHttpClients | +
+ Factory methods for
+CloseableHttpClient instances configured to use integrated
+ Windows authentication by default. |
+
Exception | +Description | +
---|---|
TunnelRefusedException | +Deprecated
+ (4.3) reserved for internal use.
+ |
+
+ The usual execution flow can be demonstrated by the code snippet below: +
++ CloseableHttpClient httpclient = HttpClients.createDefault(); + try { + HttpGet httpGet = new HttpGet("http://targethost/homepage"); + CloseableHttpResponse response = httpclient.execute(httpGet); + try { + System.out.println(response.getStatusLine()); + HttpEntity entity = response.getEntity(); + // do something useful with the response body + // and ensure it is fully consumed + EntityUtils.consume(entity); + } finally { + response.close(); + } + } finally { + httpclient.close(); + } +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-tree.html new file mode 100644 index 0000000..2f5ab53 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-tree.html @@ -0,0 +1,241 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-use.html new file mode 100644 index 0000000..1570b86 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/client/package-use.html @@ -0,0 +1,368 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.osgi.impl | ++ |
org.apache.http.osgi.services | ++ |
Class and Description | +
---|
AbstractResponseHandler
+ A generic
+ResponseHandler that works with the response entity
+ for successful (2xx) responses. |
+
Class and Description | +
---|
AbstractAuthenticationHandler
+ Deprecated.
+
+(4.2) use
+AuthenticationStrategy |
+
AbstractHttpClient
+ Deprecated.
+
+(4.3) use
+HttpClientBuilder . |
+
AbstractResponseHandler
+ A generic
+ResponseHandler that works with the response entity
+ for successful (2xx) responses. |
+
ClientParamsStack
+ Deprecated.
+
+(4.3) use configuration classes provided 'org.apache.http.config'
+ and 'org.apache.http.client.config'
+ |
+
CloseableHttpClient
+ Base implementation of
+HttpClient that also implements Closeable . |
+
DefaultClientConnectionReuseStrategy | +
DefaultConnectionKeepAliveStrategy
+ Default implementation of a strategy deciding duration
+ that a connection can remain idle.
+ |
+
DefaultHttpClient
+ Deprecated.
+
+(4.3) use
+HttpClientBuilder see also CloseableHttpClient . |
+
DefaultHttpRequestRetryHandler
+ The default
+HttpRequestRetryHandler used by request executors. |
+
DefaultRedirectStrategy
+ Default implementation of
+RedirectStrategy . |
+
DefaultUserTokenHandler
+ Default implementation of
+UserTokenHandler . |
+
FutureRequestExecutionMetrics
+ Collection of different counters used to gather metrics for
+FutureRequestExecutionService . |
+
HttpClientBuilder
+ Builder for
+CloseableHttpClient instances. |
+
HttpRequestFutureTask
+ FutureTask implementation that wraps a HttpAsyncClientCallable and exposes various task
+ specific metrics.
+ |
+
LaxRedirectStrategy
+ Lax
+RedirectStrategy implementation
+ that automatically redirects all HEAD, GET, POST, and DELETE requests. |
+
NoopUserTokenHandler
+ Noop implementation of
+UserTokenHandler that always returns null . |
+
ProxyAuthenticationStrategy
+ Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
RequestWrapper
+ Deprecated.
+
+(4.3) do not use.
+ |
+
RoutedRequest
+ Deprecated.
+
+(4.3) do not use.
+ |
+
TargetAuthenticationStrategy
+ Default
+AuthenticationStrategy implementation
+ for proxy host authentication. |
+
Class and Description | +
---|
CloseableHttpClient
+ Base implementation of
+HttpClient that also implements Closeable . |
+
HttpClientBuilder
+ Builder for
+CloseableHttpClient instances. |
+
Class and Description | +
---|
CloseableHttpClient
+ Base implementation of
+HttpClient that also implements Closeable . |
+
HttpClientBuilder
+ Builder for
+CloseableHttpClient instances. |
+
Class and Description | +
---|
HttpClientBuilder
+ Builder for
+CloseableHttpClient instances. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractClientConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractClientConnAdapter.html new file mode 100644 index 0000000..85e5a0e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractClientConnAdapter.html @@ -0,0 +1,1117 @@ + + + + + + +@Deprecated +public abstract class AbstractClientConnAdapter +extends Object +implements ManagedClientConnection, org.apache.http.protocol.HttpContext+
operated
to
+ managed
client connections.
+ Read and write methods are delegated to the wrapped connection.
+ Operations affecting the connection state have to be implemented
+ by derived classes. Operations for querying the connection state
+ are delegated to the wrapped connection if there is one, or
+ return a default value if there is none.
+
+ This adapter tracks the checkpoints for reusable communication states,
+ as indicated by markReusable
and queried by
+ isMarkedReusable
.
+ All send and receive operations will automatically clear the mark.
+
+ Connection release calls are delegated to the connection manager,
+ if there is one. abortConnection
will
+ clear the reusability mark first. The connection manager is
+ expected to tolerate multiple calls to the release method.
RESERVED_PREFIX
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractClientConnAdapter(ClientConnectionManager mgr,
+ OperatedClientConnection conn)
+Deprecated.
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abortConnection()
+Deprecated.
+Releases the connection without the option of keep-alive.
+ |
+
protected void |
+assertNotAborted()
+Deprecated.
+
+(4.1) use
+assertValid(OperatedClientConnection) |
+
protected void |
+assertValid(OperatedClientConnection wrappedConn)
+Deprecated.
+Asserts that there is a valid wrapped connection to delegate to.
+ |
+
void |
+bind(Socket socket)
+Deprecated.
+Binds this connection to the given socket.
+ |
+
protected void |
+detach()
+Deprecated.
+Detaches this adapter from the wrapped connection.
+ |
+
void |
+flush()
+Deprecated.
+ |
+
Object |
+getAttribute(String id)
+Deprecated.
+ |
+
InetAddress |
+getLocalAddress()
+Deprecated.
+ |
+
int |
+getLocalPort()
+Deprecated.
+ |
+
protected ClientConnectionManager |
+getManager()
+Deprecated.
+ |
+
org.apache.http.HttpConnectionMetrics |
+getMetrics()
+Deprecated.
+ |
+
InetAddress |
+getRemoteAddress()
+Deprecated.
+ |
+
int |
+getRemotePort()
+Deprecated.
+ |
+
Socket |
+getSocket()
+Deprecated.
+Returns the underlying socket.
+ |
+
int |
+getSocketTimeout()
+Deprecated.
+ |
+
SSLSession |
+getSSLSession()
+Deprecated.
+Obtains the SSL session of the underlying connection, if any.
+ |
+
protected OperatedClientConnection |
+getWrappedConnection()
+Deprecated.
+ |
+
boolean |
+isMarkedReusable()
+Deprecated.
+Indicates whether this connection is in a reusable communication state.
+ |
+
boolean |
+isOpen()
+Deprecated.
+ |
+
protected boolean |
+isReleased()
+Deprecated.
+ |
+
boolean |
+isResponseAvailable(int timeout)
+Deprecated.
+ |
+
boolean |
+isSecure()
+Deprecated.
+Indicates whether this connection is secure.
+ |
+
boolean |
+isStale()
+Deprecated.
+ |
+
void |
+markReusable()
+Deprecated.
+Marks this connection as being in a reusable communication state.
+ |
+
void |
+receiveResponseEntity(org.apache.http.HttpResponse response)
+Deprecated.
+ |
+
org.apache.http.HttpResponse |
+receiveResponseHeader()
+Deprecated.
+ |
+
void |
+releaseConnection()
+Deprecated.
+Releases the connection with the option of keep-alive.
+ |
+
Object |
+removeAttribute(String id)
+Deprecated.
+ |
+
void |
+sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest request)
+Deprecated.
+ |
+
void |
+sendRequestHeader(org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
void |
+setAttribute(String id,
+ Object obj)
+Deprecated.
+ |
+
void |
+setIdleDuration(long duration,
+ TimeUnit unit)
+Deprecated.
+Sets the duration that this connection can remain idle before it is
+ reused.
+ |
+
void |
+setSocketTimeout(int timeout)
+Deprecated.
+ |
+
void |
+unmarkReusable()
+Deprecated.
+Marks this connection as not being in a reusable state.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRoute, getState, layerProtocol, open, setState, tunnelProxy, tunnelTarget
getId
close, shutdown
protected AbstractClientConnAdapter(ClientConnectionManager mgr, + OperatedClientConnection conn)+
marked
as reusable.mgr
- the connection manager, or null
conn
- the connection to wrap, or null
protected void detach()+
protected OperatedClientConnection getWrappedConnection()+
protected ClientConnectionManager getManager()+
@Deprecated +protected final void assertNotAborted() + throws InterruptedIOException+
assertValid(OperatedClientConnection)
InterruptedIOException
protected boolean isReleased()+
protected final void assertValid(OperatedClientConnection wrappedConn) + throws ConnectionShutdownException+
ConnectionShutdownException
- if there is no wrapped connection
+ or connection has been abortedpublic boolean isOpen()+
isOpen
in interface org.apache.http.HttpConnection
public boolean isStale()+
isStale
in interface org.apache.http.HttpConnection
public void setSocketTimeout(int timeout)+
setSocketTimeout
in interface org.apache.http.HttpConnection
public int getSocketTimeout()+
getSocketTimeout
in interface org.apache.http.HttpConnection
public org.apache.http.HttpConnectionMetrics getMetrics()+
getMetrics
in interface org.apache.http.HttpConnection
public void flush() + throws IOException+
flush
in interface org.apache.http.HttpClientConnection
IOException
public boolean isResponseAvailable(int timeout) + throws IOException+
isResponseAvailable
in interface org.apache.http.HttpClientConnection
IOException
public void receiveResponseEntity(org.apache.http.HttpResponse response) + throws org.apache.http.HttpException, + IOException+
receiveResponseEntity
in interface org.apache.http.HttpClientConnection
org.apache.http.HttpException
IOException
public org.apache.http.HttpResponse receiveResponseHeader() + throws org.apache.http.HttpException, + IOException+
receiveResponseHeader
in interface org.apache.http.HttpClientConnection
org.apache.http.HttpException
IOException
public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest request) + throws org.apache.http.HttpException, + IOException+
sendRequestEntity
in interface org.apache.http.HttpClientConnection
org.apache.http.HttpException
IOException
public void sendRequestHeader(org.apache.http.HttpRequest request) + throws org.apache.http.HttpException, + IOException+
sendRequestHeader
in interface org.apache.http.HttpClientConnection
org.apache.http.HttpException
IOException
public InetAddress getLocalAddress()+
getLocalAddress
in interface org.apache.http.HttpInetConnection
public int getLocalPort()+
getLocalPort
in interface org.apache.http.HttpInetConnection
public InetAddress getRemoteAddress()+
getRemoteAddress
in interface org.apache.http.HttpInetConnection
public int getRemotePort()+
getRemotePort
in interface org.apache.http.HttpInetConnection
public boolean isSecure()+
ManagedClientConnection
isSecure
in interface HttpRoutedConnection
isSecure
in interface ManagedClientConnection
true
if this connection is secure,
+ false
otherwisepublic void bind(Socket socket) + throws IOException+
ManagedHttpClientConnection
bind
in interface ManagedHttpClientConnection
socket
- the socket to bind the connection to.IOException
public Socket getSocket()+
ManagedHttpClientConnection
getSocket
in interface ManagedHttpClientConnection
public SSLSession getSSLSession()+
ManagedClientConnection
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.
+
+ Note: Whether the underlying socket is an SSL socket
+ can not necessarily be determined via ManagedClientConnection.isSecure()
.
+ Plain sockets may be considered secure, for example if they are
+ connected to a known host in the same network segment.
+ On the other hand, SSL sockets may be considered insecure,
+ for example depending on the chosen cipher suite.
+
getSSLSession
in interface HttpRoutedConnection
getSSLSession
in interface ManagedClientConnection
getSSLSession
in interface ManagedHttpClientConnection
null
otherwisepublic void markReusable()+
ManagedClientConnection
+ A reusable communication state is necessary but not sufficient
+ for the connection to be reused.
+ A route
mismatch, the connection being closed,
+ or other circumstances might prevent reuse.
+
markReusable
in interface ManagedClientConnection
public void unmarkReusable()+
ManagedClientConnection
reuse strategy
.
+
+ Note:
+ It is not necessary to call here before writing to
+ or reading from this connection. Communication attempts will
+ automatically unmark the state as non-reusable. It can then
+ be switched back using markReusable
.
+
unmarkReusable
in interface ManagedClientConnection
public boolean isMarkedReusable()+
ManagedClientConnection
markReusable
and
+ unmarkReusable
for details.isMarkedReusable
in interface ManagedClientConnection
true
if this connection is marked as being in
+ a reusable communication state,
+ false
otherwisepublic void setIdleDuration(long duration, + TimeUnit unit)+
ManagedClientConnection
setIdleDuration
in interface ManagedClientConnection
public void releaseConnection()+
ConnectionReleaseTrigger
abortConnection
for a hard release. The
+ connection may be reused as specified by the duration.releaseConnection
in interface ConnectionReleaseTrigger
public void abortConnection()+
ConnectionReleaseTrigger
ConnectionReleaseTrigger.releaseConnection()
for a graceful release.abortConnection
in interface ConnectionReleaseTrigger
public Object getAttribute(String id)+
getAttribute
in interface org.apache.http.protocol.HttpContext
public Object removeAttribute(String id)+
removeAttribute
in interface org.apache.http.protocol.HttpContext
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPoolEntry.html new file mode 100644 index 0000000..03dff5a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPoolEntry.html @@ -0,0 +1,558 @@ + + + + + + +@Deprecated +public abstract class AbstractPoolEntry +extends Object+
adapter
.
+ The adapter is handed out to applications that obtain a connection.
+ The pool entry stores the underlying connection and tracks the
+ route
established.
+ The adapter delegates methods for establishing the route to
+ its pool entry.
+ + If the managed connections is released or revoked, the adapter + gets disconnected, but the pool entry still contains the + underlying connection and the established route.
Modifier and Type | +Field and Description | +
---|---|
protected OperatedClientConnection |
+connection
+Deprecated.
+The underlying connection being pooled or used.
+ |
+
protected ClientConnectionOperator |
+connOperator
+Deprecated.
+The connection operator.
+ |
+
protected HttpRoute |
+route
+Deprecated.
+The route for which this entry gets allocated.
+ |
+
protected Object |
+state
+Deprecated.
+Connection state object
+ |
+
protected RouteTracker |
+tracker
+Deprecated.
+The tracked route, or
+null before tracking starts. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractPoolEntry(ClientConnectionOperator connOperator,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+getState()
+Deprecated.
+Returns the state object associated with this pool entry.
+ |
+
void |
+layerProtocol(org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Layers a protocol on top of an established tunnel.
+ |
+
void |
+open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens the underlying connection.
+ |
+
void |
+setState(Object state)
+Deprecated.
+Assigns a state object to this pool entry.
+ |
+
protected void |
+shutdownEntry()
+Deprecated.
+Shuts down the entry.
+ |
+
void |
+tunnelProxy(org.apache.http.HttpHost next,
+ boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Tracks tunnelling of the connection to a chained proxy.
+ |
+
void |
+tunnelTarget(boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Tracks tunnelling of the connection to the target.
+ |
+
protected final ClientConnectionOperator connOperator+
protected final OperatedClientConnection connection+
protected volatile HttpRoute route+
protected volatile Object state+
protected volatile RouteTracker tracker+
null
before tracking starts.protected AbstractPoolEntry(ClientConnectionOperator connOperator, + HttpRoute route)+
connOperator
- the Connection Operator for this entryroute
- the planned route for the connection,
+ or null
public Object getState()+
public void setState(Object state)+
state
- The state objectpublic void open(HttpRoute route, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
route
- the route along which to open the connectioncontext
- the context for opening the connectionparams
- the parameters for opening the connectionIOException
- in case of a problempublic void tunnelTarget(boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
secure
- true
if the tunnel should be
+ considered secure, false
otherwiseparams
- the parameters for tunnelling the connectionIOException
- in case of a problempublic void tunnelProxy(org.apache.http.HttpHost next, + boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
next
- the proxy to which the tunnel was established.
+ See ManagedClientConnection.tunnelProxy
+ for details.secure
- true
if the tunnel should be
+ considered secure, false
otherwiseparams
- the parameters for tunnelling the connectionIOException
- in case of a problempublic void layerProtocol(org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
context
- the context for layeringparams
- the parameters for layeringIOException
- in case of a problemprotected void shutdownEntry()+
open(HttpRoute, HttpContext, HttpParams)
is in progress,
+ this will cause that open to possibly throw an IOException
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPooledConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPooledConnAdapter.html new file mode 100644 index 0000000..cace4fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/AbstractPooledConnAdapter.html @@ -0,0 +1,674 @@ + + + + + + +@Deprecated +public abstract class AbstractPooledConnAdapter +extends AbstractClientConnAdapter+
entries
to
+ managed
+ client connections.
+ The connection in the pool entry is used to initialize the base class.
+ In addition, methods to establish a route are delegated to the
+ pool entry. shutdown
and close
+ will clear the tracked route in the pool entry and call the
+ respective method of the wrapped connection.Modifier and Type | +Field and Description | +
---|---|
protected AbstractPoolEntry |
+poolEntry
+Deprecated.
+The wrapped pool entry.
+ |
+
RESERVED_PREFIX
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractPooledConnAdapter(ClientConnectionManager manager,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+assertAttached()
+Deprecated.
+
+(4.1) use
+assertValid(AbstractPoolEntry) |
+
protected void |
+assertValid(AbstractPoolEntry entry)
+Deprecated.
+Asserts that there is a valid pool entry.
+ |
+
void |
+close()
+Deprecated.
+ |
+
protected void |
+detach()
+Deprecated.
+Detaches this adapter from the wrapped connection.
+ |
+
String |
+getId()
+Deprecated.
+Returns connection ID which is expected to be unique
+ for the life span of the connection manager.
+ |
+
protected AbstractPoolEntry |
+getPoolEntry()
+Deprecated.
+
+(4.0.1)
+ |
+
HttpRoute |
+getRoute()
+Deprecated.
+Obtains the current route of this connection.
+ |
+
Object |
+getState()
+Deprecated.
+Returns the state object associated with this connection.
+ |
+
void |
+layerProtocol(org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Layers a new protocol on top of a
+tunnelled
+ connection. |
+
void |
+open(HttpRoute route,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens this connection according to the given route.
+ |
+
void |
+setState(Object state)
+Deprecated.
+Assigns a state object to this connection.
+ |
+
void |
+shutdown()
+Deprecated.
+ |
+
void |
+tunnelProxy(org.apache.http.HttpHost next,
+ boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Indicates that a tunnel to an intermediate proxy has been established.
+ |
+
void |
+tunnelTarget(boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Indicates that a tunnel to the target has been established.
+ |
+
abortConnection, assertNotAborted, assertValid, bind, flush, getAttribute, getLocalAddress, getLocalPort, getManager, getMetrics, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, getSSLSession, getWrappedConnection, isMarkedReusable, isOpen, isReleased, isResponseAvailable, isSecure, isStale, markReusable, receiveResponseEntity, receiveResponseHeader, releaseConnection, removeAttribute, sendRequestEntity, sendRequestHeader, setAttribute, setIdleDuration, setSocketTimeout, unmarkReusable
protected volatile AbstractPoolEntry poolEntry+
protected AbstractPooledConnAdapter(ClientConnectionManager manager, + AbstractPoolEntry entry)+
manager
- the connection managerentry
- the pool entry for the connection being wrappedpublic String getId()+
ManagedHttpClientConnection
@Deprecated +protected AbstractPoolEntry getPoolEntry()+
null
if detachedprotected void assertValid(AbstractPoolEntry entry)+
ConnectionShutdownException
- if there is no pool entry
+ or connection has been abortedAbstractClientConnAdapter.assertValid(OperatedClientConnection)
@Deprecated +protected final void assertAttached()+
assertValid(AbstractPoolEntry)
protected void detach()+
detach
in class AbstractClientConnAdapter
public HttpRoute getRoute()+
ManagedClientConnection
null
if not connectedpublic void open(HttpRoute route, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
ManagedClientConnection
route
- the route along which to open. It will be opened to
+ the first proxy if present, or directly to the target.context
- the context for opening this connectionparams
- the parameters for opening this connectionIOException
- in case of a problempublic void tunnelTarget(boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
ManagedClientConnection
open
.
+ Subsequently, layerProtocol
can be called
+ to layer the TLS/SSL protocol on top of the tunnelled connection.
+ + Note: In HttpClient 3, a call to the corresponding method + would automatically trigger the layering of the TLS/SSL protocol. + This is not the case anymore, you can establish a tunnel without + layering a new protocol over the connection. +
secure
- true
if the tunnel should be considered
+ secure, false
otherwiseparams
- the parameters for tunnelling this connectionIOException
- in case of a problempublic void tunnelProxy(org.apache.http.HttpHost next, + boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
ManagedClientConnection
ManagedClientConnection.tunnelTarget(boolean, org.apache.http.params.HttpParams)
.next
- the proxy to which the tunnel was established.
+ This is not the proxy through which
+ the tunnel was established, but the new end point
+ of the tunnel. The tunnel does not yet
+ reach to the target, use ManagedClientConnection.tunnelTarget(boolean, org.apache.http.params.HttpParams)
+ to indicate an end-to-end tunnel.secure
- true
if the connection should be
+ considered secure, false
otherwiseparams
- the parameters for tunnelling this connectionIOException
- in case of a problempublic void layerProtocol(org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
ManagedClientConnection
tunnelled
+ connection. This is typically used to create a TLS/SSL connection
+ through a proxy.
+ The route is the one previously passed to open
.
+ It is not guaranteed that the layered connection is
+ secure
.context
- the context for layering on top of this connectionparams
- the parameters for layering on top of this connectionIOException
- in case of a problempublic void close() + throws IOException+
IOException
public void shutdown() + throws IOException+
IOException
public Object getState()+
ManagedClientConnection
public void setState(Object state)+
ManagedClientConnection
state
- The state objectCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicClientConnectionManager.html new file mode 100644 index 0000000..3be6018 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicClientConnectionManager.html @@ -0,0 +1,541 @@ + + + + + + +BasicHttpClientConnectionManager
.@Contract(threading=SAFE) +@Deprecated +public class BasicClientConnectionManager +extends Object +implements ClientConnectionManager+
+ This connection manager will make an effort to reuse the connection for subsequent requests
+ with the same route
. It will, however, close the existing connection and
+ open it for the given route, if the route of the persistent connection does not match that
+ of the connection request. If the connection has been already been allocated
+ IllegalStateException
is thrown.
+
+ This connection manager implementation should be used inside an EJB container instead of
+ PoolingClientConnectionManager
.
+
Modifier and Type | +Field and Description | +
---|---|
static String |
+MISUSE_MESSAGE
+Deprecated.
+The message to be logged on multiple allocation.
+ |
+
Constructor and Description | +
---|
BasicClientConnectionManager()
+Deprecated.
+ |
+
BasicClientConnectionManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new simple connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Deprecated.
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections in the pool.
+ |
+
protected ClientConnectionOperator |
+createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+ |
+
protected void |
+finalize()
+Deprecated.
+ |
+
SchemeRegistry |
+getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
void |
+releaseConnection(ManagedClientConnection conn,
+ long keepalive,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
ClientConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+shutdown()
+Deprecated.
+Shuts down this connection manager and releases allocated resources.
+ |
+
public static final String MISUSE_MESSAGE+
public BasicClientConnectionManager(SchemeRegistry schreg)+
schreg
- the scheme registrypublic BasicClientConnectionManager()+
protected void finalize() + throws Throwable+
public SchemeRegistry getSchemeRegistry()+
ClientConnectionManager
getSchemeRegistry
in interface ClientConnectionManager
null
protected ClientConnectionOperator createConnectionOperator(SchemeRegistry schreg)+
public final ClientConnectionRequest requestConnection(HttpRoute route, + Object state)+
ClientConnectionManager
ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.requestConnection
in interface ClientConnectionManager
public void releaseConnection(ManagedClientConnection conn, + long keepalive, + TimeUnit timeUnit)+
ClientConnectionManager
releaseConnection
in interface ClientConnectionManager
conn
- the connection to releasekeepalive
- the duration of time this connection is valid for reusetimeUnit
- the unit of time validDuration is measured inClientConnectionManager.closeExpiredConnections()
public void closeExpiredConnections()+
ClientConnectionManager
closeExpiredConnections
in interface ClientConnectionManager
public void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
ClientConnectionManager
closeIdleConnections
in interface ClientConnectionManager
idletime
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
ClientConnectionManager.closeExpiredConnections()
public void shutdown()+
ClientConnectionManager
shutdown
in interface ClientConnectionManager
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicHttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicHttpClientConnectionManager.html new file mode 100644 index 0000000..b78c62e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/BasicHttpClientConnectionManager.html @@ -0,0 +1,666 @@ + + + + + + +@Contract(threading=SAFE_CONDITIONAL) +public class BasicHttpClientConnectionManager +extends Object +implements HttpClientConnectionManager, Closeable+
+ This connection manager will make an effort to reuse the connection for subsequent requests
+ with the same route
. It will, however, close the existing connection and
+ open it for the given route, if the route of the persistent connection does not match that
+ of the connection request. If the connection has been already been allocated
+ IllegalStateException
is thrown.
+
+ This connection manager implementation should be used inside an EJB container instead of
+ PoolingHttpClientConnectionManager
.
+
Constructor and Description | +
---|
BasicHttpClientConnectionManager() |
+
BasicHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory) |
+
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry) |
+
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory) |
+
BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+close() |
+
void |
+closeExpiredConnections()
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Closes idle connections in the pool.
+ |
+
void |
+connect(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context)
+Connects the underlying connection socket to the connection target in case
+ of a direct route or to the first proxy hop in case of a route via a proxy
+ (or multiple proxies).
+ |
+
protected void |
+finalize() |
+
org.apache.http.config.ConnectionConfig |
+getConnectionConfig() |
+
org.apache.http.config.SocketConfig |
+getSocketConfig() |
+
void |
+releaseConnection(org.apache.http.HttpClientConnection conn,
+ Object state,
+ long keepalive,
+ TimeUnit timeUnit)
+Releases the connection back to the manager making it potentially
+ re-usable by other consumers.
+ |
+
ConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Returns a new
+ConnectionRequest , from which a
+ HttpClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+routeComplete(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Marks the connection as fully established with all its intermediate
+ hops completed.
+ |
+
void |
+setConnectionConfig(org.apache.http.config.ConnectionConfig connConfig) |
+
void |
+setSocketConfig(org.apache.http.config.SocketConfig socketConfig) |
+
void |
+shutdown()
+Shuts down this connection manager and releases allocated resources.
+ |
+
void |
+upgrade(org.apache.http.HttpClientConnection conn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Upgrades the underlying connection socket to TLS/SSL (or another layering
+ protocol) after having executed
+CONNECT method to all
+ intermediate proxy hops |
+
public BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, + SchemePortResolver schemePortResolver, + DnsResolver dnsResolver)+
public BasicHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)+
public BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)+
public BasicHttpClientConnectionManager(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry)+
public BasicHttpClientConnectionManager()+
protected void finalize() + throws Throwable+ +
public void close()+
close
in interface Closeable
close
in interface AutoCloseable
public org.apache.http.config.SocketConfig getSocketConfig()+
public void setSocketConfig(org.apache.http.config.SocketConfig socketConfig)+
public org.apache.http.config.ConnectionConfig getConnectionConfig()+
public void setConnectionConfig(org.apache.http.config.ConnectionConfig connConfig)+
public final ConnectionRequest requestConnection(HttpRoute route, + Object state)+
HttpClientConnectionManager
ConnectionRequest
, from which a
+ HttpClientConnection
can be obtained or the request can be
+ aborted.
+
+ Please note that newly allocated connections can be returned
+ in the closed state. The consumer of that connection is responsible
+ for fully establishing the route the to the connection target
+ by calling connect
in order to connect
+ directly to the target or to the first proxy hop, optionally calling
+ upgrade
method to upgrade
+ the connection after having executed CONNECT
method to
+ all intermediate proxy hops and and finally calling routeComplete
to mark the route
+ as fully completed.
+
requestConnection
in interface HttpClientConnectionManager
route
- HTTP route of the requested connection.state
- expected state of the connection or null
+ if the connection is not expected to carry any state.public void releaseConnection(org.apache.http.HttpClientConnection conn, + Object state, + long keepalive, + TimeUnit timeUnit)+
HttpClientConnectionManager
validDuration
and timeUnit
+ parameters.releaseConnection
in interface HttpClientConnectionManager
conn
- the managed connection to release.keepalive
- the duration of time this connection is valid for reuse.timeUnit
- the time unit.HttpClientConnectionManager.closeExpiredConnections()
public void connect(org.apache.http.HttpClientConnection conn, + HttpRoute route, + int connectTimeout, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
connect
in interface HttpClientConnectionManager
conn
- the managed connection.route
- the route of the connection.connectTimeout
- connect timeout in milliseconds.context
- the actual HTTP context.IOException
public void upgrade(org.apache.http.HttpClientConnection conn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
CONNECT
method to all
+ intermediate proxy hopsupgrade
in interface HttpClientConnectionManager
conn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
public void routeComplete(org.apache.http.HttpClientConnection conn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
routeComplete
in interface HttpClientConnectionManager
conn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
public void closeExpiredConnections()+
HttpClientConnectionManager
+ Open connections in the pool that have not been used for + the timespan defined when the connection was released will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision. +
closeExpiredConnections
in interface HttpClientConnectionManager
public void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
HttpClientConnectionManager
+ Open connections in the pool that have not been used for the + timespan given by the argument will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision +
++ All expired connections will also be closed. +
closeIdleConnections
in interface HttpClientConnectionManager
idletime
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
HttpClientConnectionManager.closeExpiredConnections()
public void shutdown()+
HttpClientConnectionManager
shutdown
in interface HttpClientConnectionManager
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ConnectionShutdownException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ConnectionShutdownException.html new file mode 100644 index 0000000..515bdf9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ConnectionShutdownException.html @@ -0,0 +1,269 @@ + + + + + + +public class ConnectionShutdownException +extends IllegalStateException+
Constructor and Description | +
---|
ConnectionShutdownException()
+Creates a new ConnectionShutdownException with a
+null detail message. |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnection.html new file mode 100644 index 0000000..62fb1b7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnection.html @@ -0,0 +1,869 @@ + + + + + + +ManagedHttpClientConnectionFactory
.@Deprecated +public class DefaultClientConnection +extends org.apache.http.impl.SocketHttpClientConnection +implements OperatedClientConnection, ManagedHttpClientConnection, org.apache.http.protocol.HttpContext+
RESERVED_PREFIX
Constructor and Description | +
---|
DefaultClientConnection()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Socket socket)
+Deprecated.
+Binds this connection to the given socket.
+ |
+
void |
+close()
+Deprecated.
+ |
+
protected org.apache.http.io.HttpMessageParser<org.apache.http.HttpResponse> |
+createResponseParser(org.apache.http.io.SessionInputBuffer buffer,
+ org.apache.http.HttpResponseFactory responseFactory,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected org.apache.http.io.SessionInputBuffer |
+createSessionInputBuffer(Socket socket,
+ int bufferSize,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected org.apache.http.io.SessionOutputBuffer |
+createSessionOutputBuffer(Socket socket,
+ int bufferSize,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Object |
+getAttribute(String id)
+Deprecated.
+ |
+
String |
+getId()
+Deprecated.
+Returns connection ID which is expected to be unique
+ for the life span of the connection manager.
+ |
+
Socket |
+getSocket()
+Deprecated.
+Obtains the socket for this connection.
+ |
+
SSLSession |
+getSSLSession()
+Deprecated.
+Obtains the SSL session of the underlying connection, if any.
+ |
+
org.apache.http.HttpHost |
+getTargetHost()
+Deprecated.
+Obtains the target host for this connection.
+ |
+
boolean |
+isSecure()
+Deprecated.
+Indicates whether this connection is secure.
+ |
+
void |
+openCompleted(boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Signals that the connection has been successfully open.
+ |
+
void |
+opening(Socket sock,
+ org.apache.http.HttpHost target)
+Deprecated.
+Signals that this connection is in the process of being open.
+ |
+
org.apache.http.HttpResponse |
+receiveResponseHeader()
+Deprecated.
+ |
+
Object |
+removeAttribute(String id)
+Deprecated.
+ |
+
void |
+sendRequestHeader(org.apache.http.HttpRequest request)
+Deprecated.
+ |
+
void |
+setAttribute(String id,
+ Object obj)
+Deprecated.
+ |
+
void |
+shutdown()
+Deprecated.
+Force-closes this connection.
+ |
+
void |
+update(Socket sock,
+ org.apache.http.HttpHost target,
+ boolean secure,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Updates this connection.
+ |
+
assertNotOpen, assertOpen, bind, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSocketTimeout, isOpen, setSocketTimeout, toString
createConnectionMetrics, createEntityDeserializer, createEntitySerializer, createHttpResponseFactory, createRequestWriter, doFlush, flush, getMetrics, init, isEof, isResponseAvailable, isStale, receiveResponseEntity, sendRequestEntity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
flush, isResponseAvailable, receiveResponseEntity, sendRequestEntity
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout
public DefaultClientConnection()+
public String getId()+
ManagedHttpClientConnection
getId
in interface ManagedHttpClientConnection
public final org.apache.http.HttpHost getTargetHost()+
OperatedClientConnection
+ The return value is well-defined only while the connection is open.
+ It may change even while the connection is open,
+ because of an update
.
+
getTargetHost
in interface OperatedClientConnection
public final boolean isSecure()+
OperatedClientConnection
update
.isSecure
in interface OperatedClientConnection
true
if this connection is secure,
+ false
otherwisepublic final Socket getSocket()+
OperatedClientConnection
update
.getSocket
in interface ManagedHttpClientConnection
getSocket
in interface OperatedClientConnection
getSocket
in class org.apache.http.impl.SocketHttpClientConnection
target host
public SSLSession getSSLSession()+
ManagedHttpClientConnection
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.getSSLSession
in interface ManagedHttpClientConnection
null
otherwisepublic void opening(Socket sock, + org.apache.http.HttpHost target) + throws IOException+
OperatedClientConnection
+ By calling this method, the connection can be re-initialized
+ with a new Socket instance before OperatedClientConnection.openCompleted(boolean, org.apache.http.params.HttpParams)
is called.
+ This enabled the connection to close that socket if
+ shutdown
+ is called before it is fully open. Closing an unconnected socket
+ will interrupt a thread that is blocked on the connect.
+ Otherwise, that thread will either time out on the connect,
+ or it returns successfully and then opens this connection
+ which was just shut down.
+
+ This method can be called multiple times if the connection + is layered over another protocol. Note: This method + will not close the previously used socket. It is + the caller's responsibility to close that socket if it is + no longer required. +
+ The caller must invoke OperatedClientConnection.openCompleted(boolean, org.apache.http.params.HttpParams)
in order to complete
+ the process.
opening
in interface OperatedClientConnection
sock
- the unconnected socket which is about to
+ be connected.target
- the target host of this connectionIOException
public void openCompleted(boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
OperatedClientConnection
openCompleted
in interface OperatedClientConnection
secure
- true
if this connection is secure, for
+ example if an SSLSocket
is used, or
+ false
if it is not secureparams
- parameters for this connection. The parameters will
+ be used when creating dependent objects, for example
+ to determine buffer sizes.IOException
public void shutdown() + throws IOException+
opening
was already called but
+ openCompleted
was not), the associated
+ socket that is being connected to a remote address will be closed.
+ That will interrupt a thread that is blocked on connecting
+ the socket.
+ If the connection is not yet open, this will prevent the connection
+ from being opened.shutdown
in interface org.apache.http.HttpConnection
shutdown
in class org.apache.http.impl.SocketHttpClientConnection
IOException
- in case of a problempublic void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.http.HttpConnection
close
in class org.apache.http.impl.SocketHttpClientConnection
IOException
protected org.apache.http.io.SessionInputBuffer createSessionInputBuffer(Socket socket, + int bufferSize, + org.apache.http.params.HttpParams params) + throws IOException+
createSessionInputBuffer
in class org.apache.http.impl.SocketHttpClientConnection
IOException
protected org.apache.http.io.SessionOutputBuffer createSessionOutputBuffer(Socket socket, + int bufferSize, + org.apache.http.params.HttpParams params) + throws IOException+
createSessionOutputBuffer
in class org.apache.http.impl.SocketHttpClientConnection
IOException
protected org.apache.http.io.HttpMessageParser<org.apache.http.HttpResponse> createResponseParser(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.HttpResponseFactory responseFactory, + org.apache.http.params.HttpParams params)+
createResponseParser
in class org.apache.http.impl.AbstractHttpClientConnection
public void bind(Socket socket) + throws IOException+
ManagedHttpClientConnection
bind
in interface ManagedHttpClientConnection
socket
- the socket to bind the connection to.IOException
public void update(Socket sock, + org.apache.http.HttpHost target, + boolean secure, + org.apache.http.params.HttpParams params) + throws IOException+
OperatedClientConnection
+ Note: Updating the connection will not close the + previously used socket. It is the caller's responsibility to close + that socket if it is no longer required. +
update
in interface OperatedClientConnection
sock
- the new socket for communicating with the target host,
+ or null
to continue using the old socket.
+ If null
is passed, helper objects that
+ depend on the socket should be re-used. In that case,
+ some changes in the parameters will not take effect.target
- the new target host of this connectionsecure
- true
if this connection is now secure,
+ false
if it is not secureparams
- new parameters for this connectionIOException
public org.apache.http.HttpResponse receiveResponseHeader() + throws org.apache.http.HttpException, + IOException+
receiveResponseHeader
in interface org.apache.http.HttpClientConnection
receiveResponseHeader
in class org.apache.http.impl.AbstractHttpClientConnection
org.apache.http.HttpException
IOException
public void sendRequestHeader(org.apache.http.HttpRequest request) + throws org.apache.http.HttpException, + IOException+
sendRequestHeader
in interface org.apache.http.HttpClientConnection
sendRequestHeader
in class org.apache.http.impl.AbstractHttpClientConnection
org.apache.http.HttpException
IOException
public Object getAttribute(String id)+
getAttribute
in interface org.apache.http.protocol.HttpContext
public Object removeAttribute(String id)+
removeAttribute
in interface org.apache.http.protocol.HttpContext
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnectionOperator.html new file mode 100644 index 0000000..37120ea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultClientConnectionOperator.html @@ -0,0 +1,520 @@ + + + + + + +PoolingHttpClientConnectionManager
.@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class DefaultClientConnectionOperator +extends Object +implements ClientConnectionOperator+
ClientConnectionOperator
. It uses a SchemeRegistry
+ to look up SchemeSocketFactory
objects.
+
+ This connection operator is multihome network aware and will attempt to retry failed connects
+ against all known IP addresses sequentially until the connect is successful or all known
+ addresses fail to respond. Please note the same
+ CoreConnectionPNames.CONNECTION_TIMEOUT
value will be used
+ for each connection attempt, so in the worst case the total elapsed time before timeout
+ can be CONNECTION_TIMEOUT * n
where n
is the number of IP addresses
+ of the given host. One can disable multihome support by overriding
+ the resolveHostname(String)
method and returning only one IP address for the given
+ host name.
+
+ The following parameters can be used to customize the behavior of this + class: +
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
CoreConnectionPNames.SO_TIMEOUT
CoreConnectionPNames.SO_LINGER
CoreConnectionPNames.SO_REUSEADDR
CoreConnectionPNames.TCP_NODELAY
CoreConnectionPNames.SOCKET_BUFFER_SIZE
CoreConnectionPNames.CONNECTION_TIMEOUT
CoreConnectionPNames.MAX_LINE_LENGTH
Modifier and Type | +Field and Description | +
---|---|
protected DnsResolver |
+dnsResolver
+Deprecated.
+the custom-configured DNS lookup mechanism.
+ |
+
protected SchemeRegistry |
+schemeRegistry
+Deprecated.
+The scheme registry for looking up socket factories.
+ |
+
Constructor and Description | +
---|
DefaultClientConnectionOperator(SchemeRegistry schemes)
+Deprecated.
+Creates a new client connection operator for the given scheme registry.
+ |
+
DefaultClientConnectionOperator(SchemeRegistry schemes,
+ DnsResolver dnsResolver)
+Deprecated.
+Creates a new client connection operator for the given scheme registry
+ and the given custom DNS lookup mechanism.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
OperatedClientConnection |
+createConnection()
+Deprecated.
+Creates a new connection that can be operated.
+ |
+
void |
+openConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ InetAddress local,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Opens a connection to the given target host.
+ |
+
protected void |
+prepareSocket(Socket sock,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Performs standard initializations on a newly created socket.
+ |
+
protected InetAddress[] |
+resolveHostname(String host)
+Deprecated.
+Resolves the given host name to an array of corresponding IP addresses, based on the
+ configured name service on the provided DNS resolver.
+ |
+
void |
+updateSecureConnection(OperatedClientConnection conn,
+ org.apache.http.HttpHost target,
+ org.apache.http.protocol.HttpContext context,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+Updates a connection with a layered secure connection.
+ |
+
protected final SchemeRegistry schemeRegistry+
protected final DnsResolver dnsResolver+
public DefaultClientConnectionOperator(SchemeRegistry schemes)+
schemes
- the scheme registrypublic DefaultClientConnectionOperator(SchemeRegistry schemes, + DnsResolver dnsResolver)+
schemes
- the scheme registrydnsResolver
- the custom DNS lookup mechanismpublic OperatedClientConnection createConnection()+
ClientConnectionOperator
createConnection
in interface ClientConnectionOperator
public void openConnection(OperatedClientConnection conn, + org.apache.http.HttpHost target, + InetAddress local, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
ClientConnectionOperator
openConnection
in interface ClientConnectionOperator
conn
- the connection to opentarget
- the target host to connect tolocal
- the local address to route from, or
+ null
for the defaultcontext
- the context for the connectionparams
- the parameters for the connectionIOException
- in case of a problempublic void updateSecureConnection(OperatedClientConnection conn, + org.apache.http.HttpHost target, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
ClientConnectionOperator
updateSecureConnection
in interface ClientConnectionOperator
conn
- the open connection to updatetarget
- the target host for the updated connection.
+ The connection must already be open or tunnelled
+ to the host and port, but the scheme of the target
+ will be used to create a layered connection.context
- the context for the connectionparams
- the parameters for the updated connectionIOException
- in case of a problemprotected void prepareSocket(Socket sock, + org.apache.http.protocol.HttpContext context, + org.apache.http.params.HttpParams params) + throws IOException+
sock
- the socket to preparecontext
- the context for the connectionparams
- the parameters from which to prepare the socketIOException
- in case of an IO problemprotected InetAddress[] resolveHostname(String host) + throws UnknownHostException+
host
- host name to resolveUnknownHostException
- if no IP address for the host could be determined.DnsResolver
,
+SystemDefaultDnsResolver
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpClientConnectionOperator.html new file mode 100644 index 0000000..2e445c3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpClientConnectionOperator.html @@ -0,0 +1,311 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class DefaultHttpClientConnectionOperator +extends Object +implements HttpClientConnectionOperator+
HttpClientConnectionOperator
used as default in Http client,
+ when no instance provided by user to BasicHttpClientConnectionManager
or PoolingHttpClientConnectionManager
constructor.Constructor and Description | +
---|
DefaultHttpClientConnectionOperator(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry,
+ SchemePortResolver schemePortResolver,
+ DnsResolver dnsResolver) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+connect(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ InetSocketAddress localAddress,
+ int connectTimeout,
+ org.apache.http.config.SocketConfig socketConfig,
+ org.apache.http.protocol.HttpContext context) |
+
void |
+upgrade(ManagedHttpClientConnection conn,
+ org.apache.http.HttpHost host,
+ org.apache.http.protocol.HttpContext context) |
+
public DefaultHttpClientConnectionOperator(org.apache.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry, + SchemePortResolver schemePortResolver, + DnsResolver dnsResolver)+
public void connect(ManagedHttpClientConnection conn, + org.apache.http.HttpHost host, + InetSocketAddress localAddress, + int connectTimeout, + org.apache.http.config.SocketConfig socketConfig, + org.apache.http.protocol.HttpContext context) + throws IOException+
connect
in interface HttpClientConnectionOperator
IOException
public void upgrade(ManagedHttpClientConnection conn, + org.apache.http.HttpHost host, + org.apache.http.protocol.HttpContext context) + throws IOException+
upgrade
in interface HttpClientConnectionOperator
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParser.html new file mode 100644 index 0000000..607f3c3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParser.html @@ -0,0 +1,393 @@ + + + + + + +public class DefaultHttpResponseParser
+extends org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpResponse>
+lineParser
Constructor and Description | +
---|
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer)
+Creates new instance of DefaultHttpResponseParser.
+ |
+
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
+ org.apache.http.message.LineParser parser,
+ org.apache.http.HttpResponseFactory responseFactory,
+ org.apache.http.params.HttpParams params)
+
+ |
+
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
+ org.apache.http.message.LineParser lineParser,
+ org.apache.http.HttpResponseFactory responseFactory,
+ org.apache.http.config.MessageConstraints constraints)
+Creates new instance of DefaultHttpResponseParser.
+ |
+
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
+ org.apache.http.config.MessageConstraints constraints)
+Creates new instance of DefaultHttpResponseParser.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpResponse |
+parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) |
+
protected boolean |
+reject(org.apache.http.util.CharArrayBuffer line,
+ int count) |
+
parse, parseHeaders, parseHeaders
@Deprecated +public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.message.LineParser parser, + org.apache.http.HttpResponseFactory responseFactory, + org.apache.http.params.HttpParams params)+ +
public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.message.LineParser lineParser, + org.apache.http.HttpResponseFactory responseFactory, + org.apache.http.config.MessageConstraints constraints)+
buffer
- the session input buffer.lineParser
- the line parser. If null
+ BasicLineParser.INSTANCE
will be used.responseFactory
- HTTP response factory. If null
+ DefaultHttpResponseFactory.INSTANCE
will be used.constraints
- the message constraints. If null
+ MessageConstraints.DEFAULT
will be used.public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.config.MessageConstraints constraints)+
buffer
- the session input buffer.constraints
- the message constraints. If null
+ MessageConstraints.DEFAULT
will be used.public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer)+
buffer
- the session input buffer.protected org.apache.http.HttpResponse parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) + throws IOException, + org.apache.http.HttpException+
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpResponse>
IOException
org.apache.http.HttpException
protected boolean reject(org.apache.http.util.CharArrayBuffer line, + int count)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParserFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParserFactory.html new file mode 100644 index 0000000..2594eaf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpResponseParserFactory.html @@ -0,0 +1,335 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class DefaultHttpResponseParserFactory +extends Object +implements org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse>+
Modifier and Type | +Field and Description | +
---|---|
static DefaultHttpResponseParserFactory |
+INSTANCE |
+
Constructor and Description | +
---|
DefaultHttpResponseParserFactory() |
+
DefaultHttpResponseParserFactory(org.apache.http.HttpResponseFactory responseFactory) |
+
DefaultHttpResponseParserFactory(org.apache.http.message.LineParser lineParser,
+ org.apache.http.HttpResponseFactory responseFactory) |
+
public static final DefaultHttpResponseParserFactory INSTANCE+
public DefaultHttpResponseParserFactory(org.apache.http.message.LineParser lineParser, + org.apache.http.HttpResponseFactory responseFactory)+
public DefaultHttpResponseParserFactory(org.apache.http.HttpResponseFactory responseFactory)+
public DefaultHttpResponseParserFactory()+
public org.apache.http.io.HttpMessageParser<org.apache.http.HttpResponse> create(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.config.MessageConstraints constraints)+
create
in interface org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpRoutePlanner.html new file mode 100644 index 0000000..d0941f2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultHttpRoutePlanner.html @@ -0,0 +1,351 @@ + + + + + + +DefaultRoutePlanner
@Contract(threading=SAFE) +@Deprecated +public class DefaultHttpRoutePlanner +extends Object +implements HttpRoutePlanner+
HttpRoutePlanner
. This implementation
+ is based on parameters
.
+ It will not make use of any Java system properties, nor of system or
+ browser proxy settings.
+ + The following parameters can be used to customize the behavior of this + class: +
Modifier and Type | +Field and Description | +
---|---|
protected SchemeRegistry |
+schemeRegistry
+Deprecated.
+The scheme registry.
+ |
+
Constructor and Description | +
---|
DefaultHttpRoutePlanner(SchemeRegistry schreg)
+Deprecated.
+Creates a new default route planner.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
HttpRoute |
+determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the route for a request.
+ |
+
protected final SchemeRegistry schemeRegistry+
public DefaultHttpRoutePlanner(SchemeRegistry schreg)+
schreg
- the scheme registrypublic HttpRoute determineRoute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
HttpRoutePlanner
determineRoute
in interface HttpRoutePlanner
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the subsequent execution.
+ Implementations may accept null
.org.apache.http.HttpException
- in case of a problemCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultManagedHttpClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultManagedHttpClientConnection.html new file mode 100644 index 0000000..4ded5de --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultManagedHttpClientConnection.html @@ -0,0 +1,518 @@ + + + + + + +public class DefaultManagedHttpClientConnection +extends org.apache.http.impl.DefaultBHttpClientConnection +implements ManagedHttpClientConnection, org.apache.http.protocol.HttpContext+
ManagedHttpClientConnection
implementation.RESERVED_PREFIX
Constructor and Description | +
---|
DefaultManagedHttpClientConnection(String id,
+ int bufferSize) |
+
DefaultManagedHttpClientConnection(String id,
+ int bufferSize,
+ int fragmentSizeHint,
+ CharsetDecoder charDecoder,
+ CharsetEncoder charEncoder,
+ org.apache.http.config.MessageConstraints constraints,
+ org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
+ org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
+ org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
+ org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Socket socket)
+Binds this connection to the given socket.
+ |
+
Object |
+getAttribute(String id) |
+
String |
+getId()
+Returns connection ID which is expected to be unique
+ for the life span of the connection manager.
+ |
+
Socket |
+getSocket()
+Returns the underlying socket.
+ |
+
SSLSession |
+getSSLSession()
+Obtains the SSL session of the underlying connection, if any.
+ |
+
Object |
+removeAttribute(String id) |
+
void |
+setAttribute(String id,
+ Object obj) |
+
void |
+shutdown() |
+
flush, isResponseAvailable, onRequestSubmitted, onResponseReceived, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
awaitInput, close, createInputStream, createOutputStream, doFlush, ensureOpen, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSessionInputBuffer, getSessionOutputBuffer, getSocketInputStream, getSocketOutputStream, getSocketTimeout, incrementRequestCount, incrementResponseCount, isOpen, isStale, prepareInput, prepareOutput, setSocketTimeout, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
flush, isResponseAvailable, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout
public DefaultManagedHttpClientConnection(String id, + int bufferSize, + int fragmentSizeHint, + CharsetDecoder charDecoder, + CharsetEncoder charEncoder, + org.apache.http.config.MessageConstraints constraints, + org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, + org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy, + org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, + org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)+
public DefaultManagedHttpClientConnection(String id, + int bufferSize)+
public String getId()+
ManagedHttpClientConnection
getId
in interface ManagedHttpClientConnection
public void shutdown() + throws IOException+
shutdown
in interface org.apache.http.HttpConnection
shutdown
in class org.apache.http.impl.BHttpConnectionBase
IOException
public Object getAttribute(String id)+
getAttribute
in interface org.apache.http.protocol.HttpContext
public Object removeAttribute(String id)+
removeAttribute
in interface org.apache.http.protocol.HttpContext
public void setAttribute(String id, + Object obj)+
setAttribute
in interface org.apache.http.protocol.HttpContext
public void bind(Socket socket) + throws IOException+
ManagedHttpClientConnection
bind
in interface ManagedHttpClientConnection
bind
in class org.apache.http.impl.DefaultBHttpClientConnection
socket
- the socket to bind the connection to.IOException
public Socket getSocket()+
ManagedHttpClientConnection
getSocket
in interface ManagedHttpClientConnection
getSocket
in class org.apache.http.impl.BHttpConnectionBase
public SSLSession getSSLSession()+
ManagedHttpClientConnection
SSLSocket
, the SSL session of
+ that socket is obtained. This is a potentially blocking operation.getSSLSession
in interface ManagedHttpClientConnection
null
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultProxyRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultProxyRoutePlanner.html new file mode 100644 index 0000000..e222094 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultProxyRoutePlanner.html @@ -0,0 +1,307 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class DefaultProxyRoutePlanner +extends DefaultRoutePlanner+
HttpRoutePlanner
+ that routes requests through a default proxy.Constructor and Description | +
---|
DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy) |
+
DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy,
+ SchemePortResolver schemePortResolver) |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpHost |
+determineProxy(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+This implementation returns null.
+ |
+
determineRoute
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy, + SchemePortResolver schemePortResolver)+
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy)+
protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
DefaultRoutePlanner
determineProxy
in class DefaultRoutePlanner
org.apache.http.HttpException
- may be thrown if overriddenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultResponseParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultResponseParser.html new file mode 100644 index 0000000..ab207de --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultResponseParser.html @@ -0,0 +1,341 @@ + + + + + + +DefaultHttpResponseParser
@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class DefaultResponseParser +extends org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>+
+ The following parameters can be used to customize the behavior of this + class: +
CoreConnectionPNames.MAX_HEADER_COUNT
CoreConnectionPNames.MAX_LINE_LENGTH
ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
lineParser
Constructor and Description | +
---|
DefaultResponseParser(org.apache.http.io.SessionInputBuffer buffer,
+ org.apache.http.message.LineParser parser,
+ org.apache.http.HttpResponseFactory responseFactory,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+getMaxGarbageLines(org.apache.http.params.HttpParams params)
+Deprecated.
+ |
+
protected org.apache.http.HttpMessage |
+parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer)
+Deprecated.
+ |
+
parse, parseHeaders, parseHeaders
public DefaultResponseParser(org.apache.http.io.SessionInputBuffer buffer, + org.apache.http.message.LineParser parser, + org.apache.http.HttpResponseFactory responseFactory, + org.apache.http.params.HttpParams params)+
protected int getMaxGarbageLines(org.apache.http.params.HttpParams params)+
protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) + throws IOException, + org.apache.http.HttpException+
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
IOException
org.apache.http.HttpException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultRoutePlanner.html new file mode 100644 index 0000000..a2ca5f8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultRoutePlanner.html @@ -0,0 +1,315 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class DefaultRoutePlanner +extends Object +implements HttpRoutePlanner+
HttpRoutePlanner
. It will not make use of
+ any Java system properties, nor of system or browser proxy settings.Constructor and Description | +
---|
DefaultRoutePlanner(SchemePortResolver schemePortResolver) |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpHost |
+determineProxy(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+This implementation returns null.
+ |
+
HttpRoute |
+determineRoute(org.apache.http.HttpHost host,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Determines the route for a request.
+ |
+
public DefaultRoutePlanner(SchemePortResolver schemePortResolver)+
public HttpRoute determineRoute(org.apache.http.HttpHost host, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
HttpRoutePlanner
determineRoute
in interface HttpRoutePlanner
host
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the subsequent execution.
+ Implementations may accept null
.org.apache.http.HttpException
- in case of a problemprotected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
org.apache.http.HttpException
- may be thrown if overriddenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultSchemePortResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultSchemePortResolver.html new file mode 100644 index 0000000..4d7808b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/DefaultSchemePortResolver.html @@ -0,0 +1,313 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultSchemePortResolver +extends Object +implements SchemePortResolver+
SchemePortResolver
.Modifier and Type | +Field and Description | +
---|---|
static DefaultSchemePortResolver |
+INSTANCE |
+
Constructor and Description | +
---|
DefaultSchemePortResolver() |
+
public static final DefaultSchemePortResolver INSTANCE+
public DefaultSchemePortResolver()+
public int resolve(org.apache.http.HttpHost host) + throws UnsupportedSchemeException+
SchemePortResolver
resolve
in interface SchemePortResolver
UnsupportedSchemeException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/IdleConnectionHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/IdleConnectionHandler.html new file mode 100644 index 0000000..e47f514 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/IdleConnectionHandler.html @@ -0,0 +1,357 @@ + + + + + + +@Deprecated +public class IdleConnectionHandler +extends Object+
This class is not synchronized.
ClientConnectionManager.closeIdleConnections(long, java.util.concurrent.TimeUnit)
Constructor and Description | +
---|
IdleConnectionHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+add(org.apache.http.HttpConnection connection,
+ long validDuration,
+ TimeUnit unit)
+Deprecated.
+Registers the given connection with this handler.
+ |
+
void |
+closeExpiredConnections()
+Deprecated.
+ |
+
void |
+closeIdleConnections(long idleTime)
+Deprecated.
+Closes connections that have been idle for at least the given amount of time.
+ |
+
boolean |
+remove(org.apache.http.HttpConnection connection)
+Deprecated.
+Removes the given connection from the list of connections to be closed when idle.
+ |
+
void |
+removeAll()
+Deprecated.
+Removes all connections referenced by this handler.
+ |
+
public IdleConnectionHandler()+
public void add(org.apache.http.HttpConnection connection, + long validDuration, + TimeUnit unit)+
remove(org.apache.http.HttpConnection)
or closeIdleConnections(long)
is called.connection
- the connection to addremove(org.apache.http.HttpConnection)
public boolean remove(org.apache.http.HttpConnection connection)+
connection
- public void removeAll()+
public void closeIdleConnections(long idleTime)+
idleTime
- the minimum idle time, in milliseconds, for connections to be closedpublic void closeExpiredConnections()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/InMemoryDnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/InMemoryDnsResolver.html new file mode 100644 index 0000000..6cee988 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/InMemoryDnsResolver.html @@ -0,0 +1,308 @@ + + + + + + +public class InMemoryDnsResolver +extends Object +implements DnsResolver+
DnsResolver
implementation.Constructor and Description | +
---|
InMemoryDnsResolver()
+Builds a DNS resolver that will resolve the host names against a
+ collection held in-memory.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+add(String host,
+ InetAddress... ips)
+Associates the given array of IP addresses to the given host in this DNS overrider.
+ |
+
InetAddress[] |
+resolve(String host)
+Returns the IP address for the specified host name, or null if the given
+ host is not recognized or the associated IP address cannot be used to
+ build an InetAddress instance.
+ |
+
public InMemoryDnsResolver()+
public void add(String host, + InetAddress... ips)+
host
- The host name to be associated with the given IP.ips
- array of IP addresses to be resolved by this DNS overrider to the given
+ host name.public InetAddress[] resolve(String host) + throws UnknownHostException+
resolve
in interface DnsResolver
host
- The host name to be resolved by this resolver.UnknownHostException
InetAddress
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionInputBuffer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionInputBuffer.html new file mode 100644 index 0000000..a642c74 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionInputBuffer.html @@ -0,0 +1,461 @@ + + + + + + +@Contract(threading=IMMUTABLE) +@Deprecated +public class LoggingSessionInputBuffer +extends Object +implements org.apache.http.io.SessionInputBuffer, org.apache.http.io.EofSensor+
Constructor and Description | +
---|
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
+ Wire wire)
+Deprecated.
+ |
+
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
+ Wire wire,
+ String charset)
+Deprecated.
+Create an instance that wraps the specified session input buffer.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.io.HttpTransportMetrics |
+getMetrics()
+Deprecated.
+ |
+
boolean |
+isDataAvailable(int timeout)
+Deprecated.
+ |
+
boolean |
+isEof()
+Deprecated.
+ |
+
int |
+read()
+Deprecated.
+ |
+
int |
+read(byte[] b)
+Deprecated.
+ |
+
int |
+read(byte[] b,
+ int off,
+ int len)
+Deprecated.
+ |
+
String |
+readLine()
+Deprecated.
+ |
+
int |
+readLine(org.apache.http.util.CharArrayBuffer buffer)
+Deprecated.
+ |
+
public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in, + Wire wire, + String charset)+
in
- The session input buffer.wire
- The wire log to use.charset
- protocol charset, ASCII
if null
public LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in, + Wire wire)+
public boolean isDataAvailable(int timeout) + throws IOException+
isDataAvailable
in interface org.apache.http.io.SessionInputBuffer
IOException
public int read(byte[] b, + int off, + int len) + throws IOException+
read
in interface org.apache.http.io.SessionInputBuffer
IOException
public int read() + throws IOException+
read
in interface org.apache.http.io.SessionInputBuffer
IOException
public int read(byte[] b) + throws IOException+
read
in interface org.apache.http.io.SessionInputBuffer
IOException
public String readLine() + throws IOException+
readLine
in interface org.apache.http.io.SessionInputBuffer
IOException
public int readLine(org.apache.http.util.CharArrayBuffer buffer) + throws IOException+
readLine
in interface org.apache.http.io.SessionInputBuffer
IOException
public org.apache.http.io.HttpTransportMetrics getMetrics()+
getMetrics
in interface org.apache.http.io.SessionInputBuffer
public boolean isEof()+
isEof
in interface org.apache.http.io.EofSensor
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionOutputBuffer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionOutputBuffer.html new file mode 100644 index 0000000..f1c84e1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/LoggingSessionOutputBuffer.html @@ -0,0 +1,441 @@ + + + + + + +@Contract(threading=IMMUTABLE) +@Deprecated +public class LoggingSessionOutputBuffer +extends Object +implements org.apache.http.io.SessionOutputBuffer+
Constructor and Description | +
---|
LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
+ Wire wire)
+Deprecated.
+ |
+
LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
+ Wire wire,
+ String charset)
+Deprecated.
+Create an instance that wraps the specified session output buffer.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+flush()
+Deprecated.
+ |
+
org.apache.http.io.HttpTransportMetrics |
+getMetrics()
+Deprecated.
+ |
+
void |
+write(byte[] b)
+Deprecated.
+ |
+
void |
+write(byte[] b,
+ int off,
+ int len)
+Deprecated.
+ |
+
void |
+write(int b)
+Deprecated.
+ |
+
void |
+writeLine(org.apache.http.util.CharArrayBuffer buffer)
+Deprecated.
+ |
+
void |
+writeLine(String s)
+Deprecated.
+ |
+
public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out, + Wire wire, + String charset)+
out
- The session output buffer.wire
- The Wire log to use.charset
- protocol charset, ASCII
if null
public LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out, + Wire wire)+
public void write(byte[] b, + int off, + int len) + throws IOException+
write
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void write(int b) + throws IOException+
write
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void write(byte[] b) + throws IOException+
write
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void flush() + throws IOException+
flush
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void writeLine(org.apache.http.util.CharArrayBuffer buffer) + throws IOException+
writeLine
in interface org.apache.http.io.SessionOutputBuffer
IOException
public void writeLine(String s) + throws IOException+
writeLine
in interface org.apache.http.io.SessionOutputBuffer
IOException
public org.apache.http.io.HttpTransportMetrics getMetrics()+
getMetrics
in interface org.apache.http.io.SessionOutputBuffer
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ManagedHttpClientConnectionFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ManagedHttpClientConnectionFactory.html new file mode 100644 index 0000000..a3474b6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ManagedHttpClientConnectionFactory.html @@ -0,0 +1,355 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class ManagedHttpClientConnectionFactory +extends Object +implements HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>+
ManagedHttpClientConnection
instances.Modifier and Type | +Field and Description | +
---|---|
static ManagedHttpClientConnectionFactory |
+INSTANCE |
+
Constructor and Description | +
---|
ManagedHttpClientConnectionFactory() |
+
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
+
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
+ org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
+
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
+ org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
+ org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
+ org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy) |
+
Modifier and Type | +Method and Description | +
---|---|
ManagedHttpClientConnection |
+create(HttpRoute route,
+ org.apache.http.config.ConnectionConfig config) |
+
public static final ManagedHttpClientConnectionFactory INSTANCE+
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, + org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory, + org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, + org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy)+
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, + org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)+
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)+
public ManagedHttpClientConnectionFactory()+
public ManagedHttpClientConnection create(HttpRoute route, + org.apache.http.config.ConnectionConfig config)+
create
in interface HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingClientConnectionManager.html new file mode 100644 index 0000000..63ac26f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingClientConnectionManager.html @@ -0,0 +1,724 @@ + + + + + + +PoolingHttpClientConnectionManager
.@Deprecated +@Contract(threading=SAFE_CONDITIONAL) +public class PoolingClientConnectionManager +extends Object +implements ClientConnectionManager, org.apache.http.pool.ConnPoolControl<HttpRoute>+
OperatedClientConnection
+ and is able to service connection requests from multiple execution threads.
+ Connections are pooled on a per route basis. A request for a route which
+ already the manager has persistent connections for available in the pool
+ will be services by leasing a connection from the pool rather than
+ creating a brand new connection.
+ + PoolingConnectionManager maintains a maximum limit of connection on + a per route basis and in total. Per default this implementation will + create no more than than 2 concurrent connections per given route + and no more 20 connections in total. For many real-world applications + these limits may prove too constraining, especially if they use HTTP + as a transport protocol for their services. Connection limits, however, + can be adjusted using HTTP parameters.
Constructor and Description | +
---|
PoolingClientConnectionManager()
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schreg)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schreg,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
+ long timeToLive,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
PoolingClientConnectionManager(SchemeRegistry schemeRegistry,
+ long timeToLive,
+ TimeUnit timeUnit,
+ DnsResolver dnsResolver)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Deprecated.
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idleTimeout,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections in the pool.
+ |
+
protected ClientConnectionOperator |
+createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected void |
+finalize()
+Deprecated.
+ |
+
int |
+getDefaultMaxPerRoute()
+Deprecated.
+ |
+
int |
+getMaxPerRoute(HttpRoute route)
+Deprecated.
+ |
+
int |
+getMaxTotal()
+Deprecated.
+ |
+
SchemeRegistry |
+getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
org.apache.http.pool.PoolStats |
+getStats(HttpRoute route)
+Deprecated.
+ |
+
org.apache.http.pool.PoolStats |
+getTotalStats()
+Deprecated.
+ |
+
void |
+releaseConnection(ManagedClientConnection conn,
+ long keepalive,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
ClientConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+setDefaultMaxPerRoute(int max)
+Deprecated.
+ |
+
void |
+setMaxPerRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
void |
+setMaxTotal(int max)
+Deprecated.
+ |
+
void |
+shutdown()
+Deprecated.
+Shuts down this connection manager and releases allocated resources.
+ |
+
public PoolingClientConnectionManager(SchemeRegistry schreg)+
public PoolingClientConnectionManager(SchemeRegistry schreg, + DnsResolver dnsResolver)+
public PoolingClientConnectionManager()+
public PoolingClientConnectionManager(SchemeRegistry schemeRegistry, + long timeToLive, + TimeUnit timeUnit)+
public PoolingClientConnectionManager(SchemeRegistry schemeRegistry, + long timeToLive, + TimeUnit timeUnit, + DnsResolver dnsResolver)+
protected void finalize() + throws Throwable+
protected ClientConnectionOperator createConnectionOperator(SchemeRegistry schreg)+
DefaultClientConnectionOperator
.schreg
- the scheme registry.public SchemeRegistry getSchemeRegistry()+
ClientConnectionManager
getSchemeRegistry
in interface ClientConnectionManager
null
public ClientConnectionRequest requestConnection(HttpRoute route, + Object state)+
ClientConnectionManager
ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.requestConnection
in interface ClientConnectionManager
public void releaseConnection(ManagedClientConnection conn, + long keepalive, + TimeUnit timeUnit)+
ClientConnectionManager
releaseConnection
in interface ClientConnectionManager
conn
- the connection to releasekeepalive
- the duration of time this connection is valid for reusetimeUnit
- the unit of time validDuration is measured inClientConnectionManager.closeExpiredConnections()
public void shutdown()+
ClientConnectionManager
shutdown
in interface ClientConnectionManager
public void closeIdleConnections(long idleTimeout, + TimeUnit timeUnit)+
ClientConnectionManager
closeIdleConnections
in interface ClientConnectionManager
idleTimeout
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
ClientConnectionManager.closeExpiredConnections()
public void closeExpiredConnections()+
ClientConnectionManager
closeExpiredConnections
in interface ClientConnectionManager
public int getMaxTotal()+
getMaxTotal
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setMaxTotal(int max)+
setMaxTotal
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public int getDefaultMaxPerRoute()+
getDefaultMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setDefaultMaxPerRoute(int max)+
setDefaultMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public int getMaxPerRoute(HttpRoute route)+
getMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setMaxPerRoute(HttpRoute route, + int max)+
setMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public org.apache.http.pool.PoolStats getTotalStats()+
getTotalStats
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html new file mode 100644 index 0000000..2db3f69 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html @@ -0,0 +1,1041 @@ + + + + + + +@Contract(threading=SAFE_CONDITIONAL) +public class PoolingHttpClientConnectionManager +extends Object +implements HttpClientConnectionManager, org.apache.http.pool.ConnPoolControl<HttpRoute>, Closeable+
ClientConnectionPoolManager
maintains a pool of
+ HttpClientConnection
s and is able to service connection requests
+ from multiple execution threads. Connections are pooled on a per route
+ basis. A request for a route which already the manager has persistent
+ connections for available in the pool will be services by leasing
+ a connection from the pool rather than creating a brand new connection.
+
+ ClientConnectionPoolManager
maintains a maximum limit of connection
+ on a per route basis and in total. Per default this implementation will
+ create no more than than 2 concurrent connections per given route
+ and no more 20 connections in total. For many real-world applications
+ these limits may prove too constraining, especially if they use HTTP
+ as a transport protocol for their services. Connection limits, however,
+ can be adjusted using ConnPoolControl
methods.
+
+ Total time to live (TTL) set at construction time defines maximum life span + of persistent connections regardless of their expiration setting. No persistent + connection will be re-used past its TTL value. +
++ The handling of stale connections was changed in version 4.4. + Previously, the code would check every connection by default before re-using it. + The code now only checks the connection if the elapsed time since + the last use of the connection exceeds the timeout that has been set. + The default timeout is set to 2000ms +
Modifier and Type | +Method and Description | +
---|---|
void |
+close() |
+
void |
+closeExpiredConnections()
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idleTimeout,
+ TimeUnit timeUnit)
+Closes idle connections in the pool.
+ |
+
void |
+connect(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ int connectTimeout,
+ org.apache.http.protocol.HttpContext context)
+Connects the underlying connection socket to the connection target in case
+ of a direct route or to the first proxy hop in case of a route via a proxy
+ (or multiple proxies).
+ |
+
protected void |
+enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
protected void |
+enumLeased(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback) |
+
protected void |
+finalize() |
+
org.apache.http.config.ConnectionConfig |
+getConnectionConfig(org.apache.http.HttpHost host) |
+
org.apache.http.config.ConnectionConfig |
+getDefaultConnectionConfig() |
+
int |
+getDefaultMaxPerRoute() |
+
org.apache.http.config.SocketConfig |
+getDefaultSocketConfig() |
+
int |
+getMaxPerRoute(HttpRoute route) |
+
int |
+getMaxTotal() |
+
Set<HttpRoute> |
+getRoutes() |
+
org.apache.http.config.SocketConfig |
+getSocketConfig(org.apache.http.HttpHost host) |
+
org.apache.http.pool.PoolStats |
+getStats(HttpRoute route) |
+
org.apache.http.pool.PoolStats |
+getTotalStats() |
+
int |
+getValidateAfterInactivity() |
+
protected org.apache.http.HttpClientConnection |
+leaseConnection(Future<org.apache.http.impl.conn.CPoolEntry> future,
+ long timeout,
+ TimeUnit timeUnit) |
+
void |
+releaseConnection(org.apache.http.HttpClientConnection managedConn,
+ Object state,
+ long keepalive,
+ TimeUnit timeUnit)
+Releases the connection back to the manager making it potentially
+ re-usable by other consumers.
+ |
+
ConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Returns a new
+ConnectionRequest , from which a
+ HttpClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+routeComplete(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Marks the connection as fully established with all its intermediate
+ hops completed.
+ |
+
void |
+setConnectionConfig(org.apache.http.HttpHost host,
+ org.apache.http.config.ConnectionConfig connectionConfig) |
+
void |
+setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig defaultConnectionConfig) |
+
void |
+setDefaultMaxPerRoute(int max) |
+
void |
+setDefaultSocketConfig(org.apache.http.config.SocketConfig defaultSocketConfig) |
+
void |
+setMaxPerRoute(HttpRoute route,
+ int max) |
+
void |
+setMaxTotal(int max) |
+
void |
+setSocketConfig(org.apache.http.HttpHost host,
+ org.apache.http.config.SocketConfig socketConfig) |
+
void |
+setValidateAfterInactivity(int ms)
+Defines period of inactivity in milliseconds after which persistent connections must
+ be re-validated prior to being
+leased to the consumer. |
+
void |
+shutdown()
+Shuts down this connection manager and releases allocated resources.
+ |
+
void |
+upgrade(org.apache.http.HttpClientConnection managedConn,
+ HttpRoute route,
+ org.apache.http.protocol.HttpContext context)
+Upgrades the underlying connection socket to TLS/SSL (or another layering
+ protocol) after having executed
+CONNECT method to all
+ intermediate proxy hops |
+
public PoolingHttpClientConnectionManager()+
public PoolingHttpClientConnectionManager(long timeToLive, + TimeUnit timeUnit)+
public PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry)+
public PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, + DnsResolver dnsResolver)+
public PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)+
public PoolingHttpClientConnectionManager(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)+
public PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, + DnsResolver dnsResolver)+
public PoolingHttpClientConnectionManager(org.apache.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, + SchemePortResolver schemePortResolver, + DnsResolver dnsResolver, + long timeToLive, + TimeUnit timeUnit)+
public PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator, + HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, + long timeToLive, + TimeUnit timeUnit)+
protected void finalize() + throws Throwable+ +
public void close()+
close
in interface Closeable
close
in interface AutoCloseable
public ConnectionRequest requestConnection(HttpRoute route, + Object state)+
HttpClientConnectionManager
ConnectionRequest
, from which a
+ HttpClientConnection
can be obtained or the request can be
+ aborted.
+
+ Please note that newly allocated connections can be returned
+ in the closed state. The consumer of that connection is responsible
+ for fully establishing the route the to the connection target
+ by calling connect
in order to connect
+ directly to the target or to the first proxy hop, optionally calling
+ upgrade
method to upgrade
+ the connection after having executed CONNECT
method to
+ all intermediate proxy hops and and finally calling routeComplete
to mark the route
+ as fully completed.
+
requestConnection
in interface HttpClientConnectionManager
route
- HTTP route of the requested connection.state
- expected state of the connection or null
+ if the connection is not expected to carry any state.protected org.apache.http.HttpClientConnection leaseConnection(Future<org.apache.http.impl.conn.CPoolEntry> future, + long timeout, + TimeUnit timeUnit) + throws InterruptedException, + ExecutionException, + ConnectionPoolTimeoutException+ +
public void releaseConnection(org.apache.http.HttpClientConnection managedConn, + Object state, + long keepalive, + TimeUnit timeUnit)+
HttpClientConnectionManager
validDuration
and timeUnit
+ parameters.releaseConnection
in interface HttpClientConnectionManager
managedConn
- the managed connection to release.keepalive
- the duration of time this connection is valid for reuse.timeUnit
- the time unit.HttpClientConnectionManager.closeExpiredConnections()
public void connect(org.apache.http.HttpClientConnection managedConn, + HttpRoute route, + int connectTimeout, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
connect
in interface HttpClientConnectionManager
managedConn
- the managed connection.route
- the route of the connection.connectTimeout
- connect timeout in milliseconds.context
- the actual HTTP context.IOException
public void upgrade(org.apache.http.HttpClientConnection managedConn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
CONNECT
method to all
+ intermediate proxy hopsupgrade
in interface HttpClientConnectionManager
managedConn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
public void routeComplete(org.apache.http.HttpClientConnection managedConn, + HttpRoute route, + org.apache.http.protocol.HttpContext context) + throws IOException+
HttpClientConnectionManager
routeComplete
in interface HttpClientConnectionManager
managedConn
- the managed connection.route
- the route of the connection.context
- the actual HTTP context.IOException
public void shutdown()+
HttpClientConnectionManager
shutdown
in interface HttpClientConnectionManager
public void closeIdleConnections(long idleTimeout, + TimeUnit timeUnit)+
HttpClientConnectionManager
+ Open connections in the pool that have not been used for the + timespan given by the argument will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision +
++ All expired connections will also be closed. +
closeIdleConnections
in interface HttpClientConnectionManager
idleTimeout
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
HttpClientConnectionManager.closeExpiredConnections()
public void closeExpiredConnections()+
HttpClientConnectionManager
+ Open connections in the pool that have not been used for + the timespan defined when the connection was released will be closed. + Currently allocated connections are not subject to this method. + Times will be checked with milliseconds precision. +
closeExpiredConnections
in interface HttpClientConnectionManager
protected void enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)+
protected void enumLeased(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)+
public int getMaxTotal()+
getMaxTotal
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setMaxTotal(int max)+
setMaxTotal
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public int getDefaultMaxPerRoute()+
getDefaultMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setDefaultMaxPerRoute(int max)+
setDefaultMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public int getMaxPerRoute(HttpRoute route)+
getMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public void setMaxPerRoute(HttpRoute route, + int max)+
setMaxPerRoute
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public org.apache.http.pool.PoolStats getTotalStats()+
getTotalStats
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public org.apache.http.pool.PoolStats getStats(HttpRoute route)+
getStats
in interface org.apache.http.pool.ConnPoolControl<HttpRoute>
public org.apache.http.config.SocketConfig getDefaultSocketConfig()+
public void setDefaultSocketConfig(org.apache.http.config.SocketConfig defaultSocketConfig)+
public org.apache.http.config.ConnectionConfig getDefaultConnectionConfig()+
public void setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig defaultConnectionConfig)+
public org.apache.http.config.SocketConfig getSocketConfig(org.apache.http.HttpHost host)+
public void setSocketConfig(org.apache.http.HttpHost host, + org.apache.http.config.SocketConfig socketConfig)+
public org.apache.http.config.ConnectionConfig getConnectionConfig(org.apache.http.HttpHost host)+
public void setConnectionConfig(org.apache.http.HttpHost host, + org.apache.http.config.ConnectionConfig connectionConfig)+
public int getValidateAfterInactivity()+
setValidateAfterInactivity(int)
public void setValidateAfterInactivity(int ms)+
leased
to the consumer. Non-positive value passed
+ to this method disables connection validation. This check helps detect connections
+ that have become stale (half-closed) while kept inactive in the pool.leaseConnection(java.util.concurrent.Future, long, java.util.concurrent.TimeUnit)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ProxySelectorRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ProxySelectorRoutePlanner.html new file mode 100644 index 0000000..50b99ea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/ProxySelectorRoutePlanner.html @@ -0,0 +1,495 @@ + + + + + + +SystemDefaultRoutePlanner
@Deprecated +public class ProxySelectorRoutePlanner +extends Object +implements HttpRoutePlanner+
HttpRoutePlanner
.
+ This implementation is based on ProxySelector
.
+ By default, it will pick up the proxy settings of the JVM, either
+ from system properties or from the browser running the application.
+ Additionally, it interprets some
+ parameters
,
+ though not the DEFAULT_PROXY
.
+ + The following parameters can be used to customize the behavior of this + class: +
Modifier and Type | +Field and Description | +
---|---|
protected ProxySelector |
+proxySelector
+Deprecated.
+The proxy selector to use, or
+null for system default. |
+
protected SchemeRegistry |
+schemeRegistry
+Deprecated.
+The scheme registry.
+ |
+
Constructor and Description | +
---|
ProxySelectorRoutePlanner(SchemeRegistry schreg,
+ ProxySelector prosel)
+Deprecated.
+Creates a new proxy selector route planner.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Proxy |
+chooseProxy(List<Proxy> proxies,
+ org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Chooses a proxy from a list of available proxies.
+ |
+
protected org.apache.http.HttpHost |
+determineProxy(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines a proxy for the given target.
+ |
+
HttpRoute |
+determineRoute(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+Deprecated.
+Determines the route for a request.
+ |
+
protected String |
+getHost(InetSocketAddress isa)
+Deprecated.
+Obtains a host from an
+InetSocketAddress . |
+
ProxySelector |
+getProxySelector()
+Deprecated.
+Obtains the proxy selector to use.
+ |
+
void |
+setProxySelector(ProxySelector prosel)
+Deprecated.
+Sets the proxy selector to use.
+ |
+
protected final SchemeRegistry schemeRegistry+
protected ProxySelector proxySelector+
null
for system default.public ProxySelectorRoutePlanner(SchemeRegistry schreg, + ProxySelector prosel)+
schreg
- the scheme registryprosel
- the proxy selector, or
+ null
for the system defaultpublic ProxySelector getProxySelector()+
null
for the system defaultpublic void setProxySelector(ProxySelector prosel)+
prosel
- the proxy selector, or
+ null
to use the system defaultpublic HttpRoute determineRoute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
HttpRoutePlanner
determineRoute
in interface HttpRoutePlanner
target
- the target host for the request.
+ Implementations may accept null
+ if they can still determine a route, for example
+ to a default target or by inspecting the request.request
- the request to executecontext
- the context to use for the subsequent execution.
+ Implementations may accept null
.org.apache.http.HttpException
- in case of a problemprotected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
target
- the planned target, never null
request
- the request to be sent, never null
context
- the context, or null
null
for a direct routeorg.apache.http.HttpException
- in case of system proxy settings that cannot be handledprotected String getHost(InetSocketAddress isa)+
InetSocketAddress
.isa
- the socket address+ (TODO: determine format for IPv6 addresses, with or without [brackets]) +
protected Proxy chooseProxy(List<Proxy> proxies, + org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context)+
Proxy.NO_PROXY
is returned.
+ Derived classes may implement more advanced strategies,
+ such as proxy rotation if there are multiple options.proxies
- the list of proxies to choose from,
+ never null
or emptytarget
- the planned target, never null
request
- the request to be sent, never null
context
- the context, or null
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SchemeRegistryFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SchemeRegistryFactory.html new file mode 100644 index 0000000..159e362 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SchemeRegistryFactory.html @@ -0,0 +1,316 @@ + + + + + + +HttpClientBuilder
.@Contract(threading=SAFE) +@Deprecated +public final class SchemeRegistryFactory +extends Object+
Constructor and Description | +
---|
SchemeRegistryFactory()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static SchemeRegistry |
+createDefault()
+Deprecated.
+Initializes default scheme registry based on JSSE defaults.
+ |
+
static SchemeRegistry |
+createSystemDefault()
+Deprecated.
+Initializes default scheme registry using system properties as described in
+
+ "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform
+ Standard Edition 5
+ |
+
public SchemeRegistryFactory()+
public static SchemeRegistry createDefault()+
public static SchemeRegistry createSystemDefault()+
+ The following system properties are taken into account by this method: +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.ConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.ConnAdapter.html new file mode 100644 index 0000000..b313ff9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.ConnAdapter.html @@ -0,0 +1,293 @@ + + + + + + +protected class SingleClientConnManager.ConnAdapter +extends AbstractPooledConnAdapter+
poolEntry
RESERVED_PREFIX
Modifier | +Constructor and Description | +
---|---|
protected |
+SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry,
+ HttpRoute route)
+Creates a new connection adapter.
+ |
+
assertAttached, assertValid, close, detach, getId, getPoolEntry, getRoute, getState, layerProtocol, open, setState, shutdown, tunnelProxy, tunnelTarget
abortConnection, assertNotAborted, assertValid, bind, flush, getAttribute, getLocalAddress, getLocalPort, getManager, getMetrics, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, getSSLSession, getWrappedConnection, isMarkedReusable, isOpen, isReleased, isResponseAvailable, isSecure, isStale, markReusable, receiveResponseEntity, receiveResponseHeader, releaseConnection, removeAttribute, sendRequestEntity, sendRequestHeader, setAttribute, setIdleDuration, setSocketTimeout, unmarkReusable
protected SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry, + HttpRoute route)+
entry
- the pool entry for the connection being wrappedroute
- the planned route for this connectionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.PoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.PoolEntry.html new file mode 100644 index 0000000..727dfca --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.PoolEntry.html @@ -0,0 +1,320 @@ + + + + + + +protected class SingleClientConnManager.PoolEntry +extends AbstractPoolEntry+
connection, connOperator, route, state, tracker
Modifier | +Constructor and Description | +
---|---|
protected |
+SingleClientConnManager.PoolEntry()
+Creates a new pool entry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+close()
+Closes the connection in this pool entry.
+ |
+
protected void |
+shutdown()
+Shuts down the connection in this pool entry.
+ |
+
getState, layerProtocol, open, setState, shutdownEntry, tunnelProxy, tunnelTarget
protected SingleClientConnManager.PoolEntry()+
protected void close() + throws IOException+
IOException
protected void shutdown() + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.html new file mode 100644 index 0000000..85878cd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SingleClientConnManager.html @@ -0,0 +1,803 @@ + + + + + + +BasicClientConnectionManager
@Contract(threading=SAFE) +@Deprecated +public class SingleClientConnManager +extends Object +implements ClientConnectionManager+
+ SingleClientConnManager will make an effort to reuse the connection
+ for subsequent requests with the same route
.
+ It will, however, close the existing connection and open it
+ for the given route, if the route of the persistent connection does
+ not match that of the connection request. If the connection has been
+ already been allocated IllegalStateException
is thrown.
Modifier and Type | +Class and Description | +
---|---|
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
protected class |
+SingleClientConnManager.PoolEntry
+Deprecated.
+The pool entry for this connection manager.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+alwaysShutDown
+Deprecated.
+Whether the connection should be shut down on release.
+ |
+
protected long |
+connectionExpiresTime
+Deprecated.
+The time the last released connection expires and shouldn't be reused.
+ |
+
protected ClientConnectionOperator |
+connOperator
+Deprecated.
+The operator for opening and updating connections.
+ |
+
protected boolean |
+isShutDown
+Deprecated.
+Indicates whether this connection manager is shut down.
+ |
+
protected long |
+lastReleaseTime
+Deprecated.
+The time of the last connection release, or -1.
+ |
+
protected SingleClientConnManager.ConnAdapter |
+managedConn
+Deprecated.
+The currently issued managed connection, if any.
+ |
+
static String |
+MISUSE_MESSAGE
+Deprecated.
+The message to be logged on multiple allocation.
+ |
+
protected SchemeRegistry |
+schemeRegistry
+Deprecated.
+The schemes supported by this connection manager.
+ |
+
protected SingleClientConnManager.PoolEntry |
+uniquePoolEntry
+Deprecated.
+The one and only entry in this pool.
+ |
+
Constructor and Description | +
---|
SingleClientConnManager()
+Deprecated.
+ |
+
SingleClientConnManager(org.apache.http.params.HttpParams params,
+ SchemeRegistry schreg)
+Deprecated.
+
+(4.1) use
+SingleClientConnManager(SchemeRegistry) |
+
SingleClientConnManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new simple connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+assertStillUp()
+Deprecated.
+Asserts that this manager is not shut down.
+ |
+
void |
+closeExpiredConnections()
+Deprecated.
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections in the pool.
+ |
+
protected ClientConnectionOperator |
+createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected void |
+finalize()
+Deprecated.
+ |
+
ManagedClientConnection |
+getConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Obtains a connection.
+ |
+
SchemeRegistry |
+getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
void |
+releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
ClientConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
protected void |
+revokeConnection()
+Deprecated.
+ |
+
void |
+shutdown()
+Deprecated.
+Shuts down this connection manager and releases allocated resources.
+ |
+
public static final String MISUSE_MESSAGE+
protected final SchemeRegistry schemeRegistry+
protected final ClientConnectionOperator connOperator+
protected final boolean alwaysShutDown+
protected volatile SingleClientConnManager.PoolEntry uniquePoolEntry+
protected volatile SingleClientConnManager.ConnAdapter managedConn+
protected volatile long lastReleaseTime+
protected volatile long connectionExpiresTime+
protected volatile boolean isShutDown+
@Deprecated +public SingleClientConnManager(org.apache.http.params.HttpParams params, + SchemeRegistry schreg)+
SingleClientConnManager(SchemeRegistry)
params
- the parameters for this managerschreg
- the scheme registrypublic SingleClientConnManager(SchemeRegistry schreg)+
schreg
- the scheme registrypublic SingleClientConnManager()+
protected void finalize() + throws Throwable+
public SchemeRegistry getSchemeRegistry()+
ClientConnectionManager
getSchemeRegistry
in interface ClientConnectionManager
null
protected ClientConnectionOperator createConnectionOperator(SchemeRegistry schreg)+
DefaultClientConnectionOperator
.schreg
- the scheme registry to use, or null
protected final void assertStillUp() + throws IllegalStateException+
IllegalStateException
- if this manager is shut downpublic final ClientConnectionRequest requestConnection(HttpRoute route, + Object state)+
ClientConnectionManager
ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.requestConnection
in interface ClientConnectionManager
public ManagedClientConnection getConnection(HttpRoute route, + Object state)+
route
- where the connection should point topublic void releaseConnection(ManagedClientConnection conn, + long validDuration, + TimeUnit timeUnit)+
ClientConnectionManager
releaseConnection
in interface ClientConnectionManager
conn
- the connection to releasevalidDuration
- the duration of time this connection is valid for reusetimeUnit
- the unit of time validDuration is measured inClientConnectionManager.closeExpiredConnections()
public void closeExpiredConnections()+
ClientConnectionManager
closeExpiredConnections
in interface ClientConnectionManager
public void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
ClientConnectionManager
closeIdleConnections
in interface ClientConnectionManager
idletime
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
ClientConnectionManager.closeExpiredConnections()
public void shutdown()+
ClientConnectionManager
shutdown
in interface ClientConnectionManager
protected void revokeConnection()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultDnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultDnsResolver.html new file mode 100644 index 0000000..51a7bed --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultDnsResolver.html @@ -0,0 +1,319 @@ + + + + + + +public class SystemDefaultDnsResolver +extends Object +implements DnsResolver+
Modifier and Type | +Field and Description | +
---|---|
static SystemDefaultDnsResolver |
+INSTANCE |
+
Constructor and Description | +
---|
SystemDefaultDnsResolver() |
+
Modifier and Type | +Method and Description | +
---|---|
InetAddress[] |
+resolve(String host)
+Returns the IP address for the specified host name, or null if the given
+ host is not recognized or the associated IP address cannot be used to
+ build an InetAddress instance.
+ |
+
public static final SystemDefaultDnsResolver INSTANCE+
public SystemDefaultDnsResolver()+
public InetAddress[] resolve(String host) + throws UnknownHostException+
DnsResolver
resolve
in interface DnsResolver
host
- The host name to be resolved by this resolver.UnknownHostException
InetAddress
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultRoutePlanner.html new file mode 100644 index 0000000..64c32f3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/SystemDefaultRoutePlanner.html @@ -0,0 +1,311 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class SystemDefaultRoutePlanner +extends DefaultRoutePlanner+
HttpRoutePlanner
implementation
+ based on ProxySelector
. By default, this class will pick up
+ the proxy settings of the JVM, either from system properties
+ or from the browser running the application.Constructor and Description | +
---|
SystemDefaultRoutePlanner(ProxySelector proxySelector) |
+
SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver,
+ ProxySelector proxySelector) |
+
Modifier and Type | +Method and Description | +
---|---|
protected org.apache.http.HttpHost |
+determineProxy(org.apache.http.HttpHost target,
+ org.apache.http.HttpRequest request,
+ org.apache.http.protocol.HttpContext context)
+This implementation returns null.
+ |
+
determineRoute
public SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver, + ProxySelector proxySelector)+
proxySelector
- the proxy selector, or null
for the system defaultpublic SystemDefaultRoutePlanner(ProxySelector proxySelector)+
proxySelector
- the proxy selector, or null
for the system defaultprotected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + throws org.apache.http.HttpException+
DefaultRoutePlanner
determineProxy
in class DefaultRoutePlanner
org.apache.http.HttpException
- may be thrown if overriddenCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/Wire.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/Wire.html new file mode 100644 index 0000000..4dd26d6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/Wire.html @@ -0,0 +1,447 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class Wire +extends Object+
Constructor and Description | +
---|
Wire(org.apache.commons.logging.Log log) |
+
Wire(org.apache.commons.logging.Log log,
+ String id) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+enabled() |
+
void |
+input(byte[] b) |
+
void |
+input(byte[] b,
+ int off,
+ int len) |
+
void |
+input(InputStream inStream) |
+
void |
+input(int b) |
+
void |
+input(String s) |
+
void |
+output(byte[] b) |
+
void |
+output(byte[] b,
+ int off,
+ int len) |
+
void |
+output(InputStream outStream) |
+
void |
+output(int b) |
+
void |
+output(String s) |
+
public Wire(org.apache.commons.logging.Log log, + String id)+
public Wire(org.apache.commons.logging.Log log)+
public boolean enabled()+
public void output(InputStream outStream) + throws IOException+
IOException
public void input(InputStream inStream) + throws IOException+
IOException
public void output(byte[] b, + int off, + int len) + throws IOException+
IOException
public void input(byte[] b, + int off, + int len) + throws IOException+
IOException
public void output(byte[] b) + throws IOException+
IOException
public void input(byte[] b) + throws IOException+
IOException
public void output(int b) + throws IOException+
IOException
public void input(int b) + throws IOException+
IOException
public void output(String s) + throws IOException+
IOException
public void input(String s) + throws IOException+
IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractClientConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractClientConnAdapter.html new file mode 100644 index 0000000..b67e51b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractClientConnAdapter.html @@ -0,0 +1,199 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPoolEntry.html new file mode 100644 index 0000000..af03740 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPoolEntry.html @@ -0,0 +1,285 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
protected class |
+SingleClientConnManager.PoolEntry
+Deprecated.
+The pool entry for this connection manager.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected AbstractPoolEntry |
+AbstractPooledConnAdapter.poolEntry
+Deprecated.
+The wrapped pool entry.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected AbstractPoolEntry |
+AbstractPooledConnAdapter.getPoolEntry()
+Deprecated.
+
+(4.0.1)
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+AbstractPooledConnAdapter.assertValid(AbstractPoolEntry entry)
+Deprecated.
+Asserts that there is a valid pool entry.
+ |
+
Constructor and Description | +
---|
AbstractPooledConnAdapter(ClientConnectionManager manager,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new connection adapter.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPoolEntry
+Deprecated.
+
+(4.2) use
+PoolEntry |
+
Modifier and Type | +Method and Description | +
---|---|
protected AbstractPoolEntry |
+BasicPooledConnAdapter.getPoolEntry()
+Deprecated.
+ |
+
Constructor and Description | +
---|
BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new adapter.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPooledConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPooledConnAdapter.html new file mode 100644 index 0000000..8bcfdf0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/AbstractPooledConnAdapter.html @@ -0,0 +1,191 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
protected class |
+SingleClientConnManager.ConnAdapter
+Deprecated.
+The connection adapter used by this manager.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicPooledConnAdapter
+Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicClientConnectionManager.html new file mode 100644 index 0000000..6f7b5ec --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicClientConnectionManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicHttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicHttpClientConnectionManager.html new file mode 100644 index 0000000..d9fea4c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/BasicHttpClientConnectionManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ConnectionShutdownException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ConnectionShutdownException.html new file mode 100644 index 0000000..ad0c4a5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ConnectionShutdownException.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+AbstractClientConnAdapter.assertValid(OperatedClientConnection wrappedConn)
+Deprecated.
+Asserts that there is a valid wrapped connection to delegate to.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnection.html new file mode 100644 index 0000000..dff2172 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnection.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnectionOperator.html new file mode 100644 index 0000000..8b82e33 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultClientConnectionOperator.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpClientConnectionOperator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpClientConnectionOperator.html new file mode 100644 index 0000000..d57ea15 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpClientConnectionOperator.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParser.html new file mode 100644 index 0000000..88cf0b1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParser.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParserFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParserFactory.html new file mode 100644 index 0000000..7cdbed7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpResponseParserFactory.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultHttpResponseParserFactory |
+DefaultHttpResponseParserFactory.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpRoutePlanner.html new file mode 100644 index 0000000..d37cdcb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultHttpRoutePlanner.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultManagedHttpClientConnection.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultManagedHttpClientConnection.html new file mode 100644 index 0000000..5b59192 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultManagedHttpClientConnection.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultProxyRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultProxyRoutePlanner.html new file mode 100644 index 0000000..7947df6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultProxyRoutePlanner.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultResponseParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultResponseParser.html new file mode 100644 index 0000000..6e3a0d2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultResponseParser.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultRoutePlanner.html new file mode 100644 index 0000000..4fbcb2d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultRoutePlanner.html @@ -0,0 +1,170 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultProxyRoutePlanner
+Implementation of an
+HttpRoutePlanner
+ that routes requests through a default proxy. |
+
class |
+SystemDefaultRoutePlanner
+HttpRoutePlanner implementation
+ based on ProxySelector . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultSchemePortResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultSchemePortResolver.html new file mode 100644 index 0000000..7e98fab --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/DefaultSchemePortResolver.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static DefaultSchemePortResolver |
+DefaultSchemePortResolver.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/IdleConnectionHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/IdleConnectionHandler.html new file mode 100644 index 0000000..8fa8e14 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/IdleConnectionHandler.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected IdleConnectionHandler |
+AbstractConnPool.idleConnHandler
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/InMemoryDnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/InMemoryDnsResolver.html new file mode 100644 index 0000000..b644c70 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/InMemoryDnsResolver.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionInputBuffer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionInputBuffer.html new file mode 100644 index 0000000..b903c7c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionInputBuffer.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionOutputBuffer.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionOutputBuffer.html new file mode 100644 index 0000000..1fb841b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/LoggingSessionOutputBuffer.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ManagedHttpClientConnectionFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ManagedHttpClientConnectionFactory.html new file mode 100644 index 0000000..1c23a30 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ManagedHttpClientConnectionFactory.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static ManagedHttpClientConnectionFactory |
+ManagedHttpClientConnectionFactory.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingClientConnectionManager.html new file mode 100644 index 0000000..8411101 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingClientConnectionManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingHttpClientConnectionManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingHttpClientConnectionManager.html new file mode 100644 index 0000000..9655fd4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/PoolingHttpClientConnectionManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ProxySelectorRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ProxySelectorRoutePlanner.html new file mode 100644 index 0000000..1496f6f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/ProxySelectorRoutePlanner.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SchemeRegistryFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SchemeRegistryFactory.html new file mode 100644 index 0000000..382a647 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SchemeRegistryFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.ConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.ConnAdapter.html new file mode 100644 index 0000000..bf87954 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.ConnAdapter.html @@ -0,0 +1,163 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected SingleClientConnManager.ConnAdapter |
+SingleClientConnManager.managedConn
+Deprecated.
+The currently issued managed connection, if any.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.PoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.PoolEntry.html new file mode 100644 index 0000000..c4ed9d2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.PoolEntry.html @@ -0,0 +1,177 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected SingleClientConnManager.PoolEntry |
+SingleClientConnManager.uniquePoolEntry
+Deprecated.
+The one and only entry in this pool.
+ |
+
Constructor and Description | +
---|
SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry,
+ HttpRoute route)
+Creates a new connection adapter.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.html new file mode 100644 index 0000000..ec8a0a4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SingleClientConnManager.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultDnsResolver.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultDnsResolver.html new file mode 100644 index 0000000..7105c60 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultDnsResolver.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static SystemDefaultDnsResolver |
+SystemDefaultDnsResolver.INSTANCE |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultRoutePlanner.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultRoutePlanner.html new file mode 100644 index 0000000..80910da --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/SystemDefaultRoutePlanner.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/Wire.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/Wire.html new file mode 100644 index 0000000..33642e2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/class-use/Wire.html @@ -0,0 +1,183 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
Constructor and Description | +
---|
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
+ Wire wire)
+Deprecated.
+ |
+
LoggingSessionInputBuffer(org.apache.http.io.SessionInputBuffer in,
+ Wire wire,
+ String charset)
+Deprecated.
+Create an instance that wraps the specified session input buffer.
+ |
+
LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
+ Wire wire)
+Deprecated.
+ |
+
LoggingSessionOutputBuffer(org.apache.http.io.SessionOutputBuffer out,
+ Wire wire,
+ String charset)
+Deprecated.
+Create an instance that wraps the specified session output buffer.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-frame.html new file mode 100644 index 0000000..8d9b7cc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-frame.html @@ -0,0 +1,52 @@ + + + + + + +See: Description
+Class | +Description | +
---|---|
AbstractClientConnAdapter | +Deprecated
+ (4.2) do not use
+ |
+
AbstractPooledConnAdapter | +Deprecated
+ (4.2) do not use
+ |
+
AbstractPoolEntry | +Deprecated
+ (4.2) do not use
+ |
+
BasicClientConnectionManager | +Deprecated
+ (4.3) use
+BasicHttpClientConnectionManager . |
+
BasicHttpClientConnectionManager | +
+ A connection manager for a single connection.
+ |
+
DefaultClientConnection | +Deprecated
+ (4.3) use
+ManagedHttpClientConnectionFactory . |
+
DefaultClientConnectionOperator | +Deprecated
+ (4.3) use
+PoolingHttpClientConnectionManager . |
+
DefaultHttpClientConnectionOperator | +
+ Default implementation of
+HttpClientConnectionOperator used as default in Http client,
+ when no instance provided by user to BasicHttpClientConnectionManager or PoolingHttpClientConnectionManager constructor. |
+
DefaultHttpResponseParser | +
+ Lenient HTTP response parser implementation that can skip malformed data until
+ a valid HTTP response message head is encountered.
+ |
+
DefaultHttpResponseParserFactory | +
+ Default factory for response message parsers.
+ |
+
DefaultHttpRoutePlanner | +Deprecated
+ (4.3) use
+DefaultRoutePlanner |
+
DefaultManagedHttpClientConnection | +
+ Default
+ManagedHttpClientConnection implementation. |
+
DefaultProxyRoutePlanner | +
+ Implementation of an
+HttpRoutePlanner
+ that routes requests through a default proxy. |
+
DefaultResponseParser | +Deprecated
+ (4.2) use
+DefaultHttpResponseParser |
+
DefaultRoutePlanner | +
+ Default implementation of an
+HttpRoutePlanner . |
+
DefaultSchemePortResolver | +
+ Default
+SchemePortResolver . |
+
IdleConnectionHandler | +Deprecated
+ (4.1) no longer used
+ |
+
InMemoryDnsResolver | +
+ In-memory
+DnsResolver implementation. |
+
LoggingSessionInputBuffer | +Deprecated
+ (4.3) no longer used.
+ |
+
LoggingSessionOutputBuffer | +Deprecated
+ (4.3) no longer used.
+ |
+
ManagedHttpClientConnectionFactory | +
+ Factory for
+ManagedHttpClientConnection instances. |
+
PoolingClientConnectionManager | +Deprecated
+ (4.3) use
+PoolingHttpClientConnectionManager . |
+
PoolingHttpClientConnectionManager | +
+ClientConnectionPoolManager maintains a pool of
+ HttpClientConnection s and is able to service connection requests
+ from multiple execution threads. |
+
ProxySelectorRoutePlanner | +Deprecated
+ (4.3) use
+SystemDefaultRoutePlanner |
+
SchemeRegistryFactory | +Deprecated
+ (4.3) use
+HttpClientBuilder . |
+
SingleClientConnManager | +Deprecated
+ (4.2) use
+BasicClientConnectionManager |
+
SystemDefaultDnsResolver | +
+ DNS resolver that uses the default OS implementation for resolving host names.
+ |
+
SystemDefaultRoutePlanner | +
+HttpRoutePlanner implementation
+ based on ProxySelector . |
+
Wire | +
+ Logs data to the wire LOG.
+ |
+
Exception | +Description | +
---|---|
ConnectionShutdownException | +
+ Signals that the connection has been shut down or released back to the
+ the connection pool
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-tree.html new file mode 100644 index 0000000..f330240 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-tree.html @@ -0,0 +1,209 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-use.html new file mode 100644 index 0000000..b8bac28 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/package-use.html @@ -0,0 +1,265 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Class and Description | +
---|
AbstractClientConnAdapter
+ Deprecated.
+
+(4.2) do not use
+ |
+
AbstractPooledConnAdapter
+ Deprecated.
+
+(4.2) do not use
+ |
+
AbstractPoolEntry
+ Deprecated.
+
+(4.2) do not use
+ |
+
ConnectionShutdownException
+ Signals that the connection has been shut down or released back to the
+ the connection pool
+ |
+
DefaultHttpResponseParserFactory
+ Default factory for response message parsers.
+ |
+
DefaultRoutePlanner
+ Default implementation of an
+HttpRoutePlanner . |
+
DefaultSchemePortResolver
+ Default
+SchemePortResolver . |
+
ManagedHttpClientConnectionFactory
+ Factory for
+ManagedHttpClientConnection instances. |
+
SingleClientConnManager.ConnAdapter
+ Deprecated.
+The connection adapter used by this manager.
+ |
+
SingleClientConnManager.PoolEntry
+ Deprecated.
+The pool entry for this connection manager.
+ |
+
SystemDefaultDnsResolver
+ DNS resolver that uses the default OS implementation for resolving host names.
+ |
+
Wire
+ Logs data to the wire LOG.
+ |
+
Class and Description | +
---|
AbstractClientConnAdapter
+ Deprecated.
+
+(4.2) do not use
+ |
+
AbstractPooledConnAdapter
+ Deprecated.
+
+(4.2) do not use
+ |
+
AbstractPoolEntry
+ Deprecated.
+
+(4.2) do not use
+ |
+
IdleConnectionHandler
+ Deprecated.
+
+(4.1) no longer used
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/AbstractConnPool.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/AbstractConnPool.html new file mode 100644 index 0000000..8be431e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/AbstractConnPool.html @@ -0,0 +1,636 @@ + + + + + + +AbstractConnPool
@Deprecated +public abstract class AbstractConnPool +extends Object+
ThreadSafeClientConnManager
.
+ The abstract pool includes a poolLock
, which is used to
+ synchronize access to the internal pool datastructures.
+ Don't use synchronized
for that purpose!Modifier and Type | +Field and Description | +
---|---|
protected IdleConnectionHandler |
+idleConnHandler
+Deprecated.
+ |
+
protected boolean |
+isShutDown
+Deprecated.
+Indicates whether this pool is shut down.
+ |
+
protected Set<BasicPoolEntryRef> |
+issuedConnections
+Deprecated.
+ |
+
protected Set<BasicPoolEntry> |
+leasedConnections
+Deprecated.
+ |
+
protected int |
+numConnections
+Deprecated.
+ |
+
protected Lock |
+poolLock
+Deprecated.
+The global lock for this pool.
+ |
+
protected ReferenceQueue<Object> |
+refQueue
+Deprecated.
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+AbstractConnPool()
+Deprecated.
+Creates a new connection pool.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+closeConnection(OperatedClientConnection conn)
+Deprecated.
+Closes a connection from this pool.
+ |
+
void |
+closeExpiredConnections()
+Deprecated.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections.
+ |
+
abstract void |
+deleteClosedConnections()
+Deprecated.
+Deletes all entries for closed connections.
+ |
+
void |
+enableConnectionGC()
+Deprecated.
+ |
+
abstract void |
+freeEntry(BasicPoolEntry entry,
+ boolean reusable,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Returns an entry into the pool.
+ |
+
BasicPoolEntry |
+getEntry(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected abstract void |
+handleLostEntry(HttpRoute route)
+Deprecated.
+ |
+
void |
+handleReference(Reference<?> ref)
+Deprecated.
+ |
+
abstract PoolEntryRequest |
+requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+PoolEntryRequest , from which a BasicPoolEntry
+ can be obtained, or the request can be aborted. |
+
void |
+shutdown()
+Deprecated.
+Shuts down this pool and all associated resources.
+ |
+
protected final Lock poolLock+
protected Set<BasicPoolEntry> leasedConnections+
protected int numConnections+
protected volatile boolean isShutDown+
protected Set<BasicPoolEntryRef> issuedConnections+
protected ReferenceQueue<Object> refQueue+
protected IdleConnectionHandler idleConnHandler+
protected AbstractConnPool()+
public void enableConnectionGC() + throws IllegalStateException+
IllegalStateException
public final BasicPoolEntry getEntry(HttpRoute route, + Object state, + long timeout, + TimeUnit timeUnit) + throws ConnectionPoolTimeoutException, + InterruptedException+
route
- the route for which to get the connectionstate
- the statetimeout
- the timeout, 0 or negative for no timeouttimeUnit
- the unit for the timeout
,
+ may be null
only if there is no timeoutConnectionPoolTimeoutException
- if the timeout expiredInterruptedException
- if the calling thread was interruptedpublic abstract PoolEntryRequest requestPoolEntry(HttpRoute route, + Object state)+
PoolEntryRequest
, from which a BasicPoolEntry
+ can be obtained, or the request can be aborted.route
- the routestate
- the statepublic abstract void freeEntry(BasicPoolEntry entry, + boolean reusable, + long validDuration, + TimeUnit timeUnit)+
entry
- the entry for the connection to releasereusable
- true
if the entry is deemed
+ reusable, false
otherwise.validDuration
- The duration that the entry should remain free and reusable.timeUnit
- The unit of time the duration is measured in.public void handleReference(Reference<?> ref)+
protected abstract void handleLostEntry(HttpRoute route)+
public void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
idletime
- the time the connections should have been idle
+ in order to be closed nowtimeUnit
- the unit for the idletime
public void closeExpiredConnections()+
public abstract void deleteClosedConnections()+
public void shutdown()+
protected void closeConnection(OperatedClientConnection conn)+
conn
- the connection to close, or null
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntry.html new file mode 100644 index 0000000..823f1af --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntry.html @@ -0,0 +1,513 @@ + + + + + + +PoolEntry
@Deprecated +public class BasicPoolEntry +extends AbstractPoolEntry+
connection, connOperator, route, state, tracker
Constructor and Description | +
---|
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route)
+Deprecated.
+Creates a new pool entry.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ long connTTL,
+ TimeUnit timeunit)
+Deprecated.
+Creates a new pool entry with a specified maximum lifetime.
+ |
+
BasicPoolEntry(ClientConnectionOperator op,
+ HttpRoute route,
+ ReferenceQueue<Object> queue)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected OperatedClientConnection |
+getConnection()
+Deprecated.
+ |
+
long |
+getCreated()
+Deprecated.
+ |
+
long |
+getExpiry()
+Deprecated.
+ |
+
protected HttpRoute |
+getPlannedRoute()
+Deprecated.
+ |
+
long |
+getUpdated()
+Deprecated.
+ |
+
long |
+getValidUntil()
+Deprecated.
+ |
+
protected BasicPoolEntryRef |
+getWeakRef()
+Deprecated.
+ |
+
boolean |
+isExpired(long now)
+Deprecated.
+ |
+
protected void |
+shutdownEntry()
+Deprecated.
+Shuts down the entry.
+ |
+
void |
+updateExpiry(long time,
+ TimeUnit timeunit)
+Deprecated.
+ |
+
getState, layerProtocol, open, setState, tunnelProxy, tunnelTarget
public BasicPoolEntry(ClientConnectionOperator op, + HttpRoute route, + ReferenceQueue<Object> queue)+
public BasicPoolEntry(ClientConnectionOperator op, + HttpRoute route)+
op
- the connection operatorroute
- the planned route for the connectionpublic BasicPoolEntry(ClientConnectionOperator op, + HttpRoute route, + long connTTL, + TimeUnit timeunit)+
op
- the connection operatorroute
- the planned route for the connectionconnTTL
- maximum lifetime of this entry, <=0 implies "infinity"timeunit
- TimeUnit of connTTLprotected final OperatedClientConnection getConnection()+
protected final HttpRoute getPlannedRoute()+
protected final BasicPoolEntryRef getWeakRef()+
protected void shutdownEntry()+
AbstractPoolEntry
AbstractPoolEntry.open(HttpRoute, HttpContext, HttpParams)
is in progress,
+ this will cause that open to possibly throw an IOException
.shutdownEntry
in class AbstractPoolEntry
public long getCreated()+
public long getUpdated()+
public long getExpiry()+
public long getValidUntil()+
public void updateExpiry(long time, + TimeUnit timeunit)+
public boolean isExpired(long now)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.html new file mode 100644 index 0000000..9fbbc07 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.html @@ -0,0 +1,299 @@ + + + + + + +@Deprecated +public class BasicPoolEntryRef +extends WeakReference<BasicPoolEntry>+
BasicPoolEntry
.
+ This reference explicitly keeps the planned route, so the connection
+ can be reclaimed if it is lost to garbage collection.Constructor and Description | +
---|
BasicPoolEntryRef(BasicPoolEntry entry,
+ ReferenceQueue<Object> queue)
+Deprecated.
+Creates a new reference to a pool entry.
+ |
+
public BasicPoolEntryRef(BasicPoolEntry entry, + ReferenceQueue<Object> queue)+
entry
- the pool entry, must not be null
queue
- the reference queue, or null
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.html new file mode 100644 index 0000000..a12dbd6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.html @@ -0,0 +1,381 @@ + + + + + + +@Deprecated +public class BasicPooledConnAdapter +extends AbstractPooledConnAdapter+
detach
ed to prevent further use on release.poolEntry
RESERVED_PREFIX
Modifier | +Constructor and Description | +
---|---|
protected |
+BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new adapter.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+detach()
+Deprecated.
+Detaches this adapter from the wrapped connection.
+ |
+
protected ClientConnectionManager |
+getManager()
+Deprecated.
+ |
+
protected AbstractPoolEntry |
+getPoolEntry()
+Deprecated.
+Obtains the pool entry.
+ |
+
assertAttached, assertValid, close, getId, getRoute, getState, layerProtocol, open, setState, shutdown, tunnelProxy, tunnelTarget
abortConnection, assertNotAborted, assertValid, bind, flush, getAttribute, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, getSSLSession, getWrappedConnection, isMarkedReusable, isOpen, isReleased, isResponseAvailable, isSecure, isStale, markReusable, receiveResponseEntity, receiveResponseHeader, releaseConnection, removeAttribute, sendRequestEntity, sendRequestHeader, setAttribute, setIdleDuration, setSocketTimeout, unmarkReusable
protected BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm, + AbstractPoolEntry entry)+
tsccm
- the connection managerentry
- the pool entry for the connection being wrappedprotected ClientConnectionManager getManager()+
getManager
in class AbstractClientConnAdapter
protected AbstractPoolEntry getPoolEntry()+
AbstractPooledConnAdapter
getPoolEntry
in class AbstractPooledConnAdapter
null
if detachedprotected void detach()+
AbstractPooledConnAdapter
detach
in class AbstractPooledConnAdapter
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.html new file mode 100644 index 0000000..b30333c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.html @@ -0,0 +1,1050 @@ + + + + + + +AbstractConnPool
@Deprecated +public class ConnPoolByRoute +extends AbstractConnPool+
MultiThreadedHttpConnectionManager
+ in HttpClient 3.x, see there for original authors. It implements the same
+ algorithm for connection re-use and connection-per-host enforcement:
+ poolLock
in the base class,
+ not via synchronized
methods.Modifier and Type | +Field and Description | +
---|---|
protected ConnPerRoute |
+connPerRoute
+Deprecated.
+Connections per route lookup
+ |
+
protected Queue<BasicPoolEntry> |
+freeConnections
+Deprecated.
+The list of free connections
+ |
+
protected Set<BasicPoolEntry> |
+leasedConnections
+Deprecated.
+References to issued connections
+ |
+
protected int |
+maxTotalConnections
+Deprecated.
+ |
+
protected int |
+numConnections
+Deprecated.
+ |
+
protected ClientConnectionOperator |
+operator
+Deprecated.
+Connection operator for this pool
+ |
+
protected Map<HttpRoute,RouteSpecificPool> |
+routeToPool
+Deprecated.
+Map of route-specific pools
+ |
+
protected boolean |
+shutdown
+Deprecated.
+ |
+
protected Queue<WaitingThread> |
+waitingThreads
+Deprecated.
+The list of WaitingThreads waiting for a connection
+ |
+
idleConnHandler, isShutDown, issuedConnections, refQueue
Constructor and Description | +
---|
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections)
+Deprecated.
+Creates a new connection pool, managed by route.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ ConnPerRoute connPerRoute,
+ int maxTotalConnections,
+ long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+ |
+
ConnPoolByRoute(ClientConnectionOperator operator,
+ org.apache.http.params.HttpParams params)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Deprecated.
+ |
+
void |
+closeIdleConnections(long idletime,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections.
+ |
+
protected BasicPoolEntry |
+createEntry(RouteSpecificPool rospl,
+ ClientConnectionOperator op)
+Deprecated.
+Creates a new pool entry.
+ |
+
protected Queue<BasicPoolEntry> |
+createFreeConnQueue()
+Deprecated.
+Creates the queue for
+freeConnections . |
+
protected Map<HttpRoute,RouteSpecificPool> |
+createRouteToPoolMap()
+Deprecated.
+Creates the map for
+routeToPool . |
+
protected Queue<WaitingThread> |
+createWaitingThreadQueue()
+Deprecated.
+Creates the queue for
+waitingThreads . |
+
void |
+deleteClosedConnections()
+Deprecated.
+Deletes all entries for closed connections.
+ |
+
protected void |
+deleteEntry(BasicPoolEntry entry)
+Deprecated.
+Deletes a given pool entry.
+ |
+
protected void |
+deleteLeastUsedEntry()
+Deprecated.
+Delete an old, free pool entry to make room for a new one.
+ |
+
void |
+freeEntry(BasicPoolEntry entry,
+ boolean reusable,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Returns an entry into the pool.
+ |
+
int |
+getConnectionsInPool()
+Deprecated.
+ |
+
int |
+getConnectionsInPool(HttpRoute route)
+Deprecated.
+ |
+
protected BasicPoolEntry |
+getEntryBlocking(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit,
+ WaitingThreadAborter aborter)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected BasicPoolEntry |
+getFreeEntry(RouteSpecificPool rospl,
+ Object state)
+Deprecated.
+If available, get a free pool entry for a route.
+ |
+
protected Lock |
+getLock()
+Deprecated.
+ |
+
int |
+getMaxTotalConnections()
+Deprecated.
+since 4.1
+ |
+
protected RouteSpecificPool |
+getRoutePool(HttpRoute route,
+ boolean create)
+Deprecated.
+Get a route-specific pool of available connections.
+ |
+
protected void |
+handleLostEntry(HttpRoute route)
+Deprecated.
+ |
+
protected RouteSpecificPool |
+newRouteSpecificPool(HttpRoute route)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
protected WaitingThread |
+newWaitingThread(Condition cond,
+ RouteSpecificPool rospl)
+Deprecated.
+Creates a new waiting thread.
+ |
+
protected void |
+notifyWaitingThread(RouteSpecificPool rospl)
+Deprecated.
+Notifies a waiting thread that a connection is available.
+ |
+
PoolEntryRequest |
+requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+PoolEntryRequest , from which a BasicPoolEntry
+ can be obtained, or the request can be aborted. |
+
void |
+setMaxTotalConnections(int max)
+Deprecated.
+since 4.1
+ |
+
void |
+shutdown()
+Deprecated.
+Shuts down this pool and all associated resources.
+ |
+
closeConnection, enableConnectionGC, getEntry, handleReference
protected final ClientConnectionOperator operator+
protected final ConnPerRoute connPerRoute+
protected final Set<BasicPoolEntry> leasedConnections+
protected final Queue<BasicPoolEntry> freeConnections+
protected final Queue<WaitingThread> waitingThreads+
protected final Map<HttpRoute,RouteSpecificPool> routeToPool+
protected volatile boolean shutdown+
protected volatile int maxTotalConnections+
protected volatile int numConnections+
public ConnPoolByRoute(ClientConnectionOperator operator, + ConnPerRoute connPerRoute, + int maxTotalConnections)+
public ConnPoolByRoute(ClientConnectionOperator operator, + ConnPerRoute connPerRoute, + int maxTotalConnections, + long connTTL, + TimeUnit connTTLTimeUnit)+
@Deprecated +public ConnPoolByRoute(ClientConnectionOperator operator, + org.apache.http.params.HttpParams params)+
ConnPoolByRoute(ClientConnectionOperator, ConnPerRoute, int)
protected Lock getLock()+
protected Queue<BasicPoolEntry> createFreeConnQueue()+
freeConnections
.
+ Called once by the constructor.protected Queue<WaitingThread> createWaitingThreadQueue()+
waitingThreads
.
+ Called once by the constructor.protected Map<HttpRoute,RouteSpecificPool> createRouteToPoolMap()+
routeToPool
.
+ Called once by the constructor.protected RouteSpecificPool newRouteSpecificPool(HttpRoute route)+
getRoutePool(org.apache.http.conn.routing.HttpRoute, boolean)
when necessary.route
- the routeprotected WaitingThread newWaitingThread(Condition cond, + RouteSpecificPool rospl)+
getRoutePool(org.apache.http.conn.routing.HttpRoute, boolean)
when necessary.cond
- the condition to wait forrospl
- the route specific pool, or null
protected RouteSpecificPool getRoutePool(HttpRoute route, + boolean create)+
route
- the routecreate
- whether to create the pool if it doesn't existnull
if create
is true
public int getConnectionsInPool(HttpRoute route)+
public int getConnectionsInPool()+
public PoolEntryRequest requestPoolEntry(HttpRoute route, + Object state)+
AbstractConnPool
PoolEntryRequest
, from which a BasicPoolEntry
+ can be obtained, or the request can be aborted.requestPoolEntry
in class AbstractConnPool
route
- the routestate
- the stateprotected BasicPoolEntry getEntryBlocking(HttpRoute route, + Object state, + long timeout, + TimeUnit timeUnit, + WaitingThreadAborter aborter) + throws ConnectionPoolTimeoutException, + InterruptedException+
WaitingThread
is used to block, WaitingThreadAborter.setWaitingThread(WaitingThread)
+ must be called before blocking, to allow the thread to be interrupted.route
- the route for which to get the connectiontimeout
- the timeout, 0 or negative for no timeouttimeUnit
- the unit for the timeout
,
+ may be null
only if there is no timeoutaborter
- an object which can abort a WaitingThread
.ConnectionPoolTimeoutException
- if the timeout expiredInterruptedException
- if the calling thread was interruptedpublic void freeEntry(BasicPoolEntry entry, + boolean reusable, + long validDuration, + TimeUnit timeUnit)+
AbstractConnPool
freeEntry
in class AbstractConnPool
entry
- the entry for the connection to releasereusable
- true
if the entry is deemed
+ reusable, false
otherwise.validDuration
- The duration that the entry should remain free and reusable.timeUnit
- The unit of time the duration is measured in.protected BasicPoolEntry getFreeEntry(RouteSpecificPool rospl, + Object state)+
rospl
- the route-specific pool from which to get an entrynull
if none is availableprotected BasicPoolEntry createEntry(RouteSpecificPool rospl, + ClientConnectionOperator op)+
rospl
- the route-specific pool for which to create the entryop
- the operator for creating a connectionprotected void deleteEntry(BasicPoolEntry entry)+
Note: Does not remove the entry from the freeConnections list. + It is assumed that the caller has already handled this step.
+entry
- the pool entry for the connection to deleteprotected void deleteLeastUsedEntry()+
protected void handleLostEntry(HttpRoute route)+
handleLostEntry
in class AbstractConnPool
protected void notifyWaitingThread(RouteSpecificPool rospl)+
rospl
- the pool in which to notify, or null
public void deleteClosedConnections()+
AbstractConnPool
deleteClosedConnections
in class AbstractConnPool
public void closeIdleConnections(long idletime, + TimeUnit timeUnit)+
closeIdleConnections
in class AbstractConnPool
idletime
- the time the connections should have been idle
+ in order to be closed nowtimeUnit
- the unit for the idletime
public void closeExpiredConnections()+
closeExpiredConnections
in class AbstractConnPool
public void shutdown()+
AbstractConnPool
shutdown
in class AbstractConnPool
public void setMaxTotalConnections(int max)+
public int getMaxTotalConnections()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/PoolEntryRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/PoolEntryRequest.html new file mode 100644 index 0000000..dcbe386 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/PoolEntryRequest.html @@ -0,0 +1,252 @@ + + + + + + +Future
@Deprecated +public interface PoolEntryRequest+
BasicPoolEntry
.Modifier and Type | +Method and Description | +
---|---|
void |
+abortRequest()
+Deprecated.
+Aborts the active or next call to
+
+getPoolEntry(long, TimeUnit) . |
+
BasicPoolEntry |
+getPoolEntry(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
BasicPoolEntry getPoolEntry(long timeout, + TimeUnit timeUnit) + throws InterruptedException, + ConnectionPoolTimeoutException+
abortRequest()
is called before this completes
+ an InterruptedException
is thrown.timeout
- the timeout, 0 or negative for no timeouttimeUnit
- the unit for the timeout
,
+ may be null
only if there is no timeoutConnectionPoolTimeoutException
- if the timeout expiredInterruptedException
- if the calling thread was interrupted or the request was abortedvoid abortRequest()+
getPoolEntry(long, TimeUnit)
.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/RouteSpecificPool.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/RouteSpecificPool.html new file mode 100644 index 0000000..737477e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/RouteSpecificPool.html @@ -0,0 +1,698 @@ + + + + + + +AbstractConnPool
@Deprecated +public class RouteSpecificPool +extends Object+
ConnPoolByRoute
.
+ The methods in this class are unsynchronized. It is expected that the
+ containing pool takes care of synchronization.Modifier and Type | +Field and Description | +
---|---|
protected ConnPerRoute |
+connPerRoute
+Deprecated.
+Connections per route
+ |
+
protected LinkedList<BasicPoolEntry> |
+freeEntries
+Deprecated.
+The list of free entries.
+ |
+
protected int |
+maxEntries
+Deprecated.
+ |
+
protected int |
+numEntries
+Deprecated.
+The number of created entries.
+ |
+
protected HttpRoute |
+route
+Deprecated.
+The route this pool is for.
+ |
+
protected Queue<WaitingThread> |
+waitingThreads
+Deprecated.
+The list of threads waiting for this pool.
+ |
+
Constructor and Description | +
---|
RouteSpecificPool(HttpRoute route,
+ ConnPerRoute connPerRoute)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
RouteSpecificPool(HttpRoute route,
+ int maxEntries)
+Deprecated.
+
+
+ |
+
Modifier and Type | +Method and Description | +
---|---|
BasicPoolEntry |
+allocEntry(Object state)
+Deprecated.
+Obtains a free entry from this pool, if one is available.
+ |
+
void |
+createdEntry(BasicPoolEntry entry)
+Deprecated.
+Indicates creation of an entry for this pool.
+ |
+
boolean |
+deleteEntry(BasicPoolEntry entry)
+Deprecated.
+Deletes an entry from this pool.
+ |
+
void |
+dropEntry()
+Deprecated.
+Forgets about an entry from this pool.
+ |
+
void |
+freeEntry(BasicPoolEntry entry)
+Deprecated.
+Returns an allocated entry to this pool.
+ |
+
int |
+getCapacity()
+Deprecated.
+Return remaining capacity of this pool
+ |
+
int |
+getEntryCount()
+Deprecated.
+Obtains the number of entries.
+ |
+
int |
+getMaxEntries()
+Deprecated.
+Obtains the maximum number of entries allowed for this pool.
+ |
+
HttpRoute |
+getRoute()
+Deprecated.
+Obtains the route for which this pool is specific.
+ |
+
boolean |
+hasThread()
+Deprecated.
+Checks whether there is a waiting thread in this pool.
+ |
+
boolean |
+isUnused()
+Deprecated.
+Indicates whether this pool is unused.
+ |
+
WaitingThread |
+nextThread()
+Deprecated.
+Returns the next thread in the queue.
+ |
+
void |
+queueThread(WaitingThread wt)
+Deprecated.
+Adds a waiting thread.
+ |
+
void |
+removeThread(WaitingThread wt)
+Deprecated.
+Removes a waiting thread, if it is queued.
+ |
+
protected final HttpRoute route+
protected final int maxEntries+
protected final ConnPerRoute connPerRoute+
protected final LinkedList<BasicPoolEntry> freeEntries+
protected final Queue<WaitingThread> waitingThreads+
protected int numEntries+
@Deprecated +public RouteSpecificPool(HttpRoute route, + int maxEntries)+
RouteSpecificPool(HttpRoute, ConnPerRoute)
public RouteSpecificPool(HttpRoute route, + ConnPerRoute connPerRoute)+
route
- the route for which to poolconnPerRoute
- the connections per route configurationpublic final HttpRoute getRoute()+
public final int getMaxEntries()+
public boolean isUnused()+
true
if this pool is unused,
+ false
otherwisepublic int getCapacity()+
public final int getEntryCount()+
public BasicPoolEntry allocEntry(Object state)+
null
if there is nonepublic void freeEntry(BasicPoolEntry entry)+
entry
- the entry obtained from allocEntry
+ or presented to createdEntry
public void createdEntry(BasicPoolEntry entry)+
freeEntry
.entry
- the entry that was created for this poolpublic boolean deleteEntry(BasicPoolEntry entry)+
entry
- the entry to delete from this pooltrue
if the entry was found and deleted, or
+ false
if the entry was not foundpublic void dropEntry()+
allocated
+ from this pool has been lost and will not be returned.public void queueThread(WaitingThread wt)+
wt
- the waiting threadpublic boolean hasThread()+
true
if there is a waiting thread,
+ false
otherwisepublic WaitingThread nextThread()+
null
if there is nonepublic void removeThread(WaitingThread wt)+
wt
- the waiting threadCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.html new file mode 100644 index 0000000..5c0e9c7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.html @@ -0,0 +1,889 @@ + + + + + + +PoolingHttpClientConnectionManager
@Contract(threading=SAFE_CONDITIONAL) +@Deprecated +public class ThreadSafeClientConnManager +extends Object +implements ClientConnectionManager+
OperatedClientConnection
+ and is able to service connection requests from multiple execution threads.
+ Connections are pooled on a per route basis. A request for a route which
+ already the manager has persistent connections for available in the pool
+ will be services by leasing a connection from the pool rather than
+ creating a brand new connection.
+ + ThreadSafeClientConnManager maintains a maximum limit of connection on + a per route basis and in total. Per default this implementation will + create no more than than 2 concurrent connections per given route + and no more 20 connections in total. For many real-world applications + these limits may prove too constraining, especially if they use HTTP + as a transport protocol for their services. Connection limits, however, + can be adjusted using HTTP parameters.
Modifier and Type | +Field and Description | +
---|---|
protected AbstractConnPool |
+connectionPool
+Deprecated.
+ |
+
protected ClientConnectionOperator |
+connOperator
+Deprecated.
+The operator for opening and updating connections.
+ |
+
protected ConnPerRouteBean |
+connPerRoute
+Deprecated.
+ |
+
protected ConnPoolByRoute |
+pool
+Deprecated.
+The pool of connections being managed.
+ |
+
protected SchemeRegistry |
+schemeRegistry
+Deprecated.
+The schemes supported by this connection manager.
+ |
+
Constructor and Description | +
---|
ThreadSafeClientConnManager()
+Deprecated.
+ |
+
ThreadSafeClientConnManager(org.apache.http.params.HttpParams params,
+ SchemeRegistry schreg)
+Deprecated.
+
+
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg,
+ long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
ThreadSafeClientConnManager(SchemeRegistry schreg,
+ long connTTL,
+ TimeUnit connTTLTimeUnit,
+ ConnPerRouteBean connPerRoute)
+Deprecated.
+Creates a new thread safe connection manager.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+closeExpiredConnections()
+Deprecated.
+Closes all expired connections in the pool.
+ |
+
void |
+closeIdleConnections(long idleTimeout,
+ TimeUnit timeUnit)
+Deprecated.
+Closes idle connections in the pool.
+ |
+
protected ClientConnectionOperator |
+createConnectionOperator(SchemeRegistry schreg)
+Deprecated.
+Hook for creating the connection operator.
+ |
+
protected AbstractConnPool |
+createConnectionPool(org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) use #createConnectionPool(long, TimeUnit))
+ |
+
protected ConnPoolByRoute |
+createConnectionPool(long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+Hook for creating the connection pool.
+ |
+
protected void |
+finalize()
+Deprecated.
+ |
+
int |
+getConnectionsInPool()
+Deprecated.
+Gets the total number of pooled connections.
+ |
+
int |
+getConnectionsInPool(HttpRoute route)
+Deprecated.
+Gets the total number of pooled connections for the given route.
+ |
+
int |
+getDefaultMaxPerRoute()
+Deprecated.
+ |
+
int |
+getMaxForRoute(HttpRoute route)
+Deprecated.
+ |
+
int |
+getMaxTotal()
+Deprecated.
+since 4.1
+ |
+
SchemeRegistry |
+getSchemeRegistry()
+Deprecated.
+Obtains the scheme registry used by this manager.
+ |
+
void |
+releaseConnection(ManagedClientConnection conn,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Releases a connection for use by others.
+ |
+
ClientConnectionRequest |
+requestConnection(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+ClientConnectionRequest , from which a
+ ManagedClientConnection can be obtained or the request can be
+ aborted. |
+
void |
+setDefaultMaxPerRoute(int max)
+Deprecated.
+ |
+
void |
+setMaxForRoute(HttpRoute route,
+ int max)
+Deprecated.
+ |
+
void |
+setMaxTotal(int max)
+Deprecated.
+since 4.1
+ |
+
void |
+shutdown()
+Deprecated.
+Shuts down this connection manager and releases allocated resources.
+ |
+
protected final SchemeRegistry schemeRegistry+
protected final AbstractConnPool connectionPool+
protected final ConnPoolByRoute pool+
protected final ClientConnectionOperator connOperator+
protected final ConnPerRouteBean connPerRoute+
public ThreadSafeClientConnManager(SchemeRegistry schreg)+
schreg
- the scheme registry.public ThreadSafeClientConnManager()+
public ThreadSafeClientConnManager(SchemeRegistry schreg, + long connTTL, + TimeUnit connTTLTimeUnit)+
schreg
- the scheme registry.connTTL
- max connection lifetime, <=0 implies "infinity"connTTLTimeUnit
- TimeUnit of connTTLpublic ThreadSafeClientConnManager(SchemeRegistry schreg, + long connTTL, + TimeUnit connTTLTimeUnit, + ConnPerRouteBean connPerRoute)+
schreg
- the scheme registry.connTTL
- max connection lifetime, <=0 implies "infinity"connTTLTimeUnit
- TimeUnit of connTTLconnPerRoute
- mapping of maximum connections per route,
+ provided as a dependency so it can be managed externally, e.g.
+ for dynamic connection pool size management.@Deprecated +public ThreadSafeClientConnManager(org.apache.http.params.HttpParams params, + SchemeRegistry schreg)+
ThreadSafeClientConnManager(SchemeRegistry)
params
- the parameters for this manager.schreg
- the scheme registry.protected void finalize() + throws Throwable+
@Deprecated +protected AbstractConnPool createConnectionPool(org.apache.http.params.HttpParams params)+
protected ConnPoolByRoute createConnectionPool(long connTTL, + TimeUnit connTTLTimeUnit)+
protected ClientConnectionOperator createConnectionOperator(SchemeRegistry schreg)+
DefaultClientConnectionOperator
.schreg
- the scheme registry.public SchemeRegistry getSchemeRegistry()+
ClientConnectionManager
getSchemeRegistry
in interface ClientConnectionManager
null
public ClientConnectionRequest requestConnection(HttpRoute route, + Object state)+
ClientConnectionManager
ClientConnectionRequest
, from which a
+ ManagedClientConnection
can be obtained or the request can be
+ aborted.requestConnection
in interface ClientConnectionManager
public void releaseConnection(ManagedClientConnection conn, + long validDuration, + TimeUnit timeUnit)+
ClientConnectionManager
releaseConnection
in interface ClientConnectionManager
conn
- the connection to releasevalidDuration
- the duration of time this connection is valid for reusetimeUnit
- the unit of time validDuration is measured inClientConnectionManager.closeExpiredConnections()
public void shutdown()+
ClientConnectionManager
shutdown
in interface ClientConnectionManager
public int getConnectionsInPool(HttpRoute route)+
route
- the route in questionpublic int getConnectionsInPool()+
public void closeIdleConnections(long idleTimeout, + TimeUnit timeUnit)+
ClientConnectionManager
closeIdleConnections
in interface ClientConnectionManager
idleTimeout
- the idle time of connections to be closedtimeUnit
- the unit for the idletime
ClientConnectionManager.closeExpiredConnections()
public void closeExpiredConnections()+
ClientConnectionManager
closeExpiredConnections
in interface ClientConnectionManager
public int getMaxTotal()+
public void setMaxTotal(int max)+
public int getDefaultMaxPerRoute()+
public void setDefaultMaxPerRoute(int max)+
public int getMaxForRoute(HttpRoute route)+
public void setMaxForRoute(HttpRoute route, + int max)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThread.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThread.html new file mode 100644 index 0000000..0f04ab8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThread.html @@ -0,0 +1,398 @@ + + + + + + +@Deprecated +public class WaitingThread +extends Object+
+ This class implements throw away objects. It is instantiated whenever + a thread needs to wait. Instances are not re-used, except if the + waiting thread experiences a spurious wake up and continues to wait. +
++ All methods assume external synchronization on the condition + passed to the constructor. + Instances of this class do not synchronize access! +
Constructor and Description | +
---|
WaitingThread(Condition cond,
+ RouteSpecificPool pool)
+Deprecated.
+Creates a new entry for a waiting thread.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+await(Date deadline)
+Deprecated.
+Blocks the calling thread.
+ |
+
Condition |
+getCondition()
+Deprecated.
+Obtains the condition.
+ |
+
RouteSpecificPool |
+getPool()
+Deprecated.
+Obtains the pool, if there is one.
+ |
+
Thread |
+getThread()
+Deprecated.
+Obtains the thread, if there is one.
+ |
+
void |
+interrupt()
+Deprecated.
+ |
+
void |
+wakeup()
+Deprecated.
+Wakes up the waiting thread.
+ |
+
public WaitingThread(Condition cond, + RouteSpecificPool pool)+
cond
- the condition for which to waitpool
- the pool on which the thread will be waiting,
+ or null
public final Condition getCondition()+
null
public final RouteSpecificPool getPool()+
null
public final Thread getThread()+
null
public boolean await(Date deadline) + throws InterruptedException+
+ This method assumes external synchronization. +
deadline
- when to time out, or null
for no timeouttrue
if the condition was satisfied,
+ false
in case of a timeout.
+ Typically, a call to wakeup()
is used to indicate
+ that the condition was satisfied. Since the condition is
+ accessible outside, this cannot be guaranteed though.InterruptedException
- if the waiting thread was interruptedwakeup()
public void wakeup()+
+ This method assumes external synchronization. +
public void interrupt()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThreadAborter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThreadAborter.html new file mode 100644 index 0000000..edfa825 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/WaitingThreadAborter.html @@ -0,0 +1,295 @@ + + + + + + +@Deprecated +public class WaitingThreadAborter +extends Object+
WaitingThread
.
+
+ Must be called with the pool lock held.Constructor and Description | +
---|
WaitingThreadAborter()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+abort()
+Deprecated.
+If a waiting thread has been set, interrupts it.
+ |
+
void |
+setWaitingThread(WaitingThread waitingThread)
+Deprecated.
+Sets the waiting thread.
+ |
+
public WaitingThreadAborter()+
public void abort()+
public void setWaitingThread(WaitingThread waitingThread)+
waitingThread
- The thread to interrupt when aborting.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/AbstractConnPool.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/AbstractConnPool.html new file mode 100644 index 0000000..357ac03 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/AbstractConnPool.html @@ -0,0 +1,195 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConnPoolByRoute
+Deprecated.
+
+(4.2) use
+AbstractConnPool |
+
Modifier and Type | +Field and Description | +
---|---|
protected AbstractConnPool |
+ThreadSafeClientConnManager.connectionPool
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected AbstractConnPool |
+ThreadSafeClientConnManager.createConnectionPool(org.apache.http.params.HttpParams params)
+Deprecated.
+
+(4.1) use #createConnectionPool(long, TimeUnit))
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntry.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntry.html new file mode 100644 index 0000000..d1c939f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntry.html @@ -0,0 +1,330 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected Queue<BasicPoolEntry> |
+ConnPoolByRoute.freeConnections
+Deprecated.
+The list of free connections
+ |
+
protected LinkedList<BasicPoolEntry> |
+RouteSpecificPool.freeEntries
+Deprecated.
+The list of free entries.
+ |
+
protected Set<BasicPoolEntry> |
+AbstractConnPool.leasedConnections
+Deprecated.
+ |
+
protected Set<BasicPoolEntry> |
+ConnPoolByRoute.leasedConnections
+Deprecated.
+References to issued connections
+ |
+
Modifier and Type | +Method and Description | +
---|---|
BasicPoolEntry |
+RouteSpecificPool.allocEntry(Object state)
+Deprecated.
+Obtains a free entry from this pool, if one is available.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.createEntry(RouteSpecificPool rospl,
+ ClientConnectionOperator op)
+Deprecated.
+Creates a new pool entry.
+ |
+
BasicPoolEntry |
+AbstractConnPool.getEntry(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.getEntryBlocking(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit,
+ WaitingThreadAborter aborter)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.getFreeEntry(RouteSpecificPool rospl,
+ Object state)
+Deprecated.
+If available, get a free pool entry for a route.
+ |
+
BasicPoolEntry |
+PoolEntryRequest.getPoolEntry(long timeout,
+ TimeUnit timeUnit)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Queue<BasicPoolEntry> |
+ConnPoolByRoute.createFreeConnQueue()
+Deprecated.
+Creates the queue for
+ConnPoolByRoute.freeConnections . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+RouteSpecificPool.createdEntry(BasicPoolEntry entry)
+Deprecated.
+Indicates creation of an entry for this pool.
+ |
+
boolean |
+RouteSpecificPool.deleteEntry(BasicPoolEntry entry)
+Deprecated.
+Deletes an entry from this pool.
+ |
+
protected void |
+ConnPoolByRoute.deleteEntry(BasicPoolEntry entry)
+Deprecated.
+Deletes a given pool entry.
+ |
+
void |
+RouteSpecificPool.freeEntry(BasicPoolEntry entry)
+Deprecated.
+Returns an allocated entry to this pool.
+ |
+
abstract void |
+AbstractConnPool.freeEntry(BasicPoolEntry entry,
+ boolean reusable,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+Returns an entry into the pool.
+ |
+
void |
+ConnPoolByRoute.freeEntry(BasicPoolEntry entry,
+ boolean reusable,
+ long validDuration,
+ TimeUnit timeUnit)
+Deprecated.
+ |
+
Constructor and Description | +
---|
BasicPoolEntryRef(BasicPoolEntry entry,
+ ReferenceQueue<Object> queue)
+Deprecated.
+Creates a new reference to a pool entry.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntryRef.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntryRef.html new file mode 100644 index 0000000..7de6834 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPoolEntryRef.html @@ -0,0 +1,176 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected Set<BasicPoolEntryRef> |
+AbstractConnPool.issuedConnections
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected BasicPoolEntryRef |
+BasicPoolEntry.getWeakRef()
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPooledConnAdapter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPooledConnAdapter.html new file mode 100644 index 0000000..0b1e90c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/BasicPooledConnAdapter.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ConnPoolByRoute.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ConnPoolByRoute.html new file mode 100644 index 0000000..927d4d9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ConnPoolByRoute.html @@ -0,0 +1,179 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ConnPoolByRoute |
+ThreadSafeClientConnManager.pool
+Deprecated.
+The pool of connections being managed.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ConnPoolByRoute |
+ThreadSafeClientConnManager.createConnectionPool(long connTTL,
+ TimeUnit connTTLTimeUnit)
+Deprecated.
+Hook for creating the connection pool.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/PoolEntryRequest.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/PoolEntryRequest.html new file mode 100644 index 0000000..c68965f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/PoolEntryRequest.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
abstract PoolEntryRequest |
+AbstractConnPool.requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+Returns a new
+PoolEntryRequest , from which a BasicPoolEntry
+ can be obtained, or the request can be aborted. |
+
PoolEntryRequest |
+ConnPoolByRoute.requestPoolEntry(HttpRoute route,
+ Object state)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/RouteSpecificPool.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/RouteSpecificPool.html new file mode 100644 index 0000000..420b8a1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/RouteSpecificPool.html @@ -0,0 +1,264 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<HttpRoute,RouteSpecificPool> |
+ConnPoolByRoute.routeToPool
+Deprecated.
+Map of route-specific pools
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RouteSpecificPool |
+WaitingThread.getPool()
+Deprecated.
+Obtains the pool, if there is one.
+ |
+
protected RouteSpecificPool |
+ConnPoolByRoute.getRoutePool(HttpRoute route,
+ boolean create)
+Deprecated.
+Get a route-specific pool of available connections.
+ |
+
protected RouteSpecificPool |
+ConnPoolByRoute.newRouteSpecificPool(HttpRoute route)
+Deprecated.
+Creates a new route-specific pool.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Map<HttpRoute,RouteSpecificPool> |
+ConnPoolByRoute.createRouteToPoolMap()
+Deprecated.
+Creates the map for
+ConnPoolByRoute.routeToPool . |
+
Modifier and Type | +Method and Description | +
---|---|
protected BasicPoolEntry |
+ConnPoolByRoute.createEntry(RouteSpecificPool rospl,
+ ClientConnectionOperator op)
+Deprecated.
+Creates a new pool entry.
+ |
+
protected BasicPoolEntry |
+ConnPoolByRoute.getFreeEntry(RouteSpecificPool rospl,
+ Object state)
+Deprecated.
+If available, get a free pool entry for a route.
+ |
+
protected WaitingThread |
+ConnPoolByRoute.newWaitingThread(Condition cond,
+ RouteSpecificPool rospl)
+Deprecated.
+Creates a new waiting thread.
+ |
+
protected void |
+ConnPoolByRoute.notifyWaitingThread(RouteSpecificPool rospl)
+Deprecated.
+Notifies a waiting thread that a connection is available.
+ |
+
Constructor and Description | +
---|
WaitingThread(Condition cond,
+ RouteSpecificPool pool)
+Deprecated.
+Creates a new entry for a waiting thread.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ThreadSafeClientConnManager.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ThreadSafeClientConnManager.html new file mode 100644 index 0000000..3697789 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/ThreadSafeClientConnManager.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Constructor and Description | +
---|
BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm,
+ AbstractPoolEntry entry)
+Deprecated.
+Creates a new adapter.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThread.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThread.html new file mode 100644 index 0000000..d5521ff --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThread.html @@ -0,0 +1,239 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected Queue<WaitingThread> |
+RouteSpecificPool.waitingThreads
+Deprecated.
+The list of threads waiting for this pool.
+ |
+
protected Queue<WaitingThread> |
+ConnPoolByRoute.waitingThreads
+Deprecated.
+The list of WaitingThreads waiting for a connection
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected WaitingThread |
+ConnPoolByRoute.newWaitingThread(Condition cond,
+ RouteSpecificPool rospl)
+Deprecated.
+Creates a new waiting thread.
+ |
+
WaitingThread |
+RouteSpecificPool.nextThread()
+Deprecated.
+Returns the next thread in the queue.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected Queue<WaitingThread> |
+ConnPoolByRoute.createWaitingThreadQueue()
+Deprecated.
+Creates the queue for
+ConnPoolByRoute.waitingThreads . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+RouteSpecificPool.queueThread(WaitingThread wt)
+Deprecated.
+Adds a waiting thread.
+ |
+
void |
+RouteSpecificPool.removeThread(WaitingThread wt)
+Deprecated.
+Removes a waiting thread, if it is queued.
+ |
+
void |
+WaitingThreadAborter.setWaitingThread(WaitingThread waitingThread)
+Deprecated.
+Sets the waiting thread.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThreadAborter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThreadAborter.html new file mode 100644 index 0000000..92f4eff --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/class-use/WaitingThreadAborter.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected BasicPoolEntry |
+ConnPoolByRoute.getEntryBlocking(HttpRoute route,
+ Object state,
+ long timeout,
+ TimeUnit timeUnit,
+ WaitingThreadAborter aborter)
+Deprecated.
+Obtains a pool entry with a connection within the given timeout.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-frame.html new file mode 100644 index 0000000..112dc85 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +Interface | +Description | +
---|---|
PoolEntryRequest | +Deprecated
+ (4.2) use
+Future |
+
Class | +Description | +
---|---|
AbstractConnPool | +Deprecated
+ (4.2) use
+AbstractConnPool |
+
BasicPooledConnAdapter | +Deprecated
+ (4.2) do not use
+ |
+
BasicPoolEntry | +Deprecated
+ (4.2) use
+PoolEntry |
+
BasicPoolEntryRef | +Deprecated
+ (4.2) do not use
+ |
+
ConnPoolByRoute | +Deprecated
+ (4.2) use
+AbstractConnPool |
+
RouteSpecificPool | +Deprecated
+ (4.2) use
+AbstractConnPool |
+
ThreadSafeClientConnManager | +Deprecated
+ (4.2) use
+PoolingHttpClientConnectionManager |
+
WaitingThread | +Deprecated
+ (4.2) do not use
+ |
+
WaitingThreadAborter | +Deprecated
+ (4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-tree.html new file mode 100644 index 0000000..73b0067 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-tree.html @@ -0,0 +1,165 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-use.html new file mode 100644 index 0000000..9c2c8a2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/conn/tsccm/package-use.html @@ -0,0 +1,212 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
Class and Description | +
---|
AbstractConnPool
+ Deprecated.
+
+(4.2) use
+AbstractConnPool |
+
BasicPoolEntry
+ Deprecated.
+
+(4.2) use
+PoolEntry |
+
BasicPoolEntryRef
+ Deprecated.
+
+(4.2) do not use
+ |
+
ConnPoolByRoute
+ Deprecated.
+
+(4.2) use
+AbstractConnPool |
+
PoolEntryRequest
+ Deprecated.
+
+(4.2) use
+Future |
+
RouteSpecificPool
+ Deprecated.
+
+(4.2) use
+AbstractConnPool |
+
ThreadSafeClientConnManager
+ Deprecated.
+
+(4.2) use
+PoolingHttpClientConnectionManager |
+
WaitingThread
+ Deprecated.
+
+(4.2) do not use
+ |
+
WaitingThreadAborter
+ Deprecated.
+
+(4.2) do not use
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.html new file mode 100644 index 0000000..141b545 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.html @@ -0,0 +1,316 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public abstract class AbstractCookieAttributeHandler +extends Object +implements CookieAttributeHandler+
Constructor and Description | +
---|
AbstractCookieAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse
public AbstractCookieAttributeHandler()+
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwiseCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieSpec.html new file mode 100644 index 0000000..9f5acd5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/AbstractCookieSpec.html @@ -0,0 +1,383 @@ + + + + + + +@Contract(threading=SAFE) +public abstract class AbstractCookieSpec +extends Object +implements CookieSpec+
CookieAttributeHandler
s.Modifier | +Constructor and Description | +
---|---|
|
+AbstractCookieSpec()
+Default constructor
+ |
+
protected |
+AbstractCookieSpec(CommonCookieAttributeHandler... handlers) |
+
protected |
+AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map) |
+
Modifier and Type | +Method and Description | +
---|---|
protected CookieAttributeHandler |
+findAttribHandler(String name)
+Finds an attribute handler
+CookieAttributeHandler for the
+ given attribute. |
+
protected CookieAttributeHandler |
+getAttribHandler(String name)
+Gets attribute handler
+CookieAttributeHandler for the
+ given attribute. |
+
protected Collection<CookieAttributeHandler> |
+getAttribHandlers() |
+
void |
+registerAttribHandler(String name,
+ CookieAttributeHandler handler)
+Deprecated.
+
+(4.4) use
+AbstractCookieSpec(java.util.HashMap) or
+ AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
+ constructors instead. |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatCookies, getVersion, getVersionHeader, match, parse, validate
public AbstractCookieSpec()+
protected AbstractCookieSpec(HashMap<String,CookieAttributeHandler> map)+
protected AbstractCookieSpec(CommonCookieAttributeHandler... handlers)+
@Deprecated +public void registerAttribHandler(String name, + CookieAttributeHandler handler)+
AbstractCookieSpec(java.util.HashMap)
or
+ AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
+ constructors instead.protected CookieAttributeHandler findAttribHandler(String name)+
CookieAttributeHandler
for the
+ given attribute. Returns null
if no attribute handler is
+ found for the specified attribute.name
- attribute name. e.g. Domain, Path, etc.null
protected CookieAttributeHandler getAttribHandler(String name)+
CookieAttributeHandler
for the
+ given attribute.name
- attribute name. e.g. Domain, Path, etc.IllegalStateException
- if handler not found for the
+ specified attribute.protected Collection<CookieAttributeHandler> getAttribHandlers()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie.html new file mode 100644 index 0000000..8db0ad1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie.html @@ -0,0 +1,815 @@ + + + + + + +public class BasicClientCookie +extends Object +implements SetCookie, ClientCookie, Cloneable, Serializable+
SetCookie
.COMMENT_ATTR, COMMENTURL_ATTR, DISCARD_ATTR, DOMAIN_ATTR, EXPIRES_ATTR, MAX_AGE_ATTR, PATH_ATTR, PORT_ATTR, SECURE_ATTR, VERSION_ATTR
Constructor and Description | +
---|
BasicClientCookie(String name,
+ String value)
+Default Constructor taking a name and a value.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+clone() |
+
boolean |
+containsAttribute(String name) |
+
String |
+getAttribute(String name) |
+
String |
+getComment()
+Returns the comment describing the purpose of this cookie, or
+
+null if no such comment has been defined. |
+
String |
+getCommentURL()
+Returns null.
+ |
+
Date |
+getCreationDate() |
+
String |
+getDomain()
+Returns domain attribute of the cookie.
+ |
+
Date |
+getExpiryDate()
+Returns the expiration
+Date of the cookie, or null
+ if none exists. |
+
String |
+getName()
+Returns the name.
+ |
+
String |
+getPath()
+Returns the path attribute of the cookie
+ |
+
int[] |
+getPorts()
+Returns null.
+ |
+
String |
+getValue()
+Returns the value.
+ |
+
int |
+getVersion()
+Returns the version of the cookie specification to which this
+ cookie conforms.
+ |
+
boolean |
+isExpired(Date date)
+Returns true if this cookie has expired.
+ |
+
boolean |
+isPersistent()
+Returns
+false if the cookie should be discarded at the end
+ of the "session"; true otherwise. |
+
boolean |
+isSecure()
+Indicates whether this cookie requires a secure connection.
+ |
+
boolean |
+removeAttribute(String name) |
+
void |
+setAttribute(String name,
+ String value) |
+
void |
+setComment(String comment)
+If a user agent (web browser) presents this cookie to a user, the
+ cookie's purpose will be described using this comment.
+ |
+
void |
+setCreationDate(Date creationDate) |
+
void |
+setDomain(String domain)
+Sets the domain attribute.
+ |
+
void |
+setExpiryDate(Date expiryDate)
+Sets expiration date.
+ |
+
void |
+setPath(String path)
+Sets the path attribute.
+ |
+
void |
+setSecure(boolean secure)
+Sets the secure attribute of the cookie.
+ |
+
void |
+setValue(String value)
+Sets the value
+ |
+
void |
+setVersion(int version)
+Sets the version of the cookie specification to which this
+ cookie conforms.
+ |
+
String |
+toString() |
+
public String getName()+
public String getValue()+
public void setValue(String value)+
public String getComment()+
null
if no such comment has been defined.getComment
in interface Cookie
setComment(String)
public void setComment(String comment)+
setComment
in interface SetCookie
comment
- getComment()
public String getCommentURL()+
getCommentURL
in interface Cookie
public Date getExpiryDate()+
Date
of the cookie, or null
+ if none exists.
+ Note: the object returned by this method is + considered immutable. Changing it (e.g. using setTime()) could result + in undefined behaviour. Do so at your peril.
getExpiryDate
in interface Cookie
Date
, or null
.setExpiryDate(java.util.Date)
public void setExpiryDate(Date expiryDate)+
Note: the object returned by this method is considered + immutable. Changing it (e.g. using setTime()) could result in undefined + behaviour. Do so at your peril.
setExpiryDate
in interface SetCookie
expiryDate
- the Date
after which this cookie is no longer valid.getExpiryDate()
public boolean isPersistent()+
false
if the cookie should be discarded at the end
+ of the "session"; true
otherwise.isPersistent
in interface Cookie
false
if the cookie should be discarded at the end
+ of the "session"; true
otherwisepublic String getDomain()+
getDomain
in interface Cookie
setDomain(java.lang.String)
public void setDomain(String domain)+
setDomain
in interface SetCookie
domain
- The value of the domain attributegetDomain()
public String getPath()+
getPath
in interface Cookie
setPath(java.lang.String)
public void setPath(String path)+
public boolean isSecure()+
Cookie
isSecure
in interface Cookie
true
if this cookie should only be sent over secure connections.setSecure(boolean)
public void setSecure(boolean secure)+
+ When true
the cookie should only be sent
+ using a secure protocol (https). This should only be set when
+ the cookie's originating server used a secure protocol to set the
+ cookie's value.
setSecure
in interface SetCookie
secure
- The value of the secure attributeisSecure()
public int[] getPorts()+
public int getVersion()+
getVersion
in interface Cookie
setVersion(int)
public void setVersion(int version)+
setVersion
in interface SetCookie
version
- the version of the cookie.getVersion()
public boolean isExpired(Date date)+
public Date getCreationDate()+
public void setCreationDate(Date creationDate)+
public String getAttribute(String name)+
getAttribute
in interface ClientCookie
public boolean containsAttribute(String name)+
containsAttribute
in interface ClientCookie
public boolean removeAttribute(String name)+
public Object clone() + throws CloneNotSupportedException+
clone
in class Object
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie2.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie2.html new file mode 100644 index 0000000..d072dc7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicClientCookie2.html @@ -0,0 +1,484 @@ + + + + + + +public class BasicClientCookie2 +extends BasicClientCookie +implements SetCookie2+
SetCookie2
.COMMENT_ATTR, COMMENTURL_ATTR, DISCARD_ATTR, DOMAIN_ATTR, EXPIRES_ATTR, MAX_AGE_ATTR, PATH_ATTR, PORT_ATTR, SECURE_ATTR, VERSION_ATTR
Constructor and Description | +
---|
BasicClientCookie2(String name,
+ String value)
+Default Constructor taking a name and a value.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+clone() |
+
String |
+getCommentURL()
+Returns null.
+ |
+
int[] |
+getPorts()
+Returns null.
+ |
+
boolean |
+isExpired(Date date)
+Returns true if this cookie has expired.
+ |
+
boolean |
+isPersistent()
+Returns
+false if the cookie should be discarded at the end
+ of the "session"; true otherwise. |
+
void |
+setCommentURL(String commentURL)
+If a user agent (web browser) presents this cookie to a user, the
+ cookie's purpose will be described by the information at this URL.
+ |
+
void |
+setDiscard(boolean discard)
+Set the Discard attribute.
+ |
+
void |
+setPorts(int[] ports)
+Sets the Port attribute.
+ |
+
containsAttribute, getAttribute, getComment, getCreationDate, getDomain, getExpiryDate, getName, getPath, getValue, getVersion, isSecure, removeAttribute, setAttribute, setComment, setCreationDate, setDomain, setExpiryDate, setPath, setSecure, setValue, setVersion, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setComment, setDomain, setExpiryDate, setPath, setSecure, setValue, setVersion
getComment, getDomain, getExpiryDate, getName, getPath, getValue, getVersion, isSecure
public int[] getPorts()+
BasicClientCookie
getPorts
in interface Cookie
getPorts
in class BasicClientCookie
public void setPorts(int[] ports)+
SetCookie2
setPorts
in interface SetCookie2
public String getCommentURL()+
BasicClientCookie
getCommentURL
in interface Cookie
getCommentURL
in class BasicClientCookie
public void setCommentURL(String commentURL)+
SetCookie2
setCommentURL
in interface SetCookie2
public void setDiscard(boolean discard)+
SetCookie2
Discard
attribute overrides Max-age
.setDiscard
in interface SetCookie2
Cookie.isPersistent()
public boolean isPersistent()+
BasicClientCookie
false
if the cookie should be discarded at the end
+ of the "session"; true
otherwise.isPersistent
in interface Cookie
isPersistent
in class BasicClientCookie
false
if the cookie should be discarded at the end
+ of the "session"; true
otherwisepublic boolean isExpired(Date date)+
BasicClientCookie
isExpired
in interface Cookie
isExpired
in class BasicClientCookie
date
- Current timetrue
if the cookie has expired.public Object clone() + throws CloneNotSupportedException+
clone
in class BasicClientCookie
CloneNotSupportedException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicCommentHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicCommentHandler.html new file mode 100644 index 0000000..85f2894 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicCommentHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicCommentHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicCommentHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicDomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicDomainHandler.html new file mode 100644 index 0000000..386edbf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicDomainHandler.html @@ -0,0 +1,354 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicDomainHandler +extends Object +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicDomainHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicExpiresHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicExpiresHandler.html new file mode 100644 index 0000000..8731efb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicExpiresHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicExpiresHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicExpiresHandler(String[] datePatterns) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public BasicExpiresHandler(String[] datePatterns)+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicMaxAgeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicMaxAgeHandler.html new file mode 100644 index 0000000..841f2af --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicMaxAgeHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicMaxAgeHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicMaxAgeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicPathHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicPathHandler.html new file mode 100644 index 0000000..4fa47e3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicPathHandler.html @@ -0,0 +1,350 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicPathHandler +extends Object +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicPathHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicSecureHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicSecureHandler.html new file mode 100644 index 0000000..e9d6f98 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BasicSecureHandler.html @@ -0,0 +1,345 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class BasicSecureHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
BasicSecureHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
match
in class AbstractCookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpec.html new file mode 100644 index 0000000..0b02d3c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpec.html @@ -0,0 +1,310 @@ + + + + + + +DefaultCookieSpec
.@Contract(threading=SAFE) +@Deprecated +public class BestMatchSpec +extends DefaultCookieSpec+
Constructor and Description | +
---|
BestMatchSpec()
+Deprecated.
+ |
+
BestMatchSpec(String[] datepatterns,
+ boolean oneHeader)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString()
+Deprecated.
+ |
+
formatCookies, getVersion, getVersionHeader, match, parse, validate
public BestMatchSpec(String[] datepatterns, + boolean oneHeader)+
public BestMatchSpec()+
public String toString()+
toString
in class DefaultCookieSpec
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpecFactory.html new file mode 100644 index 0000000..867c6fe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BestMatchSpecFactory.html @@ -0,0 +1,327 @@ + + + + + + +DefaultCookieSpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class BestMatchSpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ BestMatchSpec
. The instance returned by this factory can
+ be shared by multiple threads.Constructor and Description | +
---|
BestMatchSpecFactory()
+Deprecated.
+ |
+
BestMatchSpecFactory(String[] datepatterns,
+ boolean oneHeader)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public BestMatchSpecFactory(String[] datepatterns, + boolean oneHeader)+
public BestMatchSpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpec.html new file mode 100644 index 0000000..e0406c9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpec.html @@ -0,0 +1,438 @@ + + + + + + +DefaultCookieSpec
.@Deprecated +@Contract(threading=SAFE) +public class BrowserCompatSpec +extends CookieSpecBase+
Constructor and Description | +
---|
BrowserCompatSpec()
+Deprecated.
+Default constructor
+ |
+
BrowserCompatSpec(String[] datepatterns)
+Deprecated.
+Default constructor
+ |
+
BrowserCompatSpec(String[] datepatterns,
+ BrowserCompatSpecFactory.SecurityLevel securityLevel)
+Deprecated.
+Default constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Deprecated.
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Deprecated.
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Deprecated.
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Deprecated.
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
String |
+toString()
+Deprecated.
+ |
+
getDefaultDomain, getDefaultPath, match, parse, validate
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
public BrowserCompatSpec(String[] datepatterns, + BrowserCompatSpecFactory.SecurityLevel securityLevel)+
public BrowserCompatSpec(String[] datepatterns)+
public BrowserCompatSpec()+
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
public List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.cookies
- the Cookies format into a Cookie headerpublic int getVersion()+
CookieSpec
public org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.SecurityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.SecurityLevel.html new file mode 100644 index 0000000..7d522ff --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.SecurityLevel.html @@ -0,0 +1,325 @@ + + + + + + +public static enum BrowserCompatSpecFactory.SecurityLevel +extends Enum<BrowserCompatSpecFactory.SecurityLevel>+
Enum Constant and Description | +
---|
SECURITYLEVEL_DEFAULT |
+
SECURITYLEVEL_IE_MEDIUM |
+
Modifier and Type | +Method and Description | +
---|---|
static BrowserCompatSpecFactory.SecurityLevel |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static BrowserCompatSpecFactory.SecurityLevel[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final BrowserCompatSpecFactory.SecurityLevel SECURITYLEVEL_DEFAULT+
public static final BrowserCompatSpecFactory.SecurityLevel SECURITYLEVEL_IE_MEDIUM+
public static BrowserCompatSpecFactory.SecurityLevel[] values()+
+for (BrowserCompatSpecFactory.SecurityLevel c : BrowserCompatSpecFactory.SecurityLevel.values()) + System.out.println(c); +
public static BrowserCompatSpecFactory.SecurityLevel valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.html new file mode 100644 index 0000000..c57894d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.html @@ -0,0 +1,363 @@ + + + + + + +DefaultCookieSpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class BrowserCompatSpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ BrowserCompatSpec
. The instance returned by this factory
+ can be shared by multiple threads.Modifier and Type | +Class and Description | +
---|---|
static class |
+BrowserCompatSpecFactory.SecurityLevel
+Deprecated.
+ |
+
Constructor and Description | +
---|
BrowserCompatSpecFactory()
+Deprecated.
+ |
+
BrowserCompatSpecFactory(String[] datepatterns)
+Deprecated.
+ |
+
BrowserCompatSpecFactory(String[] datepatterns,
+ BrowserCompatSpecFactory.SecurityLevel securityLevel)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public BrowserCompatSpecFactory(String[] datepatterns, + BrowserCompatSpecFactory.SecurityLevel securityLevel)+
public BrowserCompatSpecFactory(String[] datepatterns)+
public BrowserCompatSpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.html new file mode 100644 index 0000000..74bcb89 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.html @@ -0,0 +1,327 @@ + + + + + + +@Deprecated +@Contract(threading=IMMUTABLE) +public class BrowserCompatVersionAttributeHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
"Version"
cookie attribute handler for BrowserCompat cookie spec.Constructor and Description | +
---|
BrowserCompatVersionAttributeHandler()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName()
+Deprecated.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Deprecated.
+Parse cookie version attribute.
+ |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public BrowserCompatVersionAttributeHandler()+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/CookieSpecBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/CookieSpecBase.html new file mode 100644 index 0000000..6e862f3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/CookieSpecBase.html @@ -0,0 +1,399 @@ + + + + + + +@Contract(threading=SAFE) +public abstract class CookieSpecBase +extends AbstractCookieSpec+
Modifier | +Constructor and Description | +
---|---|
|
+CookieSpecBase() |
+
protected |
+CookieSpecBase(CommonCookieAttributeHandler... handlers) |
+
protected |
+CookieSpecBase(HashMap<String,CookieAttributeHandler> map) |
+
Modifier and Type | +Method and Description | +
---|---|
protected static String |
+getDefaultDomain(CookieOrigin origin) |
+
protected static String |
+getDefaultPath(CookieOrigin origin) |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
protected List<Cookie> |
+parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatCookies, getVersion, getVersionHeader, parse
public CookieSpecBase()+
protected CookieSpecBase(HashMap<String,CookieAttributeHandler> map)+
protected CookieSpecBase(CommonCookieAttributeHandler... handlers)+
protected static String getDefaultPath(CookieOrigin origin)+
protected static String getDefaultDomain(CookieOrigin origin)+
protected List<Cookie> parse(org.apache.http.HeaderElement[] elems, + CookieOrigin origin) + throws MalformedCookieException+
MalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidpublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieSpec
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateParseException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateParseException.html new file mode 100644 index 0000000..e8b3311 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateParseException.html @@ -0,0 +1,279 @@ + + + + + + +@Deprecated +public class DateParseException +extends Exception+
DateUtils
,
+Serialized FormConstructor and Description | +
---|
DateParseException()
+Deprecated.
+ |
+
DateParseException(String message)
+Deprecated.
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateUtils.html new file mode 100644 index 0000000..90043c9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DateUtils.html @@ -0,0 +1,444 @@ + + + + + + +DateUtils
.@Deprecated +public final class DateUtils +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static TimeZone |
+GMT
+Deprecated.
+ |
+
static String |
+PATTERN_ASCTIME
+Deprecated.
+Date format pattern used to parse HTTP date headers in ANSI C
+
+asctime() format. |
+
static String |
+PATTERN_RFC1036
+Deprecated.
+Date format pattern used to parse HTTP date headers in RFC 1036 format.
+ |
+
static String |
+PATTERN_RFC1123
+Deprecated.
+Date format pattern used to parse HTTP date headers in RFC 1123 format.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static String |
+formatDate(Date date)
+Deprecated.
+Formats the given date according to the RFC 1123 pattern.
+ |
+
static String |
+formatDate(Date date,
+ String pattern)
+Deprecated.
+Formats the given date according to the specified pattern.
+ |
+
static Date |
+parseDate(String dateValue)
+Deprecated.
+Parses a date value.
+ |
+
static Date |
+parseDate(String dateValue,
+ String[] dateFormats)
+Deprecated.
+Parses the date value using the given date formats.
+ |
+
static Date |
+parseDate(String dateValue,
+ String[] dateFormats,
+ Date startDate)
+Deprecated.
+Parses the date value using the given date formats.
+ |
+
public static final String PATTERN_RFC1123+
public static final String PATTERN_RFC1036+
public static final String PATTERN_ASCTIME+
asctime()
format.public static final TimeZone GMT+
public static Date parseDate(String dateValue) + throws DateParseException+
dateValue
- the date value to parseDateParseException
- if the value could not be parsed using any of the
+ supported date formatspublic static Date parseDate(String dateValue, + String[] dateFormats) + throws DateParseException+
dateValue
- the date value to parsedateFormats
- the date formats to useDateParseException
- if none of the dataFormats could parse the dateValuepublic static Date parseDate(String dateValue, + String[] dateFormats, + Date startDate) + throws DateParseException+
dateValue
- the date value to parsedateFormats
- the date formats to usestartDate
- During parsing, two digit years will be placed in the range
+ startDate
to startDate + 100 years
. This value may
+ be null
. When null
is given as a parameter, year
+ 2000
will be used.DateParseException
- if none of the dataFormats could parse the dateValuepublic static String formatDate(Date date)+
date
- The date to format.PATTERN_RFC1123
public static String formatDate(Date date, + String pattern)+
simple
+ date format
class.date
- The date to format.pattern
- The pattern to use for formatting the date.IllegalArgumentException
- If the given date pattern is invalid.SimpleDateFormat
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpec.html new file mode 100644 index 0000000..63fbb2b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpec.html @@ -0,0 +1,442 @@ + + + + + + +@Contract(threading=SAFE) +public class DefaultCookieSpec +extends Object +implements CookieSpec+
Constructor and Description | +
---|
DefaultCookieSpec() |
+
DefaultCookieSpec(String[] datepatterns,
+ boolean oneHeader) |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
String |
+toString() |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
public DefaultCookieSpec(String[] datepatterns, + boolean oneHeader)+
public DefaultCookieSpec()+
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
parse
in interface CookieSpec
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
validate
in interface CookieSpec
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidpublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieSpec
match
in interface CookieSpec
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.public List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.formatCookies
in interface CookieSpec
cookies
- the Cookies format into a Cookie headerpublic int getVersion()+
CookieSpec
getVersion
in interface CookieSpec
public org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.getVersionHeader
in interface CookieSpec
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.CompatibilityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.CompatibilityLevel.html new file mode 100644 index 0000000..3c4e041 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.CompatibilityLevel.html @@ -0,0 +1,325 @@ + + + + + + +public static enum DefaultCookieSpecProvider.CompatibilityLevel +extends Enum<DefaultCookieSpecProvider.CompatibilityLevel>+
Enum Constant and Description | +
---|
DEFAULT |
+
IE_MEDIUM_SECURITY |
+
Modifier and Type | +Method and Description | +
---|---|
static DefaultCookieSpecProvider.CompatibilityLevel |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DefaultCookieSpecProvider.CompatibilityLevel[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DefaultCookieSpecProvider.CompatibilityLevel DEFAULT+
public static final DefaultCookieSpecProvider.CompatibilityLevel IE_MEDIUM_SECURITY+
public static DefaultCookieSpecProvider.CompatibilityLevel[] values()+
+for (DefaultCookieSpecProvider.CompatibilityLevel c : DefaultCookieSpecProvider.CompatibilityLevel.values()) + System.out.println(c); +
public static DefaultCookieSpecProvider.CompatibilityLevel valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.html new file mode 100644 index 0000000..b0fc7c1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/DefaultCookieSpecProvider.html @@ -0,0 +1,340 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class DefaultCookieSpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ DefaultCookieSpec
. The instance returned by this factory can
+ be shared by multiple threads.Modifier and Type | +Class and Description | +
---|---|
static class |
+DefaultCookieSpecProvider.CompatibilityLevel |
+
Constructor and Description | +
---|
DefaultCookieSpecProvider() |
+
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher,
+ String[] datepatterns,
+ boolean oneHeader) |
+
DefaultCookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, + PublicSuffixMatcher publicSuffixMatcher, + String[] datepatterns, + boolean oneHeader)+
public DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, + PublicSuffixMatcher publicSuffixMatcher)+
public DefaultCookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher)+
public DefaultCookieSpecProvider()+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpec.html new file mode 100644 index 0000000..17b6651 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpec.html @@ -0,0 +1,390 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class IgnoreSpec +extends CookieSpecBase+
Constructor and Description | +
---|
IgnoreSpec() |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
getDefaultDomain, getDefaultPath, parse, validate
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
public int getVersion()+
CookieSpec
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
public boolean match(Cookie cookie, + CookieOrigin origin)+
CookieSpec
match
in interface CookieSpec
match
in class CookieSpecBase
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.public List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.cookies
- the Cookies format into a Cookie headerpublic org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecFactory.html new file mode 100644 index 0000000..f44dced --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecFactory.html @@ -0,0 +1,308 @@ + + + + + + +IgnoreSpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class IgnoreSpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that ignores all cookies.Constructor and Description | +
---|
IgnoreSpecFactory()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public IgnoreSpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecProvider.html new file mode 100644 index 0000000..a8131dd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/IgnoreSpecProvider.html @@ -0,0 +1,275 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class IgnoreSpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that ignores all cookies.Constructor and Description | +
---|
IgnoreSpecProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxExpiresHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxExpiresHandler.html new file mode 100644 index 0000000..0bdb190 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxExpiresHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class LaxExpiresHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
LaxExpiresHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxMaxAgeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxMaxAgeHandler.html new file mode 100644 index 0000000..75f2805 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/LaxMaxAgeHandler.html @@ -0,0 +1,317 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class LaxMaxAgeHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
LaxMaxAgeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDomainHandler.html new file mode 100644 index 0000000..6177f8f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDomainHandler.html @@ -0,0 +1,362 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NetscapeDomainHandler +extends BasicDomainHandler+
Constructor and Description | +
---|
NetscapeDomainHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
parse
in class BasicDomainHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
validate
in class BasicDomainHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
match
in class BasicDomainHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
getAttributeName
in class BasicDomainHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftHeaderParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftHeaderParser.html new file mode 100644 index 0000000..58ab2bc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftHeaderParser.html @@ -0,0 +1,302 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class NetscapeDraftHeaderParser +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static NetscapeDraftHeaderParser |
+DEFAULT |
+
Constructor and Description | +
---|
NetscapeDraftHeaderParser() |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HeaderElement |
+parseHeader(org.apache.http.util.CharArrayBuffer buffer,
+ org.apache.http.message.ParserCursor cursor) |
+
public static final NetscapeDraftHeaderParser DEFAULT+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpec.html new file mode 100644 index 0000000..b7a671a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpec.html @@ -0,0 +1,450 @@ + + + + + + +@Obsolete +@Contract(threading=SAFE) +public class NetscapeDraftSpec +extends CookieSpecBase+
CookieSpec
implementation conforms to
+ the original draft specification published by Netscape Communications.
+ It should be avoided unless absolutely necessary for compatibility with
+ legacy applications.
+
+ Rendered obsolete by RFC6265LaxSpec
.
RFC6265LaxSpec
Modifier and Type | +Field and Description | +
---|---|
protected static String |
+EXPIRES_PATTERN |
+
Constructor and Description | +
---|
NetscapeDraftSpec() |
+
NetscapeDraftSpec(String[] datepatterns)
+Default constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parses the Set-Cookie value into an array of
+Cookie s. |
+
String |
+toString() |
+
getDefaultDomain, getDefaultPath, match, parse, validate
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
protected static final String EXPIRES_PATTERN+
public NetscapeDraftSpec(String[] datepatterns)+
public NetscapeDraftSpec()+
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
Cookie
s.
+
+ Syntax of the Set-Cookie HTTP Response Header:
+ +This is the format a CGI script would use to add to + the HTTP headers a new piece of data which is to be stored by + the client for later retrieval.
+ ++ Set-Cookie: NAME=VALUE; expires=DATE; path=PATH; domain=DOMAIN_NAME; secure ++ +
Please note that the Netscape draft specification does not fully conform to the HTTP
+ header format. Comma character if present in Set-Cookie
will not be treated
+ as a header element separator
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the Set-Cookie valueMalformedCookieException
- if an exception occurs during parsingpublic List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.cookies
- the Cookies format into a Cookie headerpublic int getVersion()+
CookieSpec
public org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecFactory.html new file mode 100644 index 0000000..870bce7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecFactory.html @@ -0,0 +1,325 @@ + + + + + + +NetscapeDraftSpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class NetscapeDraftSpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ NetscapeDraftSpec
. The instance returned by this factory
+ can be shared by multiple threads.Constructor and Description | +
---|
NetscapeDraftSpecFactory()
+Deprecated.
+ |
+
NetscapeDraftSpecFactory(String[] datepatterns)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public NetscapeDraftSpecFactory(String[] datepatterns)+
public NetscapeDraftSpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecProvider.html new file mode 100644 index 0000000..f7f3d4b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecProvider.html @@ -0,0 +1,293 @@ + + + + + + +@Obsolete +@Contract(threading=IMMUTABLE) +public class NetscapeDraftSpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ NetscapeDraftSpec
. The instance returned by this factory
+ can be shared by multiple threads.
+
+ Rendered obsolete by RFC6265CookieSpecProvider
RFC6265CookieSpecProvider
Constructor and Description | +
---|
NetscapeDraftSpecProvider() |
+
NetscapeDraftSpecProvider(String[] datepatterns) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public NetscapeDraftSpecProvider(String[] datepatterns)+
public NetscapeDraftSpecProvider()+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixDomainFilter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixDomainFilter.html new file mode 100644 index 0000000..c67b592 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixDomainFilter.html @@ -0,0 +1,384 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class PublicSuffixDomainFilter +extends Object +implements CommonCookieAttributeHandler+
CookieAttributeHandler
and leverages its match method
+ to never match a suffix from a black list. May be used to provide additional security for
+ cross-site attack types by preventing cookies from apparent domains that are not publicly
+ available.PublicSuffixList
,
+PublicSuffixMatcher
Constructor and Description | +
---|
PublicSuffixDomainFilter(CommonCookieAttributeHandler handler,
+ PublicSuffixList suffixList) |
+
PublicSuffixDomainFilter(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
static CommonCookieAttributeHandler |
+decorate(CommonCookieAttributeHandler handler,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Never matches if the cookie's domain is from the blacklist.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public PublicSuffixDomainFilter(CommonCookieAttributeHandler handler, + PublicSuffixMatcher publicSuffixMatcher)+
public PublicSuffixDomainFilter(CommonCookieAttributeHandler handler, + PublicSuffixList suffixList)+
public boolean match(Cookie cookie, + CookieOrigin origin)+
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
public static CommonCookieAttributeHandler decorate(CommonCookieAttributeHandler handler, + PublicSuffixMatcher publicSuffixMatcher)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixFilter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixFilter.html new file mode 100644 index 0000000..f435b4a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixFilter.html @@ -0,0 +1,389 @@ + + + + + + +PublicSuffixDomainFilter
@Deprecated +public class PublicSuffixFilter +extends Object +implements CookieAttributeHandler+
Constructor and Description | +
---|
PublicSuffixFilter(CookieAttributeHandler wrapped)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+Never matches if the cookie's domain is from the blacklist.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Deprecated.
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+setExceptions(Collection<String> exceptions)
+Deprecated.
+Sets the exceptions from the blacklist.
+ |
+
void |
+setPublicSuffixes(Collection<String> suffixes)
+Deprecated.
+Sets the suffix blacklist patterns.
+ |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Deprecated.
+Peforms cookie validation for the given attribute value.
+ |
+
public PublicSuffixFilter(CookieAttributeHandler wrapped)+
public void setPublicSuffixes(Collection<String> suffixes)+
suffixes
- public void setExceptions(Collection<String> exceptions)+
exceptions
- public boolean match(Cookie cookie, + CookieOrigin origin)+
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributeCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixListParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixListParser.html new file mode 100644 index 0000000..56ee5df --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/PublicSuffixListParser.html @@ -0,0 +1,244 @@ + + + + + + +PublicSuffixListParser
.@Contract(threading=IMMUTABLE) +@Deprecated +public class PublicSuffixListParser +extends Object+
public void parse(Reader reader) + throws IOException+
reader
- the suffix list. The caller is responsible for closing the reader.IOException
- on error while reading from listCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109DomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109DomainHandler.html new file mode 100644 index 0000000..2ce52b3 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109DomainHandler.html @@ -0,0 +1,350 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2109DomainHandler +extends Object +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
RFC2109DomainHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109Spec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109Spec.html new file mode 100644 index 0000000..d775fc4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109Spec.html @@ -0,0 +1,506 @@ + + + + + + +@Obsolete +@Contract(threading=SAFE) +public class RFC2109Spec +extends CookieSpecBase+
CookieSpec
implementation.
+
+ Rendered obsolete by RFC6265StrictSpec
.
RFC6265StrictSpec
Modifier | +Constructor and Description | +
---|---|
|
+RFC2109Spec()
+Default constructor
+ |
+
protected |
+RFC2109Spec(boolean oneHeader,
+ CommonCookieAttributeHandler... handlers) |
+
|
+RFC2109Spec(String[] datepatterns,
+ boolean oneHeader)
+Default constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer,
+ Cookie cookie,
+ int version)
+Return a string suitable for sending in a
+"Cookie" header
+ as defined in RFC 2109 for backward compatibility with cookie version 0 |
+
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
protected void |
+formatParamAsVer(org.apache.http.util.CharArrayBuffer buffer,
+ String name,
+ String value,
+ int version)
+Return a name/value string suitable for sending in a
+"Cookie"
+ header as defined in RFC 2109 for backward compatibility with cookie
+ version 0 |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
String |
+toString() |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
getDefaultDomain, getDefaultPath, match, parse
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
public RFC2109Spec(String[] datepatterns, + boolean oneHeader)+
public RFC2109Spec()+
protected RFC2109Spec(boolean oneHeader, + CommonCookieAttributeHandler... handlers)+
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
validate
in interface CookieSpec
validate
in class CookieSpecBase
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidpublic List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.cookies
- the Cookies format into a Cookie headerprotected void formatParamAsVer(org.apache.http.util.CharArrayBuffer buffer, + String name, + String value, + int version)+
"Cookie"
+ header as defined in RFC 2109 for backward compatibility with cookie
+ version 0buffer
- The char array buffer to use for outputname
- The cookie namevalue
- The cookie valueversion
- The cookie versionprotected void formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer, + Cookie cookie, + int version)+
"Cookie"
header
+ as defined in RFC 2109 for backward compatibility with cookie version 0buffer
- The char array buffer to use for outputcookie
- The Cookie
to be formatted as stringversion
- The version to use.public int getVersion()+
CookieSpec
public org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecFactory.html new file mode 100644 index 0000000..eeab746 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecFactory.html @@ -0,0 +1,327 @@ + + + + + + +RFC2109SpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class RFC2109SpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ RFC2109Spec
. The instance returned by this factory
+ can be shared by multiple threads.Constructor and Description | +
---|
RFC2109SpecFactory()
+Deprecated.
+ |
+
RFC2109SpecFactory(String[] datepatterns,
+ boolean oneHeader)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public RFC2109SpecFactory(String[] datepatterns, + boolean oneHeader)+
public RFC2109SpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecProvider.html new file mode 100644 index 0000000..127a06d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109SpecProvider.html @@ -0,0 +1,307 @@ + + + + + + +@Obsolete +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RFC2109SpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ RFC2109Spec
. The instance returned by this factory
+ can be shared by multiple threads.
+
+ Rendered obsolete by RFC6265CookieSpecProvider
RFC6265CookieSpecProvider
Constructor and Description | +
---|
RFC2109SpecProvider() |
+
RFC2109SpecProvider(PublicSuffixMatcher publicSuffixMatcher) |
+
RFC2109SpecProvider(PublicSuffixMatcher publicSuffixMatcher,
+ boolean oneHeader) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public RFC2109SpecProvider(PublicSuffixMatcher publicSuffixMatcher, + boolean oneHeader)+
public RFC2109SpecProvider(PublicSuffixMatcher publicSuffixMatcher)+
public RFC2109SpecProvider()+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109VersionHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109VersionHandler.html new file mode 100644 index 0000000..fd01195 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2109VersionHandler.html @@ -0,0 +1,345 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2109VersionHandler +extends AbstractCookieAttributeHandler +implements CommonCookieAttributeHandler+
Constructor and Description | +
---|
RFC2109VersionHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
match
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
validate
in class AbstractCookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.html new file mode 100644 index 0000000..2906033 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.html @@ -0,0 +1,351 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2965CommentUrlAttributeHandler +extends Object +implements CommonCookieAttributeHandler+
"CommentURL"
cookie attribute handler for RFC 2965 cookie spec.Constructor and Description | +
---|
RFC2965CommentUrlAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String commenturl)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public RFC2965CommentUrlAttributeHandler()+
public void parse(SetCookie cookie, + String commenturl) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedcommenturl
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.html new file mode 100644 index 0000000..32d816b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.html @@ -0,0 +1,351 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2965DiscardAttributeHandler +extends Object +implements CommonCookieAttributeHandler+
"Discard"
cookie attribute handler for RFC 2965 cookie spec.Constructor and Description | +
---|
RFC2965DiscardAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String commenturl)
+Parse the given cookie attribute value and update the corresponding
+
+Cookie property. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Peforms cookie validation for the given attribute value.
+ |
+
public RFC2965DiscardAttributeHandler()+
public void parse(SetCookie cookie, + String commenturl) + throws MalformedCookieException+
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedcommenturl
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieAttributeHandler
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.html new file mode 100644 index 0000000..445b4da --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.html @@ -0,0 +1,373 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2965DomainAttributeHandler +extends Object +implements CommonCookieAttributeHandler+
"Domain"
cookie attribute handler for RFC 2965 cookie spec.Constructor and Description | +
---|
RFC2965DomainAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+domainMatch(String host,
+ String domain)
+Performs domain-match as defined by the RFC2965.
+ |
+
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie domain attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String domain)
+Parse cookie domain attribute.
+ |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie domain attribute.
+ |
+
public RFC2965DomainAttributeHandler()+
public void parse(SetCookie cookie, + String domain) + throws MalformedCookieException+
parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updateddomain
- cookie attribute value from the cookie response headerMalformedCookieException
public boolean domainMatch(String host, + String domain)+
+ Host A's name domain-matches host B's if +
+host
- host name where cookie is received from or being sent to.domain
- The cookie domain attribute.public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.html new file mode 100644 index 0000000..4830f47 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.html @@ -0,0 +1,347 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2965PortAttributeHandler +extends Object +implements CommonCookieAttributeHandler+
"Port"
cookie attribute handler for RFC 2965 cookie spec.Constructor and Description | +
---|
RFC2965PortAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Match cookie port attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String portValue)
+Parse cookie port attribute.
+ |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate cookie port attribute.
+ |
+
public RFC2965PortAttributeHandler()+
public void parse(SetCookie cookie, + String portValue) + throws MalformedCookieException+
parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedportValue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965Spec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965Spec.html new file mode 100644 index 0000000..0ebdeac --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965Spec.html @@ -0,0 +1,512 @@ + + + + + + +@Obsolete +@Contract(threading=SAFE) +public class RFC2965Spec +extends RFC2109Spec+
CookieSpec
implementation.
+
+ Rendered obsolete by RFC6265StrictSpec
.
RFC6265StrictSpec
Constructor and Description | +
---|
RFC2965Spec()
+Default constructor
+ |
+
RFC2965Spec(String[] datepatterns,
+ boolean oneHeader) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer,
+ Cookie cookie,
+ int version)
+Adds valid Port attribute value, e.g.
+ |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
protected List<Cookie> |
+parse(org.apache.http.HeaderElement[] elems,
+ CookieOrigin origin) |
+
String |
+toString() |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
formatCookies, formatParamAsVer
getDefaultDomain, getDefaultPath
findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
public RFC2965Spec()+
public RFC2965Spec(String[] datepatterns, + boolean oneHeader)+
public List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
parse
in interface CookieSpec
parse
in class RFC2109Spec
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
protected List<Cookie> parse(org.apache.http.HeaderElement[] elems, + CookieOrigin origin) + throws MalformedCookieException+
parse
in class CookieSpecBase
MalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
validate
in interface CookieSpec
validate
in class RFC2109Spec
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidpublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieSpec
match
in interface CookieSpec
match
in class CookieSpecBase
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.protected void formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer, + Cookie cookie, + int version)+
formatCookieAsVer
in class RFC2109Spec
buffer
- The char array buffer to use for outputcookie
- The Cookie
to be formatted as stringversion
- The version to use.public int getVersion()+
CookieSpec
getVersion
in interface CookieSpec
getVersion
in class RFC2109Spec
public org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.getVersionHeader
in interface CookieSpec
getVersionHeader
in class RFC2109Spec
public String toString()+
toString
in class RFC2109Spec
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecFactory.html new file mode 100644 index 0000000..6ae0f58 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecFactory.html @@ -0,0 +1,327 @@ + + + + + + +RFC2965SpecProvider
.@Contract(threading=IMMUTABLE) +@Deprecated +public class RFC2965SpecFactory +extends Object +implements CookieSpecFactory, CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ RFC2965Spec
. The instance returned by this factory can
+ be shared by multiple threads.Constructor and Description | +
---|
RFC2965SpecFactory()
+Deprecated.
+ |
+
RFC2965SpecFactory(String[] datepatterns,
+ boolean oneHeader)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Deprecated.
+Creates an instance of
+CookieSpec . |
+
CookieSpec |
+newInstance(org.apache.http.params.HttpParams params)
+Deprecated.
+Creates an instance of
+CookieSpec using given HTTP parameters. |
+
public RFC2965SpecFactory(String[] datepatterns, + boolean oneHeader)+
public RFC2965SpecFactory()+
public CookieSpec newInstance(org.apache.http.params.HttpParams params)+
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecProvider.html new file mode 100644 index 0000000..abbe900 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965SpecProvider.html @@ -0,0 +1,307 @@ + + + + + + +@Obsolete +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RFC2965SpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ RFC2965Spec
. The instance returned by this factory can
+ be shared by multiple threads.
+
+ Rendered obsolete by RFC6265CookieSpecProvider
RFC6265CookieSpecProvider
Constructor and Description | +
---|
RFC2965SpecProvider() |
+
RFC2965SpecProvider(PublicSuffixMatcher publicSuffixMatcher) |
+
RFC2965SpecProvider(PublicSuffixMatcher publicSuffixMatcher,
+ boolean oneHeader) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public RFC2965SpecProvider(PublicSuffixMatcher publicSuffixMatcher, + boolean oneHeader)+
public RFC2965SpecProvider(PublicSuffixMatcher publicSuffixMatcher)+
public RFC2965SpecProvider()+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.html new file mode 100644 index 0000000..ab1866d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.html @@ -0,0 +1,347 @@ + + + + + + +@Contract(threading=IMMUTABLE) +public class RFC2965VersionAttributeHandler +extends Object +implements CommonCookieAttributeHandler+
"Version"
cookie attribute handler for RFC 2965 cookie spec.Constructor and Description | +
---|
RFC2965VersionAttributeHandler() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getAttributeName() |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Matches the given value (property of the destination host where request is being
+ submitted) with the corresponding cookie attribute.
+ |
+
void |
+parse(SetCookie cookie,
+ String value)
+Parse cookie version attribute.
+ |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+validate cookie version attribute.
+ |
+
public RFC2965VersionAttributeHandler()+
public void parse(SetCookie cookie, + String value) + throws MalformedCookieException+
parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
validate
in interface CookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate againstMalformedCookieException
- if cookie validation fails for this attributepublic boolean match(Cookie cookie, + CookieOrigin origin)+
CookieAttributeHandler
match
in interface CookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match againsttrue
if the match is successful; false
otherwisepublic String getAttributeName()+
getAttributeName
in interface CommonCookieAttributeHandler
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpec.html new file mode 100644 index 0000000..1fe5434 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpec.html @@ -0,0 +1,412 @@ + + + + + + +@Contract(threading=SAFE) +public class RFC6265CookieSpec +extends Object +implements CookieSpec+
Modifier | +Constructor and Description | +
---|---|
protected |
+RFC6265CookieSpec(CommonCookieAttributeHandler... handlers) |
+
Modifier and Type | +Method and Description | +
---|---|
List<org.apache.http.Header> |
+formatCookies(List<Cookie> cookies)
+Create
+"Cookie" headers for an array of Cookies. |
+
int |
+getVersion()
+Returns version of the state management this cookie specification
+ conforms to.
+ |
+
org.apache.http.Header |
+getVersionHeader()
+Returns a request header identifying what version of the state management
+ specification is understood.
+ |
+
boolean |
+match(Cookie cookie,
+ CookieOrigin origin)
+Determines if a Cookie matches the target location.
+ |
+
List<Cookie> |
+parse(org.apache.http.Header header,
+ CookieOrigin origin)
+Parse the
+"Set-Cookie" Header into an array of Cookies. |
+
void |
+validate(Cookie cookie,
+ CookieOrigin origin)
+Validate the cookie according to validation rules defined by the
+ cookie specification.
+ |
+
protected RFC6265CookieSpec(CommonCookieAttributeHandler... handlers)+
public final List<Cookie> parse(org.apache.http.Header header, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
"Set-Cookie"
Header into an array of Cookies.
+
+ This method will not perform the validation of the resultant
+ Cookie
s
parse
in interface CookieSpec
header
- the Set-Cookie
received from the serverorigin
- details of the cookie originCookie
s parsed from the headerMalformedCookieException
- if an exception occurs during parsingCookieSpec.validate(org.apache.http.cookie.Cookie, org.apache.http.cookie.CookieOrigin)
public final void validate(Cookie cookie, + CookieOrigin origin) + throws MalformedCookieException+
CookieSpec
validate
in interface CookieSpec
cookie
- the Cookie to validateorigin
- details of the cookie originMalformedCookieException
- if the cookie is invalidpublic final boolean match(Cookie cookie, + CookieOrigin origin)+
CookieSpec
match
in interface CookieSpec
cookie
- the Cookie to be matchedorigin
- the target to test againsttrue
if the cookie should be submitted with a request
+ with given attributes, false
otherwise.public List<org.apache.http.Header> formatCookies(List<Cookie> cookies)+
CookieSpec
"Cookie"
headers for an array of Cookies.formatCookies
in interface CookieSpec
cookies
- the Cookies format into a Cookie headerpublic final int getVersion()+
CookieSpec
getVersion
in interface CookieSpec
public final org.apache.http.Header getVersionHeader()+
CookieSpec
null
if the cookie
+ specification does not support Cookie2
header.getVersionHeader
in interface CookieSpec
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.CompatibilityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.CompatibilityLevel.html new file mode 100644 index 0000000..a6bf7bf --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.CompatibilityLevel.html @@ -0,0 +1,337 @@ + + + + + + +public static enum RFC6265CookieSpecProvider.CompatibilityLevel +extends Enum<RFC6265CookieSpecProvider.CompatibilityLevel>+
Enum Constant and Description | +
---|
IE_MEDIUM_SECURITY |
+
RELAXED |
+
STRICT |
+
Modifier and Type | +Method and Description | +
---|---|
static RFC6265CookieSpecProvider.CompatibilityLevel |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RFC6265CookieSpecProvider.CompatibilityLevel[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final RFC6265CookieSpecProvider.CompatibilityLevel STRICT+
public static final RFC6265CookieSpecProvider.CompatibilityLevel RELAXED+
public static final RFC6265CookieSpecProvider.CompatibilityLevel IE_MEDIUM_SECURITY+
public static RFC6265CookieSpecProvider.CompatibilityLevel[] values()+
+for (RFC6265CookieSpecProvider.CompatibilityLevel c : RFC6265CookieSpecProvider.CompatibilityLevel.values()) + System.out.println(c); +
public static RFC6265CookieSpecProvider.CompatibilityLevel valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.html new file mode 100644 index 0000000..643afbc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265CookieSpecProvider.html @@ -0,0 +1,322 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RFC6265CookieSpecProvider +extends Object +implements CookieSpecProvider+
CookieSpecProvider
implementation that provides an instance of
+ RFC 6265 conformant cookie policy. The instance returned by this factory can be shared by
+ multiple threads.Modifier and Type | +Class and Description | +
---|---|
static class |
+RFC6265CookieSpecProvider.CompatibilityLevel |
+
Constructor and Description | +
---|
RFC6265CookieSpecProvider() |
+
RFC6265CookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher) |
+
RFC6265CookieSpecProvider(RFC6265CookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Modifier and Type | +Method and Description | +
---|---|
CookieSpec |
+create(org.apache.http.protocol.HttpContext context)
+Creates an instance of
+CookieSpec . |
+
public RFC6265CookieSpecProvider(RFC6265CookieSpecProvider.CompatibilityLevel compatibilityLevel, + PublicSuffixMatcher publicSuffixMatcher)+
public RFC6265CookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher)+
public RFC6265CookieSpecProvider()+
public CookieSpec create(org.apache.http.protocol.HttpContext context)+
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265LaxSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265LaxSpec.html new file mode 100644 index 0000000..42d6afe --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265LaxSpec.html @@ -0,0 +1,285 @@ + + + + + + +@Contract(threading=SAFE) +public class RFC6265LaxSpec +extends RFC6265CookieSpec+
CookieSpec
implementation that enforces a more relaxed
+ interpretation of the HTTP state management specification (RFC 6265, section 5)
+ for interoperability with existing servers that do not conform to the well behaved profile
+ (RFC 6265, section 4).Constructor and Description | +
---|
RFC6265LaxSpec() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString() |
+
formatCookies, getVersion, getVersionHeader, match, parse, validate
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265StrictSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265StrictSpec.html new file mode 100644 index 0000000..8e87846 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/RFC6265StrictSpec.html @@ -0,0 +1,284 @@ + + + + + + +@Contract(threading=SAFE) +public class RFC6265StrictSpec +extends RFC6265CookieSpec+
CookieSpec
implementation that enforces syntax
+ and semantics of the well-behaved profile of the HTTP state management specification
+ (RFC 6265, section 4).Constructor and Description | +
---|
RFC6265StrictSpec() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+toString() |
+
formatCookies, getVersion, getVersionHeader, match, parse, validate
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieAttributeHandler.html new file mode 100644 index 0000000..5ccb7d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieAttributeHandler.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicCommentHandler |
+
class |
+BasicExpiresHandler |
+
class |
+BasicMaxAgeHandler |
+
class |
+BasicSecureHandler |
+
class |
+BrowserCompatVersionAttributeHandler
+Deprecated.
+
+(4.4) no longer used.
+ |
+
class |
+LaxExpiresHandler |
+
class |
+LaxMaxAgeHandler |
+
class |
+RFC2109VersionHandler |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieSpec.html new file mode 100644 index 0000000..1b3d141 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/AbstractCookieSpec.html @@ -0,0 +1,195 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BrowserCompatSpec
+Deprecated.
+
+(4.4) use
+DefaultCookieSpec . |
+
class |
+CookieSpecBase
+Cookie management functions shared by all specification.
+ |
+
class |
+IgnoreSpec
+CookieSpec that ignores all cookies
+ |
+
class |
+NetscapeDraftSpec
+This
+CookieSpec implementation conforms to
+ the original draft specification published by Netscape Communications. |
+
class |
+RFC2109Spec
+RFC 2109 compliant
+CookieSpec implementation. |
+
class |
+RFC2965Spec
+RFC 2965 compliant
+CookieSpec implementation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie.html new file mode 100644 index 0000000..ef1cbfb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BasicClientCookie2
+Default implementation of
+SetCookie2 . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie2.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie2.html new file mode 100644 index 0000000..b18c05c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicClientCookie2.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicCommentHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicCommentHandler.html new file mode 100644 index 0000000..c9b78aa --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicCommentHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicDomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicDomainHandler.html new file mode 100644 index 0000000..8207c3e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicDomainHandler.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+NetscapeDomainHandler |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicExpiresHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicExpiresHandler.html new file mode 100644 index 0000000..b93bc20 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicExpiresHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicMaxAgeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicMaxAgeHandler.html new file mode 100644 index 0000000..34fd4cd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicMaxAgeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicPathHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicPathHandler.html new file mode 100644 index 0000000..e5e2c22 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicPathHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicSecureHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicSecureHandler.html new file mode 100644 index 0000000..406c59c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BasicSecureHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpec.html new file mode 100644 index 0000000..59d131b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpecFactory.html new file mode 100644 index 0000000..0d79413 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BestMatchSpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpec.html new file mode 100644 index 0000000..093fd7f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.SecurityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.SecurityLevel.html new file mode 100644 index 0000000..785b78e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.SecurityLevel.html @@ -0,0 +1,190 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static BrowserCompatSpecFactory.SecurityLevel |
+BrowserCompatSpecFactory.SecurityLevel.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static BrowserCompatSpecFactory.SecurityLevel[] |
+BrowserCompatSpecFactory.SecurityLevel.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
BrowserCompatSpec(String[] datepatterns,
+ BrowserCompatSpecFactory.SecurityLevel securityLevel)
+Deprecated.
+Default constructor
+ |
+
BrowserCompatSpecFactory(String[] datepatterns,
+ BrowserCompatSpecFactory.SecurityLevel securityLevel)
+Deprecated.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.html new file mode 100644 index 0000000..818082b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatSpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatVersionAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatVersionAttributeHandler.html new file mode 100644 index 0000000..7b58f4c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/BrowserCompatVersionAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/CookieSpecBase.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/CookieSpecBase.html new file mode 100644 index 0000000..179c9e7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/CookieSpecBase.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BrowserCompatSpec
+Deprecated.
+
+(4.4) use
+DefaultCookieSpec . |
+
class |
+IgnoreSpec
+CookieSpec that ignores all cookies
+ |
+
class |
+NetscapeDraftSpec
+This
+CookieSpec implementation conforms to
+ the original draft specification published by Netscape Communications. |
+
class |
+RFC2109Spec
+RFC 2109 compliant
+CookieSpec implementation. |
+
class |
+RFC2965Spec
+RFC 2965 compliant
+CookieSpec implementation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateParseException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateParseException.html new file mode 100644 index 0000000..8ad544d --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateParseException.html @@ -0,0 +1,180 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Date |
+DateUtils.parseDate(String dateValue)
+Deprecated.
+Parses a date value.
+ |
+
static Date |
+DateUtils.parseDate(String dateValue,
+ String[] dateFormats)
+Deprecated.
+Parses the date value using the given date formats.
+ |
+
static Date |
+DateUtils.parseDate(String dateValue,
+ String[] dateFormats,
+ Date startDate)
+Deprecated.
+Parses the date value using the given date formats.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateUtils.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateUtils.html new file mode 100644 index 0000000..e77f112 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DateUtils.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpec.html new file mode 100644 index 0000000..3a3dd1a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpec.html @@ -0,0 +1,164 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BestMatchSpec
+Deprecated.
+
+(4.4) use
+DefaultCookieSpec . |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.CompatibilityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.CompatibilityLevel.html new file mode 100644 index 0000000..9eeac65 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.CompatibilityLevel.html @@ -0,0 +1,187 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DefaultCookieSpecProvider.CompatibilityLevel |
+DefaultCookieSpecProvider.CompatibilityLevel.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DefaultCookieSpecProvider.CompatibilityLevel[] |
+DefaultCookieSpecProvider.CompatibilityLevel.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher,
+ String[] datepatterns,
+ boolean oneHeader) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.html new file mode 100644 index 0000000..dc87d9c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/DefaultCookieSpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpec.html new file mode 100644 index 0000000..f136a00 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecFactory.html new file mode 100644 index 0000000..875e855 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecProvider.html new file mode 100644 index 0000000..b64ac9c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/IgnoreSpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxExpiresHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxExpiresHandler.html new file mode 100644 index 0000000..810e245 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxExpiresHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxMaxAgeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxMaxAgeHandler.html new file mode 100644 index 0000000..67b75d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/LaxMaxAgeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDomainHandler.html new file mode 100644 index 0000000..70df75b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDomainHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftHeaderParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftHeaderParser.html new file mode 100644 index 0000000..df62611 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftHeaderParser.html @@ -0,0 +1,160 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static NetscapeDraftHeaderParser |
+NetscapeDraftHeaderParser.DEFAULT |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpec.html new file mode 100644 index 0000000..a750ba9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecFactory.html new file mode 100644 index 0000000..62838ab --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecProvider.html new file mode 100644 index 0000000..345a074 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/NetscapeDraftSpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixDomainFilter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixDomainFilter.html new file mode 100644 index 0000000..4d6cbbc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixDomainFilter.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixFilter.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixFilter.html new file mode 100644 index 0000000..4651d69 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixFilter.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixListParser.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixListParser.html new file mode 100644 index 0000000..072bd96 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/PublicSuffixListParser.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109DomainHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109DomainHandler.html new file mode 100644 index 0000000..55ed56e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109DomainHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109Spec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109Spec.html new file mode 100644 index 0000000..a3f42a1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109Spec.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+RFC2965Spec
+RFC 2965 compliant
+CookieSpec implementation. |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecFactory.html new file mode 100644 index 0000000..19f9a2c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecProvider.html new file mode 100644 index 0000000..9ecfbc2 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109SpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109VersionHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109VersionHandler.html new file mode 100644 index 0000000..3feb021 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2109VersionHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965CommentUrlAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965CommentUrlAttributeHandler.html new file mode 100644 index 0000000..4efe2d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965CommentUrlAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DiscardAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DiscardAttributeHandler.html new file mode 100644 index 0000000..74040eb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DiscardAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DomainAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DomainAttributeHandler.html new file mode 100644 index 0000000..309f3a5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965DomainAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965PortAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965PortAttributeHandler.html new file mode 100644 index 0000000..40d4588 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965PortAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965Spec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965Spec.html new file mode 100644 index 0000000..47acc51 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965Spec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecFactory.html new file mode 100644 index 0000000..87eb8d7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecProvider.html new file mode 100644 index 0000000..8d109d5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965SpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965VersionAttributeHandler.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965VersionAttributeHandler.html new file mode 100644 index 0000000..8488a23 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC2965VersionAttributeHandler.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpec.html new file mode 100644 index 0000000..d579291 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpec.html @@ -0,0 +1,173 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+RFC6265LaxSpec
+Standard
+CookieSpec implementation that enforces a more relaxed
+ interpretation of the HTTP state management specification (RFC 6265, section 5)
+ for interoperability with existing servers that do not conform to the well behaved profile
+ (RFC 6265, section 4). |
+
class |
+RFC6265StrictSpec
+Standard
+CookieSpec implementation that enforces syntax
+ and semantics of the well-behaved profile of the HTTP state management specification
+ (RFC 6265, section 4). |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.CompatibilityLevel.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.CompatibilityLevel.html new file mode 100644 index 0000000..03a760e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.CompatibilityLevel.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static RFC6265CookieSpecProvider.CompatibilityLevel |
+RFC6265CookieSpecProvider.CompatibilityLevel.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static RFC6265CookieSpecProvider.CompatibilityLevel[] |
+RFC6265CookieSpecProvider.CompatibilityLevel.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Constructor and Description | +
---|
RFC6265CookieSpecProvider(RFC6265CookieSpecProvider.CompatibilityLevel compatibilityLevel,
+ PublicSuffixMatcher publicSuffixMatcher) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.html new file mode 100644 index 0000000..377fc7e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265CookieSpecProvider.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265LaxSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265LaxSpec.html new file mode 100644 index 0000000..2c5497b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265LaxSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265StrictSpec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265StrictSpec.html new file mode 100644 index 0000000..823eb9e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/class-use/RFC6265StrictSpec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-frame.html new file mode 100644 index 0000000..60506e1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-frame.html @@ -0,0 +1,78 @@ + + + + + + +See: Description
+Class | +Description | +
---|---|
AbstractCookieAttributeHandler | ++ |
AbstractCookieSpec | +
+ Abstract cookie specification which can delegate the job of parsing,
+ validation or matching cookie attributes to a number of arbitrary
+
+CookieAttributeHandler s. |
+
BasicClientCookie | +
+ Default implementation of
+SetCookie . |
+
BasicClientCookie2 | +
+ Default implementation of
+SetCookie2 . |
+
BasicCommentHandler | ++ |
BasicDomainHandler | ++ |
BasicExpiresHandler | ++ |
BasicMaxAgeHandler | ++ |
BasicPathHandler | ++ |
BasicSecureHandler | ++ |
BestMatchSpec | +Deprecated
+ (4.4) use
+DefaultCookieSpec . |
+
BestMatchSpecFactory | +Deprecated
+ (4.4) use
+DefaultCookieSpecProvider . |
+
BrowserCompatSpec | +Deprecated
+ (4.4) use
+DefaultCookieSpec . |
+
BrowserCompatSpecFactory | +Deprecated
+ (4.4) use
+DefaultCookieSpecProvider . |
+
BrowserCompatVersionAttributeHandler | +Deprecated
+ (4.4) no longer used.
+ |
+
CookieSpecBase | +
+ Cookie management functions shared by all specification.
+ |
+
DateUtils | +Deprecated
+ (4.3) Use
+DateUtils . |
+
DefaultCookieSpec | +
+ Default cookie specification that picks up the best matching cookie policy based on
+ the format of cookies sent with the HTTP response.
+ |
+
DefaultCookieSpecProvider | +
+CookieSpecProvider implementation that provides an instance of
+ DefaultCookieSpec . |
+
IgnoreSpec | +
+ CookieSpec that ignores all cookies
+ |
+
IgnoreSpecFactory | +Deprecated
+ (4.4) Use
+IgnoreSpecProvider . |
+
IgnoreSpecProvider | +
+CookieSpecProvider implementation that ignores all cookies. |
+
LaxExpiresHandler | ++ |
LaxMaxAgeHandler | ++ |
NetscapeDomainHandler | ++ |
NetscapeDraftHeaderParser | ++ |
NetscapeDraftSpec | +
+ This
+CookieSpec implementation conforms to
+ the original draft specification published by Netscape Communications. |
+
NetscapeDraftSpecFactory | +Deprecated
+ (4.4) Use
+NetscapeDraftSpecProvider . |
+
NetscapeDraftSpecProvider | +
+CookieSpecProvider implementation that provides an instance of
+ NetscapeDraftSpec . |
+
PublicSuffixDomainFilter | +
+ Wraps a
+CookieAttributeHandler and leverages its match method
+ to never match a suffix from a black list. |
+
PublicSuffixFilter | +Deprecated
+ (4.4) use
+PublicSuffixDomainFilter |
+
PublicSuffixListParser | +Deprecated
+ (4.4) use
+PublicSuffixListParser . |
+
RFC2109DomainHandler | ++ |
RFC2109Spec | +
+ RFC 2109 compliant
+CookieSpec implementation. |
+
RFC2109SpecFactory | +Deprecated
+ (4.4) Use
+RFC2109SpecProvider . |
+
RFC2109SpecProvider | +
+CookieSpecProvider implementation that provides an instance of
+ RFC2109Spec . |
+
RFC2109VersionHandler | ++ |
RFC2965CommentUrlAttributeHandler | +
+"CommentURL" cookie attribute handler for RFC 2965 cookie spec. |
+
RFC2965DiscardAttributeHandler | +
+"Discard" cookie attribute handler for RFC 2965 cookie spec. |
+
RFC2965DomainAttributeHandler | +
+"Domain" cookie attribute handler for RFC 2965 cookie spec. |
+
RFC2965PortAttributeHandler | +
+"Port" cookie attribute handler for RFC 2965 cookie spec. |
+
RFC2965Spec | +
+ RFC 2965 compliant
+CookieSpec implementation. |
+
RFC2965SpecFactory | +Deprecated
+ (4.4) Use
+RFC2965SpecProvider . |
+
RFC2965SpecProvider | +
+CookieSpecProvider implementation that provides an instance of
+ RFC2965Spec . |
+
RFC2965VersionAttributeHandler | +
+"Version" cookie attribute handler for RFC 2965 cookie spec. |
+
RFC6265CookieSpec | +
+ Cookie management functions shared by RFC C6265 compliant specification.
+ |
+
RFC6265CookieSpecProvider | +
+CookieSpecProvider implementation that provides an instance of
+ RFC 6265 conformant cookie policy. |
+
RFC6265LaxSpec | +
+ Standard
+CookieSpec implementation that enforces a more relaxed
+ interpretation of the HTTP state management specification (RFC 6265, section 5)
+ for interoperability with existing servers that do not conform to the well behaved profile
+ (RFC 6265, section 4). |
+
RFC6265StrictSpec | +
+ Standard
+CookieSpec implementation that enforces syntax
+ and semantics of the well-behaved profile of the HTTP state management specification
+ (RFC 6265, section 4). |
+
Enum | +Description | +
---|---|
BrowserCompatSpecFactory.SecurityLevel | ++ |
DefaultCookieSpecProvider.CompatibilityLevel | ++ |
RFC6265CookieSpecProvider.CompatibilityLevel | ++ |
Exception | +Description | +
---|---|
DateParseException | +Deprecated
+ (4.3) no longer used.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-tree.html new file mode 100644 index 0000000..4653824 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-tree.html @@ -0,0 +1,225 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-use.html new file mode 100644 index 0000000..1954c3b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/cookie/package-use.html @@ -0,0 +1,210 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
Class and Description | +
---|
AbstractCookieAttributeHandler | +
AbstractCookieSpec
+ Abstract cookie specification which can delegate the job of parsing,
+ validation or matching cookie attributes to a number of arbitrary
+
+CookieAttributeHandler s. |
+
BasicClientCookie
+ Default implementation of
+SetCookie . |
+
BasicDomainHandler | +
BrowserCompatSpecFactory.SecurityLevel
+ Deprecated.
+ |
+
CookieSpecBase
+ Cookie management functions shared by all specification.
+ |
+
DateParseException
+ Deprecated.
+
+(4.3) no longer used.
+ |
+
DefaultCookieSpec
+ Default cookie specification that picks up the best matching cookie policy based on
+ the format of cookies sent with the HTTP response.
+ |
+
DefaultCookieSpecProvider.CompatibilityLevel | +
NetscapeDraftHeaderParser | +
RFC2109Spec
+ RFC 2109 compliant
+CookieSpec implementation. |
+
RFC6265CookieSpec
+ Cookie management functions shared by RFC C6265 compliant specification.
+ |
+
RFC6265CookieSpecProvider.CompatibilityLevel | +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/BackoffStrategyExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/BackoffStrategyExec.html new file mode 100644 index 0000000..6e0dbd6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/BackoffStrategyExec.html @@ -0,0 +1,295 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class BackoffStrategyExec +extends Object +implements ClientExecChain+
Constructor and Description | +
---|
BackoffStrategyExec(ClientExecChain requestExecutor,
+ ConnectionBackoffStrategy connectionBackoffStrategy,
+ BackoffManager backoffManager) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public BackoffStrategyExec(ClientExecChain requestExecutor, + ConnectionBackoffStrategy connectionBackoffStrategy, + BackoffManager backoffManager)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ClientExecChain.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ClientExecChain.html new file mode 100644 index 0000000..659b447 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ClientExecChain.html @@ -0,0 +1,244 @@ + + + + + + +public interface ClientExecChain
+
+ Important: please note it is required for decorators that implement post execution aspects
+ or response post-processing of any sort to release resources associated with the response
+ by calling Closeable.close()
methods in case of an I/O, protocol or
+ runtime exception, or in case the response is not propagated to the caller.
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext clientContext,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext clientContext, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
route
- connection route.request
- current request.clientContext
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MainClientExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MainClientExec.html new file mode 100644 index 0000000..552ac97 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MainClientExec.html @@ -0,0 +1,337 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class MainClientExec +extends Object +implements ClientExecChain+
Constructor and Description | +
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, + HttpClientConnectionManager connManager, + org.apache.http.ConnectionReuseStrategy reuseStrategy, + ConnectionKeepAliveStrategy keepAliveStrategy, + org.apache.http.protocol.HttpProcessor proxyHttpProcessor, + AuthenticationStrategy targetAuthStrategy, + AuthenticationStrategy proxyAuthStrategy, + UserTokenHandler userTokenHandler)+
public MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, + HttpClientConnectionManager connManager, + org.apache.http.ConnectionReuseStrategy reuseStrategy, + ConnectionKeepAliveStrategy keepAliveStrategy, + AuthenticationStrategy targetAuthStrategy, + AuthenticationStrategy proxyAuthStrategy, + UserTokenHandler userTokenHandler)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MinimalClientExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MinimalClientExec.html new file mode 100644 index 0000000..40990ce --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/MinimalClientExec.html @@ -0,0 +1,302 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class MinimalClientExec +extends Object +implements ClientExecChain+
Constructor and Description | +
---|
MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor, + HttpClientConnectionManager connManager, + org.apache.http.ConnectionReuseStrategy reuseStrategy, + ConnectionKeepAliveStrategy keepAliveStrategy)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ProtocolExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ProtocolExec.html new file mode 100644 index 0000000..a46f974 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ProtocolExec.html @@ -0,0 +1,303 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class ProtocolExec +extends Object +implements ClientExecChain+
HttpProcessor
to populate
+ requisite HTTP request headers, process HTTP response headers and update
+ session state in HttpClientContext
.
+ + Further responsibilities such as communication with the opposite + endpoint is delegated to the next executor in the request execution + chain. +
Constructor and Description | +
---|
ProtocolExec(ClientExecChain requestExecutor,
+ org.apache.http.protocol.HttpProcessor httpProcessor) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public ProtocolExec(ClientExecChain requestExecutor, + org.apache.http.protocol.HttpProcessor httpProcessor)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RedirectExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RedirectExec.html new file mode 100644 index 0000000..2bfbcae --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RedirectExec.html @@ -0,0 +1,302 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RedirectExec +extends Object +implements ClientExecChain+
+ Further responsibilities such as communication with the opposite + endpoint is delegated to the next executor in the request execution + chain. +
Constructor and Description | +
---|
RedirectExec(ClientExecChain requestExecutor,
+ HttpRoutePlanner routePlanner,
+ RedirectStrategy redirectStrategy) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public RedirectExec(ClientExecChain requestExecutor, + HttpRoutePlanner routePlanner, + RedirectStrategy redirectStrategy)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RequestAbortedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RequestAbortedException.html new file mode 100644 index 0000000..8e15246 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RequestAbortedException.html @@ -0,0 +1,294 @@ + + + + + + +public class RequestAbortedException +extends InterruptedIOException+
bytesTransferred
Constructor and Description | +
---|
RequestAbortedException(String message) |
+
RequestAbortedException(String message,
+ Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RetryExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RetryExec.html new file mode 100644 index 0000000..9bf7978 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/RetryExec.html @@ -0,0 +1,301 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class RetryExec +extends Object +implements ClientExecChain+
+ Further responsibilities such as communication with the opposite + endpoint is delegated to the next executor in the request execution + chain. +
Constructor and Description | +
---|
RetryExec(ClientExecChain requestExecutor,
+ HttpRequestRetryHandler retryHandler) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public RetryExec(ClientExecChain requestExecutor, + HttpRequestRetryHandler retryHandler)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ServiceUnavailableRetryExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ServiceUnavailableRetryExec.html new file mode 100644 index 0000000..404cfd9 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/ServiceUnavailableRetryExec.html @@ -0,0 +1,301 @@ + + + + + + +@Contract(threading=IMMUTABLE_CONDITIONAL) +public class ServiceUnavailableRetryExec +extends Object +implements ClientExecChain+
+ Further responsibilities such as communication with the opposite + endpoint is delegated to the next executor in the request execution + chain. +
Constructor and Description | +
---|
ServiceUnavailableRetryExec(ClientExecChain requestExecutor,
+ ServiceUnavailableRetryStrategy retryStrategy) |
+
Modifier and Type | +Method and Description | +
---|---|
CloseableHttpResponse |
+execute(HttpRoute route,
+ HttpRequestWrapper request,
+ HttpClientContext context,
+ HttpExecutionAware execAware)
+Executes th request either by transmitting it to the target server or
+ by passing it onto the next executor in the request execution chain.
+ |
+
public ServiceUnavailableRetryExec(ClientExecChain requestExecutor, + ServiceUnavailableRetryStrategy retryStrategy)+
public CloseableHttpResponse execute(HttpRoute route, + HttpRequestWrapper request, + HttpClientContext context, + HttpExecutionAware execAware) + throws IOException, + org.apache.http.HttpException+
ClientExecChain
execute
in interface ClientExecChain
route
- connection route.request
- current request.context
- current HTTP context.execAware
- receiver of notifications of blocking I/O operations.IOException
- in case of a I/O error.
+ (this type of exceptions are potentially recoverable).org.apache.http.HttpException
- in case of an HTTP protocol error
+ (usually this type of exceptions are non-recoverable).Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/TunnelRefusedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/TunnelRefusedException.html new file mode 100644 index 0000000..1629e53 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/TunnelRefusedException.html @@ -0,0 +1,290 @@ + + + + + + +public class TunnelRefusedException
+extends org.apache.http.HttpException
+Constructor and Description | +
---|
TunnelRefusedException(String message,
+ org.apache.http.HttpResponse response) |
+
Modifier and Type | +Method and Description | +
---|---|
org.apache.http.HttpResponse |
+getResponse() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/BackoffStrategyExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/BackoffStrategyExec.html new file mode 100644 index 0000000..c0773d8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/BackoffStrategyExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ClientExecChain.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ClientExecChain.html new file mode 100644 index 0000000..82db0bb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ClientExecChain.html @@ -0,0 +1,385 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientExecChain |
+HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
+ HttpClientConnectionManager connManager,
+ org.apache.http.ConnectionReuseStrategy reuseStrategy,
+ ConnectionKeepAliveStrategy keepAliveStrategy,
+ org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
+ AuthenticationStrategy targetAuthStrategy,
+ AuthenticationStrategy proxyAuthStrategy,
+ UserTokenHandler userTokenHandler)
+Produces an instance of
+ClientExecChain to be used as a main exec. |
+
protected ClientExecChain |
+HttpClientBuilder.decorateMainExec(ClientExecChain mainExec)
+For internal use.
+ |
+
protected ClientExecChain |
+HttpClientBuilder.decorateProtocolExec(ClientExecChain protocolExec)
+For internal use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientExecChain |
+HttpClientBuilder.decorateMainExec(ClientExecChain mainExec)
+For internal use.
+ |
+
protected ClientExecChain |
+HttpClientBuilder.decorateProtocolExec(ClientExecChain protocolExec)
+For internal use.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+CachingExec
+
+ Request executor in the request execution chain that is responsible for
+ transparent client-side caching.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientExecChain |
+CachingHttpClientBuilder.decorateMainExec(ClientExecChain mainExec) |
+
Modifier and Type | +Method and Description | +
---|---|
protected ClientExecChain |
+CachingHttpClientBuilder.decorateMainExec(ClientExecChain mainExec) |
+
Constructor and Description | +
---|
CachingExec(ClientExecChain backend) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config) |
+
CachingExec(ClientExecChain backend,
+ org.apache.http.impl.client.cache.HttpCache cache,
+ CacheConfig config,
+ org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator) |
+
CachingExec(ClientExecChain backend,
+ ResourceFactory resourceFactory,
+ HttpCacheStorage storage,
+ CacheConfig config) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BackoffStrategyExec |
+
class |
+MainClientExec
+The last request executor in the HTTP request execution chain
+ that is responsible for execution of request / response
+ exchanges with the opposite endpoint.
+ |
+
class |
+MinimalClientExec
+Request executor that implements the most fundamental aspects of
+ the HTTP specification and the most straight-forward request / response
+ exchange with the target server.
+ |
+
class |
+ProtocolExec
+Request executor in the request execution chain that is responsible
+ for implementation of HTTP specification requirements.
+ |
+
class |
+RedirectExec
+Request executor in the request execution chain that is responsible
+ for handling of request redirects.
+ |
+
class |
+RetryExec
+Request executor in the request execution chain that is responsible
+ for making a decision whether a request failed due to an I/O error
+ should be re-executed.
+ |
+
class |
+ServiceUnavailableRetryExec
+Request executor in the request execution chain that is responsible
+ for making a decision whether a request that received a non-2xx response
+ from the target server should be re-executed.
+ |
+
Constructor and Description | +
---|
BackoffStrategyExec(ClientExecChain requestExecutor,
+ ConnectionBackoffStrategy connectionBackoffStrategy,
+ BackoffManager backoffManager) |
+
ProtocolExec(ClientExecChain requestExecutor,
+ org.apache.http.protocol.HttpProcessor httpProcessor) |
+
RedirectExec(ClientExecChain requestExecutor,
+ HttpRoutePlanner routePlanner,
+ RedirectStrategy redirectStrategy) |
+
RetryExec(ClientExecChain requestExecutor,
+ HttpRequestRetryHandler retryHandler) |
+
ServiceUnavailableRetryExec(ClientExecChain requestExecutor,
+ ServiceUnavailableRetryStrategy retryStrategy) |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MainClientExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MainClientExec.html new file mode 100644 index 0000000..e03d8f0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MainClientExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MinimalClientExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MinimalClientExec.html new file mode 100644 index 0000000..4df32de --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/MinimalClientExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ProtocolExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ProtocolExec.html new file mode 100644 index 0000000..d6d28bd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ProtocolExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RedirectExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RedirectExec.html new file mode 100644 index 0000000..bef4e62 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RedirectExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RequestAbortedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RequestAbortedException.html new file mode 100644 index 0000000..9414fea --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RequestAbortedException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RetryExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RetryExec.html new file mode 100644 index 0000000..58530be --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/RetryExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ServiceUnavailableRetryExec.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ServiceUnavailableRetryExec.html new file mode 100644 index 0000000..c1f8e71 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/ServiceUnavailableRetryExec.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/TunnelRefusedException.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/TunnelRefusedException.html new file mode 100644 index 0000000..b95efbb --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/class-use/TunnelRefusedException.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-frame.html new file mode 100644 index 0000000..75b1b15 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-frame.html @@ -0,0 +1,35 @@ + + + + + + +Interface | +Description | +
---|---|
ClientExecChain | +
+ This interface represents an element in the HTTP request execution chain.
+ |
+
Class | +Description | +
---|---|
BackoffStrategyExec | ++ |
MainClientExec | +
+ The last request executor in the HTTP request execution chain
+ that is responsible for execution of request / response
+ exchanges with the opposite endpoint.
+ |
+
MinimalClientExec | +
+ Request executor that implements the most fundamental aspects of
+ the HTTP specification and the most straight-forward request / response
+ exchange with the target server.
+ |
+
ProtocolExec | +
+ Request executor in the request execution chain that is responsible
+ for implementation of HTTP specification requirements.
+ |
+
RedirectExec | +
+ Request executor in the request execution chain that is responsible
+ for handling of request redirects.
+ |
+
RetryExec | +
+ Request executor in the request execution chain that is responsible
+ for making a decision whether a request failed due to an I/O error
+ should be re-executed.
+ |
+
ServiceUnavailableRetryExec | +
+ Request executor in the request execution chain that is responsible
+ for making a decision whether a request that received a non-2xx response
+ from the target server should be re-executed.
+ |
+
Exception | +Description | +
---|---|
RequestAbortedException | +
+ Signals that the request has been aborted.
+ |
+
TunnelRefusedException | +
+ Signals that the tunnel request was rejected by the proxy host.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-tree.html new file mode 100644 index 0000000..a23690e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-tree.html @@ -0,0 +1,162 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-use.html new file mode 100644 index 0000000..f32f66b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/impl/execchain/package-use.html @@ -0,0 +1,202 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
Class and Description | +
---|
ClientExecChain
+ This interface represents an element in the HTTP request execution chain.
+ |
+
Class and Description | +
---|
ClientExecChain
+ This interface represents an element in the HTTP request execution chain.
+ |
+
Class and Description | +
---|
ClientExecChain
+ This interface represents an element in the HTTP request execution chain.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/HttpProxyConfigurationActivator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/HttpProxyConfigurationActivator.html new file mode 100644 index 0000000..54fb754 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/HttpProxyConfigurationActivator.html @@ -0,0 +1,345 @@ + + + + + + +public final class HttpProxyConfigurationActivator +extends Object +implements org.osgi.framework.BundleActivator, org.osgi.service.cm.ManagedServiceFactory+
Constructor and Description | +
---|
HttpProxyConfigurationActivator() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+deleted(String pid) |
+
String |
+getName() |
+
void |
+start(org.osgi.framework.BundleContext context) |
+
void |
+stop(org.osgi.framework.BundleContext context) |
+
void |
+updated(String pid,
+ Dictionary config) |
+
public HttpProxyConfigurationActivator()+
public void start(org.osgi.framework.BundleContext context) + throws Exception+
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) + throws Exception+
stop
in interface org.osgi.framework.BundleActivator
Exception
public String getName()+
getName
in interface org.osgi.service.cm.ManagedServiceFactory
public void updated(String pid, + Dictionary config) + throws org.osgi.service.cm.ConfigurationException+
updated
in interface org.osgi.service.cm.ManagedServiceFactory
org.osgi.service.cm.ConfigurationException
public void deleted(String pid)+
deleted
in interface org.osgi.service.cm.ManagedServiceFactory
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiClientBuilderFactory.html new file mode 100644 index 0000000..8758d3a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiClientBuilderFactory.html @@ -0,0 +1,283 @@ + + + + + + +@Deprecated +public final class OSGiClientBuilderFactory +extends Object +implements HttpClientBuilderFactory+
Constructor and Description | +
---|
OSGiClientBuilderFactory(org.osgi.framework.BundleContext bundleContext,
+ Map<String,org.osgi.framework.ServiceRegistration> registeredConfigurations,
+ List<CloseableHttpClient> trackedHttpClients)
+Deprecated.
+ |
+
public OSGiClientBuilderFactory(org.osgi.framework.BundleContext bundleContext, + Map<String,org.osgi.framework.ServiceRegistration> registeredConfigurations, + List<CloseableHttpClient> trackedHttpClients)+
public HttpClientBuilder newBuilder()+
newBuilder
in interface HttpClientBuilderFactory
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiProxyConfiguration.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiProxyConfiguration.html new file mode 100644 index 0000000..0fb5f78 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/OSGiProxyConfiguration.html @@ -0,0 +1,384 @@ + + + + + + +public final class OSGiProxyConfiguration +extends Object +implements ProxyConfiguration+
Constructor and Description | +
---|
OSGiProxyConfiguration() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getHostname() |
+
String |
+getPassword() |
+
int |
+getPort() |
+
String[] |
+getProxyExceptions() |
+
String |
+getUsername() |
+
boolean |
+isEnabled() |
+
String |
+toString() |
+
void |
+update(Dictionary<String,Object> config) |
+
public OSGiProxyConfiguration()+
public boolean isEnabled()+
isEnabled
in interface ProxyConfiguration
public String getHostname()+
getHostname
in interface ProxyConfiguration
public int getPort()+
getPort
in interface ProxyConfiguration
public String getUsername()+
getUsername
in interface ProxyConfiguration
public String getPassword()+
getPassword
in interface ProxyConfiguration
public String[] getProxyExceptions()+
getProxyExceptions
in interface ProxyConfiguration
public void update(Dictionary<String,Object> config)+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/HttpProxyConfigurationActivator.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/HttpProxyConfigurationActivator.html new file mode 100644 index 0000000..4071653 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/HttpProxyConfigurationActivator.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiClientBuilderFactory.html new file mode 100644 index 0000000..fc7e034 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiClientBuilderFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiProxyConfiguration.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiProxyConfiguration.html new file mode 100644 index 0000000..1bfdf3c --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/class-use/OSGiProxyConfiguration.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-frame.html new file mode 100644 index 0000000..e3ca20f --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Class | +Description | +
---|---|
HttpProxyConfigurationActivator | ++ |
OSGiClientBuilderFactory | +Deprecated
+ (4.5).
+ |
+
OSGiProxyConfiguration | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-tree.html new file mode 100644 index 0000000..934bfb4 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-tree.html @@ -0,0 +1,132 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-use.html new file mode 100644 index 0000000..7f6732e --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/impl/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-frame.html new file mode 100644 index 0000000..5f6d91a --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-frame.html @@ -0,0 +1,14 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-tree.html new file mode 100644 index 0000000..58c76ac --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-tree.html @@ -0,0 +1,120 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-use.html new file mode 100644 index 0000000..ecc6141 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/CachingHttpClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/CachingHttpClientBuilderFactory.html new file mode 100644 index 0000000..1e5baf1 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/CachingHttpClientBuilderFactory.html @@ -0,0 +1,208 @@ + + + + + + +public interface CachingHttpClientBuilderFactory
+Modifier and Type | +Method and Description | +
---|---|
CachingHttpClientBuilder |
+newBuilder() |
+
CachingHttpClientBuilder newBuilder()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/HttpClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/HttpClientBuilderFactory.html new file mode 100644 index 0000000..b962b9b --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/HttpClientBuilderFactory.html @@ -0,0 +1,214 @@ + + + + + + +public interface HttpClientBuilderFactory
+Modifier and Type | +Method and Description | +
---|---|
HttpClientBuilder |
+newBuilder() |
+
HttpClientBuilder newBuilder()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/ProxyConfiguration.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/ProxyConfiguration.html new file mode 100644 index 0000000..a1f83dc --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/ProxyConfiguration.html @@ -0,0 +1,279 @@ + + + + + + +public interface ProxyConfiguration
+Modifier and Type | +Method and Description | +
---|---|
String |
+getHostname() |
+
String |
+getPassword() |
+
int |
+getPort() |
+
String[] |
+getProxyExceptions() |
+
String |
+getUsername() |
+
boolean |
+isEnabled() |
+
boolean isEnabled()+
String getHostname()+
int getPort()+
String getUsername()+
String getPassword()+
String[] getProxyExceptions()+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/CachingHttpClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/CachingHttpClientBuilderFactory.html new file mode 100644 index 0000000..0cb3ad5 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/CachingHttpClientBuilderFactory.html @@ -0,0 +1,117 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/HttpClientBuilderFactory.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/HttpClientBuilderFactory.html new file mode 100644 index 0000000..5cdcce7 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/HttpClientBuilderFactory.html @@ -0,0 +1,161 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.osgi.impl | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+OSGiClientBuilderFactory
+Deprecated.
+
+(4.5). No longer used.
+ |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/ProxyConfiguration.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/ProxyConfiguration.html new file mode 100644 index 0000000..0e86411 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/class-use/ProxyConfiguration.html @@ -0,0 +1,157 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.osgi.impl | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+OSGiProxyConfiguration |
+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-frame.html new file mode 100644 index 0000000..308cab0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Interface | +Description | +
---|---|
CachingHttpClientBuilderFactory | ++ |
HttpClientBuilderFactory | ++ |
ProxyConfiguration | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-tree.html new file mode 100644 index 0000000..66c39a0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-tree.html @@ -0,0 +1,128 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-use.html b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-use.html new file mode 100644 index 0000000..fde0258 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/org/apache/http/osgi/services/package-use.html @@ -0,0 +1,153 @@ + + + + + + +Package | +Description | +
---|---|
org.apache.http.osgi.impl | ++ |
Class and Description | +
---|
HttpClientBuilderFactory | +
ProxyConfiguration | +
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/overview-frame.html b/Notes-master/NewMiNote/app/libs/javadoc/overview-frame.html new file mode 100644 index 0000000..1f3d2c6 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/overview-frame.html @@ -0,0 +1,55 @@ + + + + + + ++ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/overview-summary.html b/Notes-master/NewMiNote/app/libs/javadoc/overview-summary.html new file mode 100644 index 0000000..d1225d0 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/overview-summary.html @@ -0,0 +1,353 @@ + + + + + + +
Package | +Description | +
---|---|
org.apache.http.auth | +
+ Client HTTP authentication APIs.
+ |
+
org.apache.http.auth.params | +
+ Deprecated.
+ |
+
org.apache.http.client | +
+ Client HTTP communication APIs.
+ |
+
org.apache.http.client.cache | +
+
+This package consists largely of constants and interfaces that are
+necessary for building new storage backends for the
+
+CachingHttpClient or for
+those clients wanting to get a little more behavioral information
+out of the cache module (for example, whether a particular response
+was a cache hit or not). |
+
org.apache.http.client.config | +
+ Client configuration APIs.
+ |
+
org.apache.http.client.entity | +
+ Client specific HTTP entity implementations.
+ |
+
org.apache.http.client.fluent | +
+ Simple facade APIs for HttpClient based on the concept of
+ a fluent interface.
+ |
+
org.apache.http.client.methods | +
+ Standard HTTP method implementations.
+ |
+
org.apache.http.client.params | +
+ Deprecated.
+ |
+
org.apache.http.client.protocol | +
+ Client specific HTTP protocol handlers.
+ |
+
org.apache.http.client.utils | +
+ Client utility classes.
+ |
+
org.apache.http.conn | +
+ Client connection management APIs.
+ |
+
org.apache.http.conn.params | +
+ Deprecated.
+ |
+
org.apache.http.conn.routing | +
+ Client connection routing APIs.
+ |
+
org.apache.http.conn.scheme | +
+ Deprecated.
+ |
+
org.apache.http.conn.socket | +
+ Client connection socket APIs.
+ |
+
org.apache.http.conn.ssl | +
+ Client TLS/SSL support.
+ |
+
org.apache.http.conn.util | +
+ Connection utility classes.
+ |
+
org.apache.http.cookie | +
+ Client HTTP state management APIs.
+ |
+
org.apache.http.cookie.params | +
+ Deprecated.
+ |
+
org.apache.http.entity.mime | +
+ MIME coded HTTP entity implementations.
+ |
+
org.apache.http.entity.mime.content | +
+ MIME body part implementations.
+ |
+
org.apache.http.impl.auth | +
+ Default implementations of standard and common HTTP authentication
+ schemes.
+ |
+
org.apache.http.impl.auth.win | +
+ Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
+ |
+
org.apache.http.impl.client | +
+ Default HTTP client implementation.
+ |
+
org.apache.http.impl.client.cache | +
+
+This package contains a cache module that can be used for HTTP/1.1
+client-side caching.
+ |
+
org.apache.http.impl.client.cache.ehcache | +
+
+This package contains a storage backend based on
+Ehcache
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.client.cache.memcached | +
+
+This package contains a storage backend based on
+memcached
+that can be plugged into
+a
+CachingHttpClient and
+used for storing cache entries. |
+
org.apache.http.impl.conn | +
+ Default implementations of client connection management
+ functions.
+ |
+
org.apache.http.impl.conn.tsccm | +
+ Deprecated.
+ |
+
org.apache.http.impl.cookie | +
+ Default implementations of standard and common HTTP state
+ management policies.
+ |
+
org.apache.http.impl.execchain | +
+ HTTP request execution chain APIs.
+ |
+
org.apache.http.osgi | ++ |
org.apache.http.osgi.impl | ++ |
org.apache.http.osgi.services | ++ |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/overview-tree.html b/Notes-master/NewMiNote/app/libs/javadoc/overview-tree.html new file mode 100644 index 0000000..a246335 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/overview-tree.html @@ -0,0 +1,1135 @@ + + + + + + +Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/package-list b/Notes-master/NewMiNote/app/libs/javadoc/package-list new file mode 100644 index 0000000..7a8ced8 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/package-list @@ -0,0 +1,35 @@ +org.apache.http.auth +org.apache.http.auth.params +org.apache.http.client +org.apache.http.client.cache +org.apache.http.client.config +org.apache.http.client.entity +org.apache.http.client.fluent +org.apache.http.client.methods +org.apache.http.client.params +org.apache.http.client.protocol +org.apache.http.client.utils +org.apache.http.conn +org.apache.http.conn.params +org.apache.http.conn.routing +org.apache.http.conn.scheme +org.apache.http.conn.socket +org.apache.http.conn.ssl +org.apache.http.conn.util +org.apache.http.cookie +org.apache.http.cookie.params +org.apache.http.entity.mime +org.apache.http.entity.mime.content +org.apache.http.impl.auth +org.apache.http.impl.auth.win +org.apache.http.impl.client +org.apache.http.impl.client.cache +org.apache.http.impl.client.cache.ehcache +org.apache.http.impl.client.cache.memcached +org.apache.http.impl.conn +org.apache.http.impl.conn.tsccm +org.apache.http.impl.cookie +org.apache.http.impl.execchain +org.apache.http.osgi +org.apache.http.osgi.impl +org.apache.http.osgi.services diff --git a/Notes-master/NewMiNote/app/libs/javadoc/resources/background.gif b/Notes-master/NewMiNote/app/libs/javadoc/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/javadoc/resources/background.gif differ diff --git a/Notes-master/NewMiNote/app/libs/javadoc/resources/tab.gif b/Notes-master/NewMiNote/app/libs/javadoc/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/javadoc/resources/tab.gif differ diff --git a/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar.gif b/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar.gif differ diff --git a/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar_end.gif b/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/javadoc/resources/titlebar_end.gif differ diff --git a/Notes-master/NewMiNote/app/libs/javadoc/serialized-form.html b/Notes-master/NewMiNote/app/libs/javadoc/serialized-form.html new file mode 100644 index 0000000..282b6fd --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/serialized-form.html @@ -0,0 +1,1033 @@ + + + + + + +GSSCredential gssCredential+
NTUserPrincipal principal+
String password+
String workstation+
BasicUserPrincipal principal+
String password+
org.apache.http.HttpHost host+
org.apache.http.HttpHost host+
org.apache.http.HttpHost httphost+
boolean complete+
private void readObject(ObjectInputStream in) + throws IOException, + ClassNotFoundException+
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) + throws IOException+
IOException
private void readObjectNoData() + throws ObjectStreamException+
ObjectStreamException
private void readObject(ObjectInputStream stream) + throws IOException, + ClassNotFoundException+
IOException
ClassNotFoundException
org.apache.http.HttpResponse response+
byte[] b+
String name+
Map<K,V> attribs+
String value+
String cookieComment+
String cookieDomain+
Date cookieExpiryDate+
Date
.String cookiePath+
boolean isSecure+
int cookieVersion+
Date creationDate+
org.apache.http.HttpResponse response+
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Notes-master/NewMiNote/app/libs/javadoc/stylesheet.css b/Notes-master/NewMiNote/app/libs/javadoc/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/Notes-master/NewMiNote/app/libs/javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/Notes-master/NewMiNote/app/libs/jna-4.5.2.jar b/Notes-master/NewMiNote/app/libs/jna-4.5.2.jar new file mode 100644 index 0000000..78e2058 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/jna-4.5.2.jar differ diff --git a/Notes-master/NewMiNote/app/libs/jna-platform-4.5.2.jar b/Notes-master/NewMiNote/app/libs/jna-platform-4.5.2.jar new file mode 100644 index 0000000..aa34419 Binary files /dev/null and b/Notes-master/NewMiNote/app/libs/jna-platform-4.5.2.jar differ diff --git a/Notes-master/NewMiNote/app/proguard-rules.pro b/Notes-master/NewMiNote/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/Notes-master/NewMiNote/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/Notes-master/NewMiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java b/Notes-master/NewMiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java new file mode 100644 index 0000000..a889a75 --- /dev/null +++ b/Notes-master/NewMiNote/app/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package net.micode.notes; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("net.micode.notes", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/Notes-master/AndroidManifest.xml b/Notes-master/NewMiNote/app/src/main/AndroidManifest.xml similarity index 78% rename from Notes-master/AndroidManifest.xml rename to Notes-master/NewMiNote/app/src/main/AndroidManifest.xml index e5c7d47..b002b6e 100644 --- a/Notes-master/AndroidManifest.xml +++ b/Notes-master/NewMiNote/app/src/main/AndroidManifest.xml @@ -1,26 +1,6 @@ - - -