From 76409e1b274f8b0ed6710e16eac20a2efb200251 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 23 Mar 2021 17:11:07 +1100 Subject: [PATCH] Fix signatures of UniInvoker Fixes #15852 --- .../reactive/client/impl/UniInvoker.java | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/UniInvoker.java b/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/UniInvoker.java index 335231f54d82e..ab96cb7ab9546 100644 --- a/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/UniInvoker.java +++ b/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/UniInvoker.java @@ -3,6 +3,7 @@ import io.smallrye.mutiny.Uni; import javax.ws.rs.client.Entity; import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; public class UniInvoker extends AbstractRxInvoker> { @@ -18,4 +19,123 @@ public Uni method(String name, Entity entity, GenericType responseT return Uni.createFrom().completionStage(invoker.method(name, entity, responseType)); } + @Override + public Uni get() { + return (Uni) super.get(); + } + + @Override + public Uni get(Class responseType) { + return (Uni) super.get(responseType); + } + + @Override + public Uni get(GenericType responseType) { + return (Uni) super.get(responseType); + } + + @Override + public Uni put(Entity entity) { + return (Uni) super.put(entity); + } + + @Override + public Uni put(Entity entity, Class clazz) { + return (Uni) super.put(entity, clazz); + } + + @Override + public Uni put(Entity entity, GenericType type) { + return (Uni) super.put(entity, type); + } + + @Override + public Uni post(Entity entity) { + return (Uni) super.post(entity); + } + + @Override + public Uni post(Entity entity, Class clazz) { + return (Uni) super.post(entity, clazz); + } + + @Override + public Uni post(Entity entity, GenericType type) { + return (Uni) super.post(entity, type); + } + + @Override + public Uni delete() { + return (Uni) super.delete(); + } + + @Override + public Uni delete(Class responseType) { + return (Uni) super.delete(responseType); + } + + @Override + public Uni delete(GenericType responseType) { + return (Uni) super.delete(responseType); + } + + @Override + public Uni head() { + return (Uni) super.head(); + } + + @Override + public Uni options() { + return (Uni) super.options(); + } + + @Override + public Uni options(Class responseType) { + return (Uni) super.options(responseType); + } + + @Override + public Uni options(GenericType responseType) { + return (Uni) super.options(responseType); + } + + @Override + public Uni trace() { + return (Uni) super.trace(); + } + + @Override + public Uni trace(Class responseType) { + return (Uni) super.trace(responseType); + } + + @Override + public Uni trace(GenericType responseType) { + return (Uni) super.trace(responseType); + } + + @Override + public Uni method(String name) { + return (Uni) super.method(name); + } + + @Override + public Uni method(String name, Class responseType) { + return (Uni) super.method(name, responseType); + } + + @Override + public Uni method(String name, GenericType responseType) { + return (Uni) super.method(name, responseType); + } + + @Override + public Uni method(String name, Entity entity) { + return (Uni) super.method(name, entity); + } + + @Override + public Uni method(String name, Entity entity, Class responseType) { + return (Uni) super.method(name, entity, responseType); + } }