-
- All Superinterfaces:
ProgressTracker.Progress
- Enclosing class:
- ProgressTracker
public static interface ProgressTracker.MultipartProgress extends ProgressTracker.Progress
A progress event for a multipart body with per-part progress info.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultipartBodyPublisher.Partpart()Returns the currently progressing part.booleanpartChanged()Returnstrueif the currently progressing part has changed from the last event.ProgressTracker.ProgresspartProgress()Returns current part's progress.-
Methods inherited from interface com.github.mizosoft.methanol.ProgressTracker.Progress
bytesTransferred, contentLength, determinate, done, timePassed, toString, totalBytesTransferred, totalTimePassed, value
-
-
-
-
Method Detail
-
part
MultipartBodyPublisher.Part part()
Returns the currently progressing part.
-
partProgress
ProgressTracker.Progress partProgress()
Returns current part's progress.
-
partChanged
boolean partChanged()
Returnstrueif the currently progressing part has changed from the last event.
-
-