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
Constructors Constructor Description LoggingCallback(LogEventSender sender, org.apache.cxf.message.Message msg, OutputStream os, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose(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 Detail
-
LoggingCallback
public LoggingCallback(LogEventSender sender, org.apache.cxf.message.Message msg, OutputStream os, int limit)
-
-
Method Detail
-
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
-
-