public class SpdyAddOn extends Object implements org.glassfish.grizzly.http.server.AddOn
TransportFilter <-> SSLFilter(1) <-> SpdyFramingFilter <-> SpdyHandlerFilter(2) <-> HttpServerFilter
HttpServerFilter| Modifier and Type | Class and Description |
|---|---|
protected static class |
SpdyAddOn.ProtocolNegotiator |
| Modifier and Type | Field and Description |
|---|---|
protected SpdyMode |
mode |
protected SpdyVersion[] |
supportedSpdyVersions |
| Constructor and Description |
|---|
SpdyAddOn() |
SpdyAddOn(SpdyMode mode) |
SpdyAddOn(SpdyMode mode,
SpdyVersion... supportedSpdyVersions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureNpn(org.glassfish.grizzly.filterchain.FilterChainBuilder builder) |
protected org.glassfish.grizzly.TransportProbe |
getConfigProbe() |
int |
getInitialWindowSize()
Returns the default initial stream window size (in bytes) for new SPDY sessions.
|
int |
getMaxConcurrentStreams()
Returns the default maximum number of concurrent streams allowed for one session.
|
int |
getMaxFrameLength()
Returns the maximum allowed SPDY frame length.
|
void |
setInitialWindowSize(int initialWindowSize)
Sets the default initial stream window size (in bytes) for new SPDY sessions.
|
void |
setMaxConcurrentStreams(int maxConcurrentStreams)
Sets the default maximum number of concurrent streams allowed for one session.
|
void |
setMaxFrameLength(int maxFrameLength)
Sets the maximum allowed SPDY frame length.
|
void |
setup(org.glassfish.grizzly.http.server.NetworkListener networkListener,
org.glassfish.grizzly.filterchain.FilterChainBuilder builder) |
protected void |
updateFilterChain(SpdyMode mode,
org.glassfish.grizzly.filterchain.FilterChainBuilder builder) |
protected final SpdyMode mode
protected final SpdyVersion[] supportedSpdyVersions
public SpdyAddOn()
public SpdyAddOn(SpdyMode mode)
public SpdyAddOn(SpdyMode mode, SpdyVersion... supportedSpdyVersions)
public void setup(org.glassfish.grizzly.http.server.NetworkListener networkListener,
org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
setup in interface org.glassfish.grizzly.http.server.AddOnpublic int getMaxConcurrentStreams()
public void setMaxConcurrentStreams(int maxConcurrentStreams)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
public int getMaxFrameLength()
public void setMaxFrameLength(int maxFrameLength)
protected org.glassfish.grizzly.TransportProbe getConfigProbe()
protected void configureNpn(org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
protected void updateFilterChain(SpdyMode mode, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
Copyright © 2021 Oracle Corporation. All Rights Reserved.