I am writing a Logging Interceptor to log response body for a Jersey Http Client. I have access to an object of type https://github.com/jersey/jersey/blob/master/core-common/src/main/java/org/glassfish/jersey/message/internal/CommittingOutputStream.java
But I don't see any toByteArray()
kind of method to read the stream like in a ByteArrayOutputStream.