public abstract class ProxyEngine
extends java.lang.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(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequestProxyHeaders(Stream stream,
Headers headers) |
protected void |
addResponseProxyHeaders(Stream stream,
Headers headers) |
protected void |
customizeRequestHeaders(Stream stream,
Headers headers) |
protected void |
customizeResponseHeaders(Stream stream,
Headers headers) |
java.lang.String |
getName() |
abstract StreamFrameListener |
proxy(Stream clientStream,
SynInfo clientSynInfo,
ProxyEngineSelector.ProxyServerInfo proxyServerInfo) |
protected final Logger logger
protected ProxyEngine()
protected ProxyEngine(java.lang.String name)
public abstract StreamFrameListener proxy(Stream clientStream, SynInfo clientSynInfo, ProxyEngineSelector.ProxyServerInfo proxyServerInfo)
public java.lang.String getName()
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.