Documentation/Source/eric5.Helpviewer.Network.FollowRedirectReply.html

changeset 1953
26aa6fd94dc2
child 1955
9e6da33c1c10
equal deleted inserted replaced
1952:af4103f0e93f 1953:26aa6fd94dc2
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Helpviewer.Network.FollowRedirectReply</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.Network.FollowRedirectReply</h1>
24 <p>
25 Module implementing a network reply delegate allowing to check redirects.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#FollowRedirectReply">FollowRedirectReply</a></td>
35 <td>Class implementing a network reply delegate allowing to check redirects</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="FollowRedirectReply" ID="FollowRedirectReply"></a>
44 <h2>FollowRedirectReply</h2>
45 <p>
46 Class implementing a network reply delegate allowing to check redirects
47 </p>
48 <h3>Derived from</h3>
49 QObject
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#FollowRedirectReply.__init__">FollowRedirectReply</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#FollowRedirectReply.__replyFinished">__replyFinished</a></td>
65 <td>Private slot handling the receipt of the requested data.</td>
66 </tr><tr>
67 <td><a href="#FollowRedirectReply.error">error</a></td>
68 <td>Public method to get the error information.</td>
69 </tr><tr>
70 <td><a href="#FollowRedirectReply.originalUrl">originalUrl</a></td>
71 <td>Public method to get the original URL.</td>
72 </tr><tr>
73 <td><a href="#FollowRedirectReply.readAll">readAll</a></td>
74 <td>Public method to read all received data.</td>
75 </tr><tr>
76 <td><a href="#FollowRedirectReply.reply">reply</a></td>
77 <td>Public method to get the reply object.</td>
78 </tr><tr>
79 <td><a href="#FollowRedirectReply.url">url</a></td>
80 <td>Public method to get the final URL (after redirects).</td>
81 </tr>
82 </table>
83 <h3>Static Methods</h3>
84 <table>
85 <tr><td>None</td></tr>
86 </table>
87 <a NAME="FollowRedirectReply.__init__" ID="FollowRedirectReply.__init__"></a>
88 <h4>FollowRedirectReply (Constructor)</h4>
89 <b>FollowRedirectReply</b>(<i>url, manager, maxRedirects=5</i>)
90 <p>
91 Constructor
92 </p><dl>
93 <dt><i>url</i></dt>
94 <dd>
95 URL to get (QUrl)
96 </dd><dt><i>manager</i></dt>
97 <dd>
98 reference to the network access manager (QNetworkAccessManager)
99 </dd><dt><i>maxRedirects=</i></dt>
100 <dd>
101 maximum allowed redirects (integer)
102 </dd>
103 </dl><a NAME="FollowRedirectReply.__replyFinished" ID="FollowRedirectReply.__replyFinished"></a>
104 <h4>FollowRedirectReply.__replyFinished</h4>
105 <b>__replyFinished</b>(<i></i>)
106 <p>
107 Private slot handling the receipt of the requested data.
108 </p><a NAME="FollowRedirectReply.error" ID="FollowRedirectReply.error"></a>
109 <h4>FollowRedirectReply.error</h4>
110 <b>error</b>(<i></i>)
111 <p>
112 Public method to get the error information.
113 </p><dl>
114 <dt>Returns:</dt>
115 <dd>
116 error code (QNetworkReply.NetworkError)
117 </dd>
118 </dl><a NAME="FollowRedirectReply.originalUrl" ID="FollowRedirectReply.originalUrl"></a>
119 <h4>FollowRedirectReply.originalUrl</h4>
120 <b>originalUrl</b>(<i></i>)
121 <p>
122 Public method to get the original URL.
123 </p><dl>
124 <dt>Returns:</dt>
125 <dd>
126 original URL (QUrl)
127 </dd>
128 </dl><a NAME="FollowRedirectReply.readAll" ID="FollowRedirectReply.readAll"></a>
129 <h4>FollowRedirectReply.readAll</h4>
130 <b>readAll</b>(<i></i>)
131 <p>
132 Public method to read all received data.
133 </p><dl>
134 <dt>Returns:</dt>
135 <dd>
136 received raw data (QByteArray)
137 </dd>
138 </dl><a NAME="FollowRedirectReply.reply" ID="FollowRedirectReply.reply"></a>
139 <h4>FollowRedirectReply.reply</h4>
140 <b>reply</b>(<i></i>)
141 <p>
142 Public method to get the reply object.
143 </p><dl>
144 <dt>Returns:</dt>
145 <dd>
146 reference to the reply object (QNetworkReply)
147 </dd>
148 </dl><a NAME="FollowRedirectReply.url" ID="FollowRedirectReply.url"></a>
149 <h4>FollowRedirectReply.url</h4>
150 <b>url</b>(<i></i>)
151 <p>
152 Public method to get the final URL (after redirects).
153 </p><dl>
154 <dt>Returns:</dt>
155 <dd>
156 final URL (QUrl)
157 </dd>
158 </dl>
159 <div align="right"><a href="#top">Up</a></div>
160 <hr />
161 </body></html>

eric ide

mercurial