Skip to content

Commit

Permalink
HelloWorldJaxRsResource: fix method name (#3094)
Browse files Browse the repository at this point in the history
Likely bcz of a copy-paste approach we currently have 2 endpoints with
`multipartHello` name. The 2nd one should be named as `fileHello`.
  • Loading branch information
idelpivnitskiy authored Nov 7, 2024
1 parent 77a3c51 commit d282dcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public Single<Buffer> multipartHello(@Context final ConnectionContext ctx,
@GET
@Path("file-hello")
@Produces(TEXT_PLAIN)
public Publisher<Buffer> multipartHello(@Context final ConnectionContext ctx) {
public Publisher<Buffer> fileHello(@Context final ConnectionContext ctx) {
final InputStream responseStream = HelloWorldJaxRsResource.class.getClassLoader()
.getResourceAsStream("response_payload.txt");
final BufferAllocator allocator = ctx.executionContext().bufferAllocator();
Expand Down

0 comments on commit d282dcc

Please sign in to comment.