Package jakarta.websocket.server
Annotation Type ServerEndpoint
-
@Retention(RUNTIME) @Target(TYPE) public @interface ServerEndpoint
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
URI or URI-template that the annotated class should be mapped to.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<? extends ServerEndpointConfig.Configurator>
configurator
java.lang.Class<? extends Decoder>[]
decoders
java.lang.Class<? extends Encoder>[]
encoders
java.lang.String[]
subprotocols
-
-
-
-
decoders
java.lang.Class<? extends Decoder>[] decoders
- Default:
- {}
-
-
-
encoders
java.lang.Class<? extends Encoder>[] encoders
- Default:
- {}
-
-
-
configurator
java.lang.Class<? extends ServerEndpointConfig.Configurator> configurator
- Default:
- jakarta.websocket.server.ServerEndpointConfig.Configurator.class
-
-