56 <tr><td>None</td></tr> |
56 <tr><td>None</td></tr> |
57 </table> |
57 </table> |
58 <h3>Methods</h3> |
58 <h3>Methods</h3> |
59 <table> |
59 <table> |
60 <tr> |
60 <tr> |
|
61 <td><a href="#FtpAccessHandler.__init__">FtpAccessHandler</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
61 <td><a href="#FtpAccessHandler.createRequest">createRequest</a></td> |
64 <td><a href="#FtpAccessHandler.createRequest">createRequest</a></td> |
62 <td>Protected method to create a request.</td> |
65 <td>Protected method to create a request.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#FtpAccessHandler.getAuthenticator">getAuthenticator</a></td> |
|
68 <td>Public method to get an authenticator for the given realm.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#FtpAccessHandler.getProxyAuthenticator">getProxyAuthenticator</a></td> |
|
71 <td>Public method to get the authenticator for the FTP proxy.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#FtpAccessHandler.setAuthenticator">setAuthenticator</a></td> |
|
74 <td>Public method to add or change an authenticator in our cache.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#FtpAccessHandler.setProxyAuthenticator">setProxyAuthenticator</a></td> |
|
77 <td>Public method to add or change the authenticator for the FTP proxy.</td> |
63 </tr> |
78 </tr> |
64 </table> |
79 </table> |
65 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
66 <table> |
81 <table> |
67 <tr><td>None</td></tr> |
82 <tr><td>None</td></tr> |
68 </table> |
83 </table> |
69 <a NAME="FtpAccessHandler.createRequest" ID="FtpAccessHandler.createRequest"></a> |
84 <a NAME="FtpAccessHandler.__init__" ID="FtpAccessHandler.__init__"></a> |
|
85 <h4>FtpAccessHandler (Constructor)</h4> |
|
86 <b>FtpAccessHandler</b>(<i>parent=None</i>) |
|
87 <p> |
|
88 Constructor |
|
89 </p><dl> |
|
90 <dt><i>parent</i></dt> |
|
91 <dd> |
|
92 reference to the parent object (QObject) |
|
93 </dd> |
|
94 </dl><a NAME="FtpAccessHandler.createRequest" ID="FtpAccessHandler.createRequest"></a> |
70 <h4>FtpAccessHandler.createRequest</h4> |
95 <h4>FtpAccessHandler.createRequest</h4> |
71 <b>createRequest</b>(<i>op, request, outgoingData=None</i>) |
96 <b>createRequest</b>(<i>op, request, outgoingData=None</i>) |
72 <p> |
97 <p> |
73 Protected method to create a request. |
98 Protected method to create a request. |
74 </p><dl> |
99 </p><dl> |
86 </dl><dl> |
111 </dl><dl> |
87 <dt>Returns:</dt> |
112 <dt>Returns:</dt> |
88 <dd> |
113 <dd> |
89 reference to the created reply object (QNetworkReply) |
114 reference to the created reply object (QNetworkReply) |
90 </dd> |
115 </dd> |
|
116 </dl><a NAME="FtpAccessHandler.getAuthenticator" ID="FtpAccessHandler.getAuthenticator"></a> |
|
117 <h4>FtpAccessHandler.getAuthenticator</h4> |
|
118 <b>getAuthenticator</b>(<i>realm</i>) |
|
119 <p> |
|
120 Public method to get an authenticator for the given realm. |
|
121 </p><dl> |
|
122 <dt><i>realm</i></dt> |
|
123 <dd> |
|
124 name of the realm to get the authenticator for (string) |
|
125 </dd> |
|
126 </dl><dl> |
|
127 <dt>Returns:</dt> |
|
128 <dd> |
|
129 authenticator for the given realm (QAuthenticator) or None |
|
130 </dd> |
|
131 </dl><a NAME="FtpAccessHandler.getProxyAuthenticator" ID="FtpAccessHandler.getProxyAuthenticator"></a> |
|
132 <h4>FtpAccessHandler.getProxyAuthenticator</h4> |
|
133 <b>getProxyAuthenticator</b>(<i></i>) |
|
134 <p> |
|
135 Public method to get the authenticator for the FTP proxy. |
|
136 </p><dl> |
|
137 <dt>Returns:</dt> |
|
138 <dd> |
|
139 authenticator for the FTP proxy (QAuthenticator) |
|
140 </dd> |
|
141 </dl><a NAME="FtpAccessHandler.setAuthenticator" ID="FtpAccessHandler.setAuthenticator"></a> |
|
142 <h4>FtpAccessHandler.setAuthenticator</h4> |
|
143 <b>setAuthenticator</b>(<i>realm, authenticator</i>) |
|
144 <p> |
|
145 Public method to add or change an authenticator in our cache. |
|
146 </p><dl> |
|
147 <dt><i>realm</i></dt> |
|
148 <dd> |
|
149 name of the realm the authenticator belongs to (string) |
|
150 </dd><dt><i>authenticator</i></dt> |
|
151 <dd> |
|
152 authenticator to add to the cache (QAuthenticator). |
|
153 If it is None, the entry will be deleted from the cache. |
|
154 </dd> |
|
155 </dl><a NAME="FtpAccessHandler.setProxyAuthenticator" ID="FtpAccessHandler.setProxyAuthenticator"></a> |
|
156 <h4>FtpAccessHandler.setProxyAuthenticator</h4> |
|
157 <b>setProxyAuthenticator</b>(<i>authenticator</i>) |
|
158 <p> |
|
159 Public method to add or change the authenticator for the FTP proxy. |
|
160 </p><dl> |
|
161 <dt><i>authenticator</i></dt> |
|
162 <dd> |
|
163 authenticator for the FTP proxy (QAuthenticator) |
|
164 </dd> |
91 </dl> |
165 </dl> |
92 <div align="right"><a href="#top">Up</a></div> |
166 <div align="right"><a href="#top">Up</a></div> |
93 <hr /> |
167 <hr /> |
94 </body></html> |
168 </body></html> |