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

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

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

import java.util.Arrays;
import java.util.List;
import java.util.function.BiPredicate;

interface DeleteHttpHeaders extends HttpHeaders {

    @Override
    default HttpHeaders delete(final String... names) {
        return delete(Arrays.asList(names));
    }

    @Override
    default HttpHeaders delete(
            final BiPredicate> predicate) {
        return apply(predicate, (name, previous) -> null);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy