Class HttpResponseFrameReader
- java.lang.Object
-
- org.smallmind.web.reverse.http1_1.SourceAwareFrameReader
-
- org.smallmind.web.reverse.http1_1.HttpFrameReader
-
- org.smallmind.web.reverse.http1_1.HttpResponseFrameReader
-
- All Implemented Interfaces:
FrameReader
public class HttpResponseFrameReader extends HttpFrameReader
-
-
Constructor Summary
Constructors Constructor Description HttpResponseFrameReader(ReverseProxyService reverseProxyService, SocketChannel sourceChannel, SocketChannel destinationChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseChannels()SocketChannelgetDestinationChannel()HttpFramegetHttpFrame(ReverseProxyService reverseProxyService, SocketChannel sourceSocketChannel, HttpProtocolInputStream httpProtocolInputStream, HttpProtocolOutputStream httpProtocolOutputStream)SocketChannelgetTargetChannel()-
Methods inherited from class org.smallmind.web.reverse.http1_1.HttpFrameReader
fail, flushBufferToTarget, processInput, writeToBuffer
-
Methods inherited from class org.smallmind.web.reverse.http1_1.SourceAwareFrameReader
getSourceChannel
-
-
-
-
Constructor Detail
-
HttpResponseFrameReader
public HttpResponseFrameReader(ReverseProxyService reverseProxyService, SocketChannel sourceChannel, SocketChannel destinationChannel)
-
-
Method Detail
-
closeChannels
public void closeChannels()
-
getTargetChannel
public SocketChannel getTargetChannel()
- Specified by:
getTargetChannelin classHttpFrameReader
-
getDestinationChannel
public SocketChannel getDestinationChannel()
- Specified by:
getDestinationChannelin classHttpFrameReader
-
getHttpFrame
public HttpFrame getHttpFrame(ReverseProxyService reverseProxyService, SocketChannel sourceSocketChannel, HttpProtocolInputStream httpProtocolInputStream, HttpProtocolOutputStream httpProtocolOutputStream) throws IOException, ProtocolException
- Specified by:
getHttpFramein classHttpFrameReader- Throws:
IOExceptionProtocolException
-
-