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