classphttpdirectory.html

来自「pwlib开发文档」· HTML 代码 · 共 500 行 · 第 1/2 页

HTML
500
字号
    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Create a new request block for this type of resource.<p><dl compact><dt><b>Returns: </b></dt><dd> Pointer to instance of <a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> descendant class. </dl><p>Reimplemented from <a class="el" href="classPHTTPFile.html#a6">PHTTPFile</a>.    </td>  </tr></table><a name="a5" doxytag="PHTTPDirectory::EnableAuthorisation"></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 PHTTPDirectory::EnableAuthorisation </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>realm</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Enable or disable access control using .access files. A directory tree containing a _access file will require authorisation to allow access. This file has  contains one or more lines, each containing a username and password seperated  by a ":" character.<p>The parameter sets the realm used for authorisation requests. An empty realm disables auhtorisation.     </td>  </tr></table><a name="b1" doxytag="PHTTPDirectory::FindAuthorisations"></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 PHTTPDirectory::FindAuthorisations </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPDirectory.html">PDirectory</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>dir</em>, </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>realm</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>authorisations</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a3" doxytag="PHTTPDirectory::LoadHeaders"></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 PHTTPDirectory::LoadHeaders </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="mdname1" valign="top" nowrap>&nbsp; <em>request</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the headers for block of data (eg HTML) that the resource contains. This will fill in all the fields of the <code>outMIME</code> parameter required by the resource and return the status for the load.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if all OK, FALSE if an error occurred. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>request</em>&nbsp;</td><td>Information on this request. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPHTTPFile.html#a7">PHTTPFile</a>.    </td>  </tr></table><a name="a4" doxytag="PHTTPDirectory::LoadText"></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 <a class="el" href="classPString.html">PString</a> PHTTPDirectory::LoadText </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="mdname1" valign="top" nowrap>&nbsp; <em>request</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><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 text data (eg HTML) that the resource contains.<p>The default behaviour is to assert, one of <a class="el" href="classPHTTPDirectory.html#a4">LoadText()</a># or <a class="el" href="classPHTTPFile.html#a8">LoadData()</a># functions must be overridden for correct operation.<p><dl compact><dt><b>Returns: </b></dt><dd> String for loaded text. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>request</em>&nbsp;</td><td>Information on this request. </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPHTTPFile.html#a9">PHTTPFile</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n2" doxytag="PHTTPDirectory::allowDirectoryListing"></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 PHTTPDirectory::allowDirectoryListing<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n1" doxytag="PHTTPDirectory::authorisationRealm"></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="classPString.html">PString</a> PHTTPDirectory::authorisationRealm<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n0" doxytag="PHTTPDirectory::basePath"></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="classPDirectory.html">PDirectory</a> PHTTPDirectory::basePath<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="http_8h-source.html">http.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:16 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 + =
减小字号Ctrl + -
显示快捷键?