Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/net/
DURI.java181 private transient String scheme; field in URI
212 public URI(String scheme, String schemeSpecificPart, String fragment) in URI() argument
215 if (scheme != null) { in URI()
216 uri.append(scheme); in URI()
235 public URI(String scheme, String userInfo, String host, int port, String path, String query, in URI() argument
237 if (scheme == null && userInfo == null && host == null && path == null in URI()
243 if (scheme != null && path != null && !path.isEmpty() && path.charAt(0) != '/') { in URI()
248 if (scheme != null) { in URI()
249 uri.append(scheme); in URI()
297 public URI(String scheme, String host, String path, String fragment) throws URISyntaxException { in URI() argument
[all …]
DProxySelectorImpl.java39 String scheme = uri.getScheme(); in selectOneProxy() local
40 if (scheme == null) { in selectOneProxy()
48 if ("http".equalsIgnoreCase(scheme)) { in selectOneProxy()
52 } else if ("https".equalsIgnoreCase(scheme)) { in selectOneProxy()
56 } else if ("ftp".equalsIgnoreCase(scheme)) { in selectOneProxy()
60 } else if ("socket".equalsIgnoreCase(scheme)) { in selectOneProxy()
DAuthenticator.java41 private String scheme; field in Authenticator
103 return this.scheme; in getRequestingScheme()
135 thisAuthenticator.scheme = rScheme; in requestPasswordAuthentication()
186 thisAuthenticator.scheme = rScheme; in requestPasswordAuthentication()
241 thisAuthenticator.scheme = rScheme; in requestPasswordAuthentication()
/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/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/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