javax.websocket

## Annotation Type ClientEndpoint

-     @Retention(value=RUNTIME)
      @Target(value=TYPE)
      public @interface ClientEndpoint

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `java.lang.Class<? extends ClientEndpointConfig.Configurator>` | `configurator`
    `java.lang.Class<? extends Decoder>[]` | `decoders`
    `java.lang.Class<? extends Encoder>[]` | `encoders`
    `java.lang.String[]` | `subprotocols`

- - ### Element Detail

    - #### subprotocols

          public abstract java.lang.String[] subprotocols

      Default:
        {}

    - #### decoders

          public abstract java.lang.Class<? extends Decoder>[] decoders

      Default:
        {}

    - #### encoders

          public abstract java.lang.Class<? extends Encoder>[] encoders

      Default:
        {}

    - #### configurator

          public abstract java.lang.Class<? extends ClientEndpointConfig.Configurator> configurator

      Default:
        javax.websocket.ClientEndpointConfig.Configurator.class

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.