public interface TrafficLogger
| Modifier and Type | Interface and Description |
|---|---|
static class |
TrafficLogger.Position
Enum value of traffic positions.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
API_ID |
static String |
ERROR_CATEGORY |
static String |
ERROR_CATEGORY_ACTION |
static String |
ERROR_CATEGORY_PEER |
static String |
ERROR_CATEGORY_SERVICE |
static String |
GEGERAL_STAUS |
static String |
GENERAL_STATUS_ERROR |
static String |
GENERAL_STATUS_REJECT |
static String |
GENERAL_STATUS_SUCCESS |
static String |
HTTP_METHOD |
static String |
HTTP_STATUS |
static String |
PATH_INFO |
static String |
REQ_BODY_SZ |
static String |
REQUEST_POLICY |
static String |
REQUEST_URL |
static String |
RESPONSE_POLICY |
static String |
RSP_BODY_SZ |
static String |
SERVICE_URI |
static String |
STATE |
static String |
TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTraceActionEnabled()
If traffic tracing on Actions should be performed.
|
boolean |
isTraceEnabled()
If traffic tracing should be performed.
|
boolean |
isTraceGetMethodEnabled()
If traffic tracing on Methods that get information should be performed.
|
boolean |
isTraceSetMethodEnabled()
If traffic tracing on Methods that set information should be performed.
|
void |
trace(String sessionId,
String from,
String to,
HttpMessage httpMessage,
Map<String,String> properties)
Trace traffic that happens in DAF.
|
void |
traceAction(String sessionId,
String from,
String to,
String methodInvocation)
The Action interaction that should be logged.
|
void |
traceException(String sessionId,
String from,
String to,
Exception exception,
Map<String,String> properties)
Exception which should be traced.
|
void |
traceMethod(String sessionId,
String from,
String to,
String methodInvocation)
Method invocation that should be traced.
|
void |
tracePolicy(String key,
String value)
Trace policy, API for Glacier.
|
void |
traceWithRequestContext(String sessionId,
String from,
String to,
HttpMessage httpMessage,
Map<String,String> properties,
com.bea.wlcp.wlng.api.plugin.context.RequestContext reqCtx)
Method invocation that should be traced using given RequestContext.
|
static final String STATE
static final String HTTP_METHOD
static final String REQUEST_URL
static final String PATH_INFO
static final String SERVICE_URI
static final String HTTP_STATUS
static final String API_ID
static final String REQ_BODY_SZ
static final String RSP_BODY_SZ
static final String REQUEST_POLICY
static final String RESPONSE_POLICY
static final String GEGERAL_STAUS
static final String ERROR_CATEGORY
static final String GENERAL_STATUS_SUCCESS
static final String GENERAL_STATUS_REJECT
static final String GENERAL_STATUS_ERROR
static final String ERROR_CATEGORY_ACTION
static final String ERROR_CATEGORY_SERVICE
static final String ERROR_CATEGORY_PEER
static final String TIMESTAMP
boolean isTraceEnabled()
boolean isTraceActionEnabled()
boolean isTraceSetMethodEnabled()
boolean isTraceGetMethodEnabled()
void trace(String sessionId, String from, String to, HttpMessage httpMessage, Map<String,String> properties)
sessionId - unique session Idfrom - from identity - could be application addressto - to identity - could be server addresshttpMessage - the messageproperties - other attributesvoid traceAction(String sessionId, String from, String to, String methodInvocation)
sessionId - sessionIdfrom - fromto - tomethodInvocation - method invocationvoid traceMethod(String sessionId, String from, String to, String methodInvocation)
sessionId - sessionIdfrom - from entityto - to entitymethodInvocation - the method invocationvoid traceException(String sessionId, String from, String to, Exception exception, Map<String,String> properties)
sessionId - sessionIdfrom - from entityto - to entityexception - exceptionproperties - other informationvoid tracePolicy(String key, String value)
key - key, like "RequestPlociy1".value - value, policy execution result.void traceWithRequestContext(String sessionId, String from, String to, HttpMessage httpMessage, Map<String,String> properties, com.bea.wlcp.wlng.api.plugin.context.RequestContext reqCtx)
sessionId - sessionIdfrom - from entityto - to entityhttpMessage - the messageproperties - other attributesreqCtx - the request context