35 #include "BESBasicTransmitter.h" 38 #include "BESContextManager.h" 43 string context =
"transmit_protocol";
44 string protocol = BESContextManager::TheManager()->
get_context(context, found);
45 if (protocol ==
"HTTP") {
50 info.
print(dhi.get_output_stream());
56 string context =
"transmit_protocol";
57 string protocol = BESContextManager::TheManager()->
get_context(context, found);
58 if (protocol ==
"HTTP") {
63 info.
print(dhi.get_output_stream());
74 strm << BESIndent::LMarg <<
"BESBasicTransmitter::dump - (" << (
void *)
this <<
")" << endl;
77 BESIndent::UnIndent();
virtual string get_context(const string &name, bool &found)
retrieve the value of the specified context from the BES
virtual bool is_buffered()
return whether the information is to be buffered or not.
informational response object
virtual void dump(ostream &strm) const
dumps information about this object
static void set_mime_html(ostream &strm)
Generate an HTTP 1.0 response header for a html document.
static void set_mime_text(ostream &strm)
Generate an HTTP 1.0 response header for a text document.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
virtual void print(ostream &strm)
print the information from this informational object to the specified stream