Class InMemoryClientContainer

  • All Implemented Interfaces:
    org.glassfish.tyrus.spi.ClientContainer

    public class InMemoryClientContainer
    extends java.lang.Object
    implements org.glassfish.tyrus.spi.ClientContainer
    In-Memory ClientContainer implementation.
    Author:
    Pavel Bucek
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SERVER_CONFIG
      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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void openClientSocket​(jakarta.websocket.ClientEndpointConfig cec, java.util.Map<java.lang.String,​java.lang.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 Detail

      • SERVER_CONFIG

        public static final java.lang.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:
        Constant Field Values
    • Constructor Detail

      • InMemoryClientContainer

        public InMemoryClientContainer()
    • Method Detail

      • openClientSocket

        public void openClientSocket​(jakarta.websocket.ClientEndpointConfig cec,
                                     java.util.Map<java.lang.String,​java.lang.Object> properties,
                                     org.glassfish.tyrus.spi.ClientEngine clientEngine)
                              throws jakarta.websocket.DeploymentException,
                                     java.io.IOException
        Specified by:
        openClientSocket in interface org.glassfish.tyrus.spi.ClientContainer
        Throws:
        jakarta.websocket.DeploymentException
        java.io.IOException