Top Description Fields Constructors Methods
jakarta.websocket

public abstract Class ContainerProvider

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.tomcat.websocket.WsContainerProvider
Imports
java.util.Iterator, .ServiceLoader

Use the ServiceLoader mechanism to provide instances of the WebSocket client container.

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract WebSocketContainer
public static WebSocketContainer

Returns:

A newly created container.
getWebSocketContainer
()

Create a new container used to create outgoing WebSocket connections.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_PROVIDER_CLASS_NAMEback to summary
private static final String DEFAULT_PROVIDER_CLASS_NAME

Constructor Detail

ContainerProviderback to summary
public ContainerProvider()

Method Detail

getContainerback to summary
protected abstract WebSocketContainer getContainer()
getWebSocketContainerback to summary
public static WebSocketContainer getWebSocketContainer()

Create a new container used to create outgoing WebSocket connections.

Returns:WebSocketContainer

A newly created container.