Bytes written to socket - i.e. after compression, chunking, etc. @param flush Should any remaining bytes be flushed before returning the total? If false bytes remaining in the buffer will not be included in the returned value @return The total number of bytes written to th
(boolean flush)
| 846 | * @return The total number of bytes written to the socket for this response |
| 847 | */ |
| 848 | public long getBytesWritten(boolean flush) { |
| 849 | if (flush) { |
| 850 | action(ActionCode.CLIENT_FLUSH, this); |
| 851 | } |
| 852 | return outputBuffer.getBytesWritten(); |
| 853 | } |
| 854 | |
| 855 | /* |
| 856 | * State for non-blocking output is maintained here as it is the one point easily reachable from the |
nothing calls this directly
no test coverage detected