public class SpdyAddOn extends Object implements AddOn
TransportFilter <-> SSLFilter(1) <-> SpdyFramingFilter <-> SpdyHandlerFilter(2) <-> HttpServerFilter
HttpServerFilter| Modifier and Type | Class and Description |
|---|---|
protected static class |
SpdyAddOn.ProtocolNegotiator |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureNpn(FilterChainBuilder builder) |
protected 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(NetworkListener networkListener,
FilterChainBuilder builder) |
protected void |
updateFilterChain(SpdyMode mode,
FilterChainBuilder builder) |
public SpdyAddOn()
public SpdyAddOn(SpdyMode mode)
public void setup(NetworkListener networkListener, FilterChainBuilder builder)
public int getMaxConcurrentStreams()
public void setMaxConcurrentStreams(int maxConcurrentStreams)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
public int getMaxFrameLength()
public void setMaxFrameLength(int maxFrameLength)
protected TransportProbe getConfigProbe()
protected void configureNpn(FilterChainBuilder builder)
protected void updateFilterChain(SpdyMode mode, FilterChainBuilder builder)
Copyright © 2013 Oracle Corporation. All Rights Reserved.