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) |
AsyncConnectionFactory |
getAsyncConnectionFactory(String protocol) |
SocketAddress |
getBindAddress() |
int |
getInitialWindowSize() |
long |
getMaxIdleTime() |
protected FlowControlStrategy |
newFlowControlStrategy() |
protected SSLEngine |
newSSLEngine(SslContextFactory sslContextFactory,
SocketChannel channel) |
void |
putAsyncConnectionFactory(String protocol,
AsyncConnectionFactory factory) |
AsyncConnectionFactory |
removeAsyncConnectionFactory(String protocol) |
protected String |
selectProtocol(List<String> serverProtocols) |
void |
setBindAddress(SocketAddress bindAddress) |
void |
setInitialWindowSize(int initialWindowSize) |
void |
setMaxIdleTime(long maxIdleTime) |
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 getMaxIdleTime()
public void setMaxIdleTime(long maxIdleTime)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
public AsyncConnectionFactory getAsyncConnectionFactory(String protocol)
public void putAsyncConnectionFactory(String protocol, AsyncConnectionFactory factory)
public AsyncConnectionFactory removeAsyncConnectionFactory(String protocol)
protected SSLEngine newSSLEngine(SslContextFactory sslContextFactory, SocketChannel channel)
protected FlowControlStrategy newFlowControlStrategy()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.