18#ifndef _ACTIVEMQ_UTIL_URISUPPORT_H_
19#define _ACTIVEMQ_UTIL_URISUPPORT_H_
153 const std::string& optionPrefix);
212 static std::string
stripPrefix(
const std::string& value,
const std::string& prefix);
#define AMQCPP_API
Definition Config.h:30
Represents a Composite URI.
Definition CompositeData.h:39
Definition URISupport.h:30
static std::string createQueryString(const Properties &options)
Given a properties object create a string that can be appended to a URI as a valid Query string.
static bool isCompositeURI(const decaf::net::URI &uri)
Examine a URI and determine if it is a Composite type or not.
static CompositeData parseComposite(const URI &uri)
Parses a Composite URI into a Composite Data instance, the Composite URI takes the for scheme://(uri1...
static decaf::net::URI applyParameters(const decaf::net::URI &uri, const decaf::util::Properties &queryParameters, const std::string &optionPrefix)
Given a Key / Value mapping create and append a URI query value that represents the mapped entries,...
static decaf::net::URI stripScheme(const decaf::net::URI &uri)
Strip a URI of its scheme element.
static void parseQuery(std::string query, decaf::util::Properties *properties)
Parse the Query portion of a URI String and return a Simple Properties object containing the paramete...
static decaf::net::URI applyParameters(const decaf::net::URI &uri, const decaf::util::Properties &queryParameters)
Given a Key / Value mapping create and append a URI query value that represents the mapped entries,...
static decaf::util::LinkedList< std::string > splitComponents(const std::string &str)
Splits all the Component URIs in a Composite URI into individual strings which can then be parsed sep...
static std::string stripPrefix(const std::string &value, const std::string &prefix)
Given a string value and a prefix value, return a new string that has the prefix removed if it was pa...
static void parseURL(const std::string &URI, decaf::util::Properties &properties)
Parses the properties out of the provided Broker URI and sets them in the passed Properties Object.
static decaf::util::Properties parseParameters(const decaf::net::URI &uri)
Given a URI parse and extract any URI query options and return them as a Key / Value mapping.
static decaf::util::Properties parseQuery(std::string query)
Parse the Query portion of a URI String and return a Simple Properties object containing the paramete...
static std::string replaceEnvValues(const std::string &value)
Accepts a string value and checks to see if that value is of the form ${XXX} which is our accepted fo...
static void parseComposite(const URI &uri, CompositeData &rc, const std::string &ssp)
Perform a parse on the given composite URI, placing the results in the passed CompositeData.
static bool checkParenthesis(const std::string &str)
Matches all opening and closing parenthesis in a String.
static decaf::net::URI createURIWithQuery(const decaf::net::URI &uri, const std::string &query)
Creates a URI with the given query, removing an previous query value from the given URI.
This class represents an instance of a URI as defined by RFC 2396.
Definition URI.h:37
A complete implementation of the List interface using a doubly linked list data structure.
Definition LinkedList.h:55
Java-like properties class for mapping string names to string values.
Definition Properties.h:53
Definition ActiveMQMessageTransformation.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24