public final class RequestClientOptions
extends java.lang.Object
AmazonWebServiceRequests.| 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(java.lang.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(java.lang.String userAgent)
Appends a user agent to the USER_AGENT client marker.
|
java.lang.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. |
java.lang.String |
getClientMarker(RequestClientOptions.Marker marker) |
void |
putClientMarker(RequestClientOptions.Marker marker,
java.lang.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 java.lang.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 java.lang.String getClientMarker(RequestClientOptions.Marker marker)
marker - the marker.public void putClientMarker(RequestClientOptions.Marker marker, java.lang.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(java.lang.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(java.lang.String userAgent)
userAgent - the user agent.