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