private static OptionalInt optionalInt(int value) {
        if (value == -1) return OptionalInt.empty();
        return OptionalInt.of(value);
    }
A immutable request log entry

@author bjorncs
container-core/src/main/java/com/yahoo/container/logging/RequestLogEntry.java