/external/apache-http/src/org/apache/http/conn/scheme/ |
SchemeRegistry.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java $ 31 package org.apache.http.conn.scheme; 41 * A set of supported protocol {@link Scheme schemes}. 55 private final Map<String,Scheme> registeredSchemes; 59 * Creates a new, empty scheme registry. 63 registeredSchemes = new LinkedHashMap<String,Scheme>(); 68 * Obtains a scheme by name. 70 * @param name the name of the scheme to look up (in lowercase) 72 * @return the scheme, never <code>null</code> 75 * if the scheme with the given name is not registere [all...] |
Scheme.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/Scheme.java $ 31 package org.apache.http.conn.scheme; 38 * Encapsulates specifics of a protocol scheme such as "http" or "https". 48 * Scheme https = new Scheme("https", new MySecureSocketFactory(), 443); 57 public final class Scheme { 59 /** The name of this scheme, in lowercase. (e.g. http, https) */ 62 /** The socket factory for this scheme */ 65 /** The default port for this scheme */ [all...] |
/external/chromium/net/socket_stream/ |
socket_stream_throttle.cc | 16 // Default SocketStreamThrottle. No throttling. Used for unknown URL scheme. 29 const std::string& scheme); 32 const std::string& scheme, SocketStreamThrottle* throttle); 48 const std::string& scheme) { 49 ThrottleMap::const_iterator found = throttles_.find(scheme); 53 throttles_[scheme] = throttle; 60 const std::string& scheme, SocketStreamThrottle* throttle) { 61 throttles_[scheme] = throttle; 66 const std::string& scheme) { 69 return registry->GetSocketStreamThrottleForScheme(scheme); [all...] |
socket_stream_throttle.h | 18 // Abstract interface to throttle SocketStream per URL scheme. 19 // Each URL scheme (protocol) could define own SocketStreamThrottle. 59 // Gets SocketStreamThrottle for URL |scheme|. 62 const std::string& scheme); 64 // Registers |throttle| for URL |scheme|. 68 const std::string& scheme,
|
/external/webkit/LayoutTests/http/tests/appcache/resources/ |
local-content.manifest | 4 file:/ # Should be ignored due to different URL scheme, but it doesn't hurt to try.
|
/external/chromium/net/proxy/ |
proxy_server.h | 25 enum Scheme { 40 ProxyServer(Scheme scheme, const std::string& host, int port) 41 : scheme_(scheme), host_(host), port_(port) {} 45 // Gets the proxy's scheme (i.e. SOCKS4, SOCKS5, HTTP} 46 Scheme scheme() const { return scheme_; } function in class:net::ProxyServer 71 // [<scheme>"://"]<server>[":"<port>] 73 // Both <scheme> and <port> are optional. If <scheme> is omitted, it will b [all...] |
proxy_server_mac.cc | 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, 22 if (scheme == SCHEME_INVALID || scheme == SCHEME_DIRECT) { 24 return ProxyServer(scheme, std::string(), -1); 45 port = GetDefaultPortForScheme(scheme); 48 return ProxyServer(scheme, host, port);
|
proxy_server.cc | 18 // Parse the proxy type from a PAC string, to a ProxyServer::Scheme. 21 ProxyServer::Scheme GetSchemeFromPacType(std::string::const_iterator begin, 41 // Parse the proxy scheme from a URL-like representation, to a 42 // ProxyServer::Scheme. This corresponds with the values used in 44 ProxyServer::Scheme GetSchemeFromURI(std::string::const_iterator begin, 62 // Doesn't make sense to call this if the URI scheme doesn't 74 // Doesn't make sense to call this if the URI scheme doesn't 81 // Doesn't make sense to call this if the URI scheme doesn't 89 Scheme default_scheme) { 96 Scheme default_scheme) 98 Scheme scheme = default_scheme; local 157 Scheme scheme = GetSchemeFromPacType(begin, space); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
PBES2Parameters.java | 16 private EncryptionScheme scheme; field in class:PBES2Parameters 33 scheme = new EncryptionScheme((ASN1Sequence)e.nextElement()); 43 return scheme; 51 v.add(scheme);
|
PBES2Algorithms.java | 20 private EncryptionScheme scheme; field in class:PBES2Algorithms 46 scheme = new EncryptionScheme((ASN1Sequence)e.nextElement()); 61 return scheme; 72 subV.add(scheme);
|
/external/chromium/net/url_request/ |
url_request_filter.cc | 22 const std::string& scheme) { 24 return GetInstance()->FindRequestHandler(request, scheme); 27 void URLRequestFilter::AddHostnameHandler(const std::string& scheme, 29 hostname_handler_map_[make_pair(scheme, hostname)] = factory; 32 URLRequest::RegisterProtocolFactory(scheme, 41 hostname_handler_map_.find(make_pair(url.scheme(), url.host())); 48 void URLRequestFilter::RemoveHostnameHandler(const std::string& scheme, 51 hostname_handler_map_.find(make_pair(scheme, hostname)); 56 // would left no protocol factory for the scheme. URLRequestFilter::Factory 67 URLRequest::RegisterProtocolFactory(url.scheme(), [all...] |
url_request_job_manager.cc | 24 const char* scheme; member in struct:__anon2829::SchemeToFactory 51 // If we are given an invalid URL, then don't even try to inspect the scheme. 56 const std::string& scheme = request->url().scheme(); // already lowercase local 57 if (!SupportsScheme(scheme)) 77 FactoryMap::const_iterator i = factories_.find(scheme); 79 URLRequestJob* job = i->second(request, scheme); 86 if (scheme == kBuiltinFactories[i].scheme) { 87 URLRequestJob* job = (kBuiltinFactories[i].factory)(request, scheme); [all...] |
/external/chromium/googleurl/src/ |
url_util.cc | 92 return compare_to[0] == 0; // When component is empty, match empty scheme. 98 // Returns true if the given scheme identified by |scheme| within |spec| is one 102 bool IsStandardScheme(const CHAR* spec, const url_parse::Component& scheme) { 103 if (!scheme.is_nonempty()) 108 if (LowerCaseEqualsASCII(&spec[scheme.begin], &spec[scheme.end()], 115 // Returns true if the stuff following the scheme in the given spec indicates 116 // a "standard" URL. The presence of "://" after the scheme indicates that 120 const url_parse::Component& scheme) { 186 url_parse::Component scheme; local [all...] |
url_canon_stdurl.cc | 46 // Scheme: this will append the colon. 47 bool success = CanonicalizeScheme(source.scheme, parsed.scheme, 48 output, &new_parsed->scheme); 56 // Only write the authority separators when we have a scheme. 57 if (parsed.scheme.is_valid()) { 78 &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); 120 // Returns the default port for the given canonical scheme, or PORT_UNSPECIFIED 121 // if the scheme is unknown [all...] |
url_parse.h | 97 // url_parse::Component scheme; 98 // if (!url_parse::ExtractScheme(url, url_len, &scheme)) 101 // if (IsStandardScheme(url, scheme)) // Not provided by this component 103 // else if (IsFileURL(url, scheme)) // Not provided by this component 111 SCHEME, 128 // contain an entry for the four-character scheme, and it doesn't know about 149 // SCHEME: 0 0 160 // Scheme without the colon: "http://foo"/ would have a scheme of "http". 161 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if ther 165 Component scheme; member in struct:url_parse::Parsed [all...] |
/bootable/diskinstaller/ |
installer_img_layout.conf | 2 scheme mbr
|
/external/webkit/WebCore/platform/network/cf/ |
AuthenticationCF.cpp | 147 CFURLProtectionSpaceAuthenticationScheme scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault; local 150 scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault; 153 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPBasic; 156 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPDigest; 159 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTMLForm; 162 scheme = kCFURLProtectionSpaceAuthenticationSchemeNTLM; 165 scheme = kCFURLProtectionSpaceAuthenticationSchemeNegotiate; 173 CFURLProtectionSpaceRef result = CFURLProtectionSpaceCreate(0, host, coreSpace.port(), serverType, realm, scheme); 234 ProtectionSpaceAuthenticationScheme scheme = ProtectionSpaceAuthenticationSchemeDefault; local 238 scheme = ProtectionSpaceAuthenticationSchemeDefault [all...] |
/external/webkit/WebKit/chromium/public/ |
WebSecurityPolicy.h | 43 // Registers a URL scheme to be treated as a local scheme (i.e., with the 45 // normal pages cannot link to or access URLs of this scheme. 48 // Registers a URL scheme to be treated as a noAccess scheme. This means 49 // that pages loaded with this URL scheme cannot access pages loaded with 50 // any other URL scheme.
|
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 66 * The <tt>null</tt> value represents any authentication scheme. 71 * Default scope matching any host, port, realm and authentication scheme. 77 /** The authentication scheme the credentials apply to. */ 78 private final String scheme; field in class:AuthScope 91 * <tt>authentication scheme</tt>. 102 * @param scheme the authentication scheme the credentials apply to. 104 * any authentication scheme. 107 final String realm, final String scheme) [all...] |
AuthSchemeRegistry.java | 42 * Authentication scheme registry that can be used to obtain the corresponding 43 * authentication scheme implementation for a given type of authorization challenge. 63 * retrieve the {@link AuthScheme authentication scheme} from {@link #getAuthScheme}. 67 * for the new {@link AuthScheme authentication scheme} to take effect. 70 * @param name the identifier for this scheme 82 throw new IllegalArgumentException("Authentication scheme factory may not be null"); 88 * Unregisters the class implementing an {@link AuthScheme authentication scheme} with 101 * Gets the {@link AuthScheme authentication scheme} with the given name. 103 * @param name the {@link AuthScheme authentication scheme} identifier 105 * scheme. [all...] |
/external/chromium/net/http/ |
http_auth_handler.h | 30 // Lowercase name of the auth scheme 31 const std::string& scheme() const { function in class:net::HttpAuthHandler 50 // Returns true if the authentication scheme does not send the username and 56 // Returns true if the authentication scheme is connection-based, for 57 // example, NTLM. A connection-based authentication scheme does not support 67 // sequence used by a connection-based authentication scheme. 97 // The lowercase auth-scheme {"basic", "digest", "ntlm", ...} 103 // The {scheme, host, port} for the authentication target. Used by "ntlm" 114 // A bitmask of the properties of the authentication scheme.
|
http_auth_handler.cc | 21 // Init() is expected to set the scheme, realm, score, and properties. The 23 DCHECK(!ok || !scheme().empty());
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 132 public String getResourceURI(String href, String scheme, String contentType) throws 134 if (scheme == null) { 135 throw new NullPointerException("scheme"); 137 if ("file".equals(scheme)) { 140 if ("http".equals(scheme)) { 153 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " + 154 scheme)); 157 public String createTempURI(String scheme) throws DOMTestLoadException { 158 if (scheme == null) { 159 throw new NullPointerException("scheme"); [all...] |
/libcore/luni/src/main/java/java/net/ |
URI.java | 45 private transient String scheme; field in class:URI 80 * {@code [scheme:]scheme-specific-part[#fragment]} 82 * @param scheme 83 * the scheme part of the URI. 85 * the scheme-specific-part of the URI. 92 public URI(String scheme, String ssp, String frag) 95 if (scheme != null) { 96 uri.append(scheme); 117 * {@code [scheme:][user-info@]host[:port][path][?query][#fragment] [all...] |
/external/nist-sip/java/gov/nist/javax/sip/address/ |
GenericURI.java | 58 * The URI Scheme. 60 protected String scheme; field in class:GenericURI 75 scheme = uriString.substring(0, i); 100 /** Returns the value of the "scheme" of 103 * @return the scheme paramter of the URI 106 return scheme; 109 /** This method determines if this is a URI with a scheme of 112 * @return true if the scheme is "sip" or "sips", false otherwise.
|