#include <OW_BinaryRequestHandler.hpp>
Inheritance diagram for OW_NAMESPACE::BinaryRequestHandler:
Public Member Functions | |
BinaryRequestHandler () | |
virtual RequestHandlerIFC * | clone () const |
virtual void | doProcess (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. | |
virtual void | doOptions (CIMFeatures &cf, OperationContext &context) |
Fill out the Features that the request handler at the path supports. | |
virtual void | setEnvironment (const ServiceEnvironmentIFCRef &env) |
virtual StringArray | getSupportedContentTypes () const |
virtual String | getContentType () const |
virtual String | getName () const |
Every service may have a name. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | shutdown () |
The service must shutdown completely before returning from this function. | |
Private Member Functions | |
void | createClass (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | modifyClass (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | deleteClass (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | createInstance (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | deleteInstance (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | modifyInstance (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | setProperty (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | enumClasses (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | getClass (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | getInstance (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | getQual (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | setQual (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | enumQualifiers (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | deleteQual (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | getProperty (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | enumClassNames (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | enumInstances (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | enumInstanceNames (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | invokeMethod (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | execQuery (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | associators (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | associatorNames (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | references (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | referenceNames (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | getServerFeatures (const CIMOMHandleIFCRef &chdl, std::ostream &ostrm, std::istream &istrm) |
void | writeError (std::ostream &ostrm, const char *msg) |
bool | writeFileName (std::ostream &ostrm, const String &fname) |
Private Attributes | |
UserId | m_userId |
Definition at line 47 of file OW_BinaryRequestHandler.hpp.
|
Definition at line 71 of file OW_BinaryRequestHandler.cpp. Referenced by clone(). |
|
|
|
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 78 of file OW_BinaryRequestHandler.cpp. References BinaryRequestHandler(). |
|
Definition at line 330 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readClass(), OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
|
Definition at line 350 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, className, ns, OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
Definition at line 627 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readObjectPath(), OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
Definition at line 482 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
Fill out the Features that the request handler at the path supports.
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 96 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::Array< T >::append(), OW_NAMESPACE::CIMFeatures::cimom, OW_NAMESPACE::CIMFeatures::cimProduct, OW_NAMESPACE::Array< T >::clear(), OW_NAMESPACE::String::erase(), OW_NAMESPACE::CIMFeatures::extURL, OW_NAMESPACE::CIMFeatures::protocolVersion, OW_NAMESPACE::CIMFeatures::SERVER, OW_NAMESPACE::CIMFeatures::supportedGroups, OW_NAMESPACE::CIMFeatures::supportedQueryLanguages, OW_NAMESPACE::CIMFeatures::supportsBatch, and OW_NAMESPACE::CIMFeatures::validation. |
|
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).
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 111 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::RequestHandlerIFC::clearError(), context, OW_NAMESPACE::String::empty(), OW_NAMESPACE::OperationContext::getStringDataWithDefault(), OW_NAMESPACE::UserUtils::getUserId(), m_userId, and OW_NAMESPACE::OperationContext::USER_NAME. |
|
|
|
|
|
Definition at line 502 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, OW_NAMESPACE::BINSIG_QUAL_TYPEENUM, OW_NAMESPACE::END_QUALENUM, handler, ns, OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
Definition at line 780 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, OW_NAMESPACE::BINSIG_INSTENUM, OW_NAMESPACE::END_INSTENUM, handler, ns, OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
|
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 980 of file OW_BinaryRequestHandler.cpp. |
|
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 84 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::ServiceIFCNames::BinaryRequestHandler. |
|
|
Definition at line 564 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readString(), OW_NAMESPACE::BinarySerialization::write(), and OW_NAMESPACE::BinarySerialization::writeQualType(). |
|
|
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 972 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::Array< T >::push_back(). |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 987 of file OW_BinaryRequestHandler.cpp. |
|
|
Definition at line 340 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readClass(), OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
|
|
|
Reimplemented from OW_NAMESPACE::RequestHandlerIFC. Definition at line 90 of file OW_BinaryRequestHandler.cpp. References env, and OW_NAMESPACE::RequestHandlerIFC::setEnvironment(). |
|
|
Definition at line 492 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_OK, ns, OW_NAMESPACE::BinarySerialization::readQualType(), OW_NAMESPACE::BinarySerialization::readString(), and OW_NAMESPACE::BinarySerialization::write(). |
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 993 of file OW_BinaryRequestHandler.cpp. |
|
Definition at line 933 of file OW_BinaryRequestHandler.cpp. References OW_NAMESPACE::BIN_ERROR, and OW_NAMESPACE::BinarySerialization::write(). |
|
|
Definition at line 128 of file OW_BinaryRequestHandler.hpp. Referenced by doProcess(), and writeFileName(). |