public abstract class ProxyEngine extends Object
ProxyEngine
is the class for SPDY proxy functionalities that receives a SPDY request and converts it to
any protocol to its server side.
This class listens for SPDY events sent by clients; subclasses are responsible for translating these SPDY client events into appropriate events to forward to the server, in the appropriate protocol that is understood by the server.
Modifier | Constructor and Description |
---|---|
protected |
ProxyEngine() |
protected |
ProxyEngine(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRequestProxyHeaders(Stream stream,
Fields headers) |
protected void |
addResponseProxyHeaders(Stream stream,
Fields headers) |
protected void |
customizeRequestHeaders(Stream stream,
Fields headers) |
protected void |
customizeResponseHeaders(Stream stream,
Fields headers) |
String |
getName() |
abstract StreamFrameListener |
proxy(Stream clientStream,
SynInfo clientSynInfo,
ProxyEngineSelector.ProxyServerInfo proxyServerInfo) |
protected void |
removeHopHeaders(Fields headers) |
protected ProxyEngine()
protected ProxyEngine(String name)
public abstract StreamFrameListener proxy(Stream clientStream, SynInfo clientSynInfo, ProxyEngineSelector.ProxyServerInfo proxyServerInfo)
public String getName()
protected void removeHopHeaders(Fields headers)
Copyright © 1995-2015 Webtide. All Rights Reserved.