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

org.zalando.logbook.HttpLogWriter Maven / Gradle / Ivy

There is a newer version: 3.10.0
Show newest version
package org.zalando.logbook;

import org.apiguardian.api.API;

import java.io.IOException;

import static org.apiguardian.api.API.Status.STABLE;

@API(status = STABLE)
public interface HttpLogWriter {

    default boolean isActive() {
        return true;
    }

    void write(Precorrelation precorrelation, String request) throws IOException;
    void write(Correlation correlation, String response) throws IOException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy