com.raynigon.ecs.logging.access.event.EcsAccessEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ecs-logging-access Show documentation
Show all versions of ecs-logging-access Show documentation
The ecs-logging-access is a part of the unit-api
The newest version!
package com.raynigon.ecs.logging.access.event;
import ch.qos.logback.access.common.spi.AccessEvent;
import ch.qos.logback.access.common.spi.ServerAdapter;
import com.raynigon.ecs.logging.access.context.IAccessLogContext;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import lombok.Getter;
import java.time.Duration;
@Getter
public class EcsAccessEvent extends AccessEvent {
private final IAccessLogContext context;
private final Duration duration;
public EcsAccessEvent(
HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
ServerAdapter adapter,
IAccessLogContext context,
Duration duration
) {
super(context, httpRequest, httpResponse, adapter);
this.context = context;
this.duration = duration;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy