public static Condition withPostBodyContaining(final String str) {
        return new Condition(input -> input.getPostBody() != null && input.getPostBody().contains(str));
    }
public static Condition withPostBodyContaining ( final String str ) { return new Condition ( input -> input . getPostBody ( ) != null && input . getPostBody ( ) . contains ( str ) ) ; }
With POST body containing string