Interface FrameHandlerFactory

    • Method Detail

      • newFrameHandler

        FrameHandler newFrameHandler​(java.lang.Object websocketPojo,
                                     ServerUpgradeRequest upgradeRequest,
                                     ServerUpgradeResponse upgradeResponse)
        Create a FrameHandler from the provided websocketPojo.
        Parameters:
        websocketPojo - 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)