Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/tomcat
/ getProtocol
Method
getProtocol
java/org/apache/coyote/RequestInfo.java:115–117 ·
view source on GitHub ↗
Return the protocol. @return the protocol
()
Source
from the content-addressed store, hash-verified
113
* @
return
the protocol
114
*/
115
public
String getProtocol() {
116
return
req.protocol().toString();
117
}
118
119
/**
120
* Return the virtual host.
Callers
nothing calls this directly
Calls
2
protocol
Method · 0.80
toString
Method · 0.65
Tested by
no test coverage detected