MCPcopy Create free account
hub / github.com/apache/tomcat / getScheme

Method getScheme

java/jakarta/servlet/ServletRequest.java:279–279  ·  view source on GitHub ↗

Returns the name of the scheme used to make this request, for example, http , https , or ftp . Different schemes have different rules for constructing URLs, as noted in RFC 1738. @return a String containing the name of the scheme used to make this re

()

Source from the content-addressed store, hash-verified

277 * @return a <code>String</code> containing the name of the scheme used to make this request
278 */
279 String getScheme();
280
281 /**
282 * Returns the host name of the server to which the request was sent. It is the value of the part before ":" in the

Implementers 4

ServletRequestWrapperjava/jakarta/servlet/ServletRequestWra
TesterHttpServletRequesttest/org/apache/catalina/filters/Teste
Requestjava/org/apache/catalina/connector/Req
RequestFacadejava/org/apache/catalina/connector/Req

Calls

no outgoing calls