Class RemoteDevBodySpoolStore
java.lang.Object
io.quarkus.vertx.http.runtime.devmode.RemoteDevBodySpoolStore
Owns the temporary directory and spool files for one
RemoteSyncHandler.
A spool is created before request input is resumed, closed before it is read, and deleted when its completed body is
closed. The last spool cleanup removes the directory; close() prevents new spools while a restart is in
progress.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classOne request body spool. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidclose()Prevents new spools and makes a best-effort attempt to remove an already idle directory.(package private) io.vertx.core.Future<RemoteDevBodySpoolStore.Spool> create()Creates a writable spool file, using owner-only permissions when the file system supports POSIX permissions.(package private) io.vertx.core.Future<Void> Deletes a spool and removes the directory when it no longer contains active spools.(package private) Path
-
Constructor Details
-
RemoteDevBodySpoolStore
RemoteDevBodySpoolStore(RemoteSyncHandler owner)
-
-
Method Details
-
create
io.vertx.core.Future<RemoteDevBodySpoolStore.Spool> create()Creates a writable spool file, using owner-only permissions when the file system supports POSIX permissions. -
delete
Deletes a spool and removes the directory when it no longer contains active spools. -
directory
Path directory() -
close
void close()Prevents new spools and makes a best-effort attempt to remove an already idle directory.
-