public static class LoggingFeature.Portable extends Object implements 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(InterceptorProvider provider,
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActive, initialize, initialize, initialize, initialize
public void doInitializeProvider(InterceptorProvider provider, Bus bus)
doInitializeProvider
in interface AbstractPortableFeature
public 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 ; - delimeterCopyright © 2021 JBoss by Red Hat. All rights reserved.