You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In documentation, it is stated that returning an AsyncFile or Uni<AsyncFile> should lead to contents of the file being returned, however, when I try to return Uni<AsyncFile>, or particularly Uni<io.vertx.mutiny.core.file.AsyncFile> which is by default returned from vertx.fileSystem().open(), what I get is just a string representation of the AsyncFile class.
Expected behavior
The contents of the file should be returned by the server
Actual behavior
A reply with following content is returned io.vertx.core.file.impl.AsyncFileImpl@54d3c384
Describe the bug
Hello,
In documentation, it is stated that returning an
AsyncFile
orUni<AsyncFile>
should lead to contents of the file being returned, however, when I try to returnUni<AsyncFile>
, or particularlyUni<io.vertx.mutiny.core.file.AsyncFile>
which is by default returned fromvertx.fileSystem().open()
, what I get is just a string representation of theAsyncFile
class.Expected behavior
The contents of the file should be returned by the server
Actual behavior
A reply with following content is returned
io.vertx.core.file.impl.AsyncFileImpl@54d3c384
How to Reproduce?
The following code reproduces the problem for me:
Output of
uname -a
orver
Microsoft Windows [Version 10.0.19043.1237]
Output of
java -version
openjdk version "11.0.10" 2021-01-19 LTS
GraalVM version (if different from Java)
OpenJDK Runtime Environment GraalVM CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08)
Quarkus version or git rev
2.2.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response
quarkusio#20352
The text was updated successfully, but these errors were encountered: