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

Class WsExtension

java/org/apache/tomcat/websocket/WsExtension.java:27–49  ·  view source on GitHub ↗

Implementation of WebSocket extension.

Source from the content-addressed store, hash-verified

25 * Implementation of WebSocket extension.
26 */
27public class WsExtension implements Extension {
28
29 private final String name;
30 private final List<Parameter> parameters = new ArrayList<>();
31
32 WsExtension(String name) {
33 this.name = name;
34 }
35
36 void addParameter(Parameter parameter) {
37 parameters.add(parameter);
38 }
39
40 @Override
41 public String getName() {
42 return name;
43 }
44
45 @Override
46 public List<Parameter> getParameters() {
47 return parameters;
48 }
49}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected