-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WebClient] ResponsePredicate create type no found #186
Comments
@pcariel good catch This is due to a limitation in ResponsePredicate predicate = ResponsePredicate.create(response -> {
return ResponsePredicateResult.newInstance(ResponsePredicate.JSON.getDelegate().apply(response.getDelegate()));
}, ErrorConverter.createFullBody(result -> {
HttpResponse<Buffer> response = result.response();
if (response.getHeader("content-type").equals("application/json")) ;
return new Exception();
})); |
@vietj similar to eclipse-vertx/vertx-codegen#252 in fact. We need to support |
I think that might go beyond what we want to do. |
Why? How is it different from checking if an API object implements Iterator or Iterable? If we don't do this, what do you suggest to solve this issue? |
yes I see what you mean better, so in practice |
Exactly |
Fixes vert-x3#186 Follows-up on eclipse-vertx/vertx-codegen#252
Fixes #186 Follows-up on eclipse-vertx/vertx-codegen#252
Fixes #186 Follows-up on eclipse-vertx/vertx-codegen#252
Wrong 1st argument type. Found: 'io.vertx.reactivex.ext.web.client.predicate.ResponsePredicate', required: 'java.util.function.Function<io.vertx.reactivex.ext.web.client.HttpResponse<java.lang.Void>,io.vertx.reactivex.ext.web.client.predicate.ResponsePredicateResult>'
Hello everyone, I need your help.
Excuse me for my bad English
The text was updated successfully, but these errors were encountered: