Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tomcat
/ setPort
Method
setPort
java/org/apache/catalina/connector/Connector.java:706–708 ·
view source on GitHub ↗
Set the port number on which we listen for requests. @param port The new port number
(int port)
Source
from the content-addressed store, hash-verified
704
* @param port The
new
port number
705
*/
706
public
void
setPort(
int
port) {
707
setProperty(
"port"
, String.valueOf(port));
708
}
709
710
711
/**
Callers
11
setUp
Method · 0.95
start
Method · 0.95
oneTest
Method · 0.95
setUp
Method · 0.95
doTestAddInvalidConnector
Method · 0.95
testPort
Method · 0.95
doTestDuplicatePort
Method · 0.95
testConnectors
Method · 0.95
getConnector
Method · 0.95
createConnector
Method · 0.95
addConnector
Method · 0.95
Calls
2
setProperty
Method · 0.95
valueOf
Method · 0.45
Tested by
8
setUp
Method · 0.76
start
Method · 0.76
oneTest
Method · 0.76
setUp
Method · 0.76
doTestAddInvalidConnector
Method · 0.76
testPort
Method · 0.76
doTestDuplicatePort
Method · 0.76
testConnectors
Method · 0.76