xmltooling::HTTPSOAPTransport Class Reference

Encapsulates HTTP SOAP transport layer. More...

#include <xmltooling/soap/HTTPSOAPTransport.h>

Inheritance diagram for xmltooling::HTTPSOAPTransport:
xmltooling::SOAPTransport

List of all members.

Public Member Functions

virtual bool useChunkedEncoding (bool chunked=true)=0
 Indicate whether content should be sent using HTTP 1.1 and Chunked Transport-Encoding, or buffered and sent with a Content-Length.
virtual bool setRequestHeader (const char *name, const char *value)=0
 Sets an outgoing HTTP request header.
virtual bool setAcceptEncoding (const char *value)=0
 Sets the Accept-Encoding header.
virtual bool followRedirects (bool follow, unsigned int maxRedirs)
 Controls redirect behavior.
virtual const std::vector
< std::string > & 
getResponseHeader (const char *name) const =0
 Returns the values of an HTTP response header.

Detailed Description

Encapsulates HTTP SOAP transport layer.


Member Function Documentation

virtual bool xmltooling::HTTPSOAPTransport::followRedirects ( bool  follow,
unsigned int  maxRedirs 
) [virtual]

Controls redirect behavior.

Parameters:
follow true iff Location-based redirects should be honored
maxRedirs maximum number of redirects to permit
virtual const std::vector<std::string>& xmltooling::HTTPSOAPTransport::getResponseHeader ( const char *  name  )  const [pure virtual]

Returns the values of an HTTP response header.

Parameters:
name name of header, without the colon separator
Returns:
reference to array of header values
virtual bool xmltooling::HTTPSOAPTransport::setAcceptEncoding ( const char *  value  )  [pure virtual]

Sets the Accept-Encoding header.

Parameters:
value the encoding to accept and decode, or "" for all supported encodings
Returns:
true iff the encoding is successfully set
virtual bool xmltooling::HTTPSOAPTransport::setRequestHeader ( const char *  name,
const char *  value 
) [pure virtual]

Sets an outgoing HTTP request header.

Parameters:
name name of header, without the colon separator
value header value to send
Returns:
true iff the header is successfully set
virtual bool xmltooling::HTTPSOAPTransport::useChunkedEncoding ( bool  chunked = true  )  [pure virtual]

Indicate whether content should be sent using HTTP 1.1 and Chunked Transport-Encoding, or buffered and sent with a Content-Length.

Parameters:
chunked true iff chunked encoding should be used
Returns:
true iff the property is successfully set

The documentation for this class was generated from the following file:

Generated on 24 Jan 2020 for xmltooling by  doxygen 1.6.1