All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sstoehr.harreader.model.Har Maven / Gradle / Ivy

The newest version!
package de.sstoehr.harreader.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Main HTTP Archive Class.
 * @see specification
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder(toBuilder = true)
public record Har(@Nonnull HarLog log) {

    public Har(@Nullable HarLog log) {
        this.log = (log == null) ? new HarLog() : log;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy