public final class RequestClientOptions extends Object
AmazonWebServiceRequest
s.Modifier and Type | Class and Description |
---|---|
static class |
RequestClientOptions.Marker
Marker enum.
|
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) |
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)
marker
- the marker.public void putClientMarker(RequestClientOptions.Marker marker, String value)
RequestClientOptions.Marker.USER_AGENT
is only intended for internal use by the AWS
SDK.marker
- the marker.value
- the value.@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.clientMarker
- the client marker.public void appendUserAgent(String userAgent)
userAgent
- the user agent.Copyright © 2018. All rights reserved.