public class TransactionLoggingInterceptor extends Interceptor
Manageable.StateBOOTSTRAPPED, BOOTSTRAPPING, DEINITIALIZING, INITIALIZING, UNUSABLE, USABLE| Constructor and Description |
|---|
TransactionLoggingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
FunctionResult |
afterFunctionCall(FunctionRequest functionRequest,
FunctionResult xinsResult,
HttpServletResponse httpResponse) |
HttpServletRequest |
beginRequest(HttpServletRequest request) |
protected void |
logTransaction(FunctionRequest request,
FunctionResult result)
Logs the specified transaction.
|
afterCallingConvention, beforeCallingConvention, beforeFunctionCall, endRequest, getApiassertUsable, bootstrap, bootstrapImpl, deinit, deinitImpl, getState, init, initImpl, isBootstrapped, isUsablepublic HttpServletRequest beginRequest(HttpServletRequest request)
beginRequest in class Interceptorpublic FunctionResult afterFunctionCall(FunctionRequest functionRequest, FunctionResult xinsResult, HttpServletResponse httpResponse)
afterFunctionCall in class Interceptorprotected void logTransaction(FunctionRequest request, FunctionResult result) throws NullPointerException
request - the FunctionRequest, should not be null.result - the FunctionResult, should not be null.NullPointerException - if request == null || result == null.See http://www.xins.org/.