public class MSF4JTracingInterceptor extends Object implements org.wso2.msf4j.Interceptor
| Constructor and Description |
|---|
MSF4JTracingInterceptor(String microServiceName)
Constructor of the MSF4JTracingInterceptor.
|
MSF4JTracingInterceptor(String microServiceName,
String dasUrl)
Constructor of the MSF4JTracingInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
postCall(org.wso2.msf4j.Request request,
int status,
org.wso2.msf4j.ServiceMethodInfo serviceMethodInfo)
Intercepts the server response flow and extract response information
to be published to the DAS for tracing.
|
boolean |
preCall(org.wso2.msf4j.Request request,
org.wso2.msf4j.Response responder,
org.wso2.msf4j.ServiceMethodInfo serviceMethodInfo)
Intercepts the server request flow and extract request information
to be published to the DAS for tracing.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MSF4JTracingInterceptor(String microServiceName)
microServiceName - Name of the Microservicepublic boolean preCall(org.wso2.msf4j.Request request,
org.wso2.msf4j.Response responder,
org.wso2.msf4j.ServiceMethodInfo serviceMethodInfo)
throws Exception
preCall in interface org.wso2.msf4j.InterceptorExceptionpublic void postCall(org.wso2.msf4j.Request request,
int status,
org.wso2.msf4j.ServiceMethodInfo serviceMethodInfo)
throws Exception
postCall in interface org.wso2.msf4j.InterceptorExceptionCopyright © 2017 WSO2. All rights reserved.