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