#include <OW_HTTPSvrConnection.hpp>
Inheritance diagram for OW_NAMESPACE::HTTPSvrConnection:
Definition at line 58 of file OW_HTTPSvrConnection.hpp.
|
Definition at line 157 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 149 of file OW_HTTPSvrConnection.hpp. |
|
Start a new http server connection. This is called after HTTPServer accepts the connection.
|
|
Definition at line 139 of file OW_HTTPSvrConnection.cpp. References OW_NAMESPACE::Socket::disconnect(), and m_socket. |
|
Add a header to the response headers.
Definition at line 115 of file OW_HTTPSvrConnection.hpp. References OW_NAMESPACE::HTTPUtils::addHeader(). Referenced by OW_NAMESPACE::DigestAuthentication::authenticate(), beginPostResponse(), options(), run(), sendHeaders(), and trace(). |
|
Definition at line 384 of file OW_HTTPSvrConnection.cpp. References addHeader(), OW_NAMESPACE::HTTPUtils::getCounterStr(), m_chunkedOut, m_clientIsOpenWBEM2, m_deflateCompressionOut, m_method, M_POST, m_requestHandler, m_resCode, m_respHeaderPrefix, and sendHeaders(). |
|
Definition at line 376 of file OW_HTTPSvrConnection.cpp. References OW_NAMESPACE::HTTPUtils::eatEntity(). Referenced by run(). |
|
Referenced by run(). |
|
This function is available for subclasses to override if they wish to be notified when a cooperative cancel is being invoked on the thread. Note that this function will be invoked in a separate thread. For instance, a thread may use this function to write to a pipe or socket, if Thread::run() is blocked in select(), it can be unblocked and instructed to exit. It is also possible for an individual thread to override the cancellation request, if it knows that cancellation at this time may crash the system or cause a deadlock. To do this, the thread should throw an CancellationDeniedException. Note that threads are usually only cancelled in the event of a system shutdown or restart, so a thread should make a best effort to actually shutdown.
Reimplemented from OW_NAMESPACE::Runnable. Definition at line 1292 of file OW_HTTPSvrConnection.cpp. References OW_NAMESPACE::Socket::disconnect(), m_shutdown, and m_socket. |
|
|
Get the value associated with a key in the request headers.
Definition at line 106 of file OW_HTTPSvrConnection.hpp. References OW_NAMESPACE::HTTPUtils::getHeaderValue(). Referenced by processHeaders(). |
|
Get the hostname of the server.
Definition at line 1220 of file OW_HTTPSvrConnection.cpp. References OW_NAMESPACE::SocketAddress::getAnyLocalHost(), and OW_NAMESPACE::SocketAddress::getName(). Referenced by OW_NAMESPACE::DigestAuthentication::authenticate(). |
|
Get the request status line example: POST /cimom HTTP/1.1.
Definition at line 124 of file OW_HTTPSvrConnection.hpp. |
|
Do the request headers contain a specific key?
Definition at line 97 of file OW_HTTPSvrConnection.hpp. References OW_NAMESPACE::HTTPUtils::headerHasKey(). Referenced by processHeaders(). |
|
|
|
|
Definition at line 1190 of file OW_HTTPSvrConnection.cpp. References OW_NAMESPACE::HTTPServer::authenticate(), context, m_pHTTPServer, m_socket, m_userName, and OW_NAMESPACE::SC_OK. Referenced by processHeaders(). |
|
Referenced by run(). |
|
|
Definition at line 614 of file OW_HTTPSvrConnection.cpp. References HTTP_VER_10, HTTP_VER_11, HTTP_VER_BAD, m_errDetails, m_httpVersion, m_requestLine, OW_NAMESPACE::SC_BAD_REQUEST, OW_NAMESPACE::SC_HTTP_VERSION_NOT_SUPPORTED, and OW_NAMESPACE::Array< T >::size(). Referenced by run(). |
|
|
Definition at line 1145 of file OW_HTTPSvrConnection.cpp. References m_errDetails, m_ostr, m_socket, OW_NAMESPACE::Socket::receiveTimeOutExpired(), and OW_NAMESPACE::SC_REQUEST_TIMEOUT. Referenced by run(). |
|
Definition at line 1203 of file OW_HTTPSvrConnection.cpp. References addHeader(), i, m_ostr, m_responseHeaders, OW_NAMESPACE::Array< T >::size(), and OW_NAMESPACE::HTTPUtils::status2String(). Referenced by beginPostResponse(), and trace(). |
|
|
|
Definition at line 135 of file OW_HTTPSvrConnection.hpp. Referenced by OW_NAMESPACE::LocalAuthentication::authenticate(), and OW_NAMESPACE::DigestAuthentication::authenticate(). |
|
Definition at line 1029 of file OW_HTTPSvrConnection.cpp. References addHeader(), i, m_ostr, m_requestLine, m_resCode, ostr, sendHeaders(), and OW_NAMESPACE::Array< T >::size(). Referenced by run(). |
|
Definition at line 178 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), and run(). |
|
Definition at line 190 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(). |
|
Definition at line 192 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(). |
|
Definition at line 177 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), and run(). |
|
Definition at line 179 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 180 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(). |
|
Definition at line 181 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), processRequestLine(), run(), and sendError(). |
|
Definition at line 200 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 173 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), and processRequestLine(). |
|
Definition at line 184 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), and run(). |
|
Definition at line 176 of file OW_HTTPSvrConnection.hpp. Referenced by processHeaders(), and run(). |
|
Definition at line 175 of file OW_HTTPSvrConnection.hpp. Referenced by run(). |
|
Definition at line 174 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(), processHeaders(), and run(). |
|
Definition at line 171 of file OW_HTTPSvrConnection.hpp. Referenced by run(). |
|
Definition at line 195 of file OW_HTTPSvrConnection.hpp. Referenced by getContentLanguage(), options(), processHeaders(), and run(). |
|
Definition at line 169 of file OW_HTTPSvrConnection.hpp. Referenced by run(), sendError(), sendHeaders(), and trace(). |
|
Definition at line 165 of file OW_HTTPSvrConnection.hpp. Referenced by performAuthentication(). |
|
Definition at line 166 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 182 of file OW_HTTPSvrConnection.hpp. Referenced by run(). |
|
Definition at line 194 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(), and options(). |
|
Definition at line 164 of file OW_HTTPSvrConnection.hpp. Referenced by run(). |
|
Definition at line 163 of file OW_HTTPSvrConnection.hpp. Referenced by processRequestLine(), run(), and trace(). |
|
Definition at line 170 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(), run(), and trace(). |
|
Definition at line 183 of file OW_HTTPSvrConnection.hpp. Referenced by beginPostResponse(). |
|
Definition at line 172 of file OW_HTTPSvrConnection.hpp. Referenced by run(), and sendHeaders(). |
|
Definition at line 196 of file OW_HTTPSvrConnection.hpp. Referenced by doCooperativeCancel(), and run(). |
|
Definition at line 168 of file OW_HTTPSvrConnection.hpp. Referenced by doCooperativeCancel(), performAuthentication(), run(), sendError(), and ~HTTPSvrConnection(). |
|
Definition at line 167 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 205 of file OW_HTTPSvrConnection.hpp. |
|
Definition at line 188 of file OW_HTTPSvrConnection.hpp. Referenced by run(). |
|
Definition at line 191 of file OW_HTTPSvrConnection.hpp. Referenced by performAuthentication(), and processHeaders(). |