Class ServerFrameHandlerFactory

All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, FrameHandlerFactory

public class ServerFrameHandlerFactory extends JettyWebSocketFrameHandlerFactory implements FrameHandlerFactory
  • Constructor Details

  • Method Details

    • newFrameHandler

      public FrameHandler newFrameHandler(Object webSocketEndPoint, ServerUpgradeRequest upgradeRequest, ServerUpgradeResponse upgradeResponse)
      Description copied from interface: FrameHandlerFactory
      Create a FrameHandler from the provided websocketPojo.
      Specified by:
      newFrameHandler in interface FrameHandlerFactory
      Parameters:
      webSocketEndPoint - the websocket pojo to work with
      upgradeRequest - the Upgrade Handshake Request used to create the FrameHandler
      upgradeResponse - the Upgrade Handshake Response used to create the FrameHandler
      Returns:
      the API specific FrameHandler, or null if this implementation is unable to create the FrameHandler (allowing another FrameHandlerFactory to try)