## Uses of Class
javax.websocket.Endpoint

- Packages that use Endpoint
  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 Endpoint in javax.websocket

    Methods in javax.websocket with parameters of type Endpoint
    Modifier and Type | Method and Description
    --- | ---
    `Session` | WebSocketContainer.`connectToServer(Endpoint endpointInstance, ClientEndpointConfig cec, URI path)` Connect the supplied programmatic client endpoint instance to its server with the given configuration.

    Method parameters in javax.websocket with type arguments of type Endpoint
    Modifier and Type | Method and Description
    --- | ---
    `Session` | WebSocketContainer.`connectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfig cec, URI path)` Connect the supplied programmatic endpoint to its server with the given configuration.

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

    Method parameters in javax.websocket.server with type arguments of type Endpoint
    Modifier and Type | Method and Description
    --- | ---
    `Set<ServerEndpointConfig>` | ServerApplicationConfig.`getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses)` Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic endpoints.

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