## Uses of Interface
javax.websocket.EndpointConfig

- Packages that use EndpointConfig
  Package | Description
  --- | ---
  javax.websocket | This package contains all the WebSocket APIs common to both the client and server side.
  javax.websocket.server | This package contains all the WebSocket APIs used only by server side applications.

- - ### Uses of EndpointConfig in javax.websocket

    Subinterfaces of EndpointConfig in javax.websocket
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ClientEndpointConfig` The ClientEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.

    Methods in javax.websocket with parameters of type EndpointConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | Encoder.`init(EndpointConfig config)` This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.
    `void` | Decoder.`init(EndpointConfig config)` This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
    `abstract void` | Endpoint.`onOpen(Session session, EndpointConfig config)` Developers must implement this method to be notified when a new conversation has just begun.

  - ### Uses of EndpointConfig in javax.websocket.server

    Subinterfaces of EndpointConfig in javax.websocket.server
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ServerEndpointConfig` The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.