Documentation/Source/eric6.E5Network.E5NetworkProxyFactory.html

changeset 4352
86f7a3344d38
parent 3673
e26d7d0c1088
equal deleted inserted replaced
4351:ace015b19c0f 4352:86f7a3344d38
30 <h3>Classes</h3> 30 <h3>Classes</h3>
31 <table> 31 <table>
32 <tr> 32 <tr>
33 <td><a href="#E5NetworkProxyFactory">E5NetworkProxyFactory</a></td> 33 <td><a href="#E5NetworkProxyFactory">E5NetworkProxyFactory</a></td>
34 <td>Class implementing a network proxy factory.</td> 34 <td>Class implementing a network proxy factory.</td>
35 </tr><tr>
36 <td><a href="#HostnameMatcher">HostnameMatcher</a></td>
37 <td>Class implementing a matcher for host names.</td>
35 </tr> 38 </tr>
36 </table> 39 </table>
37 <h3>Functions</h3> 40 <h3>Functions</h3>
38 <table> 41 <table>
39 <tr> 42 <tr>
64 <table> 67 <table>
65 <tr> 68 <tr>
66 <td><a href="#E5NetworkProxyFactory.__init__">E5NetworkProxyFactory</a></td> 69 <td><a href="#E5NetworkProxyFactory.__init__">E5NetworkProxyFactory</a></td>
67 <td>Constructor</td> 70 <td>Constructor</td>
68 </tr><tr> 71 </tr><tr>
72 <td><a href="#E5NetworkProxyFactory.__setExceptions">__setExceptions</a></td>
73 <td>Private method to set the host name exceptions.</td>
74 </tr><tr>
69 <td><a href="#E5NetworkProxyFactory.queryProxy">queryProxy</a></td> 75 <td><a href="#E5NetworkProxyFactory.queryProxy">queryProxy</a></td>
70 <td>Public method to determine a proxy for a given query.</td> 76 <td>Public method to determine a proxy for a given query.</td>
71 </tr> 77 </tr>
72 </table> 78 </table>
73 <h3>Static Methods</h3> 79 <h3>Static Methods</h3>
77 <a NAME="E5NetworkProxyFactory.__init__" ID="E5NetworkProxyFactory.__init__"></a> 83 <a NAME="E5NetworkProxyFactory.__init__" ID="E5NetworkProxyFactory.__init__"></a>
78 <h4>E5NetworkProxyFactory (Constructor)</h4> 84 <h4>E5NetworkProxyFactory (Constructor)</h4>
79 <b>E5NetworkProxyFactory</b>(<i></i>) 85 <b>E5NetworkProxyFactory</b>(<i></i>)
80 <p> 86 <p>
81 Constructor 87 Constructor
82 </p><a NAME="E5NetworkProxyFactory.queryProxy" ID="E5NetworkProxyFactory.queryProxy"></a> 88 </p><a NAME="E5NetworkProxyFactory.__setExceptions" ID="E5NetworkProxyFactory.__setExceptions"></a>
89 <h4>E5NetworkProxyFactory.__setExceptions</h4>
90 <b>__setExceptions</b>(<i>exceptions</i>)
91 <p>
92 Private method to set the host name exceptions.
93 </p><dl>
94 <dt><i>exceptions</i> (str)</dt>
95 <dd>
96 list of exceptions separated by ','
97 </dd>
98 </dl><a NAME="E5NetworkProxyFactory.queryProxy" ID="E5NetworkProxyFactory.queryProxy"></a>
83 <h4>E5NetworkProxyFactory.queryProxy</h4> 99 <h4>E5NetworkProxyFactory.queryProxy</h4>
84 <b>queryProxy</b>(<i>query</i>) 100 <b>queryProxy</b>(<i>query</i>)
85 <p> 101 <p>
86 Public method to determine a proxy for a given query. 102 Public method to determine a proxy for a given query.
87 </p><dl> 103 </p><dl>
91 </dd> 107 </dd>
92 </dl><dl> 108 </dl><dl>
93 <dt>Returns:</dt> 109 <dt>Returns:</dt>
94 <dd> 110 <dd>
95 list of proxies in order of preference (list of QNetworkProxy) 111 list of proxies in order of preference (list of QNetworkProxy)
112 </dd>
113 </dl>
114 <div align="right"><a href="#top">Up</a></div>
115 <hr /><hr />
116 <a NAME="HostnameMatcher" ID="HostnameMatcher"></a>
117 <h2>HostnameMatcher</h2>
118 <p>
119 Class implementing a matcher for host names.
120 </p>
121 <h3>Derived from</h3>
122 object
123 <h3>Class Attributes</h3>
124 <table>
125 <tr><td>None</td></tr>
126 </table>
127 <h3>Class Methods</h3>
128 <table>
129 <tr><td>None</td></tr>
130 </table>
131 <h3>Methods</h3>
132 <table>
133 <tr>
134 <td><a href="#HostnameMatcher.__init__">HostnameMatcher</a></td>
135 <td>Constructor</td>
136 </tr><tr>
137 <td><a href="#HostnameMatcher.match">match</a></td>
138 <td>Public method to test the given string.</td>
139 </tr><tr>
140 <td><a href="#HostnameMatcher.pattern">pattern</a></td>
141 <td>Public method to get the match pattern.</td>
142 </tr><tr>
143 <td><a href="#HostnameMatcher.setPattern">setPattern</a></td>
144 <td>Public method to set the match pattern.</td>
145 </tr>
146 </table>
147 <h3>Static Methods</h3>
148 <table>
149 <tr><td>None</td></tr>
150 </table>
151 <a NAME="HostnameMatcher.__init__" ID="HostnameMatcher.__init__"></a>
152 <h4>HostnameMatcher (Constructor)</h4>
153 <b>HostnameMatcher</b>(<i>pattern</i>)
154 <p>
155 Constructor
156 </p><dl>
157 <dt><i>pattern</i> (str)</dt>
158 <dd>
159 pattern to be matched against
160 </dd>
161 </dl><a NAME="HostnameMatcher.match" ID="HostnameMatcher.match"></a>
162 <h4>HostnameMatcher.match</h4>
163 <b>match</b>(<i>host</i>)
164 <p>
165 Public method to test the given string.
166 </p><dl>
167 <dt><i>host</i> (str)</dt>
168 <dd>
169 host name to be matched
170 </dd>
171 </dl><dl>
172 <dt>Returns:</dt>
173 <dd>
174 flag indicating a successful match
175 </dd>
176 </dl><dl>
177 <dt>Return Type:</dt>
178 <dd>
179 bool
180 </dd>
181 </dl><a NAME="HostnameMatcher.pattern" ID="HostnameMatcher.pattern"></a>
182 <h4>HostnameMatcher.pattern</h4>
183 <b>pattern</b>(<i></i>)
184 <p>
185 Public method to get the match pattern.
186 </p><dl>
187 <dt>Returns:</dt>
188 <dd>
189 match pattern
190 </dd>
191 </dl><dl>
192 <dt>Return Type:</dt>
193 <dd>
194 str
195 </dd>
196 </dl><a NAME="HostnameMatcher.setPattern" ID="HostnameMatcher.setPattern"></a>
197 <h4>HostnameMatcher.setPattern</h4>
198 <b>setPattern</b>(<i>pattern</i>)
199 <p>
200 Public method to set the match pattern.
201 </p><dl>
202 <dt><i>pattern</i></dt>
203 <dd>
204 pattern to be matched against
96 </dd> 205 </dd>
97 </dl> 206 </dl>
98 <div align="right"><a href="#top">Up</a></div> 207 <div align="right"><a href="#top">Up</a></div>
99 <hr /><hr /> 208 <hr /><hr />
100 <a NAME="proxyAuthenticationRequired" ID="proxyAuthenticationRequired"></a> 209 <a NAME="proxyAuthenticationRequired" ID="proxyAuthenticationRequired"></a>

eric ide

mercurial