| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Url
Simple URL parser/constructor, handles URLs of the form:
<scheme>://<user>:<password>@<host>:<port>/<path>
All components can be None if not specifeid in the URL string.
The port can be specified as a service name, e.g. 'amqp' in the URL string but Url.port always gives the integer value.
| Nested Classes | |
|
Port An integer port number that can be constructed from a service name string |
|
| PartDescriptor | |
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
AMQPS = "amqps"
|
|
AMQP = "amqp"
|
|
username = PartDescriptor('username')
|
|
path = PartDescriptor('path')
|
|
| Instance Variables | |
scheme = PartDescriptor('scheme')Url scheme e.g. |
|
password = PartDescriptor('password')Password |
|
host = PartDescriptor('host')Host name, ipv6 literal or ipv4 dotted quad. |
|
port = property(_get_port, _set_port)Integer port. |
|
|
host_port Returns host:port |
|
|
user Username |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
repr(x)
|
Fill in missing values (scheme, host or port) with defaults
|
| Instance Variable Details |
schemeUrl scheme e.g. 'amqp' or 'amqps'
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 16:10:34 2019 | http://epydoc.sourceforge.net |