JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.util

Class LengthCheckInputStream

    • Field Detail

      • INCLUDE_SKIPPED_BYTES

        public static final boolean INCLUDE_SKIPPED_BYTES
        See Also:
        Constant Field Values
      • EXCLUDE_SKIPPED_BYTES

        public static final boolean EXCLUDE_SKIPPED_BYTES
        See Also:
        Constant Field Values
    • Constructor Detail

      • LengthCheckInputStream

        public LengthCheckInputStream(InputStream in,
         long expectedLength,
         boolean includeSkipped)
        Constructs an input stream that performs length check to ensure the number of bytes read from the underlying input stream is the same as the expected total.
        Parameters:
        in - the underlying input stream
        expectedLength - the total length of the data in bytes expected to be read from the underlying input stream; must be non-negative.
        includeSkipped - true if bytes skipped are to be considered as part of the data length; false otherwise. Typically, this parameter should be set to false for uploading data to AWS, but set to true for receiving data from AWS.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /