public final class RequestClientOptions extends Object
AmazonWebServiceRequests.| Modifier and Type | Class and Description |
|---|---|
static class |
RequestClientOptions.Marker |
| Modifier and Type | Field and Description |
|---|---|
static 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.
|
| Constructor and Description |
|---|
RequestClientOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientMarker(String clientMarker)
Deprecated.
by
appendUserAgent(String). This method is intended
only for internal use by the AWS SDK. Adds a "USER_AGENT"
client marker, if it wasn't already present. |
void |
appendUserAgent(String userAgent)
Appends a user agent to the USER_AGENT client marker.
|
String |
getClientMarker()
Deprecated.
by
getClientMarker(Marker). This method is intended
only for internal use by the AWS SDK. Returns the
"USER_AGENT" marker as a space-delimited string. |
String |
getClientMarker(RequestClientOptions.Marker marker)
Returns the value of the specified marker; or null if there is no such
value.
|
void |
putClientMarker(RequestClientOptions.Marker marker,
String value)
Associates the given value with the given marker.
|
public static final int DEFAULT_STREAM_BUFFER_SIZE
DEFAULT_STREAM_BUFFER_SIZE bytes would fail to reset the
underlying input stream as the mark position would have been invalidated.@Deprecated public String getClientMarker()
getClientMarker(Marker). This method is intended
only for internal use by the AWS SDK. Returns the
"USER_AGENT" marker as a space-delimited string.public String getClientMarker(RequestClientOptions.Marker marker)
public void putClientMarker(RequestClientOptions.Marker marker, String value)
RequestClientOptions.Marker.USER_AGENT is only intended for internal use by the AWS
SDK.@Deprecated public void addClientMarker(String clientMarker)
appendUserAgent(String). This method is intended
only for internal use by the AWS SDK. Adds a "USER_AGENT"
client marker, if it wasn't already present.public void appendUserAgent(String userAgent)
Copyright © 2017. All rights reserved.