HomeSort by relevance Sort by last modified time
    Searched refs:Scheme (Results 1 - 25 of 63) sorted by null

1 2 3

  /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/proxy/
proxy_server.h 27 enum Scheme {
41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair);
45 // Gets the proxy's scheme (i.e. SOCKS4, SOCKS5, HTTP)
46 Scheme scheme() const { return scheme_; } function in class:net::ProxyServer
65 // [<scheme>"://"]<server>[":"<port>]
67 // Both <scheme> and <port> are optional. If <scheme> is omitted, it will be
69 // the default port for the chosen scheme (80 for "http", 1080 for "socks")
    [all...]
proxy_server.cc 18 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme.
21 ProxyServer::Scheme GetSchemeFromPacTypeInternal(
44 // Parses the proxy scheme from a URL-like representation, to a
45 // ProxyServer::Scheme. This corresponds with the values used in
47 ProxyServer::Scheme GetSchemeFromURIInternal(std::string::const_iterator begin,
74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair)
75 : scheme_(scheme), host_port_pair_(host_port_pair) {
86 // Doesn't make sense to call this if the URI scheme doesn't
94 Scheme default_scheme)
103 Scheme scheme = default_scheme; local
165 Scheme scheme = GetSchemeFromPacTypeInternal(begin, space); local
    [all...]
proxy_server_mac.cc 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme,
22 if (scheme == SCHEME_INVALID || scheme == SCHEME_DIRECT) {
24 return ProxyServer(scheme, HostPortPair());
45 port = GetDefaultPortForScheme(scheme);
48 return ProxyServer(scheme, HostPortPair(host, port));
  /external/chromium/net/http/
http_auth_cache.h 21 // For each (origin, realm, scheme) triple the cache stores a
23 // - the origin server {protocol scheme, host, port}
25 // - the last auth handler used (contains realm and authentication scheme)
27 // Entries can be looked up by either (origin, realm, scheme) or (origin, path).
43 // scheme |scheme|.
44 // |origin| - the {scheme, host, port} of the server.
46 // |scheme| - the authentication scheme (i.e. basic, negotiate).
50 HttpAuth::Scheme scheme)
125 HttpAuth::Scheme scheme() const { function in class:net::HttpAuthCache::Entry
    [all...]
http_auth_controller.h 72 virtual bool IsAuthSchemeDisabled(HttpAuth::Scheme scheme) const;
73 virtual void DisableAuthScheme(HttpAuth::Scheme scheme);
111 // auth scheme for this controller and returns true. Returns false
120 // Holds the {scheme, host, path, port} for the authentication target.
123 // Holds the {scheme, host, port} for the authentication target.
130 // |handler_| encapsulates the logic for the particular auth-scheme.
162 std::set<HttpAuth::Scheme> disabled_schemes_;
http_auth.h 90 enum Scheme {
122 // Returns a string representation of an authentication Scheme.
123 static const char* SchemeToString(Scheme scheme);
132 // |origin| is used by the NTLM and Negotiation authentication scheme to
139 const std::set<Scheme>& disabled_schemes,
168 const std::set<Scheme>& disabled_schemes,
171 // Breaks up a challenge string into the the auth scheme and parameter list,
173 // challenge = auth-scheme 1*SP 1#auth-param
175 // Depending on the challenge scheme, it may be appropriate to interpret th
200 std::string scheme() const { function in class:net::HttpAuth::ChallengeTokenizer
    [all...]
http_auth_handler.h 30 // authentication scheme, but none of the tokens occuring after the
31 // authentication scheme. |target| and |origin| are both stored
49 // authentication scheme, but none of the tokens occuring after the
50 // authentication scheme.
78 // The authentication scheme as an enumerated value.
79 HttpAuth::Scheme auth_scheme() const {
104 // that this HttpAuthHandler is handling. The URL includes scheme, host, and
110 // Returns true if the authentication scheme does not send the username and
116 // Returns true if the authentication scheme is connection-based, for
117 // example, NTLM. A connection-based authentication scheme does not suppor
    [all...]
http_auth.cc 29 const std::set<Scheme>& disabled_schemes,
61 const std::set<Scheme>& disabled_schemes,
67 HttpAuth::Scheme current_scheme = handler->auth_scheme();
78 if (!LowerCaseEqualsASCII(props.scheme(), current_scheme_name.c_str()))
110 // The first space-separated token is the auth-scheme.
111 // NOTE: we are more permissive than RFC 2617 which says auth-scheme
115 // Default param and scheme iterators provide empty strings
119 // Save the scheme's position.
168 const char* HttpAuth::SchemeToString(Scheme scheme) {
    [all...]
http_auth_cache.cc 71 HttpAuth::Scheme scheme) {
77 it->scheme() == scheme)
113 HttpAuth::Scheme scheme,
122 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);
134 entry->scheme_ = scheme;
138 DCHECK_EQ(scheme, entry->scheme_);
201 HttpAuth::Scheme scheme
    [all...]
  /external/chromium/chrome/browser/chromeos/
proxy_cros_settings_provider.h 32 net::ProxyServer::Scheme scheme) const;
37 net::ProxyServer::Scheme scheme) const;
  /external/webkit/Source/JavaScriptCore/wtf/url/src/
URLSegments.h 43 Scheme,
59 // contain an entry for the four-character scheme, and it doesn't know about
80 // Scheme: 0 0
93 URLComponent scheme; member in class:WTF::URLSegments
URLSegments.cpp 51 if (type == Scheme)
52 return scheme.begin();
55 if (scheme.isValid())
56 current = scheme.end() + 1; // Advance over the ':' at the end of the scheme.
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
EmailClientConnectionManager.java 29 import org.apache.http.conn.scheme.PlainSocketFactory;
30 import org.apache.http.conn.scheme.Scheme;
31 import org.apache.http.conn.scheme.SchemeRegistry;
68 registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(),
71 registry.register(new Scheme("https",
73 // Register the httpts scheme with our insecure factory
74 registry.register(new Scheme("httpts",
93 Scheme existing = registry.get(schemeName);
105 new Scheme(schemeName, new SSLSocketFactory(underlying), hostAuth.mPort))
    [all...]
  /external/chromium/webkit/glue/
password_form.h 42 // of the same Scheme will be matched/autofilled against each other.
43 enum Scheme {
48 } scheme; member in struct:webkit_glue::PasswordForm
50 // The "Realm" for the sign-on (scheme, host, port for SCHEME_HTML, and
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultHttpRoutePlanner.java 44 import org.apache.http.conn.scheme.Scheme;
45 import org.apache.http.conn.scheme.SchemeRegistry;
59 /** The scheme registry. */
66 * @param schreg the scheme registry
107 final Scheme schm = schemeRegistry.getScheme(target.getSchemeName());
109 // a layered scheme implies a secure connection
ProxySelectorRoutePlanner.java 50 import org.apache.http.conn.scheme.Scheme;
51 import org.apache.http.conn.scheme.SchemeRegistry;
69 /** The scheme registry. */
79 * @param schreg the scheme registry
157 final Scheme schm =
160 // a layered scheme implies a secure connection
215 // assume default scheme (http)
DefaultClientConnectionOperator.java 49 import org.apache.http.conn.scheme.LayeredSocketFactory;
50 import org.apache.http.conn.scheme.PlainSocketFactory;
51 import org.apache.http.conn.scheme.Scheme;
52 import org.apache.http.conn.scheme.SchemeRegistry;
53 import org.apache.http.conn.scheme.SocketFactory;
75 /** The scheme registry for looking up socket factories. */
80 * Creates a new client connection operator for the given scheme registry.
82 * @param schemes the scheme registry
87 ("Scheme registry must not be null.")
    [all...]
  /external/chromium/chrome/browser/password_manager/
password_form_data.h 15 const webkit_glue::PasswordForm::Scheme scheme; member in struct:PasswordFormData
password_store_mac_internal.h 80 // Returns the Keychain items matching the given signon_realm, scheme, and
85 const std::string& signon_realm, webkit_glue::PasswordForm::Scheme scheme,
98 // Returns the Keychain SecAuthenticationType type corresponding to |scheme|.
100 webkit_glue::PasswordForm::Scheme scheme);
144 // Returns true if the two given forms match based on signon_reaml, scheme, and
  /external/chromium/chrome/browser/extensions/
extension_proxy_api_helpers.h 74 // |default_scheme| is the default scheme that is filled in, in case the
78 net::ProxyServer::Scheme default_scheme,
  /external/chromium/net/socket/
ssl_client_socket_pool.h 48 ProxyServer::Scheme proxy,
64 ProxyServer::Scheme proxy() const { return proxy_; }
84 const ProxyServer::Scheme proxy_;
  /external/apache-http/src/org/apache/http/impl/client/
DefaultHttpClient.java 56 import org.apache.http.conn.scheme.PlainSocketFactory;
57 import org.apache.http.conn.scheme.Scheme;
58 import org.apache.http.conn.scheme.SchemeRegistry;
176 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
178 new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));
  /frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java 37 import org.apache.http.conn.scheme.Scheme;
73 .register(new Scheme("https", sslSocketFactory, server.getPort()));
164 .register(new Scheme("https", sslSocketFactory, 443));

Completed in 506 milliseconds

1 2 3