@Deprecated public abstract class AbstractLoggingInterceptor extends AbstractPhaseInterceptor<Message>
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BINARY_CONTENT_MESSAGE
Deprecated.
|
static int |
DEFAULT_LIMIT
Deprecated.
|
protected int |
limit
Deprecated.
|
protected static java.lang.String |
MULTIPART_CONTENT_MESSAGE
Deprecated.
|
protected boolean |
prettyLogging
Deprecated.
|
protected long |
threshold
Deprecated.
|
protected java.io.PrintWriter |
writer
Deprecated.
|
| Constructor and Description |
|---|
AbstractLoggingInterceptor(java.lang.String phase)
Deprecated.
|
AbstractLoggingInterceptor(java.lang.String id,
java.lang.String phase)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getBinaryContentMediaTypes()
Deprecated.
|
long |
getInMemThreshold()
Deprecated.
|
int |
getLimit()
Deprecated.
|
protected abstract java.util.logging.Logger |
getLogger()
Deprecated.
|
java.io.PrintWriter |
getPrintWriter()
Deprecated.
|
protected boolean |
isBinaryContent(java.lang.String contentType)
Deprecated.
|
protected static boolean |
isLoggingDisabledNow(Message message)
Deprecated.
|
protected boolean |
isMultipartContent(java.lang.String contentType)
Deprecated.
|
boolean |
isPrettyLogging()
Deprecated.
|
boolean |
isShowBinaryContent()
Deprecated.
|
boolean |
isShowMultipartContent()
Deprecated.
|
protected void |
log(java.util.logging.Logger logger,
java.lang.String message)
Deprecated.
|
void |
setBinaryContentMediaTypes(java.util.List<java.lang.String> binaryContentMediaTypes)
Deprecated.
|
void |
setInMemThreshold(long t)
Deprecated.
|
void |
setLimit(int lim)
Deprecated.
|
void |
setOutputLocation(java.lang.String s)
Deprecated.
|
void |
setPrettyLogging(boolean flag)
Deprecated.
|
void |
setPrintWriter(java.io.PrintWriter w)
Deprecated.
|
void |
setShowBinaryContent(boolean showBinaryContent)
Deprecated.
|
void |
setShowMultipartContent(boolean showMultipartContent)
Deprecated.
|
protected java.lang.String |
transform(java.lang.String originalLogString)
Deprecated.
Transform the string before display.
|
protected void |
writePayload(java.lang.StringBuilder builder,
CachedOutputStream cos,
java.lang.String encoding,
java.lang.String contentType,
boolean truncated)
Deprecated.
|
protected void |
writePayload(java.lang.StringBuilder builder,
java.io.StringWriter stringWriter,
java.lang.String contentType)
Deprecated.
|
protected void |
writePrettyPayload(java.lang.StringBuilder builder,
java.io.StringWriter stringWriter,
java.lang.String contentType)
Deprecated.
|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleMessagepublic static final int DEFAULT_LIMIT
protected static final java.lang.String BINARY_CONTENT_MESSAGE
protected static final java.lang.String MULTIPART_CONTENT_MESSAGE
protected int limit
protected long threshold
protected java.io.PrintWriter writer
protected boolean prettyLogging
public AbstractLoggingInterceptor(java.lang.String phase)
public AbstractLoggingInterceptor(java.lang.String id,
java.lang.String phase)
protected static boolean isLoggingDisabledNow(Message message) throws Fault
Faultprotected abstract java.util.logging.Logger getLogger()
public void setOutputLocation(java.lang.String s)
public void setPrintWriter(java.io.PrintWriter w)
public java.io.PrintWriter getPrintWriter()
public void setLimit(int lim)
public int getLimit()
public void setPrettyLogging(boolean flag)
public boolean isPrettyLogging()
public void setInMemThreshold(long t)
public long getInMemThreshold()
protected void writePayload(java.lang.StringBuilder builder,
CachedOutputStream cos,
java.lang.String encoding,
java.lang.String contentType,
boolean truncated)
throws java.lang.Exception
java.lang.Exceptionprotected void writePayload(java.lang.StringBuilder builder,
java.io.StringWriter stringWriter,
java.lang.String contentType)
throws java.lang.Exception
java.lang.Exceptionprotected void writePrettyPayload(java.lang.StringBuilder builder,
java.io.StringWriter stringWriter,
java.lang.String contentType)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String transform(java.lang.String originalLogString)
originalLogString - the raw log message.protected void log(java.util.logging.Logger logger,
java.lang.String message)
public void setShowBinaryContent(boolean showBinaryContent)
public boolean isShowBinaryContent()
protected boolean isBinaryContent(java.lang.String contentType)
public boolean isShowMultipartContent()
public void setShowMultipartContent(boolean showMultipartContent)
protected boolean isMultipartContent(java.lang.String contentType)
public java.util.List<java.lang.String> getBinaryContentMediaTypes()
public void setBinaryContentMediaTypes(java.util.List<java.lang.String> binaryContentMediaTypes)