blob: 2c5255a003ac44abaf42dbab0a6fbdb01877d3c7 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Apache Mesos: process::http::Response Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Apache Mesos
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceprocess.html">process</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1http.html">http</a></li><li class="navelem"><a class="el" href="structprocess_1_1http_1_1Response.html">Response</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structprocess_1_1http_1_1Response-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">process::http::Response Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="3rdparty_2libprocess_2include_2process_2http_8hpp_source.html">http.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for process::http::Response:</div>
<div class="dyncontent">
<div class="center">
<img src="structprocess_1_1http_1_1Response.png" usemap="#process::http::Response_map" alt=""/>
<map id="process::http::Response_map" name="process::http::Response_map">
<area href="structprocess_1_1http_1_1Accepted.html" alt="process::http::Accepted" shape="rect" coords="233,56,456,80"/>
<area href="structprocess_1_1http_1_1BadRequest.html" alt="process::http::BadRequest" shape="rect" coords="233,112,456,136"/>
<area href="structprocess_1_1http_1_1Conflict.html" alt="process::http::Conflict" shape="rect" coords="233,168,456,192"/>
<area href="structprocess_1_1http_1_1Forbidden.html" alt="process::http::Forbidden" shape="rect" coords="233,224,456,248"/>
<area href="structprocess_1_1http_1_1InternalServerError.html" alt="process::http::InternalServerError" shape="rect" coords="233,280,456,304"/>
<area href="structprocess_1_1http_1_1MethodNotAllowed.html" alt="process::http::MethodNotAllowed" shape="rect" coords="233,336,456,360"/>
<area href="structprocess_1_1http_1_1NotAcceptable.html" alt="process::http::NotAcceptable" shape="rect" coords="233,392,456,416"/>
<area href="structprocess_1_1http_1_1NotFound.html" alt="process::http::NotFound" shape="rect" coords="233,448,456,472"/>
<area href="structprocess_1_1http_1_1NotImplemented.html" alt="process::http::NotImplemented" shape="rect" coords="233,504,456,528"/>
<area href="structprocess_1_1http_1_1OK.html" alt="process::http::OK" shape="rect" coords="233,560,456,584"/>
<area href="structprocess_1_1http_1_1PreconditionFailed.html" alt="process::http::PreconditionFailed" shape="rect" coords="233,616,456,640"/>
<area href="structprocess_1_1http_1_1ServiceUnavailable.html" alt="process::http::ServiceUnavailable" shape="rect" coords="233,672,456,696"/>
<area href="structprocess_1_1http_1_1TemporaryRedirect.html" alt="process::http::TemporaryRedirect" shape="rect" coords="233,728,456,752"/>
<area href="structprocess_1_1http_1_1Unauthorized.html" alt="process::http::Unauthorized" shape="rect" coords="233,784,456,808"/>
<area href="structprocess_1_1http_1_1UnsupportedMediaType.html" alt="process::http::UnsupportedMediaType" shape="rect" coords="233,840,456,864"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac8b9e44a3e44f148c14e81cbb9fafe24"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="structprocess_1_1http_1_1Response.html#ac8b9e44a3e44f148c14e81cbb9fafe24aa49acb0a3f416b805cb49ec1a4549b14">NONE</a>,
<a class="el" href="structprocess_1_1http_1_1Response.html#ac8b9e44a3e44f148c14e81cbb9fafe24a7d2a4db1b1426c6caab18fa8b484f4f5">BODY</a>,
<a class="el" href="structprocess_1_1http_1_1Response.html#ac8b9e44a3e44f148c14e81cbb9fafe24a069715e7afa526f4f971dcf3d704b5c8">PATH</a>,
<a class="el" href="structprocess_1_1http_1_1Response.html#ac8b9e44a3e44f148c14e81cbb9fafe24a8d713d3c6326b2c6f5730c5f46f3e3f0">PIPE</a>
}</td></tr>
<tr class="separator:ac8b9e44a3e44f148c14e81cbb9fafe24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac7ac8132a8d8772335efd5a55d9ebb4f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#ac7ac8132a8d8772335efd5a55d9ebb4f">Response</a> ()</td></tr>
<tr class="separator:ac7ac8132a8d8772335efd5a55d9ebb4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab52f93de73e86c37fa21484acd5d8e9d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#ab52f93de73e86c37fa21484acd5d8e9d">Response</a> (uint16_t _code)</td></tr>
<tr class="separator:ab52f93de73e86c37fa21484acd5d8e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23f61ad9a4ca2cbd074d1ee77170054"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#ad23f61ad9a4ca2cbd074d1ee77170054">Response</a> (const std::string &amp;_body, uint16_t _code, const std::string &amp;contentType=&quot;text/plain; charset=utf-8&quot;)</td></tr>
<tr class="separator:ad23f61ad9a4ca2cbd074d1ee77170054"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a8fcbd2073ace160af24a9ee531cb4378"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">status</a></td></tr>
<tr class="separator:a8fcbd2073ace160af24a9ee531cb4378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae463c5c7a083aea98a89cf9b675b59ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprocess_1_1http_1_1Headers.html">Headers</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a></td></tr>
<tr class="separator:ae463c5c7a083aea98a89cf9b675b59ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00b3a2344f46dcb6868be6a7e962e091"><td class="memItemLeft" align="right" valign="top">enum process::http::Response:: { ... } &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#a00b3a2344f46dcb6868be6a7e962e091">type</a></td></tr>
<tr class="separator:a00b3a2344f46dcb6868be6a7e962e091"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f6d23dd77e1eeb0737dc728e0109905"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a></td></tr>
<tr class="separator:a5f6d23dd77e1eeb0737dc728e0109905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad42d5f8c85b81742de9f3f1a0f6d328"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#aad42d5f8c85b81742de9f3f1a0f6d328">path</a></td></tr>
<tr class="separator:aad42d5f8c85b81742de9f3f1a0f6d328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3543eb8ecd36f5d6d91b2640d471359"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a>&lt; <a class="el" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Pipe::Reader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#aa3543eb8ecd36f5d6d91b2640d471359">reader</a></td></tr>
<tr class="separator:aa3543eb8ecd36f5d6d91b2640d471359"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6530fddd03380dbb3b23b17523cb242"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1http_1_1Response.html#ad6530fddd03380dbb3b23b17523cb242">code</a></td></tr>
<tr class="separator:ad6530fddd03380dbb3b23b17523cb242"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ac8b9e44a3e44f148c14e81cbb9fafe24"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ac8b9e44a3e44f148c14e81cbb9fafe24aa49acb0a3f416b805cb49ec1a4549b14"></a>NONE</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac8b9e44a3e44f148c14e81cbb9fafe24a7d2a4db1b1426c6caab18fa8b484f4f5"></a>BODY</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac8b9e44a3e44f148c14e81cbb9fafe24a069715e7afa526f4f971dcf3d704b5c8"></a>PATH</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac8b9e44a3e44f148c14e81cbb9fafe24a8d713d3c6326b2c6f5730c5f46f3e3f0"></a>PIPE</em>&nbsp;</td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac7ac8132a8d8772335efd5a55d9ebb4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">process::http::Response::Response </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab52f93de73e86c37fa21484acd5d8e9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">process::http::Response::Response </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>_code</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad23f61ad9a4ca2cbd074d1ee77170054"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">process::http::Response::Response </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>_body</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>_code</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>contentType</em> = <code>&quot;text/plain;&#160;charset=utf-8&quot;</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a5f6d23dd77e1eeb0737dc728e0109905"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string process::http::Response::body</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad6530fddd03380dbb3b23b17523cb242"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t process::http::Response::code</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae463c5c7a083aea98a89cf9b675b59ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classprocess_1_1http_1_1Headers.html">Headers</a> process::http::Response::headers</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aad42d5f8c85b81742de9f3f1a0f6d328"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string process::http::Response::path</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa3543eb8ecd36f5d6d91b2640d471359"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOption.html">Option</a>&lt;<a class="el" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Pipe::Reader</a>&gt; process::http::Response::reader</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8fcbd2073ace160af24a9ee531cb4378"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string process::http::Response::status</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a00b3a2344f46dcb6868be6a7e962e091"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum { ... } process::http::Response::type</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>3rdparty/libprocess/include/process/<a class="el" href="3rdparty_2libprocess_2include_2process_2http_8hpp_source.html">http.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>