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

Method usePartial

java/org/apache/tomcat/websocket/WsFrameBase.java:667–676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

665
666
667 private boolean usePartial() {
668 if (Util.isControl(opCode)) {
669 return false;
670 } else if (textMessage) {
671 return textMsgHandler instanceof MessageHandler.Partial;
672 } else {
673 // Must be binary
674 return binaryMsgHandler instanceof MessageHandler.Partial;
675 }
676 }
677
678
679 private boolean swallowInput() {

Callers 2

processDataTextMethod · 0.95
processDataBinaryMethod · 0.95

Calls 1

isControlMethod · 0.95

Tested by

no test coverage detected