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

Method getOnMessagePartialMethod

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

Source from the content-addressed store, hash-verified

557 }
558
559 private static Method getOnMessagePartialMethod(MessageHandler listener) {
560 try {
561 return listener.getClass().getMethod("onMessage", Object.class, Boolean.TYPE);
562 } catch (NoSuchMethodException | SecurityException e) {
563 throw new IllegalArgumentException(sm.getString("util.invalidMessageHandler"), e);
564 }
565 }
566
567
568 /**

Callers 1

getMessageHandlersMethod · 0.95

Calls 2

getMethodMethod · 0.65
getStringMethod · 0.65

Tested by

no test coverage detected