public static class LoggingFeature.Portable extends Object implements org.apache.cxf.feature.AbstractPortableFeature
| Constructor and Description |
|---|
Portable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinaryContentMediaTypes(String mediaTypes)
Add additional binary media types to the default values for both logging interceptors
Content for these types will not be logged.
|
void |
addInBinaryContentMediaTypes(String mediaTypes)
Add additional binary media types to the default values in the LoggingInInterceptor.
|
void |
addOutBinaryContentMediaTypes(String mediaTypes)
Add additional binary media types to the default values in the LoggingOutInterceptor.
|
void |
doInitializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider,
org.apache.cxf.Bus bus) |
void |
setInMemThreshold(long inMemThreshold) |
void |
setInSender(LogEventSender s) |
void |
setLimit(int limit) |
void |
setLogBinary(boolean logBinary)
Log binary content?
|
void |
setLogMultipart(boolean logMultipart)
Log multipart content?
|
void |
setOutSender(LogEventSender s) |
void |
setPrettyLogging(boolean prettyLogging) |
void |
setSender(LogEventSender sender) |
void |
setVerbose(boolean verbose) |
public void doInitializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider,
org.apache.cxf.Bus bus)
doInitializeProvider in interface org.apache.cxf.feature.AbstractPortableFeaturepublic void setLimit(int limit)
public void setInMemThreshold(long inMemThreshold)
public void setSender(LogEventSender sender)
public void setInSender(LogEventSender s)
public void setOutSender(LogEventSender s)
public void setPrettyLogging(boolean prettyLogging)
public void setLogBinary(boolean logBinary)
logBinary - defaults to falsepublic void setLogMultipart(boolean logMultipart)
logMultipart - defaults to truepublic void setVerbose(boolean verbose)
public void addInBinaryContentMediaTypes(String mediaTypes)
<bean id="loggingFeature" class="org.apache.cxf.ext.logging.LoggingFeature"> <property name="addInBinaryContentMediaTypes" value="audio/mpeg;application/zip"/> </bean>
mediaTypes - list of mediaTypes. symbol ; - delimeterpublic void addOutBinaryContentMediaTypes(String mediaTypes)
<bean id="loggingFeature" class="org.apache.cxf.ext.logging.LoggingFeature"> <property name="addOutBinaryContentMediaTypes" value="audio/mpeg;application/zip"/> </bean>
mediaTypes - list of mediaTypes. symbol ; - delimeterpublic void addBinaryContentMediaTypes(String mediaTypes)
<bean id="loggingFeature" class="org.apache.cxf.ext.logging.LoggingFeature"> <property name="addBinaryContentMediaTypes" value="audio/mpeg;application/zip"/> </bean>
mediaTypes - list of mediaTypes. symbol ; - delimeterApache CXF