Home
last modified time | relevance | path

Searched refs:Partial (Results 1 – 5 of 5) sorted by relevance

/unit/src/java/javax/websocket/
H A DMessageHandler.java21 interface Partial<T> extends MessageHandler { interface
H A DSession.java173 <T> void addMessageHandler(Class<T> clazz, MessageHandler.Partial<T> handler) in addMessageHandler()
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerPartialBase.java36 extends PojoMessageHandlerBase<T> implements MessageHandler.Partial<T> {
/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java388 if (textMsgHandler instanceof MessageHandler.Partial<?>) { in sendMessageText()
389 ((MessageHandler.Partial<String>) textMsgHandler) in sendMessageText()
577 if (binaryMsgHandler instanceof MessageHandler.Partial<?>) { in sendMessageBinary()
578 ((MessageHandler.Partial<ByteBuffer>) binaryMsgHandler).onMessage(msg, last); in sendMessageBinary()
641 return textMsgHandler instanceof MessageHandler.Partial; in usePartial()
644 return binaryMsgHandler instanceof MessageHandler.Partial; in usePartial()
H A DWsSession.java46 import javax.websocket.MessageHandler.Partial;
238 public <T> void addMessageHandler(Class<T> clazz, Partial<T> handler) in addMessageHandler()
926 return textMessageHandler instanceof MessageHandler.Partial<?>; in hasTextPartial()
963 ((MessageHandler.Partial<String>) textMessageHandler).onMessage(text, last); in onMessage()
975 if (binaryMessageHandler instanceof MessageHandler.Partial<?>) { in onMessage()
976 ((MessageHandler.Partial<ByteBuffer>) binaryMessageHandler).onMessage(buf, last); in onMessage()