📄 classpconfigsectionspage.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>PConfigSectionsPage 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> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>PConfigSectionsPage Class Reference</h1><code>#include <<a class="el" href="httpsvc_8h-source.html">httpsvc.h</a>></code><p><p>Inheritance diagram for PConfigSectionsPage:<p><center><img src="classPConfigSectionsPage.png" usemap="#PConfigSectionsPage_map" border="0" alt=""></center><map name="PConfigSectionsPage_map"><area href="classPHTTPConfigSectionList.html" alt="PHTTPConfigSectionList" shape="rect" coords="0,168,149,192"><area href="classPHTTPString.html" alt="PHTTPString" shape="rect" coords="0,112,149,136"><area href="classPHTTPResource.html" alt="PHTTPResource" shape="rect" coords="0,56,149,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,149,24"></map><a href="classPConfigSectionsPage-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> </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#a0">PConfigSectionsPage</a> (<a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> &app, const <a class="el" href="classPURL.html">PURL</a> &url, const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &auth, const <a class="el" href="classPString.html">PString</a> &prefix, const <a class="el" href="classPString.html">PString</a> &valueName, const <a class="el" href="classPURL.html">PURL</a> &editSection, const <a class="el" href="classPURL.html">PURL</a> &newSection, const <a class="el" href="classPString.html">PString</a> &newTitle, <a class="el" href="classPHTML.html">PHTML</a> &heading)</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#a1">OnLoadedText</a> (<a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &, <a class="el" href="classPString.html">PString</a> &text)</td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#a2">OnPOST</a> (<a class="el" href="classPHTTPServer.html">PHTTPServer</a> &server, const <a class="el" href="classPURL.html">PURL</a> &url, const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> &info, const <a class="el" href="classPStringToString.html">PStringToString</a> &data, const <a class="el" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> &connectInfo)</td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#a3">Post</a> (<a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &request, const <a class="el" href="classPStringToString.html">PStringToString</a> &data, <a class="el" href="classPHTML.html">PHTML</a> &replyMessage)</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#b0">GetExpirationDate</a> (<a class="el" href="classPTime.html">PTime</a> &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> & </td><td valign=bottom><a class="el" href="classPConfigSectionsPage.html#n0">process</a></td></tr></table><hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="PConfigSectionsPage::PConfigSectionsPage"></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"> PConfigSectionsPage::PConfigSectionsPage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServiceProcess.html">PHTTPServiceProcess</a> & </td> <td class="mdname" nowrap> <em>app</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> & </td> <td class="mdname" nowrap> <em>url</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> & </td> <td class="mdname" nowrap> <em>auth</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>prefix</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>valueName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> & </td> <td class="mdname" nowrap> <em>editSection</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> & </td> <td class="mdname" nowrap> <em>newSection</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>newTitle</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPHTML.html">PHTML</a> & </td> <td class="mdname" nowrap> <em>heading</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a name="b0" doxytag="PConfigSectionsPage::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 PConfigSectionsPage::GetExpirationDate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPTime.html">PTime</a> & </td> <td class="mdname1" valign="top" nowrap> <em>when</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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="a1" doxytag="PConfigSectionsPage::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 PConfigSectionsPage::OnLoadedText </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> & </td> <td class="mdname" nowrap> , </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>text</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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="classPHTTPConfigSectionList.html#a1">PHTTPConfigSectionList</a>. </td> </tr></table><a name="a2" doxytag="PConfigSectionsPage::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 PConfigSectionsPage::OnPOST </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServer.html">PHTTPServer</a> & </td> <td class="mdname" nowrap> <em>server</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> & </td> <td class="mdname" nowrap> <em>url</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> & </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> & </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> & </td> <td class="mdname" nowrap> <em>connectInfo</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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="classPConfigSectionsPage.html#a3">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="a3" doxytag="PConfigSectionsPage::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 PConfigSectionsPage::Post </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> & </td> <td class="mdname" nowrap> <em>request</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> & </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPHTML.html">PHTML</a> & </td> <td class="mdname" nowrap> <em>replyMessage</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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="classPHTTPConfigSectionList.html#a2">PHTTPConfigSectionList</a>. </td> </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="PConfigSectionsPage::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>& PConfigSectionsPage::process<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </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 + -