@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()
Deprecated.
use
checkProtocolNegotiationAvailable() instead. |
static void |
checkProtocolNegotiationAvailable() |
protected void |
doStop()
Stops the managed lifecycle beans in the reverse order they were added.
|
protected void |
dumpThis(Appendable out) |
int |
getInitialWindowSize() |
ServerSessionFrameListener |
getServerSessionFrameListener() |
Collection<Session> |
getSessions() |
short |
getVersion() |
boolean |
isDispatchIO() |
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 |
setDispatchIO(boolean dispatchIO) |
void |
setInitialWindowSize(int initialWindowSize) |
configure, getFactories, getInputBufferSize, getProtocol, setInputBufferSize, toString
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, 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)
@Deprecated public static void checkNPNAvailable()
checkProtocolNegotiationAvailable()
instead.public static void checkProtocolNegotiationAvailable()
@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="Dispatch I/O to a pooled thread") public boolean isDispatchIO()
public void setDispatchIO(boolean dispatchIO)
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()
protected void dumpThis(Appendable out) throws IOException
dumpThis
in class ContainerLifeCycle
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.