public abstract class AbstractLoggingInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_SUPPRESSED |
static int |
DEFAULT_LIMIT |
static int |
DEFAULT_THRESHOLD |
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(Message message) |
long |
getInMemThreshold() |
int |
getLimit() |
protected static boolean |
isLoggingDisabledNow(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, setBefore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMessage
public static final int DEFAULT_LIMIT
public static final int DEFAULT_THRESHOLD
public 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(Message message) throws Fault
Fault
public 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(Message message)
Apache CXF