Home
last modified time | relevance | path

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

/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerWholeText.java27 import javax.websocket.Decoder.Text;
77 if (Text.class.isAssignableFrom(decoderClazz)) { in PojoMessageHandlerWholeText()
78 Text<?> decoder = (Text<?>) decoderClazz.getConstructor().newInstance(); in PojoMessageHandlerWholeText()
106 if (decoder instanceof Text) { in decode()
107 if (((Text<?>) decoder).willDecode(message)) { in decode()
108 return ((Text<?>) decoder).decode(message); in decode()
/unit/src/java/javax/websocket/
H A DEncoder.java30 interface Text<T> extends Encoder { interface
H A DDecoder.java42 interface Text<T> extends Decoder { interface
/unit/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointImplBase.java553 if (encoder instanceof Encoder.Text) { in sendObject()
554 String msg = ((Encoder.Text) encoder).encode(obj); in sendObject()
609 if (encoder instanceof Encoder.Text) { in sendObjectByCompletion()
610 String msg = ((Encoder.Text) encoder).encode(obj); in sendObjectByCompletion()
H A DUtil.java41 import javax.websocket.Decoder.Text;
597 } else if (Text.class.isAssignableFrom( in DecoderMatch()