Skip to content

Commit ab747a5

Browse files
committed
Add preview API annotations
1 parent 8bed1b8 commit ab747a5

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt/AwsCrtAsyncHttpClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import java.util.concurrent.CompletableFuture;
2525
import java.util.concurrent.ConcurrentHashMap;
2626
import java.util.function.Consumer;
27+
import software.amazon.awssdk.annotations.SdkPreviewApi;
2728
import software.amazon.awssdk.annotations.SdkPublicApi;
2829
import software.amazon.awssdk.crt.CrtResource;
2930
import software.amazon.awssdk.crt.http.HttpClientConnectionManager;
@@ -50,8 +51,11 @@
5051
* Http Web Services. This client is asynchronous and uses non-blocking IO.
5152
*
5253
* <p>This can be created via {@link #builder()}</p>
54+
*
55+
* <b>NOTE:</b> This is a Preview API and is subject to change so it should not be used in production.
5356
*/
5457
@SdkPublicApi
58+
@SdkPreviewApi
5559
public final class AwsCrtAsyncHttpClient implements SdkAsyncHttpClient {
5660
private static final Logger log = Logger.loggerFor(AwsCrtAsyncHttpClient.class);
5761

http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt/AwsCrtSdkHttpService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@
1515

1616
package software.amazon.awssdk.http.crt;
1717

18+
import software.amazon.awssdk.annotations.SdkPreviewApi;
1819
import software.amazon.awssdk.annotations.SdkPublicApi;
1920
import software.amazon.awssdk.http.async.SdkAsyncHttpClient;
2021
import software.amazon.awssdk.http.async.SdkAsyncHttpService;
2122

2223
/**
2324
* Service binding for the AWS common runtime HTTP client implementation. Allows SDK to pick this up automatically from the
2425
* classpath.
26+
*
27+
* <b>NOTE:</b> This is a Preview API and is subject to change so it should not be used in production.
2528
*/
2629
@SdkPublicApi
30+
@SdkPreviewApi
2731
public class AwsCrtSdkHttpService implements SdkAsyncHttpService {
2832
@Override
2933
public SdkAsyncHttpClient.Builder createAsyncHttpClientFactory() {

http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt/ConnectionHealthChecksConfiguration.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@
1616
package software.amazon.awssdk.http.crt;
1717

1818
import java.time.Duration;
19+
import software.amazon.awssdk.annotations.SdkPreviewApi;
1920
import software.amazon.awssdk.annotations.SdkPublicApi;
2021
import software.amazon.awssdk.utils.Validate;
2122

2223
/**
2324
* Configuration that defines health checks for for all connections established by
2425
* the{@link ConnectionHealthChecksConfiguration}.
26+
*
27+
* <b>NOTE:</b> This is a Preview API and is subject to change so it should not be used in production.
2528
*/
2629
@SdkPublicApi
30+
@SdkPreviewApi
2731
public final class ConnectionHealthChecksConfiguration {
2832
private final long minThroughputInBytesPerSecond;
2933
private final Duration allowableThroughputFailureInterval;

http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt/ProxyConfiguration.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
package software.amazon.awssdk.http.crt;
1717

1818
import java.util.Objects;
19+
import software.amazon.awssdk.annotations.SdkPreviewApi;
1920
import software.amazon.awssdk.annotations.SdkPublicApi;
2021
import software.amazon.awssdk.utils.builder.CopyableBuilder;
2122
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;
@@ -26,8 +27,11 @@
2627
* the {@link AwsCrtAsyncHttpClient}.
2728
*
2829
* @see AwsCrtAsyncHttpClient.Builder#proxyConfiguration(ProxyConfiguration)
30+
*
31+
* <b>NOTE:</b> This is a Preview API and is subject to change so it should not be used in production.
2932
*/
3033
@SdkPublicApi
34+
@SdkPreviewApi
3135
public final class ProxyConfiguration implements ToCopyableBuilder<ProxyConfiguration.Builder, ProxyConfiguration> {
3236
private final String scheme;
3337
private final String host;

0 commit comments

Comments
 (0)