org.zalando.logbook.HttpLogWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logbook-api Show documentation
Show all versions of logbook-api Show documentation
HTTP request and response logging
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