const std::string toString() const { std::ostringstream oss; oss << " <ipProtocol>" << ipProtocol() << "</ipProtocol>" << std::endl << " <fromPort>" << fromPort() << "</fromPort>" << std::endl << " <toPort>" << toPort() << "</toPort>" << std::endl << " <groups>" << groups() << "</groups>" << std::endl << " <ipRanges>" << ipRanges() << "</ipRanges>" << std::endl ; return oss.str(); }
bool NetworkJob::sendRequestWithCredentials(ProtectionSpaceServerType type, ProtectionSpaceAuthenticationScheme scheme, const String& realm) { ASSERT(m_handle); if (!m_handle) return false; KURL newURL = m_response.url(); if (!newURL.isValid()) return false; int port = 0; if (type == ProtectionSpaceProxyHTTP) { std::stringstream toPort(BlackBerry::Platform::Client::get()->getProxyPort()); toPort >> port; } else