File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 24
24
import java .util .concurrent .CompletableFuture ;
25
25
import java .util .concurrent .ConcurrentHashMap ;
26
26
import java .util .function .Consumer ;
27
+ import software .amazon .awssdk .annotations .SdkPreviewApi ;
27
28
import software .amazon .awssdk .annotations .SdkPublicApi ;
28
29
import software .amazon .awssdk .crt .CrtResource ;
29
30
import software .amazon .awssdk .crt .http .HttpClientConnectionManager ;
50
51
* Http Web Services. This client is asynchronous and uses non-blocking IO.
51
52
*
52
53
* <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.
53
56
*/
54
57
@ SdkPublicApi
58
+ @ SdkPreviewApi
55
59
public final class AwsCrtAsyncHttpClient implements SdkAsyncHttpClient {
56
60
private static final Logger log = Logger .loggerFor (AwsCrtAsyncHttpClient .class );
57
61
Original file line number Diff line number Diff line change 15
15
16
16
package software .amazon .awssdk .http .crt ;
17
17
18
+ import software .amazon .awssdk .annotations .SdkPreviewApi ;
18
19
import software .amazon .awssdk .annotations .SdkPublicApi ;
19
20
import software .amazon .awssdk .http .async .SdkAsyncHttpClient ;
20
21
import software .amazon .awssdk .http .async .SdkAsyncHttpService ;
21
22
22
23
/**
23
24
* Service binding for the AWS common runtime HTTP client implementation. Allows SDK to pick this up automatically from the
24
25
* classpath.
26
+ *
27
+ * <b>NOTE:</b> This is a Preview API and is subject to change so it should not be used in production.
25
28
*/
26
29
@ SdkPublicApi
30
+ @ SdkPreviewApi
27
31
public class AwsCrtSdkHttpService implements SdkAsyncHttpService {
28
32
@ Override
29
33
public SdkAsyncHttpClient .Builder createAsyncHttpClientFactory () {
Original file line number Diff line number Diff line change 16
16
package software .amazon .awssdk .http .crt ;
17
17
18
18
import java .time .Duration ;
19
+ import software .amazon .awssdk .annotations .SdkPreviewApi ;
19
20
import software .amazon .awssdk .annotations .SdkPublicApi ;
20
21
import software .amazon .awssdk .utils .Validate ;
21
22
22
23
/**
23
24
* Configuration that defines health checks for for all connections established by
24
25
* 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.
25
28
*/
26
29
@ SdkPublicApi
30
+ @ SdkPreviewApi
27
31
public final class ConnectionHealthChecksConfiguration {
28
32
private final long minThroughputInBytesPerSecond ;
29
33
private final Duration allowableThroughputFailureInterval ;
Original file line number Diff line number Diff line change 16
16
package software .amazon .awssdk .http .crt ;
17
17
18
18
import java .util .Objects ;
19
+ import software .amazon .awssdk .annotations .SdkPreviewApi ;
19
20
import software .amazon .awssdk .annotations .SdkPublicApi ;
20
21
import software .amazon .awssdk .utils .builder .CopyableBuilder ;
21
22
import software .amazon .awssdk .utils .builder .ToCopyableBuilder ;
26
27
* the {@link AwsCrtAsyncHttpClient}.
27
28
*
28
29
* @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.
29
32
*/
30
33
@ SdkPublicApi
34
+ @ SdkPreviewApi
31
35
public final class ProxyConfiguration implements ToCopyableBuilder <ProxyConfiguration .Builder , ProxyConfiguration > {
32
36
private final String scheme ;
33
37
private final String host ;
You can’t perform that action at this time.
0 commit comments