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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Property 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    openClientSocket(jakarta.websocket.ClientEndpointConfig cec, Map<String,Object> properties, org.glassfish.tyrus.spi.ClientEngine clientEngine)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVER_CONFIG

      public static final String SERVER_CONFIG
      Property used to define server config used for in-memory container.

      Value has to be instance of ServerApplicationConfig and is provided as user parameter in ClientEndpointConfig.

      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:
      openClientSocket in interface org.glassfish.tyrus.spi.ClientContainer
      Throws:
      jakarta.websocket.DeploymentException
      IOException