public class TraceLogger extends Object implements Closeable, javax.servlet.AsyncListener
| Constructor and Description |
|---|
TraceLogger(com.cisco.oss.foundation.flowcontext.FlowContext flowContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
log(String format,
Object... args) |
void |
log(Throwable t) |
void |
logRequestContentByte(byte b) |
void |
logRequestContentChar(char ret) |
void |
logRequestContentClose() |
void |
logRequestHeaders(javax.servlet.http.HttpServletRequest httpReq) |
void |
logResponseContentByte(int b) |
void |
logResponseContentChar(char c) |
void |
logResponseContentChar(char[] cbuf,
int off,
int len) |
void |
logResponseContentChar(int c) |
void |
logResponseContentChar(String s,
int off,
int len) |
void |
logResponseContentClose() |
void |
logResponseContentReset() |
void |
logResponseError(int sc,
String msg) |
void |
logResponseFlush() |
void |
logResponseRedirect(String location) |
void |
logResponseReset() |
void |
onComplete(javax.servlet.AsyncEvent event) |
void |
onError(javax.servlet.AsyncEvent event) |
void |
onStartAsync(javax.servlet.AsyncEvent event) |
void |
onTimeout(javax.servlet.AsyncEvent event) |
void |
setResponse(javax.servlet.http.HttpServletResponse response) |
public TraceLogger(com.cisco.oss.foundation.flowcontext.FlowContext flowContext)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic void log(Throwable t)
public void logRequestContentByte(byte b)
public void logRequestContentChar(char ret)
public void logRequestContentClose()
public void logRequestHeaders(javax.servlet.http.HttpServletRequest httpReq)
public void logResponseContentByte(int b)
public void logResponseContentChar(char c)
public void logResponseContentChar(char[] cbuf,
int off,
int len)
public void logResponseContentChar(int c)
public void logResponseContentChar(String s, int off, int len)
public void logResponseContentClose()
public void logResponseContentReset()
public void logResponseError(int sc,
String msg)
public void logResponseFlush()
public void logResponseRedirect(String location)
public void logResponseReset()
public void onComplete(javax.servlet.AsyncEvent event)
throws IOException
onComplete in interface javax.servlet.AsyncListenerIOExceptionpublic void onError(javax.servlet.AsyncEvent event)
throws IOException
onError in interface javax.servlet.AsyncListenerIOExceptionpublic void onStartAsync(javax.servlet.AsyncEvent event)
throws IOException
onStartAsync in interface javax.servlet.AsyncListenerIOExceptionpublic void onTimeout(javax.servlet.AsyncEvent event)
throws IOException
onTimeout in interface javax.servlet.AsyncListenerIOExceptionpublic void setResponse(javax.servlet.http.HttpServletResponse response)
Copyright © 2016 Cisco. All rights reserved.