Class ServerFrameHandlerFactory
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandlerFactory
org.eclipse.jetty.websocket.server.internal.ServerFrameHandlerFactory
- All Implemented Interfaces:
Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
,FrameHandlerFactory
public class ServerFrameHandlerFactory
extends JettyWebSocketFrameHandlerFactory
implements FrameHandlerFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerFrameHandlerFactory
(WebSocketContainer container, WebSocketComponents components) -
Method Summary
Modifier and TypeMethodDescriptionnewFrameHandler
(Object webSocketEndPoint, ServerUpgradeRequest upgradeRequest, ServerUpgradeResponse upgradeResponse) Create a FrameHandler from the provided websocketPojo.Methods inherited from class org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandlerFactory
createMetadata, dump, getApplicationMethodHandleLookup, getMetadata, getServerMethodHandleLookup, getWebSocketComponents, newJettyFrameHandler
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListeners
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ServerFrameHandlerFactory
-
-
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 interfaceFrameHandlerFactory
- Parameters:
webSocketEndPoint
- the websocket pojo to work withupgradeRequest
- the Upgrade Handshake Request used to create the FrameHandlerupgradeResponse
- 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)
-