public class SPDYClient extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SPDYClient.Factory |
Modifier | Constructor and Description |
---|---|
protected |
SPDYClient(short version,
SPDYClient.Factory factory) |
Modifier and Type | Method and Description |
---|---|
Future<Session> |
connect(InetSocketAddress address,
SessionFrameListener listener) |
SocketAddress |
getBindAddress() |
SPDYClientConnectionFactory |
getConnectionFactory() |
long |
getIdleTimeout() |
int |
getInitialWindowSize() |
protected FlowControlStrategy |
newFlowControlStrategy() |
protected SSLEngine |
newSSLEngine(SslContextFactory sslContextFactory,
SocketChannel channel) |
protected String |
selectProtocol(List<String> serverProtocols) |
void |
setBindAddress(SocketAddress bindAddress) |
void |
setIdleTimeout(long idleTimeout) |
void |
setInitialWindowSize(int initialWindowSize) |
protected SPDYClient(short version, SPDYClient.Factory factory)
public SocketAddress getBindAddress()
setBindAddress(SocketAddress)
public void setBindAddress(SocketAddress bindAddress)
bindAddress
- the address to bind the socket channel togetBindAddress()
public Future<Session> connect(InetSocketAddress address, SessionFrameListener listener) throws IOException
IOException
public long getIdleTimeout()
public void setIdleTimeout(long idleTimeout)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
public SPDYClientConnectionFactory getConnectionFactory()
protected SSLEngine newSSLEngine(SslContextFactory sslContextFactory, SocketChannel channel)
protected FlowControlStrategy newFlowControlStrategy()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.