public class HttpRequestFrameReader extends HttpFrameReader
| Constructor and Description |
|---|
HttpRequestFrameReader(ReverseProxyService reverseProxyService,
SocketChannel sourceChannel,
int connectTimeoutMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeChannels() |
SocketChannel |
getDestinationChannel() |
HttpRequestFrame |
getHttpFrame(ReverseProxyService reverseProxyService,
SocketChannel sourceSocketChannel,
HttpProtocolInputStream httpProtocolInputStream,
HttpProtocolOutputStream httpProtocolOutputStream) |
SocketChannel |
getTargetChannel() |
void |
registerDestination(ProxyTarget target,
SocketChannel destinationChannel) |
fail, flushBufferToTarget, processInput, writeToBuffergetSourceChannelpublic HttpRequestFrameReader(ReverseProxyService reverseProxyService, SocketChannel sourceChannel, int connectTimeoutMillis)
public void closeChannels()
public void registerDestination(ProxyTarget target, SocketChannel destinationChannel)
public SocketChannel getTargetChannel()
getTargetChannel in class HttpFrameReaderpublic SocketChannel getDestinationChannel() throws ProtocolException
getDestinationChannel in class HttpFrameReaderProtocolExceptionpublic HttpRequestFrame getHttpFrame(ReverseProxyService reverseProxyService, SocketChannel sourceSocketChannel, HttpProtocolInputStream httpProtocolInputStream, HttpProtocolOutputStream httpProtocolOutputStream) throws IOException, ProtocolException
getHttpFrame in class HttpFrameReaderIOExceptionProtocolExceptionCopyright © 2017. All rights reserved.