#include <OW_RequestHandlerIFC.hpp>
Inheritance diagram for OW_NAMESPACE::RequestHandlerIFC:
Public Member Functions | |
RequestHandlerIFC () | |
virtual | ~RequestHandlerIFC () |
void | process (std::istream *istr, std::ostream *ostrEntity, std::ostream *ostrError, OperationContext &context) |
The HTTP server calls this once all HTTP headers have been processed and removed from the input stream. | |
bool | hasError (Int32 &errCode, String &errDescr) |
Did an error occur during process()? (should ostrEntity be sent back, or osrtError?). | |
bool | hasError () |
void | options (CIMFeatures &cf, OperationContext &context) |
What options are available for a particular path? | |
virtual RequestHandlerIFC * | clone () const =0 |
ServiceEnvironmentIFCRef | getEnvironment () const |
virtual void | setEnvironment (const ServiceEnvironmentIFCRef &env) |
virtual StringArray | getSupportedContentTypes () const =0 |
virtual String | getContentType () const =0 |
String | getCIMError () const |
void | setError (Int32 errorCode, const String &errorDescription) |
void | clearError () |
Protected Member Functions | |
virtual void | doProcess (std::istream *istr, std::ostream *ostrEntity, std::ostream *ostrError, OperationContext &context)=0 |
The HTTP server calls this once all HTTP headers have been processed and removed from the input stream. | |
virtual void | doOptions (CIMFeatures &cf, OperationContext &context)=0 |
Fill out the Features that the request handler at the path supports. | |
String | getHost () |
Protected Attributes | |
String | m_cimError |
String | m_cachedHost |
Private Attributes | |
bool | m_hasError |
Int32 | m_errorCode |
String | m_errorDescription |
ServiceEnvironmentIFCRef | m_env |
(a CIM Server or a CIM Listener). The HTTPServer contains a reference to one of these. When a [M-]POST or OPTIONS is done, the process() and options() functions for this class are called, respectively.
Definition at line 62 of file OW_RequestHandlerIFC.hpp.
|
Definition at line 48 of file OW_RequestHandlerIFC.cpp. |
|
Definition at line 57 of file OW_RequestHandlerIFC.cpp. |
|
Definition at line 103 of file OW_RequestHandlerIFC.hpp. References OW_NAMESPACE::String::erase(). Referenced by OW_NAMESPACE::BinaryRequestHandler::doProcess(). |
|
Implemented in OW_NAMESPACE::XMLListener, OW_NAMESPACE::BinaryRequestHandler, and OW_NAMESPACE::XMLExecute. |
|
Fill out the Features that the request handler at the path supports.
Implemented in OW_NAMESPACE::XMLListener, OW_NAMESPACE::BinaryRequestHandler, and OW_NAMESPACE::XMLExecute. |
|
The HTTP server calls this once all HTTP headers have been processed and removed from the input stream. Also, the http server takes care of any necessary content coding (SSL, chunking, compression).
Implemented in OW_NAMESPACE::BinaryRequestHandler, and OW_NAMESPACE::RequestHandlerIFCXML. Referenced by process(). |
|
Definition at line 96 of file OW_RequestHandlerIFC.hpp. |
|
Implemented in OW_NAMESPACE::XMLListener, OW_NAMESPACE::BinaryRequestHandler, and OW_NAMESPACE::RequestHandlerIFCXML. |
|
Definition at line 79 of file OW_RequestHandlerIFC.cpp. References m_env. Referenced by OW_NAMESPACE::XMLExecute::doOptions(), OW_NAMESPACE::XMLExecute::shutdown(), and OW_NAMESPACE::BinaryRequestHandler::writeFileName(). |
|
Definition at line 91 of file OW_RequestHandlerIFC.cpp. References OW_NAMESPACE::String::empty(), and m_cachedHost. Referenced by OW_NAMESPACE::BinaryRequestHandler::associatorNames(), OW_NAMESPACE::BinaryRequestHandler::enumInstanceNames(), and OW_NAMESPACE::BinaryRequestHandler::referenceNames(). |
|
Implemented in OW_NAMESPACE::XMLListener, OW_NAMESPACE::BinaryRequestHandler, and OW_NAMESPACE::RequestHandlerIFCXML. |
|
Definition at line 84 of file OW_RequestHandlerIFC.hpp. |
|
Did an error occur during process()? (should ostrEntity be sent back, or osrtError?).
Definition at line 68 of file OW_RequestHandlerIFC.cpp. References m_errorCode, m_errorDescription, and m_hasError. |
|
What options are available for a particular path?
Definition at line 89 of file OW_RequestHandlerIFC.hpp. References context. |
|
The HTTP server calls this once all HTTP headers have been processed and removed from the input stream. Also, the http server takes care of any necessary content coding (SSL, chunking, compression).
Definition at line 61 of file OW_RequestHandlerIFC.cpp. References context, and doProcess(). |
|
Reimplemented in OW_NAMESPACE::BinaryRequestHandler. Definition at line 85 of file OW_RequestHandlerIFC.cpp. Referenced by OW_NAMESPACE::XMLExecute::init(), OW_NAMESPACE::BinaryRequestHandler::setEnvironment(), and OW_NAMESPACE::XMLExecute::shutdown(). |
|
Definition at line 97 of file OW_RequestHandlerIFC.hpp. |
|
Definition at line 130 of file OW_RequestHandlerIFC.hpp. Referenced by getHost(). |
|
Definition at line 128 of file OW_RequestHandlerIFC.hpp. |
|
Definition at line 142 of file OW_RequestHandlerIFC.hpp. Referenced by getEnvironment(), and setEnvironment(). |
|
Definition at line 134 of file OW_RequestHandlerIFC.hpp. Referenced by hasError(). |
|
Definition at line 135 of file OW_RequestHandlerIFC.hpp. Referenced by hasError(). |
|
Definition at line 133 of file OW_RequestHandlerIFC.hpp. Referenced by hasError(). |