Skip to content

Commit

Permalink
GrpcServerResponse does not redeclare the @fluent return type of meth…
Browse files Browse the repository at this point in the history
…od format

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
  • Loading branch information
tsegismont committed Dec 20, 2024
1 parent eab75ae commit ef591da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.vertx.core.streams.ReadStream;
import io.vertx.grpc.common.GrpcStatus;
import io.vertx.grpc.common.GrpcWriteStream;
import io.vertx.grpc.common.WireFormat;

@VertxGen
public interface GrpcServerResponse<Req, Resp> extends GrpcWriteStream<Resp> {
Expand All @@ -44,6 +45,9 @@ public interface GrpcServerResponse<Req, Resp> extends GrpcWriteStream<Resp> {
@Fluent
GrpcServerResponse<Req, Resp> encoding(String encoding);

@Fluent
GrpcServerResponse<Req, Resp> format(WireFormat format);

/**
* @return the {@link MultiMap} to write metadata trailers
*/
Expand Down

0 comments on commit ef591da

Please sign in to comment.