public void setFailureCode(int failureCode) {
        this.failureCode = failureCode;
    }
@param failureCode the failureCode to set
gateway/engine/core/src/main/java/io/apiman/gateway/engine/metrics/RequestMetric.java