
kr.motd.maven.sphinx.dist.requests.adapters$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1K f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
requests.adapters
~~~~~~~~~~~~~~~~~
This module contains the transport adapters that Requests uses to define
and maintain connections.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
os.path org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
os setlocal !
" socket $ urllib3.poolmanager & java/lang/String ( PoolManager * proxy_from_url ,
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; . /
0 urllib3.response 2 HTTPResponse 4 urllib3.util 6 Timeout 8 TimeoutSauce : urllib3.util.retry < Retry > urllib3.exceptions @ ClosedPoolError B ConnectTimeoutError D HTTPError F
_HTTPError H
MaxRetryError J NewConnectionError L
ProxyError N _ProxyError P
ProtocolError R ReadTimeoutError T SSLError V _SSLError X
ResponseError Z models \ Response ^ compat ` urlparse b
basestring d utils f DEFAULT_CA_BUNDLE_PATH h get_encoding_from_headers j prepend_scheme_if_needed l get_auth_from_url n
urldefragauth p select_proxy r
structures t CaseInsensitiveDict v cookies x extract_cookies_to_jar z
exceptions | ConnectionError ~ ConnectTimeout ? ReadTimeout ?
RetryError ?
InvalidSchema ? auth ? _basic_auth_str ? urllib3.contrib.socks ? SOCKSProxyManager ? org/python/core/Py ? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ? ?
? ? ImportError ? getname .(Ljava/lang/String;)Lorg/python/core/PyObject; ? ?
? org/python/core/PyException ? match (Lorg/python/core/PyObject;)Z ? ?
? ? EmptyObjects [Lorg/python/core/PyObject; ? ? ? ? org/python/core/PyFunction ? f_globals Lorg/python/core/PyObject; ? ? ? SOCKSProxyManager$1 getglobal ? ?
? 'Missing dependencies for SOCKS support. ? org/python/core/PyObject ? __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
? ?
makeException 9(Lorg/python/core/PyObject;)Lorg/python/core/PyException; ? ?
? ? requests/adapters$py ? Lorg/python/core/PyCode; ? ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V ? ?
? ? java/lang/Throwable ? False ? DEFAULT_POOLBLOCK ?
newInteger (I)Lorg/python/core/PyInteger; ? ?
? ? DEFAULT_POOLSIZE ? DEFAULT_RETRIES ? None ? DEFAULT_POOL_TIMEOUT ? object ? BaseAdapter ?
BaseAdapter$2
__module__ ? __name__ ? The Base Transport Adapter ?
__init__$3 super ? getlocal (I)Lorg/python/core/PyObject; ? ?
? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
? ? __init__ ? __getattr__ ? ?
? ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ? ?
? ? f_lasti I ? ? ? ? ? ? ? ? ? ? ? True ? send$4CSends PreparedRequest object. Returns Response object.
:param request: The :class:`PreparedRequest ` being sent.
:param stream: (optional) Whether to stream the request content.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) ` tuple.
:type timeout: float or tuple
:param verify: (optional) Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: (optional) Any user-provided SSL certificate to be trusted.
:param proxies: (optional) The proxies dictionary to apply to the request.
? NotImplementedError ? ? ? send close$5 !Cleans up adapter specific items. ? ?
close getf_locals ()Lorg/python/core/PyObject;
? ? ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;
? java/util/Arrays fill (([Ljava/lang/Object;Ljava/lang/Object;)V
HTTPAdapter
HTTPAdapter$6?The built-in HTTP Adapter for urllib3.
Provides a general-case interface for Requests sessions to contact HTTP and
HTTPS urls by implementing the Transport Adapter interface. This class will
usually be created by the :class:`Session ` class under the
covers.
:param pool_connections: The number of urllib3 connection pools to cache.
:param pool_maxsize: The maximum number of connections to save in the pool.
:param max_retries: The maximum number of retries each connection
should attempt. Note, this applies only to failed DNS lookups, socket
connections and connection timeouts, never to requests where data has
made it to the server. By default, Requests does not retry failed
connections. If you need granular control over the conditions under
which we retry a request, import urllib3's ``Retry`` class and pass
that instead.
:param pool_block: Whether the connection pool should block for connections.
Usage::
>>> import requests
>>> s = requests.Session()
>>> a = requests.adapters.HTTPAdapter(max_retries=3)
>>> s.mount('http://', a)
! org/python/core/PyList# max_retries% config' _pool_connections)
_pool_maxsize+ _pool_block- ([Lorg/python/core/PyObject;)V ?/
$0 __attrs__2
__init__$7 _eq 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;56
?7 __nonzero__ ()Z9:
?; read= g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ??
?@ __setattr__B
?C from_intE org/python/core/PyDictionaryG
H0
proxy_managerJ init_poolmanagerL blockN4 ? ?P __getstate__$8 to_cell (II)VST
U dictW f$9 __iter__Z
?[ (ILorg/python/core/PyObject;)V !]
^ getattr` getderefb ?
c ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?e
?f org/python/core/PyTupleh
i0 java/lang/Objectk
f_savedlocals [Ljava/lang/Object;mn o getGeneratorInput ()Ljava/lang/Object;qr
s __iternext__u
?vY ? ?x
getclosurez ?
{ ?(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;)V ?}
?~R ? ?? __getstate__? __setstate__$10 items? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;??
?? setattr?? ? ?? __setstate__? init_poolmanager$11Initializes a urllib3 PoolManager.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter `.
:param connections: The number of urllib3 connection pools to cache.
:param maxsize: The maximum number of connections to save in the pool.
:param block: Block when no free connections are available.
:param pool_kwargs: Extra keyword arguments used to initialize the Pool Manager.
? num_pools? maxsize? strict?
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
?? poolmanager?? ? ?? proxy_manager_for$12?Return urllib3 ProxyManager for the given proxy.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter `.
:param proxy: The proxy to return a urllib3 ProxyManager for.
:param proxy_kwargs: Extra keyword arguments used to configure the Proxy Manager.
:returns: ProxyManager
:rtype: urllib3.ProxyManager
? _in?6
?? __getitem__?6
?? lower?
startswith? socks? username? password? __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
??
proxy_headers?? ? ?? proxy_manager_for? cert_verify$13AVerify a SSL certificate. This method should not be called from user
code, and is only exposed for use when subclassing the
:class:`HTTPAdapter `.
:param conn: The urllib3 connection object associated with the cert.
:param url: The requested URL.
:param verify: Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: The SSL certificate to verify.
? https? _isnot?6
?? __not__?
?? path? exists? IOError? FCould not find a suitable TLS CA certificate bundle, invalid path: {0}? format?
CERT_REQUIRED? cert_reqs? isdir? ca_certs? ca_cert_dir? CERT_NONE?
isinstance? cert_file? key_file? :Could not find the TLS certificate file, invalid path: {0}? 2Could not find the TLS key file, invalid path: {0}?? ? ?? cert_verify? build_response$14?Builds a :class:`Response ` object from a urllib3
response. This should not be called from user code, and is only exposed
for use when subclassing the
:class:`HTTPAdapter `
:param req: The :class:`PreparedRequest ` used to generate the response.
:param resp: The urllib3 response object.
:rtype: requests.Response
? status? status_code? headers? encoding? raw? reason? url? bytes? decode utf-8 request
connection? ? ? build_response get_connection$15?Returns a urllib3 connection for the given URL. This should not be
called from user code, and is only exposed for use when subclassing the
:class:`HTTPAdapter `.
:param url: The URL to connect to.
:param proxies: (optional) A Requests-style dictionary of proxies used on this request.
:rtype: urllib3.ConnectionPool
http connection_from_url geturl
? ? get_connection close$16 ?Disposes of any internal state.
Currently, this closes the PoolManager and any active ProxyManager,
which closes any pooled connections.
clear values ? ?! request_url$17?Obtain the url to use when making the final request.
If the message is being sent through a HTTP proxy, the full URL has to
be used. Otherwise, we should only use the path portion of the URL.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter `.
:param request: The :class:`PreparedRequest ` being sent.
:param proxies: A dictionary of schemes or schemes and hosts to proxy URLs.
:rtype: str
$ scheme& _ne(6
?) path_url+# ? ?- request_url/ add_headers$18"Add any headers needed by the connection. As of v2.0 this does
nothing by default, but is left for overriding by users that subclass
the :class:`HTTPAdapter `.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter `.
:param request: The :class:`PreparedRequest ` to add headers to.
:param kwargs: The keyword arguments from the call to send().
21 ? ?4 add_headers6 proxy_headers$19
Returns a dictionary of the headers to add to any request sent
through a proxy. This works with urllib3 magic to ensure that they are
correctly sent to the proxy, rather than in a tunnelled request if
CONNECT is being used.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter `.
:param proxies: The url of the proxy being used for this request.
:rtype: dict
9 Proxy-Authorization;8 ? ?= send$20Sends PreparedRequest object. Returns Response object.
:param request: The :class:`PreparedRequest ` being sent.
:param stream: (optional) Whether to stream the request content.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) ` tuple.
:type timeout: float or tuple or urllib3 Timeout object
:param verify: (optional) Either a boolean, in which case it controls whether
we verify the server's TLS certificate, or a string, in which case it
must be a path to a CA bundle to use
:param cert: (optional) Any user-provided SSL certificate to be trusted.
:param proxies: (optional) The proxies dictionary to apply to the request.
:rtype: requests.Response
@ ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?B
?C bodyE _isG6
?H Content-LengthJ tupleL connectN
ValueErrorP valueR ? ?S sInvalid timeout {0}. Pass a (connect, read) timeout tuple, or a single float to set both timeouts to the same valueU urlopenW methodY redirect[ assert_same_host] preload_content_ decode_contenta retriesc timeoute hasattrg
proxy_pooli _get_connk
putrequestm skip_accept_encodingo putheaderq
endheaderss hexu lenw __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;yz
?{ encode}
0
? getresponse? buffering? TypeError? from_httplib? pool? ()Lorg/python/core/PyException; ??
?? error?? ? ?? ? ?? (Ljava/lang/String;)V org/python/core/PyFunctionTable? ()V ??
?? self Lrequests/adapters$py;?? ?? ? newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;??
?? ? ?? args? kwargs?? stream? verify? cert? proxies? pool_connections? pool_maxsize?
pool_block? _(129_20)? _(x)? attr? ? state?R connections? pool_kwargs? proxy? proxy_kwargs? manager? conn? cert_loc? req? resp? response? parsed? is_proxied_http_request? using_socks_proxy? proxy_scheme? chunked? e? err? low_conn? header? i? r? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? ??
????
?? org/python/core/CodeLoader? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
?? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V?
? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?
?
? ?
? ?
? ?
?
?
?4
?R
?Y
??
?!?
?#?
?%?
?'?
?)
?+
?-#
?/1
?18
?3?
?5 org/python/core/PyRunnable7 Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `?d?? Lorg/python/compiler/Filename; [/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/requests/adapters.py org/python/core/ThreadState@ ?n [Ljava/lang/String;D Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ?? 8 ?? ? ? ? ? ? ? ? ? ? ? ? 4 ? R ? Y ? ? ? ? ? ? ? ? ? ? ?
? ? # ? 1 ? 8 ? ? ? F ? ?+? ? + ? ? W+? +? N+ -? #N+? %+? N+%-? #N+? '? )N-+S--S-+? 1N-2:++? #:-2:+-? #:+? 3? )N-5S-+? 1N-2:+5? #:+? 7? )N-9S-+? 1N-2:+;? #:+? =? )N-?S-+? 1N-2:+?? #:+? A? )N-CS-+? 1N-2:+C? #:+? A? )N-ES-+? 1N-2:+E? #:+? A? )N-GS-+? 1N-2:+I? #:+? A? )N-KS-+? 1N-2:+K? #:+? A? )N-MS-+? 1N-2:+M? #:+? A? )N-OS-+? 1N-2:+Q? #:+? A? )N-SS-+? 1N-2:+S? #:+? A? )N-US-+? 1N-2:+U? #:+? A? )N-WS-+? 1N-2:+Y? #:+? A? )N-[S-+? 1N-2:+[? #:+? ]? )N-_S-+? 1N-2:+_? #:+? a? )N-cS-eS-+? 1N-2:+c? #:-2:+e? #:+? g? )N-iS-kS-mS-oS-qS-sS-+? 1N-2:+i? #:-2:+k? #:-2:+m? #:-2:+o? #:-2:+q? #:-2:+s? #:+"? u? )N-wS-+? 1N-2:+w? #:+#? y? )N-{S-+? 1N-2:+{? #:+$? }? )N-S-?S-?S-WS-OS-?S-?S-+? 1N-2:+? #:-2:+?? #:-2:+?? #:-2:+W? #:-2:+O? #:-2:+?? #:-2:+?? #:+&? ?? )N-?S-+? 1N-2:+?? #:+)? ?? )N-?S-+? 1N-2:+?? #:? C+? ?N-+?? ?? ?? /++? ? ?:? ?Y+? ?? ?? ?:+?? #:? -?+.? +ȶ ?N+?-? #N+/?
? ?N+?-? #N+0? ? ?N+?-? #N+1? +Զ ?N+?-? #N+4? ? ?N+ض ?-__S?-??:+?? #:-?+Q? ? ?N+ڶ ?-__S-???:+? #:-?+? ?? ?? ??? ? G ? " # $ &