Poco::RemotingNG::REST

class PathSerializer

File Information

Library: RemotingNG/REST
Package: REST
Header: Poco/RemotingNG/REST/PathSerializer.h

Description

The Path Serializer implementation for the REST Transport.

Inheritance

Direct Base Classes: ScalarSerializer

All Base Classes: ScalarSerializer, Poco::RemotingNG::Serializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: close, replaceItem, serializeData

Inherited Functions: clearProperties, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, registerNamespace, reset, resetImpl, serialize, serializeBuffer, serializeData, serializeFaultMessage, serializeMessageBegin, serializeMessageEnd, serializeNullableBegin, serializeNullableEnd, serializeOptionalBegin, serializeOptionalEnd, serializeSequenceBegin, serializeSequenceEnd, serializeStructBegin, serializeStructEnd, setup, setupImpl

Constructors

PathSerializer

PathSerializer(
    const std::string & pathTemplate,
    Poco::Net::HTTPRequest & request
);

Creates the PathSerializer.

Destructor

~PathSerializer virtual

~PathSerializer();

Destroys the PathSerializer.

Member Functions

close

void close();

Writes the complete path to the request.

replaceItem protected

const std::string & replaceItem(
    const std::string & item
);

Replaces the path item with a parameter if it's a placeholder.

serializeData protected virtual

void serializeData(
    const std::string & name,
    const std::string & val
);