Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServiceLocation

Group:  Core Basic


Does not inherit

Local Index

Members

Header File

#include rwsf/core/ServiceLocation.h

Description

This class represents a URL location. A basic URL is comprised of a scheme, address, and path:

scheme://server:port/path/to/service [scheme]:// [address] / [path]

Although it has constructors for a separate scheme, server, and path, this class is best constructed with a simple string, which will be parsed out correctly:

rwsf::ServiceLocation sl("http://myServer:9999/path/to/service");

Public Constructors

ServiceLocation();
ServiceLocation(const std::string & location);
ServiceLocation(const std::string & scheme,
    const std::string & address,
    const std::string & path);
ServiceLocation(const rwsf::ServiceLocation & s);

Public Destructors

~ServiceLocation();

Public Member Functions

bool
equals(const rwsf::ServiceLocation & rhs) const;
std::string
getAddress() const;
std::string
getFullLocation() const;
std::string
getPath() const;
std::string
getPort() const;
std::string
getQueryVars() const;
std::list< std::string >
getQueryVarsList() const;
std::string
getScheme() const;
std::string
getServer() const;
void
setAddress(const std::string & address);
void
setPath(const std::string & path);
void
setPort(const std::string &);
void
setQueryVars(const std::string & queryVars);
void
setScheme(const std::string & scheme);
void
setServer(const std::string &);

Public Operators

ServiceLocation &
operator=(const rwsf::ServiceLocation & rhs);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.