* expresión con la forma: http://xxx/zzzzAAAAAA, p.e.
*/
void http::wims20::ServerSide::decode(const http::Request& request)
* expresión con la forma: http://xxx/zzzzAAAAAA, p.e.
*/
void http::wims20::ServerSide::decode(const http::Request& request)
const string* temp = getValue(name, mode);
return (temp == NULL) ? NULL : temp->c_str();
}
int http::wims20::ServerSide::getIntegerValue(const char* name, const Exception::Mode::_v mode) const
const string* temp = getValue(name, mode);
return (temp == NULL) ? NULL : temp->c_str();
}
int http::wims20::ServerSide::getIntegerValue(const char* name, const Exception::Mode::_v mode) const
return (anna_strncmp(value, "0x", 2) == 0) ? strtol(value + 2, NULL, 16) : atoi(value);
}
return (anna_strncmp(value, "0x", 2) == 0) ? strtol(value + 2, NULL, 16) : atoi(value);
}
const Tokenizer& items = split(SplitCode::HierarchyItem, hierarchy);
Abstract::setServiceID(items [0]);
Abstract::setGUID(items [1]);
const Tokenizer& items = split(SplitCode::HierarchyItem, hierarchy);
Abstract::setServiceID(items [0]);
Abstract::setGUID(items [1]);
/* Nos ha debido llegar algo así como: name=value&*{nameN=valueN}
*/
void http::wims20::ServerSide::decodeParameters(const std::string& parameters)
/* Nos ha debido llegar algo así como: name=value&*{nameN=valueN}
*/
void http::wims20::ServerSide::decodeParameters(const std::string& parameters)
const Tokenizer& tkparams = split(SplitCode::Parameters, parameters);
for(Tokenizer::const_iterator ii = tkparams.begin(), maxii = tkparams.end(); ii != maxii; ii ++) {
const Tokenizer& tkparams = split(SplitCode::Parameters, parameters);
for(Tokenizer::const_iterator ii = tkparams.begin(), maxii = tkparams.end(); ii != maxii; ii ++) {
static const char* separator [] = { "?", "/", "&", "=", NULL };
a_tokenizer [splitZone].apply(str, separator [splitZone]);
LOGDEBUG(
static const char* separator [] = { "?", "/", "&", "=", NULL };
a_tokenizer [splitZone].apply(str, separator [splitZone]);
LOGDEBUG(