ClientEndpoint (Apache Tomcat 7.0.104 API Documentation)

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
    --- | ---
    `Class<? extends ClientEndpointConfig.Configurator>` | `configurator`
    `Class<? extends Decoder>[]` | `decoders`
    `Class<? extends Encoder>[]` | `encoders`
    `String[]` | `subprotocols`

- - ### Element Detail

    - #### subprotocols

          public abstract String[] subprotocols

      Default:
        {}

    - #### decoders

          public abstract Class<? extends Decoder>[] decoders

      Default:
        {}

    - #### encoders

          public abstract Class<? extends Encoder>[] encoders

      Default:
        {}

    - #### configurator

          public abstract Class<? extends ClientEndpointConfig.Configurator> configurator

      Default:
        javax.websocket.ClientEndpointConfig.Configurator.class

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