MCPcopy Create free account
hub / github.com/apache/tomcat / getMessageType

Method getMessageType

java/org/apache/tomcat/websocket/Util.java:160–162  ·  view source on GitHub ↗
(MessageHandler listener)

Source from the content-addressed store, hash-verified

158
159
160 static Class<?> getMessageType(MessageHandler listener) {
161 return getGenericType(MessageHandler.class, listener.getClass()).getClazz();
162 }
163
164
165 private static Class<?> getDecoderType(Class<? extends Decoder> decoder) {

Calls 2

getGenericTypeMethod · 0.95
getClazzMethod · 0.45