Package org.apache.cxf.ext.logging
Class LoggingOutInterceptor.LoggingCallback
- java.lang.Object
-
- org.apache.cxf.ext.logging.LoggingOutInterceptor.LoggingCallback
-
- All Implemented Interfaces:
CachedOutputStreamCallback
- Enclosing class:
- LoggingOutInterceptor
public class LoggingOutInterceptor.LoggingCallback extends Object implements CachedOutputStreamCallback
-
-
Constructor Summary
Constructors Constructor Description LoggingCallback(LogEventSender sender, Message msg, OutputStream os, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose(CachedOutputStream cos)voidonFlush(CachedOutputStream cos)protected voidwritePayload(StringBuilder builder, CachedOutputStream cos, String encoding, String contentType)
-
-
-
Constructor Detail
-
LoggingCallback
public LoggingCallback(LogEventSender sender, Message msg, OutputStream os, int limit)
-
-
Method Detail
-
onFlush
public void onFlush(CachedOutputStream cos)
- Specified by:
onFlushin interfaceCachedOutputStreamCallback
-
onClose
public void onClose(CachedOutputStream cos)
- Specified by:
onClosein interfaceCachedOutputStreamCallback
-
writePayload
protected void writePayload(StringBuilder builder, CachedOutputStream cos, String encoding, String contentType) throws Exception
- Throws:
Exception
-
-