Home
last modified time | relevance | path

Searched refs:ApacheHttpClient (Results 1 – 25 of 48) sorted by relevance

12

/aosp_15_r20/external/aws-sdk-java-v2/http-clients/apache-client/src/test/java/software/amazon/awssdk/http/apache/
H A DApacheHttpClientTest.java45 ApacheHttpClient.builder() in connectionReaperCanBeManuallyEnabled()
58 ApacheHttpClient.builder() in httpRoutePlannerCantBeUsedWithProxy()
71 ApacheHttpClient.builder() in httpRoutePlannerCantBeUsedWithProxy_SystemPropertiesEnabled()
86 ApacheHttpClient.builder() in httpRoutePlannerCantBeUsedWithProxy_SystemPropertiesDisabled()
100 ApacheHttpClient.builder() in credentialProviderCantBeUsedWithProxyCredentials()
113 ApacheHttpClient.builder() in credentialProviderCantBeUsedWithProxyCredentials_SystemProperties()
124 ApacheHttpClient.builder() in credentialProviderCanBeUsedWithProxy()
143 ApacheHttpClient.builder() in dnsResolverCanBeUsed()
H A DApacheHttpClientWireMockTest.java70 ApacheHttpClient.Builder builder = ApacheHttpClient.builder(); in createSdkHttpClient()
87ApacheHttpClient client = new ApacheHttpClient(httpClient, ApacheHttpRequestConfig.builder().build… in closeClient_shouldCloseUnderlyingResources()
101 SdkHttpClient client = ApacheHttpClient.builder() in routePlannerIsInvoked()
131 SdkHttpClient client = ApacheHttpClient.builder() in credentialPlannerIsInvoked()
202 SdkHttpClient client = ApacheHttpClient.builder() in overrideDnsResolver()
H A DApacheClientTlsAuthTest.java120 client = ApacheHttpClient.builder() in canMakeHttpsRequestWhenKeyProviderConfigured()
130 …client = ApacheHttpClient.builder().tlsKeyManagersProvider(NoneTlsKeyManagersProvider.getInstance(… in requestFailsWhenKeyProviderNotConfigured()
140 client = ApacheHttpClient.builder() in authenticatesWithTlsProxy()
157 client = ApacheHttpClient.builder().build(); in defaultTlsKeyManagersProviderIsSystemPropertyProvider()
173 client = ApacheHttpClient.builder().tlsKeyManagersProvider(null).build(); in defaultTlsKeyManagersProviderIsSystemPropertyProvider_explicitlySetToNull()
202 client = ApacheHttpClient.builder().build(); in build_notSettingSocketFactory_configuresClientWithDefaultSocketFactory()
231 client = ApacheHttpClient.builder() in build_settingCustomSocketFactory_configuresClientWithGivenSocketFactory()
H A DMetricReportingTest.java71 ApacheHttpClient client = newClient(); in prepareRequest_callableCalled_metricsReported()
88 ApacheHttpClient client = newClient(); in prepareRequest_connectionManagerNotPooling_callableCalled_metricsReported()
104 private ApacheHttpClient newClient() { in newClient()
112 return new ApacheHttpClient(mockHttpClient, config, AttributeMap.empty()); in newClient()
/aosp_15_r20/external/aws-sdk-java-v2/services/cloudfront/src/test/java/software/amazon/awssdk/services/cloudfront/
H A DCloudFrontUtilitiesIntegrationTest.java46 import software.amazon.awssdk.http.apache.ApacheHttpClient;
100 SdkHttpClient client = ApacheHttpClient.create(); in unsignedUrl_shouldReturn403Response()
124 SdkHttpClient client = ApacheHttpClient.create(); in getSignedUrlWithCannedPolicy_producesValidUrl()
142 SdkHttpClient client = ApacheHttpClient.create(); in getSignedUrlWithCannedPolicy_withExpiredDate_shouldReturn403Response()
162 SdkHttpClient client = ApacheHttpClient.create(); in getSignedUrlWithCustomPolicy_producesValidUrl()
182 SdkHttpClient client = ApacheHttpClient.create(); in getSignedUrlWithCustomPolicy_withFutureActiveDate_shouldReturn403Response()
199 SdkHttpClient client = ApacheHttpClient.create(); in getCookiesForCannedPolicy_producesValidCookies()
220 SdkHttpClient client = ApacheHttpClient.create(); in getCookiesForCannedPolicy_withExpiredDate_shouldReturn403Response()
239 SdkHttpClient client = ApacheHttpClient.create(); in getCookiesForCustomPolicy_producesValidCookies()
262 SdkHttpClient client = ApacheHttpClient.create(); in getCookiesForCustomPolicy_withFutureActiveDate_shouldReturn403Response()
/aosp_15_r20/external/aws-sdk-java-v2/http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/
H A DApacheHttpClient.java104 public final class ApacheHttpClient implements SdkHttpClient { class
108 private static final Logger log = Logger.loggerFor(ApacheHttpClient.class);
116 ApacheHttpClient(ConnectionManagerAwareHttpClient httpClient, in ApacheHttpClient() method in ApacheHttpClient
124 private ApacheHttpClient(DefaultBuilder builder, AttributeMap resolvedOptions) { in ApacheHttpClient() method in ApacheHttpClient
143 …private ConnectionManagerAwareHttpClient createClient(ApacheHttpClient.DefaultBuilder configuratio… in createClient()
342 public interface Builder extends SdkHttpClient.Builder<ApacheHttpClient.Builder> {
649 return new ApacheHttpClient(this, resolvedOptions);
655 public HttpClientConnectionManager create(ApacheHttpClient.DefaultBuilder configuration,
675 …private ConnectionSocketFactory getPreferredSocketFactory(ApacheHttpClient.DefaultBuilder configur…
/aosp_15_r20/external/aws-sdk-java-v2/test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/
H A DResponseTransformerTest.java44 import software.amazon.awssdk.http.apache.ApacheHttpClient;
130 .httpClientBuilder(ApacheHttpClient.builder() in streamingCloseActuallyCloses()
146 .httpClientBuilder(ApacheHttpClient.builder() in streamingAbortActuallyAborts()
178 … .httpClientBuilder(ApacheHttpClient.builder().socketTimeout(Duration.ofSeconds(1))); in testClientBuilder()
/aosp_15_r20/external/aws-sdk-java-v2/test/sdk-native-image-test/src/main/java/software/amazon/awssdk/nativeimagetest/
H A DDependencyFactory.java22 import software.amazon.awssdk.http.apache.ApacheHttpClient;
59 .httpClientBuilder(ApacheHttpClient.builder()) in s3ApacheHttpClient()
76 .httpClientBuilder(ApacheHttpClient.builder()) in ddbClient()
/aosp_15_r20/external/aws-sdk-java-v2/test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/connection/
H A DSyncClientConnectionInterruptionTest.java44 import software.amazon.awssdk.http.apache.ApacheHttpClient;
80 SdkHttpClient httpClient = ApacheHttpClient.builder().maxConnections(1).build(); in connectionPoolsGetsReusedWhenInterruptedWith_1_MaxConnection()
99 SdkHttpClient httpClient = ApacheHttpClient.builder().maxConnections(1).build(); in interruptionWhenWaitingForLease_AbortsImmediately()
149 SdkHttpClient httpClient = ApacheHttpClient.create(); in interruptionDueToApiTimeOut_followed_byInterruptCausesOnlyTimeOutException()
/aosp_15_r20/external/aws-sdk-java-v2/services/s3/src/it/java/software/amazon/awssdk/services/s3/
H A DS3PresignerIntegrationTest.java40 import software.amazon.awssdk.http.apache.ApacheHttpClient;
193 …SdkHttpClient httpClient = ApacheHttpClient.builder().build(); // or UrlConnectionHttpClient.build… in getObject_PresignedHttpRequestCanBeInvokedDirectlyBySdk()
227 …SdkHttpClient httpClient = ApacheHttpClient.builder().build(); // or UrlConnectionHttpClient.build… in deleteObject_PresignedHttpRequestCanBeInvokedDirectlyBySdk()
256 …SdkHttpClient httpClient = ApacheHttpClient.builder().build(); // or UrlConnectionHttpClient.build… in putObject_PresignedHttpRequestCanBeInvokedDirectlyBySdk()
399 SdkHttpClient httpClient = ApacheHttpClient.builder().build(); in execute()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-app-quickstart/src/test/resources/projects/apachehttpclientwithoutnativeimage/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java4 import software.amazon.awssdk.http.apache.ApacheHttpClient;
19 .httpClientBuilder(ApacheHttpClient.builder()) in s3Client()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-app-quickstart/src/test/resources/projects/apachehttpclient/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java4 import software.amazon.awssdk.http.apache.ApacheHttpClient;
19 .httpClientBuilder(ApacheHttpClient.builder()) in s3Client()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-app-quickstart/src/test/resources/projects/identitycenter/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java4 import software.amazon.awssdk.http.apache.ApacheHttpClient;
19 .httpClientBuilder(ApacheHttpClient.builder()) in s3Client()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-lambda/src/test/resources/projects/dynamodbstreamsclient/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java5 import software.amazon.awssdk.http.apache.ApacheHttpClient;
23 .httpClientBuilder(ApacheHttpClient.builder()) in dynamoDbStreamsClient()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-lambda/src/test/resources/projects/apachehttpclient/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java5 import software.amazon.awssdk.http.apache.ApacheHttpClient;
23 .httpClientBuilder(ApacheHttpClient.builder()) in dynamoDbClient()
/aosp_15_r20/external/aws-sdk-java-v2/archetypes/archetype-lambda/src/test/resources/projects/wafregionalclient/reference/src/main/java/software/amazonaws/test/
H A DDependencyFactory.java5 import software.amazon.awssdk.http.apache.ApacheHttpClient;
23 .httpClientBuilder(ApacheHttpClient.builder()) in wafRegionalClient()
/aosp_15_r20/external/aws-sdk-java-v2/test/module-path-tests/src/main/java/software/amazon/awssdk/modulepath/tests/integtests/
H A DS3ApiCall.java18 import software.amazon.awssdk.http.apache.ApacheHttpClient;
29 .httpClient(ApacheHttpClient.builder().build())
/aosp_15_r20/external/aws-sdk-java-v2/services/s3/src/it/java/software/amazon/awssdk/services/s3/signer/
H A DAwsS3V4SignerIntegrationTest.java47 import software.amazon.awssdk.http.apache.ApacheHttpClient;
120 SdkHttpClient httpClient = ApacheHttpClient.builder().build(); in test_SignMethod_WithModeledParam_And_WithoutUsingSdkClient()
139 SdkHttpClient httpClient = ApacheHttpClient.builder().build(); in test_SignMethod_WithExecutionAttributes_And_WithoutUsingSdkClient()
/aosp_15_r20/external/aws-sdk-java-v2/services/dynamodb/src/it/java/software/amazon/awssdk/services/dynamodb/
H A DSignersIntegrationTest.java40 import software.amazon.awssdk.http.apache.ApacheHttpClient;
135 SdkHttpClient httpClient = ApacheHttpClient.builder().build(); in sign_WithoutUsingSdkClient_ThroughExecutionAttributes()
159 SdkHttpClient httpClient = ApacheHttpClient.builder().build(); in test_SignMethod_WithModeledParam_And_WithoutUsingSdkClient()
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/it/java/software/amazon/awssdk/core/http/
H A DAmazonHttpClientSslHandshakeTimeoutTest.java34 import software.amazon.awssdk.http.apache.ApacheHttpClient;
52 .httpClient(ApacheHttpClient.builder() in testSslHandshakeTimeout()
H A DConnectionPoolMaxConnectionsIntegrationTest.java36 import software.amazon.awssdk.http.apache.ApacheHttpClient;
61 .httpClient(ApacheHttpClient.builder() in leasing_a_new_connection_fails_with_connection_pool_timeout()
/aosp_15_r20/external/aws-sdk-java-v2/test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/coldstart/
H A DV2DefaultClientCreationBenchmark.java40 import software.amazon.awssdk.http.apache.ApacheHttpClient;
61 .httpClient(ApacheHttpClient.builder().build()).build(); in createClient()
H A DV2OptimizedClientCreationBenchmark.java43 import software.amazon.awssdk.http.apache.ApacheHttpClient;
67 .httpClient(ApacheHttpClient.builder().build()) in createClient()
/aosp_15_r20/external/aws-sdk-java-v2/services/mediastoredata/src/it/java/software/amazon/awssdk/services/mediastoredata/
H A DTransferEncodingChunkedIntegrationTest.java26 import software.amazon.awssdk.http.apache.ApacheHttpClient;
47 .httpClient(ApacheHttpClient.builder().build()) in setup()
/aosp_15_r20/external/aws-sdk-java-v2/test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/apicall/
H A DMetricsEnabledBenchmark.java34 import software.amazon.awssdk.http.apache.ApacheHttpClient;
70 .httpClientBuilder(ApacheHttpClient.builder()); in syncClientBuilder()

12