private static class UndertowServerHttpResponse.TransferBodyListener
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
count |
private long |
position |
private <any> |
sink |
private java.nio.channels.FileChannel |
source |
Constructor and Description |
---|
TransferBodyListener(java.nio.channels.FileChannel source,
long position,
long count,
<any> sink) |
Modifier and Type | Method and Description |
---|---|
void |
closeSource() |
void |
transfer(StreamSinkChannel destination) |
private final java.nio.channels.FileChannel source
private final <any> sink
private long position
private long count