Poco::Remoting::SoapLite

class URIUtility

Library: Remoting/SoapLite
Package: SoapLite
Header: Poco/Remoting/SoapLite/URIUtility.h

Description

URIUtility fpr SoapLite only

Member Summary

Member Functions: createLocalURI, createURI, createURIPath, parseURI, parseURIPath

Constructors

Destructor

~URIUtility protected

~URIUtility();

Member Functions

createLocalURI static

static std::string createLocalURI(
    Poco::UInt16 port,
    const Poco::Remoting::Identifiable::ObjectId & oid,
    const Poco::Remoting::Identifiable::TypeId & tid
);

Creates an uri from the given input parameters for the localHost

createURI static

static std::string createURI(
    const std::string & serverName,
    Poco::UInt16 port,
    const Poco::Remoting::Identifiable::ObjectId & oid,
    const Poco::Remoting::Identifiable::TypeId & tid,
    bool secure
);

Creates an uri from the given input parameters

createURIPath static

static std::string createURIPath(
    const Poco::Remoting::Identifiable::ObjectId & oid,
    const Poco::Remoting::Identifiable::TypeId & tid
);

Creates an uri path (i.e. the part after the serverName) from the given input parameters

parseURI static

static void parseURI(
    const std::string & uri,
    std::string & serverName,
    Poco::UInt16 & port,
    Poco::Remoting::Identifiable::ObjectId & oid,
    Poco::Remoting::Identifiable::TypeId & tid,
    bool & secure
);

Parses an URI path created by createURI, throws an exception if the format does not match

parseURIPath static

static void parseURIPath(
    const std::string & uri,
    Poco::Remoting::Identifiable::ObjectId & oid,
    Poco::Remoting::Identifiable::TypeId & tid
);

Parses an URI path created by createURIPath, throws an exception if the format does not match, works also for full URIs