Top Description Methods
org.eclipse.jetty.websocket.core.server

public Interface FrameHandlerFactory

Imports
org.eclipse.jetty.websocket.core.FrameHandler

Factory for FrameHandler instances

Method Summary

Modifier and TypeMethod and Description
public FrameHandler

Returns:

the API specific FrameHandler, or null if this implementation is unable to create the FrameHandler (allowing another FrameHandlerFactory to try)
newFrameHandler
(Object
the websocket pojo to work with
websocketPojo
,
ServerUpgradeRequest
the Upgrade Handshake Request used to create the FrameHandler
upgradeRequest
,
ServerUpgradeResponse
the Upgrade Handshake Response used to create the FrameHandler
upgradeResponse
)

Create a FrameHandler from the provided websocketPojo.

Method Detail

newFrameHandlerback to summary
public FrameHandler newFrameHandler(Object websocketPojo, ServerUpgradeRequest upgradeRequest, ServerUpgradeResponse upgradeResponse)

Create a FrameHandler from the provided websocketPojo.

Parameters
websocketPojo:Object

the websocket pojo to work with

upgradeRequest:ServerUpgradeRequest

the Upgrade Handshake Request used to create the FrameHandler

upgradeResponse:ServerUpgradeResponse

the Upgrade Handshake Response used to create the FrameHandler

Returns:FrameHandler

the API specific FrameHandler, or null if this implementation is unable to create the FrameHandler (allowing another FrameHandlerFactory to try)