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

io.javalin.http.RequestLogger Maven / Gradle / Ivy

The newest version!
/*
 * Javalin - https://javalin.io
 * Copyright 2017 David Åse
 * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
 */

package io.javalin.http;

import org.jetbrains.annotations.NotNull;

/**
 * Interface for logging requests.
 *
 * @see Context
 * @see RequestLogger in documentation
 */
@FunctionalInterface
public interface RequestLogger {
    void handle(@NotNull Context ctx, @NotNull Float executionTimeMs) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy