Lines Matching defs:scheme
122 * specifies hostname:port, not requiring the scheme part.
124 * hostname:port - scheme = hostname
128 * however, someone could also enter scheme:hostname:port and
136 String scheme = u.getScheme();
145 * this is the scheme:hostname:port case. Attempt to
146 * transform this to scheme://hostname:port. If a path
152 u2 = new URI(scheme + "://" + ssp);
154 u2 = new URI(scheme + "://" + ssp + "#" + frag);
173 * part. The key here is that no scheme part was specified.
174 * For this case, if the scheme specific part does not begin
207 * @param scheme the {@link URI#getScheme} component of a URI.
219 public HostIdentifier(String scheme, String authority, String path,
222 uri = new URI(scheme, authority, path, query, fragment);
229 * reassembled into a HostIdentifier. If a "file:" scheme (protocol)
241 String scheme = vmid.getScheme();
246 if ((scheme != null) && (scheme.compareTo("file") == 0)) {
261 if (scheme == null) {
263 scheme = "local"; // default local scheme
266 * rmi is the default remote scheme. if the VmIdentifier
269 scheme = "rmi";
273 sb.append(scheme).append("://");
327 * A VmIdentifier specifying a <em>file:</em> scheme (protocol), is
338 String scheme = vmid.getScheme();
342 if ((scheme != null) && (scheme.compareTo("file") == 0)) {
355 if (scheme == null) {
356 scheme = getScheme();
363 sb.append(scheme).append("://");
418 * @return String - the scheme for this HostIdentifier.
428 * @return String - the scheme specific part for this HostIdentifier.