Package org.glassfish.jersey.logging
Class LoggingInterceptor.LoggingStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.glassfish.jersey.logging.LoggingInterceptor.LoggingStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- LoggingInterceptor
class LoggingInterceptor.LoggingStream extends java.io.FilterOutputStream
Helper class used to log an entity to the output stream up to the specified maximum number of bytes.
-
-
Constructor Summary
Constructors Constructor Description LoggingStream(java.lang.StringBuilder b, java.io.OutputStream inner)
CreatesLoggingStream
with the entity and the underlying output stream as parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.StringBuilder
getStringBuilder(java.nio.charset.Charset charset)
void
write(int i)
-