Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for httpclient5 (0.61 seconds)

  1. fess-crawler/pom.xml

    		</dependency>
    		<!-- Apache HttpComponents 5.x -->
    		<dependency>
    			<groupId>org.apache.httpcomponents.client5</groupId>
    			<artifactId>httpclient5</artifactId>
    			<version>${httpclient5.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>jakarta.annotation</groupId>
    			<artifactId>jakarta.annotation-api</artifactId>
    			<version>${jakarta.annotation.api.version}</version>
    		</dependency>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Mar 29 01:35:48 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

    import org.apache.hc.core5.http.ProtocolVersion
    import org.junit.Assert
    import org.junit.Ignore
    import org.junit.Test
    
    /**
     * Simplified from
     * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java
     *
     * Mainly intended to verify behaviour of popular clients across Android versions, similar
     * to observing Firefox or Chrome browser behaviour.
     */
    @Ignore("Failing with Netty errors")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. module.xml

    				<include name="lang-expression/asm-*" />
    				<include name="lang-painless/asm-*" />
    				<include name="reindex/commons-codec-*" />
    				<include name="reindex/commons-logging-*" />
    				<include name="reindex/httpclient5-*" />
    				<include name="reindex/httpcore5-*" />
    				<include name="reindex/slf4j-api-*" />
    			</fileset>
    		</delete>
    	</target>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. pom.xml

    			<version>${google.cloud.storage.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents.client5</groupId>
    			<artifactId>httpclient5</artifactId>
    			<version>${httpclient5.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.squareup.okhttp3</groupId>
    			<artifactId>mockwebserver</artifactId>
    			<version>${okhttp.version}</version>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  5. gradle/libs.versions.toml

    hamcrest-library = { module = "org.hamcrest:hamcrest-library", version.ref = "hamcrest-library" }
    guava-jre = { module = "com.google.guava:guava", version.ref = "guava" }
    http-client5 = { module = "org.apache.httpcomponents.client5:httpclient5", version.ref = "http-client5" }
    jetty-client = { module = "org.eclipse.jetty:jetty-client", version.ref = "jetty-client" }
    jnr-unixsocket = { module = "com.github.jnr:jnr-unixsocket", version.ref = "jnr-unixsocket" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @StartStop
      private val server = MockWebServer()
    
      @AfterEach
      fun tearDown() {
        httpClient.close()
      }
    
      @Test
      fun get() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:23:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
        val request = HttpGet("https://google.com/robots.txt")
    
        httpClient.execute(request).use { response ->
          assertEquals(200, response.code)
          // TODO enable ALPN later
          assertEquals(HttpVersion.HTTP_1_1, response.version)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. internal/config/lambda/event/targetid_test.go

    	testCases := []struct {
    		tid            TargetID
    		expectedResult string
    	}{
    		{TargetID{}, ":"},
    		{TargetID{"1", "webhook"}, "1:webhook"},
    		{TargetID{"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531", "localhost:55638"}, "httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.5K bytes
    - Click Count (0)
  9. internal/event/targetid_test.go

    	testCases := []struct {
    		tid            TargetID
    		expectedResult string
    	}{
    		{TargetID{}, ":"},
    		{TargetID{"1", "webhook"}, "1:webhook"},
    		{TargetID{"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531", "localhost:55638"}, "httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  10. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
Back to Top