@Retention(RUNTIME)
@Target(TYPE)
public @interface ServerEndpoint
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String |
value |
URI or URI-template that the annotated class should be mapped to.
|
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 |
java.lang.String value
java.lang.Class<? extends Decoder>[] decoders
java.lang.Class<? extends Encoder>[] encoders
java.lang.Class<? extends ServerEndpointConfig.Configurator> configurator
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.