#include <xmltooling/soap/SOAPTransport.h>
Inheritance diagram for xmltooling::SOAPTransport:
Public Types | |
enum | transport_auth_t { transport_auth_none = 0, transport_auth_basic = 1, transport_auth_digest = 2, transport_auth_ntlm = 3, transport_auth_gss = 4 } |
Common types of transport authentication that may be supported. | |
Public Member Functions | |
virtual bool | isConfidential () const =0 |
Indicates whether transport provides confidentiality. | |
virtual bool | setConnectTimeout (long timeout)=0 |
Sets the connection timeout. | |
virtual bool | setTimeout (long timeout)=0 |
Sets the request timeout. | |
virtual bool | setAuth (transport_auth_t authType, const char *username=0, const char *password=0)=0 |
Sets a particular form of transport authentication and credentials. | |
virtual bool | setVerifyHost (bool verify)=0 |
Determines whether TLS/SSL connections include a check of the server's certificate against the expected hostname or address. | |
virtual bool | setCredential (const Credential *credential=0)=0 |
Supplies transport credentials. | |
virtual bool | setTrustEngine (const X509TrustEngine *trustEngine=0, const CredentialResolver *credResolver=0, CredentialCriteria *criteria=0, bool mandatory=true)=0 |
Provides an X509TrustEngine to the transport to authenticate the transport peer. | |
virtual bool | setCacheTag (std::string *cacheTag=0) |
Installs (or clears) a pointer to an object used for cache management of the content being accessed. | |
virtual bool | setProviderOption (const char *provider, const char *option, const char *value) |
Sets an implementation-specific transport provider option. | |
virtual void | send (std::istream &in)=0 |
Sends a stream of data over the transport. | |
virtual void | send (std::istream *in=0) |
Sends an optional stream of data over the transport. | |
virtual std::istream & | receive ()=0 |
Returns reference to response stream. | |
virtual bool | isAuthenticated () const =0 |
Returns result of authenticating transport peer. | |
virtual std::string | getContentType () const =0 |
Returns the MIME type of the response, if any. | |
virtual long | getStatusCode () const |
Returns the status code of the response. | |
Classes | |
struct | Address |
A simple structure to capture SOAP addressing information. More... |
Most of the methods are const, meaning they don't affect the transport layer until the data is sent.
|
Returns the MIME type of the response, if any.
|
|
Returns the status code of the response.
|
|
Returns result of authenticating transport peer.
|
|
Indicates whether transport provides confidentiality.
|
|
Returns reference to response stream. The resulting stream must be checked directly to determine whether data is available.
|
|
Sends an optional stream of data over the transport. The function may return without having received any data, depending on the nature of the transport. If the parameter is omitted, a request may be issued with no body if the transport supports that feature.
|
|
Sends a stream of data over the transport. The function may return without having received any data, depending on the nature of the transport. If the stream is empty, a request may be issued with no body if the transport supports that feature.
|
|
Sets a particular form of transport authentication and credentials.
|
|
Installs (or clears) a pointer to an object used for cache management of the content being accessed. The lifetime of the object must be longer than the lifetime of this object.
|
|
Sets the connection timeout.
|
|
Supplies transport credentials. The lifetime of the credential must be longer than the lifetime of this object.
|
|
Sets an implementation-specific transport provider option. Requires knowledge of the underlying SOAPTransport implementation. Without the proper knowledge and inputs, crashes may result.
|
|
Sets the request timeout.
|
|
Provides an X509TrustEngine to the transport to authenticate the transport peer. The lifetime of the engine must be longer than the lifetime of this object.
|
|
Determines whether TLS/SSL connections include a check of the server's certificate against the expected hostname or address. Defaults to true, and has no effect for insecure protocols.
|