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

Class RequestClientOptions

    • Field Detail

      • DEFAULT_STREAM_BUFFER_SIZE

        public static final int DEFAULT_STREAM_BUFFER_SIZE
        Used to enable mark-and-reset for non-mark-and-resettable non-file input stream for up to 128K memory buffering by default. Add 1 to get around an implementation quirk of BufferedInputStream. Retries after reading DEFAULT_STREAM_BUFFER_SIZE bytes would fail to reset the underlying input stream as the mark position would have been invalidated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RequestClientOptions

        public RequestClientOptions()
    • Method Detail

      • appendUserAgent

        public void appendUserAgent(String userAgent)
        Appends a user agent to the USER_AGENT client marker. This method is intended only for internal use by the AWS SDK.
      • getReadLimit

        public final int getReadLimit()
        Returns the mark-and-reset read limit; defaults to 131073.
        See Also:
        InputStream.mark(int)
      • setReadLimit

        public final void setReadLimit(int readLimit)
        Sets the optional mark-and-reset read limit used for signing and retry purposes.
        See Also:
        InputStream.mark(int)
      • isSkipAppendUriPath

        public boolean isSkipAppendUriPath()
        Gets the boolean value to skip the appendUri call in ApacheHttpRequestFactory.create(Request, HttpClientSettings) method. The default value is false, which means the appendUri call is not skipped. This options is used in APIs that directly execute given presigned urls. For these requests, the extra slash should not be included.
      • setSkipAppendUriPath

        public void setSkipAppendUriPath(boolean skipAppendUriPath)
        Sets the boolean value to skip the appendUri call in ApacheHttpRequestFactory.create(Request, HttpClientSettings) method. The default value is false, which means the appendUri call is not skipped. This options is used in APIs that directly execute given presigned urls. For these requests, the extra slash should not be included.
Skip navigation links

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