@ManagedObject(value="SPDY Server Connection Factory") public class SPDYServerConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.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, toStringaddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic 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)
ConnectionFactoryCreates a new Connection with the given parameters
connector - The Connector creating this connectionendPoint - the EndPoint associated with the connectionConnectionprotected 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
ContainerLifeCycledoStop in class ContainerLifeCycleExceptionpublic Collection<Session> getSessions()
protected void dumpThis(Appendable out) throws IOException
dumpThis in class ContainerLifeCycleIOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.