7324ce6fde
NPN server providers return a String version of the negotiated protocol and the getProtocolByName method allows to easily get an instance of the SelectedProtocol enum and avoid the need for a switch statement in each subclass to match the String against the enum value. |
||
---|---|---|
.. | ||
main/java/io/netty/handler/codec | ||
test/java/io/netty/handler/codec |