Package sun.net

Interface ProgressMeteringPolicy


  • public interface ProgressMeteringPolicy
    ProgressMeteringPolicy is an interface for determining progress metering policy.
    • Method Detail

      • shouldMeterInput

        boolean shouldMeterInput​(URL url,
                                 String method)
        Return true if metering should be turned on for a particular network input stream.
      • getProgressUpdateThreshold

        int getProgressUpdateThreshold()
        Return update notification threshold.