Home | History | Annotate | Download | only in spi

Lines Matching refs:protocol

47  * provides backward compatibility with the old http protocol handler
50 * Most of the implementation copied from the old http protocol handler
60 * support for each given protocol.
62 * - 1 row per protocol (http, ftp, ...)
63 * - 1st element of each row is the protocol name
78 * protocol, Property prefix 1, Property prefix 2, ...
116 * it's not necessary. Therefore we do cache the result, on a per-protocol
156 String protocol = uri.getScheme();
182 if (protocol == null || host == null) {
183 throw new IllegalArgumentException("protocol = "+protocol+" host = "+host);
189 if ("http".equalsIgnoreCase(protocol)) {
191 } else if ("https".equalsIgnoreCase(protocol)) {
197 } else if ("ftp".equalsIgnoreCase(protocol)) {
199 } else if ("socket".equalsIgnoreCase(protocol)) {
204 * Let's check the System properties for that protocol
206 final String proto = protocol;
240 * protocol. Let's check System Proxy
260 // If a Proxy Host is defined for that protocol
343 private int defaultPort(String protocol) {
344 if ("http".equalsIgnoreCase(protocol)) {
346 } else if ("https".equalsIgnoreCase(protocol)) {
348 } else if ("ftp".equalsIgnoreCase(protocol)) {
350 } else if ("socket".equalsIgnoreCase(protocol)) {
352 } else if ("gopher".equalsIgnoreCase(protocol)) {
362 private synchronized native Proxy getSystemProxy(String protocol, String host);