de.sstoehr.harreader.model.Har Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of har-reader Show documentation
Show all versions of har-reader Show documentation
A library to access HTTP archive format with Java
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