public abstract class AbstractLoggingInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONTENT_SUPPRESSED |
static int |
DEFAULT_LIMIT |
protected int |
limit |
protected boolean |
logBinary |
protected boolean |
logMultipart |
protected LogEventSender |
sender |
protected long |
threshold |
| Constructor and Description |
|---|
AbstractLoggingInterceptor(String phase,
LogEventSender sender) |
| Modifier and Type | Method and Description |
|---|---|
void |
createExchangeId(org.apache.cxf.message.Message message) |
long |
getInMemThreshold() |
int |
getLimit() |
protected static boolean |
isLoggingDisabledNow(org.apache.cxf.message.Message message) |
void |
setInMemThreshold(long t) |
void |
setLimit(int lim) |
void |
setLogBinary(boolean logBinary) |
void |
setLogMultipart(boolean logMultipart) |
void |
setPrettyLogging(boolean prettyLogging) |
protected boolean |
shouldLogContent(LogEvent event) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforepublic static final int DEFAULT_LIMIT
protected static final String CONTENT_SUPPRESSED
protected int limit
protected long threshold
protected boolean logBinary
protected boolean logMultipart
protected LogEventSender sender
public AbstractLoggingInterceptor(String phase, LogEventSender sender)
protected static boolean isLoggingDisabledNow(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultpublic void setLimit(int lim)
public int getLimit()
public void setInMemThreshold(long t)
public long getInMemThreshold()
public void setPrettyLogging(boolean prettyLogging)
protected boolean shouldLogContent(LogEvent event)
public void setLogBinary(boolean logBinary)
public void setLogMultipart(boolean logMultipart)
public void createExchangeId(org.apache.cxf.message.Message message)
Apache CXF