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

Method valueOf

java/org/apache/coyote/http2/Setting.java:46–59  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

44 }
45
46 static Setting valueOf(int i) {
47 return switch (i) {
48 case 1 -> HEADER_TABLE_SIZE;
49 case 2 -> ENABLE_PUSH;
50 case 3 -> MAX_CONCURRENT_STREAMS;
51 case 4 -> INITIAL_WINDOW_SIZE;
52 case 5 -> MAX_FRAME_SIZE;
53 case 6 -> MAX_HEADER_LIST_SIZE;
54 case 8 -> ENABLE_CONNECT_PROTOCOL;
55 case 9 -> NO_RFC7540_PRIORITIES;
56 case 10 -> TLS_RENEG_PERMITTED;
57 default -> UNKNOWN;
58 };
59 }
60}

Callers 15

initMethod · 0.95
readSettingsFrameMethod · 0.95
awaitConnectionsCloseMethod · 0.45
logPortOffsetMethod · 0.45
parseRequestLineMethod · 0.45
dispatchMethod · 0.45
isReadyMethod · 0.45
handleIndexMethod · 0.45
getRealIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected