MCPcopy Index your code
hub / github.com/apache/tomcat / create

Method create

java/org/apache/coyote/ProtocolHandler.java:237–237  ·  view source on GitHub ↗

Create a new ProtocolHandler for the given protocol. @param protocol the protocol @return the newly instantiated protocol handler @throws ClassNotFoundException Specified protocol was not found @throws InstantiationException Specified protocol could not be instantiated @throws IllegalAccess

(String protocol)

Source from the content-addressed store, hash-verified

235 * @throws SecurityException Exception occurred
236 */
237 static ProtocolHandler create(String protocol)
238 throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
239 InvocationTargetException, NoSuchMethodException, SecurityException {
240 if (protocol == null || "HTTP/1.1".equals(protocol) ||

Callers 15

ConnectorMethod · 0.95
getEndpointConfigsMethod · 0.65
scanMethod · 0.65
testCVE_2018_8034Method · 0.65
testPingPongMessagesMethod · 0.65
echoTesterMethod · 0.65
testSuspendResumeMethod · 0.65

Implementers 1

AbstractProtocoljava/org/apache/coyote/AbstractProtoco

Calls

no outgoing calls

Tested by 15

scanMethod · 0.52
testCVE_2018_8034Method · 0.52
testPingPongMessagesMethod · 0.52
echoTesterMethod · 0.52
testSuspendResumeMethod · 0.52
testSuspendThenCloseMethod · 0.52