import java.lang.reflect.Method;
import org.onap.msb.sdk.httpclient.handler.RetrofitServiceHandler;
-import org.onap.msb.sdk.httpclient.metric.MetricObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private Object[] args;
- private MetricObject metricObject;
-
-
-
public ProxyRetrofitCall(Call targetCall, RetrofitServiceHandler retrofitServiceHandler,
- ServiceHttpEndPointObject endPoint, Object proxy, Method method, Object[] args,
- MetricObject metricObject) {
+ ServiceHttpEndPointObject endPoint, Object proxy, Method method, Object[] args) {
super();
this.targetCall = targetCall;
this.handler = retrofitServiceHandler;
this.proxy = proxy;
this.method = method;
this.args = args;
- this.metricObject = metricObject;
}
@Override
public Call<T> clone() {
// TODO Auto-generated method stub
return new ProxyRetrofitCall(targetCall.clone(), this.handler, this.endPoint, this.proxy,
- this.method, this.args, metricObject);
+ this.method, this.args);
}
@Override