public class ProxyHttpRequestEncoder
extends org.jboss.netty.handler.codec.http.HttpRequestEncoder
Constructor and Description |
---|
ProxyHttpRequestEncoder(HttpRelayingHandler handler)
Creates a new request encoder.
|
ProxyHttpRequestEncoder(HttpRelayingHandler handler,
HttpRequestFilter requestFilter,
boolean keepProxyFormat)
Creates a new request encoder.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg) |
encodeInitialLine
public ProxyHttpRequestEncoder(HttpRelayingHandler handler)
handler
- The class that handles relaying all data along this
connection. We need this to synchronize caching rules for each request
and response pair.public ProxyHttpRequestEncoder(HttpRelayingHandler handler, HttpRequestFilter requestFilter, boolean keepProxyFormat)
handler
- The class that handles relaying all data along this
connection. We need this to synchronize caching rules for each request
and response pair.requestFilter
- The filter for requests.keepProxyFormat
- keep proxy-formatted URI (used in chaining)Copyright © 2009–2015 LittleShoot. All rights reserved.