⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpconfigpage.html

📁 pwlib开发文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PConfigPage class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PConfigPage Class Reference</h1><code>#include &lt;<a class="el" href="httpsvc_8h-source.html">httpsvc.h</a>&gt;</code><p><p>Inheritance diagram for PConfigPage:<p><center><img src="classPConfigPage.png" usemap="#PConfigPage_map" border="0" alt=""></center><map name="PConfigPage_map"><area href="classPHTTPConfig.html" alt="PHTTPConfig" shape="rect" coords="0,224,105,248"><area href="classPHTTPForm.html" alt="PHTTPForm" shape="rect" coords="0,168,105,192"><area href="classPHTTPString.html" alt="PHTTPString" shape="rect" coords="0,112,105,136"><area href="classPHTTPResource.html" alt="PHTTPResource" shape="rect" coords="0,56,105,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,105,24"><area href="classPRegisterPage.html" alt="PRegisterPage" shape="rect" coords="0,336,105,360"></map><a href="classPConfigPage-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#a0">PConfigPage</a> (<a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &amp;app, const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPHTTPConfig.html#n0">section</a>, const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &amp;auth)</td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#a1">PConfigPage</a> (<a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &amp;app, const <a class="el" href="classPString.html">PString</a> &amp;title, const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPHTTPConfig.html#n0">section</a>, const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &amp;auth)</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#a2">OnLoadedText</a> (<a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;, <a class="el" href="classPString.html">PString</a> &amp;text)</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#a3">OnPOST</a> (<a class="el" href="classPHTTPServer.html">PHTTPServer</a> &amp;server, const <a class="el" href="classPURL.html">PURL</a> &amp;url, const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> &amp;info, const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;data, const <a class="el" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> &amp;connectInfo)</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#a4">Post</a> (<a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;request, const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;data, <a class="el" href="classPHTML.html">PHTML</a> &amp;replyMessage)</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#b0">GetExpirationDate</a> (<a class="el" href="classPTime.html">PTime</a> &amp;when)</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPConfigPage.html#n0">process</a></td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PConfigPage::PConfigPage"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PConfigPage::PConfigPage </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>app</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>section</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>auth</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a1" doxytag="PConfigPage::PConfigPage"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PConfigPage::PConfigPage </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>app</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>title</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>section</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>auth</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="b0" doxytag="PConfigPage::GetExpirationDate"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PConfigPage::GetExpirationDate </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPTime.html">PTime</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>when</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get a block of data (eg HTML) that the resource contains.<p><dl compact><dt><b>Returns: </b></dt><dd> Status of load operation. </dl><p>Reimplemented from <a class="el" href="classPHTTPResource.html#a14">PHTTPResource</a>.    </td>  </tr></table><a name="a2" doxytag="PConfigPage::OnLoadedText"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void PConfigPage::OnLoadedText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp;, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>text</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. Typically this is used with HTML responses.<p>The default action for this function is to do nothing. <p>Reimplemented from <a class="el" href="classPHTTPConfig.html#a4">PHTTPConfig</a>.<p>Reimplemented in <a class="el" href="classPRegisterPage.html#a2">PRegisterPage</a>.    </td>  </tr></table><a name="a3" doxytag="PConfigPage::OnPOST"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> BOOL PConfigPage::OnPOST </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServer.html">PHTTPServer</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>server</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>url</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>info</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>connectInfo</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Handle the POST command passed from the HTTP socket.<p>The default action is to check the authorisation for the resource and call the virtual <a class="el" href="classPConfigPage.html#a4">Post()</a># function to handle the data being received.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the connection may persist, FALSE if the connection must close If there is no ContentLength field in the response, this value must be FALSE for correct operation. </dl><p>Reimplemented from <a class="el" href="classPHTTPResource.html#a11">PHTTPResource</a>.    </td>  </tr></table><a name="a4" doxytag="PConfigPage::Post"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PConfigPage::Post </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>request</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPHTML.html">PHTML</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>replyMessage</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get a block of data (eg HTML) that the resource contains.<p>The default action for this function is to do nothing and return success.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the connection may persist, FALSE if the connection must close </dl><p>Reimplemented from <a class="el" href="classPHTTPConfig.html#a5">PHTTPConfig</a>.<p>Reimplemented in <a class="el" href="classPRegisterPage.html#a3">PRegisterPage</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="PConfigPage::process"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a>&amp; PConfigPage::process<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Reimplemented in <a class="el" href="classPRegisterPage.html#n0">PRegisterPage</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="httpsvc_8h-source.html">httpsvc.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:15 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -