private boolean needGetStatusCode() {
        if (isHasCallbackParam) {
            return false;
        }

        final Trace trace = traceContext.currentTraceObject();
        if (trace == null) {
            return false;
        }

        // TODO fix me.
//        if (trace.getServiceType() != ServiceType.ASYNC_HTTP_CLIENT.getCode()) {
//            return false;
//        }

        final InterceptorScopeInvocation transaction = interceptorScope.getCurrentInvocation();
        final Object attachment = getAttachment(transaction);
        if (attachment instanceof HttpCallContext) {
            return false;
        }

        return true;
    }
Trace status code.

@author minwoo.jung
@author jaehong.kim
agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpClientExecuteMethodInternalInterceptor.java