Poco::RemotingNG::SOAP::Serializer

class HeaderInterceptor

File Information

Library: RemotingNG/SOAP
Package: SOAP
Header: Poco/RemotingNG/SOAP/Serializer.h

Description

Subclasses of this class can be registered with the Serializer (via the Transport) to add additional elements to the SOAP envelope header.

Member Summary

Member Functions: interceptHeader

Types Aliases

Ptr

using Ptr = Poco::SharedPtr < HeaderInterceptor >;

Destructor

~HeaderInterceptor virtual

virtual ~HeaderInterceptor() = default;

Member Functions

interceptHeader virtual

virtual void interceptHeader(
    XMLElement & header
) = 0;

During serialization of the SOAP message, this method is called with the SOAP envelope Header element.

The method can add child elements to the Header element.