Home
last modified time | relevance | path

Searched refs:decoders (Results 1 – 13 of 13) sorted by relevance

/unit/src/java/javax/websocket/
H A DClientEndpointConfig.java51 private List<Class<? extends Decoder>> decoders = field in ClientEndpointConfig.Builder
57 extensions, encoders, decoders, configurator); in build()
105 public Builder decoders(List<Class<? extends Decoder>> decoders) { in decoders() argument
106 if (decoders == null || decoders.size() == 0) { in decoders()
107 this.decoders = Collections.emptyList(); in decoders()
109 this.decoders = Collections.unmodifiableList(decoders); in decoders()
H A DDefaultClientEndpointConfig.java28 private final List<Class<? extends Decoder>> decoders; field in DefaultClientEndpointConfig
36 List<Class<? extends Decoder>> decoders, in DefaultClientEndpointConfig() argument
40 this.decoders = decoders; in DefaultClientEndpointConfig()
66 return decoders; in getDecoders()
H A DClientEndpoint.java30 Class<? extends Decoder>[] decoders() default {}; in decoders() method
/unit/src/java/javax/websocket/server/
H A DServerEndpointConfig.java65 private List<Class<? extends Decoder>> decoders = field in ServerEndpointConfig.Builder
81 subprotocols, extensions, encoders, decoders, configurator); in build()
96 public Builder decoders( in decoders() method in ServerEndpointConfig.Builder
97 List<Class<? extends Decoder>> decoders) { in decoders() argument
98 if (decoders == null || decoders.size() == 0) { in decoders()
99 this.decoders = Collections.emptyList(); in decoders()
101 this.decoders = Collections.unmodifiableList(decoders); in decoders()
H A DDefaultServerEndpointConfig.java37 private final List<Class<? extends Decoder>> decoders; field in DefaultServerEndpointConfig
45 List<Class<? extends Decoder>> decoders, in DefaultServerEndpointConfig() argument
52 this.decoders = decoders; in DefaultServerEndpointConfig()
68 return this.decoders; in getDecoders()
H A DServerEndpoint.java40 Class<? extends Decoder>[] decoders() default {}; in decoders() method
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerWholeBinary.java44 private final List<Decoder> decoders = new ArrayList<>(); field in PojoMessageHandlerWholeBinary
71 decoders.add(decoder); in PojoMessageHandlerWholeBinary()
77 decoders.add(decoder); in PojoMessageHandlerWholeBinary()
92 for (Decoder decoder : decoders) { in decode()
127 for (Decoder decoder : decoders) { in onClose()
H A DPojoMessageHandlerWholeText.java45 private final List<Decoder> decoders = new ArrayList<>(); field in PojoMessageHandlerWholeText
80 decoders.add(decoder); in PojoMessageHandlerWholeText()
86 decoders.add(decoder); in PojoMessageHandlerWholeText()
105 for (Decoder decoder : decoders) { in decode()
132 for (Decoder decoder : decoders) { in onClose()
H A DPojoEndpointClient.java36 List<Class<? extends Decoder>> decoders) throws DeploymentException { in PojoEndpointClient() argument
39 new PojoMethodMapping(pojo.getClass(), decoders, null)); in PojoEndpointClient()
H A DPojoMethodMapping.java79 List<DecoderEntry> decoders = Util.getDecoders(decoderClazzes); in PojoMethodMapping() local
132 MessageHandlerInfo messageHandler = new MessageHandlerInfo(method, decoders); in PojoMethodMapping()
/unit/src/java/nginx/unit/websocket/server/
H A DWsServerContainer.java227 decoders(Arrays.asList(annotation.decoders())). in addEndpoint()
/unit/src/java/nginx/unit/websocket/
H A DUtil.java465 List<Class<? extends Decoder>> decoders = in matchDecoders() local
467 List<DecoderEntry> decoderEntries = getDecoders(decoders); in matchDecoders()
H A DWsWebSocketContainer.java126 Endpoint ep = new PojoEndpointClient(pojo, Arrays.asList(annotation.decoders())); in connectToServer()
148 decoders(Arrays.asList(annotation.decoders())). in connectToServer()