org.zalando.logbook.attributes.AttributeExtractor Maven / Gradle / Ivy
package org.zalando.logbook.attributes;
import org.apiguardian.api.API;
import org.zalando.logbook.HttpRequest;
import org.zalando.logbook.HttpResponse;
import javax.annotation.Nonnull;
import static org.apiguardian.api.API.Status.EXPERIMENTAL;
@API(status = EXPERIMENTAL)
public interface AttributeExtractor {
@Nonnull
default HttpAttributes extract(final HttpRequest request) {
return HttpAttributes.EMPTY;
}
@Nonnull
default HttpAttributes extract(final HttpRequest request, final HttpResponse response) {
return HttpAttributes.EMPTY;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy