## Uses of Interface
javax.websocket.WebSocketContainer

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

    Methods in javax.websocket that return WebSocketContainer
    Modifier and Type | Method and Description
    --- | ---
    `WebSocketContainer` | Session.`getContainer()` Return the container that this session is part of.
    `protected abstract WebSocketContainer` | ContainerProvider.`getContainer()` Load the container implementation.
    `static WebSocketContainer` | ContainerProvider.`getWebSocketContainer()` Obtain a new instance of a WebSocketContainer.

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

    Subinterfaces of WebSocketContainer in javax.websocket.server
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ServerContainer` The ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments.

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