Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpCallerInfo.java48 final public String host, protocol, prompt, scheme; field in HttpCallerInfo
56 public HttpCallerInfo(HttpCallerInfo old, String scheme) { in HttpCallerInfo() argument
64 this.scheme = scheme; in HttpCallerInfo()
92 scheme = ""; in HttpCallerInfo()
106 scheme = ""; in HttpCallerInfo()
DHttpAuthenticator.java54 boolean schemeSupported (String scheme); in schemeSupported() argument
74 public String authString (URL u, String scheme, String realm); in authString() argument
DAuthenticationHeader.java158 String scheme = hpn.findKey(0); in parse() local
159 schemes.put (scheme, new SchemeMapValue (hpn, raw)); in parse()
166 String scheme = hpn.findKey(0); in parse() local
167 schemes.put (scheme, new SchemeMapValue (hpn, raw)); in parse()
238 public String scheme() { in scheme() method in AuthenticationHeader
DHttpURLConnection.java387 final String scheme, in privilegedRequestPasswordAuthentication() argument
398 prompt, scheme, url, authType); in privilegedRequestPasswordAuthentication()
1972 String scheme = authhdr.scheme();
1974 if ("basic".equalsIgnoreCase(scheme)) {
1976 } else if ("digest".equalsIgnoreCase(scheme)) {
1978 } else if ("ntlm".equalsIgnoreCase(scheme)) {
1981 } else if ("Kerberos".equalsIgnoreCase(scheme)) {
1984 } else if ("Negotiate".equalsIgnoreCase(scheme)) {
2012 realm, scheme, url, RequestorType.PROXY);
2020 realm, scheme, url, RequestorType.PROXY);
[all …]
DAuthenticationInfo.java273 static String getServerAuthKey(URL url, String realm, AuthScheme scheme) { in getServerAuthKey() argument
278 String key = SERVER_AUTHENTICATION + ":" + scheme + ":" + url.getProtocol().toLowerCase() in getServerAuthKey()
321 static String getProxyAuthKey(String host, int port, String realm, AuthScheme scheme) { in getProxyAuthKey() argument
322 String key = PROXY_AUTHENTICATION + ":" + scheme + "::" + host.toLowerCase() in getProxyAuthKey()
DNegotiateAuthentication.java68 hci.scheme.equalsIgnoreCase("Negotiate") ? NEGOTIATE : KERBEROS, in NegotiateAuthentication()
156 response = hci.scheme + " " + new B64Encoder().encode( in setHeaders()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java132 public String getResourceURI(String href, String scheme, String contentType) throws in getResourceURI() argument
134 if (scheme == null) { in getResourceURI()
137 if ("file".equals(scheme)) { in getResourceURI()
140 if ("http".equals(scheme)) { in getResourceURI()
154 scheme)); in getResourceURI()
157 public String createTempURI(String scheme) throws DOMTestLoadException { in createTempURI() argument
158 if (scheme == null) { in createTempURI()
161 if ("file".equals(scheme)) { in createTempURI()
184 if ("http".equals(scheme)) { in createTempURI()
197 scheme)); in createTempURI()
DDOMTestInnerClass.java133 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
137 test.assertURIEquals(assertID, scheme, path, host, file, name, query, in assertURIEquals()
DDOMTestCase.java672 String scheme, in assertURIEquals() argument
722 if (scheme != null) { in assertURIEquals()
723 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/ojluni/src/main/java/java/net/
DAuthenticator.java165 String scheme) { in requestPasswordAuthentication() argument
184 a.requestingScheme = scheme; in requestPasswordAuthentication()
227 String scheme) { in requestPasswordAuthentication() argument
247 a.requestingScheme = scheme; in requestPasswordAuthentication()
292 String scheme, in requestPasswordAuthentication() argument
314 a.requestingScheme = scheme; in requestPasswordAuthentication()
DURI.java479 private transient String scheme; // null ==> relative URI field in URI
665 public URI(String scheme, in URI() argument
670 String s = toString(scheme, null, in URI()
673 checkPath(s, scheme, path); in URI()
738 public URI(String scheme, in URI() argument
743 String s = toString(scheme, null, in URI()
746 checkPath(s, scheme, path); in URI()
772 public URI(String scheme, String host, String path, String fragment) in URI() argument
775 this(scheme, null, host, -1, path, null, fragment); in URI()
815 public URI(String scheme, String ssp, String fragment) in URI() argument
[all …]
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java310 private static URI createURI(String scheme, in createURI() argument
316 String s = toString(scheme, null, in createURI()
319 checkPath(s, scheme, path); in createURI()
323 private static String toString(String scheme, in toString() argument
334 if (scheme != null) { in toString()
335 sb.append(scheme); in toString()
529 private static void checkPath(String s, String scheme, String path) in checkPath() argument
532 if (scheme != null) { in checkPath()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java102 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
146 if (scheme != null) { in assertURIEquals()
147 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/ojluni/src/main/java/java/io/
DFile.java399 String scheme = uri.getScheme(); in File() local
400 if ((scheme == null) || !scheme.equalsIgnoreCase("file")) in File()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java400 private void construct1(String scheme, String userinfo, String host, in construct1() argument
403 URI uri = new URI(scheme, userinfo, host, port, path, query, in construct1()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2136 public static final int scheme = 0; field in R