Home
last modified time | relevance | path

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

/unit/src/java/javax/websocket/
H A DEncoder.java24 public interface Encoder { interface
30 interface Text<T> extends Encoder {
35 interface TextStream<T> extends Encoder {
41 interface Binary<T> extends Encoder {
46 interface BinaryStream<T> extends Encoder {
H A DDefaultClientEndpointConfig.java27 private final List<Class<? extends Encoder>> encoders;
35 List<Class<? extends Encoder>> encoders, in DefaultClientEndpointConfig()
59 public List<Class<? extends Encoder>> getEncoders() { in getEncoders()
H A DEndpointConfig.java24 List<Class<? extends Encoder>> getEncoders(); in getEncoders()
H A DClientEndpointConfig.java49 private List<Class<? extends Encoder>> encoders =
95 public Builder encoders(List<Class<? extends Encoder>> encoders) { in encoders()
H A DClientEndpoint.java31 Class<? extends Encoder>[] encoders() default {}; in encoders()
/unit/src/java/javax/websocket/server/
H A DDefaultServerEndpointConfig.java24 import javax.websocket.Encoder;
36 private final List<Class<? extends Encoder>> encoders;
44 List<Class<? extends Encoder>> encoders, in DefaultServerEndpointConfig()
62 public List<Class<? extends Encoder>> getEncoders() { in getEncoders()
H A DServerEndpoint.java25 import javax.websocket.Encoder;
42 Class<? extends Encoder>[] encoders() default {}; in encoders()
H A DServerEndpointConfig.java25 import javax.websocket.Encoder;
63 private List<Class<? extends Encoder>> encoders =
86 List<Class<? extends Encoder>> encoders) { in encoders()
/unit/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointImplBase.java40 import javax.websocket.Encoder;
541 Encoder encoder = findEncoder(obj); in sendObject()
553 if (encoder instanceof Encoder.Text) { in sendObject()
560 } else if (encoder instanceof Encoder.Binary) { in sendObject()
596 Encoder encoder = findEncoder(obj); in sendObjectByCompletion()
609 if (encoder instanceof Encoder.Text) { in sendObjectByCompletion()
648 for (Class<? extends Encoder> encoderClazz : in setEncoders()
650 Encoder instance; in setEncoders()
666 private Encoder findEncoder(Object obj) { in findEncoder()
1099 private final Encoder encoder;
[all …]
H A DUtil.java44 import javax.websocket.Encoder;
180 static Class<?> getEncoderType(Class<? extends Encoder> encoder) { in getEncoderType()
181 return Util.getGenericType(Encoder.class, encoder).getClazz(); in getEncoderType()
/unit/src/java/nginx/unit/websocket/server/
H A DWsPerSessionServerEndpointConfig.java24 import javax.websocket.Encoder;
46 public List<Class<? extends Encoder>> getEncoders() { in getEncoders()
H A DWsServerContainer.java39 import javax.websocket.Encoder;
406 private static void validateEncoders(Class<? extends Encoder>[] encoders) in validateEncoders()
409 for (Class<? extends Encoder> encoder : encoders) { in validateEncoders()
413 Encoder instance; in validateEncoders()
/unit/auto/modules/
H A Djava489 src/java/javax/websocket/Encoder.java \