public class SPDYProxyEngine extends ProxyEngine implements StreamFrameListener
SPDYProxyEngine implements a SPDY to SPDY proxy, that is, converts SPDY events received by
clients into SPDY events for the servers.
StreamFrameListener.Adapterlogger| Constructor and Description |
|---|
SPDYProxyEngine(SPDYClient.Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
long |
getConnectTimeout() |
long |
getTimeout() |
void |
onData(Stream clientStream,
DataInfo clientDataInfo) |
void |
onHeaders(Stream stream,
HeadersInfo headersInfo) |
void |
onReply(Stream stream,
ReplyInfo replyInfo) |
StreamFrameListener |
proxy(Stream clientStream,
SynInfo clientSynInfo,
ProxyEngineSelector.ProxyServerInfo proxyServerInfo) |
void |
setConnectTimeout(long connectTimeout) |
void |
setTimeout(long timeout) |
addRequestProxyHeaders, addResponseProxyHeaders, customizeRequestHeaders, customizeResponseHeaders, getNamepublic SPDYProxyEngine(SPDYClient.Factory factory)
public long getConnectTimeout()
public void setConnectTimeout(long connectTimeout)
public long getTimeout()
public void setTimeout(long timeout)
public StreamFrameListener proxy(Stream clientStream, SynInfo clientSynInfo, ProxyEngineSelector.ProxyServerInfo proxyServerInfo)
proxy in class ProxyEnginepublic void onReply(Stream stream, ReplyInfo replyInfo)
onReply in interface StreamFrameListenerpublic void onHeaders(Stream stream, HeadersInfo headersInfo)
onHeaders in interface StreamFrameListenerpublic void onData(Stream clientStream, DataInfo clientDataInfo)
onData in interface StreamFrameListenerCopyright © 2013 FuseSource, Corp.. All Rights Reserved.