org.zalando.logbook.LogbookFactory 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 javax.annotation.Nullable;
import java.util.function.Predicate;
import static java.util.ServiceLoader.load;
import static org.apiguardian.api.API.Status.STABLE;
@API(status = STABLE)
interface LogbookFactory {
LogbookFactory INSTANCE = load(LogbookFactory.class).iterator().next();
Logbook create(
@Nullable final Predicate condition,
@Nullable final QueryFilter queryFilter,
@Nullable final PathFilter pathFilter,
@Nullable final HeaderFilter headerFilter,
@Nullable final BodyFilter bodyFilter,
@Nullable final RequestFilter requestFilter,
@Nullable final ResponseFilter responseFilter,
@Nullable final Strategy strategy,
@Nullable final Sink sink);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy