Class RemoteDevBodySpoolStore.Spool
java.lang.Object
io.quarkus.vertx.http.runtime.devmode.RemoteDevBodySpoolStore.Spool
- Enclosing class:
RemoteDevBodySpoolStore
One request body spool.
It is writable until closeForReading() and remains readable until delete().
-
Method Summary
Modifier and TypeMethodDescription(package private) voidCloses the write channel so the spool can be read.(package private) voiddelete()Closes the spool and deletes its file.(package private) InputStreamOpens a new stream for reading the completed body.(package private) byte[]Reads the completed body for operations that require its complete byte array.(package private) voidwrite(byte[] bytes) Appends an inbound request chunk.
-
Method Details
-
write
Appends an inbound request chunk.- Throws:
IOException
-
closeForReading
Closes the write channel so the spool can be read.- Throws:
IOException
-
openInputStream
Opens a new stream for reading the completed body.- Throws:
IOException
-
readAllBytes
Reads the completed body for operations that require its complete byte array.- Throws:
IOException
-
delete
Closes the spool and deletes its file.- Throws:
IOException
-