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.
    • Element Detail

      • value

        java.lang.String value
        URI or URI-template that the annotated class should be mapped to.
        Returns:
        The URI or URI-template that the annotated class should be mapped to.
      • subprotocols

        java.lang.String[] subprotocols
        Default:
        {}
      • decoders

        java.lang.Class<? extends Decoder>[] decoders
        Default:
        {}
      • encoders

        java.lang.Class<? extends Encoder>[] encoders
        Default:
        {}