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

1 2 3 4 5

  /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_org/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 17 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme.
20 ProxyServer::Scheme GetSchemeFromPacTypeInternal(
43 // Parses the proxy scheme from a URL-like representation, to a
44 // ProxyServer::Scheme. This corresponds with the values used in
46 ProxyServer::Scheme GetSchemeFromURIInternal(std::string::const_iterator begin,
73 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair)
74 : scheme_(scheme), host_port_pair_(host_port_pair) {
85 // Doesn't make sense to call this if the URI scheme doesn't
93 Scheme default_scheme)
102 Scheme scheme = default_scheme; local
164 Scheme scheme = GetSchemeFromPacTypeInternal(begin, space); local
    [all...]
  /external/chromium_org/chrome/browser/tab_contents/
navigation_metrics_recorder.cc 15 enum Scheme {
46 Scheme scheme = SCHEME_UNKNOWN; local
49 scheme = static_cast<Scheme>(i);
54 "Navigation.MainFrameScheme", scheme, SCHEME_MAX);
  /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...]
  /external/chromium_org/net/http/
http_auth_cache.h 20 // For each (origin, realm, scheme) triple the cache stores a
22 // - the origin server {protocol scheme, host, port}
24 // - the last auth handler used (contains realm and authentication scheme)
26 // Entries can be looked up by either (origin, realm, scheme) or (origin, path).
42 // scheme |scheme|.
43 // |origin| - the {scheme, host, port} of the server.
45 // |scheme| - the authentication scheme (i.e. basic, negotiate).
49 HttpAuth::Scheme scheme)
123 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);
112 // auth scheme for this controller and returns true. Returns false
121 // Holds the {scheme, host, path, port} for the authentication target.
124 // Holds the {scheme, host, port} for the authentication target.
131 // |handler_| encapsulates the logic for the particular auth-scheme.
163 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
192 std::string scheme() const { function in class:net::HttpAuth::ChallengeTokenizer
    [all...]
http_auth_handler.h 29 // authentication scheme, but none of the tokens occurring after the
30 // authentication scheme. |target| and |origin| are both stored
48 // authentication scheme, but none of the tokens occurring after the
49 // 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...]
  /external/chromium/chrome/browser/chromeos/
proxy_cros_settings_provider.h 32 net::ProxyServer::Scheme scheme) const;
37 net::ProxyServer::Scheme scheme) const;
  /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;
71 registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(),
74 registry.register(new Scheme("https",
77 // Register the httpts scheme with our insecure factory
78 registry.register(new Scheme("httpts",
100 Scheme existing = registry.get(schemeName);
111 registry.register(new Scheme(schemeName, ssf, 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
  /external/smack/src/com/kenai/jbosh/
ApacheHTTPSender.java 28 import org.apache.http.conn.scheme.PlainSocketFactory;
29 import org.apache.http.conn.scheme.Scheme;
30 import org.apache.http.conn.scheme.SchemeRegistry;
141 // Create and initialize scheme registry
144 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
148 new Scheme("https", sslFactory, 443));
  /external/chromium/chrome/browser/password_manager/
password_form_data.h 15 const webkit_glue::PasswordForm::Scheme scheme; member in struct:PasswordFormData
  /external/chromium_org/chrome/browser/password_manager/
password_form_data.h 16 const content::PasswordForm::Scheme scheme; member in struct:PasswordFormData
  /external/chromium_org/content/public/common/
password_form.h 43 // of the same Scheme will be matched/autofilled against each other.
44 enum Scheme {
49 } scheme; member in struct:content::PasswordForm
51 // The "Realm" for the sign-on (scheme, host, port for SCHEME_HTML, and
57 // The original "Realm" for the sign-on (scheme, host, port for SCHEME_HTML,
67 // 3) The scheme is the same.

Completed in 772 milliseconds

1 2 3 4 5