@ManagedObject(value="SPDY Server Connection Factory") public class SPDYServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
Constructor and Description |
---|
SPDYServerConnectionFactory(int version) |
SPDYServerConnectionFactory(int version,
ServerSessionFrameListener listener) |
Modifier and Type | Method and Description |
---|---|
static void |
checkNPNAvailable() |
protected void |
doStop()
Stops the managed lifecycle beans in the reverse order they were added.
|
int |
getInitialWindowSize() |
ServerSessionFrameListener |
getServerSessionFrameListener() |
Collection<Session> |
getSessions() |
short |
getVersion() |
boolean |
isExecuteOnFillable() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
protected FlowControlStrategy |
newFlowControlStrategy(short version) |
protected ServerSessionFrameListener |
provideServerSessionFrameListener(Connector connector,
EndPoint endPoint) |
protected boolean |
sessionClosed(Session session) |
protected boolean |
sessionOpened(Session session) |
void |
setExecuteOnFillable(boolean executeOnFillable) |
void |
setInitialWindowSize(int initialWindowSize) |
configure, getFactories, getInputBufferSize, getProtocol, setInputBufferSize, toString
addBean, addBean, addBean, addEventListener, contains, destroy, doStart, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public SPDYServerConnectionFactory(int version)
public SPDYServerConnectionFactory(int version, ServerSessionFrameListener listener)
public static void checkNPNAvailable()
@ManagedAttribute(value="SPDY version") public short getVersion()
public ServerSessionFrameListener getServerSessionFrameListener()
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
protected FlowControlStrategy newFlowControlStrategy(short version)
protected ServerSessionFrameListener provideServerSessionFrameListener(Connector connector, EndPoint endPoint)
@ManagedAttribute(value="Initial Window Size") public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
@ManagedAttribute(value="Execute onFillable") public boolean isExecuteOnFillable()
public void setExecuteOnFillable(boolean executeOnFillable)
protected boolean sessionOpened(Session session)
protected boolean sessionClosed(Session session)
protected void doStop() throws Exception
ContainerLifeCycle
doStop
in class ContainerLifeCycle
Exception
public Collection<Session> getSessions()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.