Class InMemoryClientContainer
java.lang.Object
org.glassfish.tyrus.container.inmemory.InMemoryClientContainer
- All Implemented Interfaces:
org.glassfish.tyrus.spi.ClientContainer
public class InMemoryClientContainer
extends Object
implements org.glassfish.tyrus.spi.ClientContainer
In-Memory
ClientContainer implementation.- Author:
- Pavel Bucek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty used to define server config used for in-memory container.Fields inherited from interface org.glassfish.tyrus.spi.ClientContainer
INCOMING_BUFFER_SIZE, WLS_INCOMING_BUFFER_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidopenClientSocket(jakarta.websocket.ClientEndpointConfig cec, Map<String, Object> properties, org.glassfish.tyrus.spi.ClientEngine clientEngine)
-
Field Details
-
SERVER_CONFIG
Property used to define server config used for in-memory container.Value has to be instance of
ServerApplicationConfigand is provided as user parameter inClientEndpointConfig.- See Also:
-
-
Constructor Details
-
InMemoryClientContainer
public InMemoryClientContainer()
-
-
Method Details
-
openClientSocket
public void openClientSocket(jakarta.websocket.ClientEndpointConfig cec, Map<String, Object> properties, org.glassfish.tyrus.spi.ClientEngine clientEngine) throws jakarta.websocket.DeploymentException, IOException- Specified by:
openClientSocketin interfaceorg.glassfish.tyrus.spi.ClientContainer- Throws:
jakarta.websocket.DeploymentExceptionIOException
-