Package org.zalando.logbook.core
Class Conditions
java.lang.Object
org.zalando.logbook.core.Conditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends HttpMessage>
Predicate<T> contentType(String contentType, String... contentTypes) static <T extends HttpMessage>
Predicate<T> exclude(Collection<Predicate<T>> predicates) static <T extends HttpMessage>
Predicate<T> static <T extends HttpMessage>
Predicate<T> static <T extends HttpMessage>
Predicate<T> static <T extends HttpMessage>
Predicate<T> static <T extends HttpMessage>
Predicate<T> header(BiPredicate<String, String> predicate) static <T extends HttpRequest>
Predicate<T> static <T extends HttpRequest>
Predicate<T> requestWithMethod(String httpMethod) static <T extends HttpMessage>
Predicate<T> static <T extends HttpMessage>
Predicate<T> withoutHeader(String key)
-
Method Details
-
exclude
-
exclude
-
exclude
-
requestTo
-
requestWithMethod
-
contentType
public static <T extends HttpMessage> Predicate<T> contentType(String contentType, String... contentTypes) -
withoutContentType
-
header
-
header
-
header
-
withoutHeader
-