kr.motd.maven.sphinx.dist.urllib3.poolmanager$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
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; org/python/core/PyFrame setline (I)V
__future__ java/lang/String absolute_import
org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
setlocal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
collections importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
functools logging ! _collections # RecentlyUsedContainer % connectionpool ' HTTPConnectionPool ) HTTPSConnectionPool + port_by_scheme -
exceptions / LocationValueError 1
MaxRetryError 3 ProxySchemeUnknown 5 packages.six.moves.urllib.parse 7 urljoin 9 request ; RequestMethods = util.url ? parse_url A
util.retry C Retry E org/python/core/PyList G org/python/core/PyObject I PoolManager K org/python/core/PyString M fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString; O P
N Q ProxyManager S proxy_from_url U ([Lorg/python/core/PyObject;)V W X
H Y __all__ [ getname .(Ljava/lang/String;)Lorg/python/core/PyObject; ] ^
_ getLogger a __getattr__ c ^
J d __name__ f __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; h i
J j log l org/python/core/PyTuple n key_file p cert_file r cert_reqs t ca_certs v ssl_version x ca_cert_dir z ssl_context |
o Y SSL_KEYWORDS
key_scheme ? key_host ? key_port ? key_timeout ? key_retries ?
key_strict ? key_block ? key_source_address ? key_key_file ?
key_cert_file ?
key_cert_reqs ? key_ca_certs ? key_ssl_version ? key_ca_cert_dir ? key_ssl_context ? key_maxsize ? key_headers ?
key__proxy ? key__proxy_headers ? key_socket_options ? key__socks_options ? key_assert_hostname ? key_assert_fingerprint ? _key_fields ?
namedtuple ? PoolKey ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; h ?
J ? org/python/core/Py ? EmptyObjects [Lorg/python/core/PyObject; ? ? ? ? org/python/core/PyFunction ? f_globals Lorg/python/core/PyObject; ? ? ? _default_key_normalizer$1?
Create a pool key out of a request context dictionary.
According to RFC 3986, both the scheme and host are case-insensitive.
Therefore, this function normalizes both before constructing the pool
key for an HTTPS request. If you wish to change this behaviour, provide
alternate callables to ``key_fn_by_scheme``.
:param key_class:
The class to use when constructing the key. This should be a namedtuple
with the ``scheme`` and ``host`` keys at a minimum.
:type key_class: namedtuple
:param request_context:
A dictionary-like object that contain the context for a request.
:type request_context: dict
:return: A namedtuple that can be used as a connection pool key.
:rtype: PoolKey
? getlocal (I)Lorg/python/core/PyObject; ? ?
? copy ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; h ?
J ? (ILorg/python/core/PyObject;)V ?
? scheme ? __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
J ? lower ? __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V ? ?
J ? host ? headers ? _proxy_headers ? _socks_options ? __iter__ ()Lorg/python/core/PyObject; ? ?
J ? _in ? ?
J ? __nonzero__ ()Z ? ?
J ? None ? getglobal ? ^
? _isnot ? ?
J ? frozenset ? items ? __iternext__ ? ?
J ? get socket_options tuple list keys pop key_
_add ?
J _fields _notin ?
J
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
J f_lasti I urllib3/poolmanager$py Lorg/python/core/PyCode; ?! " j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V W$
?% _default_key_normalizer' org/python/core/PyDictionary) http+ partial- https/
* Y key_fn_by_scheme2 pool_classes_by_scheme4
PoolManager$2
__module__7 __doc__9$
Allows for arbitrary requests while transparently keeping track of
necessary connection pools for you.
:param num_pools:
Number of connection pools to cache before discarding the least
recently used pool.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param \**connection_pool_kw:
Additional parameters are used to create fresh
:class:`urllib3.connectionpool.ConnectionPool` instances.
Example::
>>> manager = PoolManager(num_pools=2)
>>> r = manager.request('GET', 'http://google.com/')
>>> r = manager.request('GET', 'http://google.com/mail')
>>> r = manager.request('GET', 'http://yahoo.com/')
>>> len(manager.pools)
2
; proxy=
newInteger (I)Lorg/python/core/PyInteger;?@
?A
__init__$3 __init__D connection_pool_kwF __setattr__H
JI f$4 closeLK! N P(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)V WP
?Q dispose_funcS g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; hU
JV poolsX ? ? ?ZC! \ __enter__$5^! _ __enter__a
__exit__$6 cleard Falsefc! h __exit__j _new_pool$7?
Create a new :class:`ConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
m _iso ?
Jp portr _eqt ?
Jul! w _new_pooly clear$8 ?
Empty our store of pools and direct them all to close.
This will not affect in-flight connections, but they will not be
re-used after completion.
|{! ~ connection_from_host$9?
Get a :class:`ConnectionPool` based on the host, port, and scheme.
If ``port`` isn't given, it will be derived from the ``scheme`` using
``urllib3.connectionpool.port_by_scheme``. If ``pool_kwargs`` is
provided, it is merged with the instance's ``connection_pool_kw``
variable and used to create the new connection pool, if one is
needed.
? __not__? ?
J? No host specified.?
makeException 9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;??
?? _merge_pool_kwargs? connection_from_context??! ? connection_from_host? connection_from_context$10 ?
Get a :class:`ConnectionPool` based on the request context.
``request_context`` must at least contain the ``scheme`` key and its
value must be a key in ``key_fn_by_scheme`` instance variable.
? connection_from_pool_key? request_context??! ? connection_from_pool_key$11 f_exits? ? ? ?
Get a :class:`ConnectionPool` based on the provided pool key.
``pool_key`` should be a namedtuple that only contains immutable
objects. At a minimum it must have the ``scheme``, ``host``, and
``port`` fields.
? lock? org/python/core/ContextGuard?
getManager <(Lorg/python/core/PyObject;)Lorg/python/core/ContextManager;??
?? org/python/core/ContextManager?a ??? =(Lorg/python/core/ThreadState;Lorg/python/core/PyException;)Zj??? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;??
?? ()Lorg/python/core/PyException;??
?? java/lang/Throwable??! ? connection_from_url$12?
Similar to :func:`urllib3.connectionpool.connection_from_url`.
If ``pool_kwargs`` is not provided and a new pool needs to be
constructed, ``self.connection_pool_kw`` is used to initialize
the :class:`urllib3.connectionpool.ConnectionPool`. If ``pool_kwargs``
is provided, it is used instead. Note that if a new pool does not
need to be created for the request, the provided ``pool_kwargs`` are
not used.
? pool_kwargs??! ? connection_from_url? _merge_pool_kwargs$13
Merge a dictionary of override values for self.connection_pool_kw.
This does not modify self.connection_pool_kw and returns a new dict.
Any keys in the override dictionary with a value of ``None`` are
removed from the merged dictionary.
? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;??
?? __delitem__ (Lorg/python/core/PyObject;)V??
J? KeyError? org/python/core/PyException? match (Lorg/python/core/PyObject;)Z??
???! ? True?
urlopen$14]
Same as :meth:`urllib3.connectionpool.HTTPConnectionPool.urlopen`
with custom cross-host redirect logic and only sends the request-uri
portion of the ``url``.
The given ``url`` parameter must be absolute, such that an appropriate
:class:`urllib3.connectionpool.ConnectionPool` can be chosen for it.
? assert_same_host? redirect? urlopen? request_uri? get_redirect_location? status? GET? retries?
isinstance? from_int? increment? response? _pool? raise_on_redirect? info? Redirecting %s -> %s? ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; h
J?! getf_locals ?
6! 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
ProxyManager$15w
Behaves just like :class:`PoolManager`, but sends all requests through
the defined proxy, using the CONNECT method for HTTPS URLs.
:param proxy_url:
The URL of the proxy to be used.
:param proxy_headers:
A dictionary contaning headers that will be sent to the proxy. In case
of HTTP they are being sent with each request, while in the
HTTPS/CONNECT case they are sent only once. Could be used for proxy
authentication.
Example:
>>> proxy = urllib3.ProxyManager('http://localhost:3128/')
>>> r1 = proxy.request('GET', 'http://google.com/')
>>> r2 = proxy.request('GET', 'http://httpbin.org/')
>>> len(proxy.pools)
1
>>> r3 = proxy.request('GET', 'https://httpbin.org/')
>>> r4 = proxy.request('GET', 'https://twitter.com/')
>>> len(proxy.pools)
3
__init__$16
%s://%s:%i _mod ?
J _replace
proxy_headers _proxy! super#! % connection_from_host$17'! ( _set_proxy_headers$18 ?
Sets headers needed by proxies: specifically, the Accept and Host
headers. Only sets headers not provided by the user.
+ Accept- */*/ netloc1 Host3 update5*! 7 _set_proxy_headers9
urlopen$19 @Same as HTTP(S)ConnectionPool.urlopen, ``url`` must be absolute.<;! >! @ proxy_from_url$20 proxy_urlCB! E (Ljava/lang/String;)V org/python/core/PyFunctionTableH ()V WJ
IK self Lurllib3/poolmanager$py;MN O Q 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;ST
?U ! W key_classY context[ key] socket_opts_ fieldaM num_poolsd pf h exc_typej exc_vall exc_tbn pool_clsp kwr pool_key_constructort pool_keyv poolx urlz u| override~ base_pool_kwargs? value? method? conn? redirect_location? headers_? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V WG
???
? 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;
? ?
?6
?C
?K
?^
?c
?l
?{
??
??
??
??
??
??
?
?
?'
?*
?;
?B
? org/python/core/PyRunnable? Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `9?? Lorg/python/compiler/Filename; ]/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/urllib3/poolmanager.py org/python/core/ThreadState? [Ljava/lang/String;? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! I ? MN ! ?! 6! C! K! ^! c! l! {! ?! ?! ?! ?! ?! ?! ! ! '! *! ;! B! ? ?
+?
? N-S-+? N-2:+? :+? +? N+-? N+? +? N+ -? N+? "+? N+"-? N+? $? N-&S-+? N-2:+&? :+? (? N-*S-,S-+? N-2:+*? :-2:+,? :+? (? N-.S-+? N-2:+.? :+ ? 0? N-2S-4S-6S-+? N-2:+2? :-2:+4? :-2:+6? :+
? 8? N-:S-+? N-2:+:? :+? <? N->S-+? N-2:+>? :+? @? N-BS-+? N-2:+B? :+
? D? N-FS-+? N-2:+F? :+? ? HY? JYL? RSYT? RSYV? RS? ZN+\-? N+? +"? `b? e,+g? `? kN+m-? N+? ? oY? JYq? RSYs? RSYu? RSYw? RSYy? RSY{? RSY}? RS? ~N+?-? N+? ? oY? JY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY ?? RSY
?? RSY?? RSY?? RSY
?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RSY?? RS? ~N+?-? N+6? +? `?? e,?? R+?? `? ?N+?-? N+9? ? ?N? ?Y+? ?-?#Ƹ R?&N+(-? N+n? ?*Y? JY,? RSY+ ? `.? e,+(? `+?? `? ?SY0? RSY+ ? `.? e,+(? `+?? `? ?S?1N+3-? N+s? ?*Y? JY,? RSY+*? `SY0? RSY+,? `S?1N+5-? N+y? ? JN+>? `-__SL-? ?
:+L? :-?+`? ? JN+L? `-__ST-?A?
:+T? :-?+?? ? ?N? ?Y+? ?-?F?&N+V-? N+??[? ? ^
6 9 n s y ` ? ? ? ? ?+L? Ƹ RW+N? +? ?̶ e,? ?N+-? ?N+O? +? ?Ը R? ?ڶ e,? ?N+? ?Ը R-? ?N+P? +? ?? R? ?ڶ e,? ?N+? ?? R-? ?N+S? ? oY? JY? RSY? RSY? RS? ~? ?N? ?+? ?+T? +? ?:+? ?_? ?:Y? ? "W+? ?+? ʶ ?:+? ?_? ?:? ? @+U? +?? ?,+? ?+? ʶ ??? e,? ϶ k:+? ?+? ?? ?:? +S? -? :??g+Y? +? ?? e,? R? kN+-? ?N+Z? +? ?N+? ?-_? ?N? ? .+[? +? ?,+? ʶ kN+? ?? R-? ?N? +_? +? ?,+? ?
? e,? ϶ k? ?N? A+? ?+`? +? ?? e,+? ʶ k:+? ?? R+? ʶ? ?:+_? -? :???+c? +? ?? e? ?N? N+? ?+d? +? ?:+? ?_?:? ? &+e? +? ?:+? ?+? ?? ?:? +c? -? :???+g? +? ʲ ?N? :+? ?-^X?NN+?-? ? N L N O P S T U S Y Z [ _ ` _ c d e c g? ? ? ? J J ? ? J J J> ? J ? ? J ? ? J J " ? J J K ? J J ? ? J J 6 ? ? x+8+g? `? +: