/** * Returns the name of the scheme used to make this request, * for example, * <code>http</code>, <code>https</code>, or <code>ftp</code>. * Different schemes have different rules for constructing URLs, * as noted in RFC 1738. **/ public String getScheme() { String result= isSecure() ? "https" : "http"; result=_protocol; return result; }
/** * Returns the name of the scheme used to make this request, * for example, * <code>http</code>, <code>https</code>, or <code>ftp</code>. * Different schemes have different rules for constructing URLs, * as noted in RFC 1738. **/ public String getScheme() { String result= isSecure() ? "https" : "http"; result=_protocol; return result; }
/** * Returns the name of the scheme used to make this request, * for example, * <code>http</code>, <code>https</code>, or <code>ftp</code>. * Different schemes have different rules for constructing URLs, * as noted in RFC 1738. **/ public String getScheme() { String result= isSecure() ? "https" : "http"; result=_protocol; return result; }