Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for httpclient (0.04 sec)

  1. pom.xml

    					<artifactId>geo</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs.fesen.client</groupId>
    			<artifactId>fesen-httpclient</artifactId>
    			<version>${fesen.httpclient.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.ow2.asm</groupId>
    			<artifactId>asm</artifactId>
    			<version>${asm.version}</version>
    		</dependency>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @throws SearchEngineClientException if the client is not an HttpClient
         */
        public EngineInfo getEngineInfo() {
            if (client instanceof final HttpClient httpClient) {
                return httpClient.getEngineInfo();
            }
            throw new SearchEngineClientException("client is not HttpClient.");
        }
    
        //
        // Fesen Client
        //
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  3. docs/recipes.md

        ```java
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
                .build();
    
            // Copy to customize OkHttp for this request.
            OkHttpClient client1 = client.newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java

    public class EventSourceFactoryTest {
    
      @StartStop
      private final MockWebServer server = new MockWebServer();
    
      @Test
      public void testEventSourceFactory() throws Exception {
        OkHttpClient client = new OkHttpClient();
        EventSource.Factory factory = EventSource.Factory.create(client);
        server.enqueue(
          new MockResponse.Builder()
            .body("data: hello\n\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.sse.EventSource.Companion.processEventSource
    import okhttp3.sse.EventSource.Factory.Companion.asEventSourceFactory
    
    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = client.asEventSourceFactory()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.File
    import java.io.IOException
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.buffer
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    	public static final field INSTANCE Lokhttp3/sse/EventSources;
    	public static final fun createFactory (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    	public static final synthetic fun createFactory (Lokhttp3/OkHttpClient;)Lokhttp3/sse/EventSource$Factory;
    	public static final fun processResponse (Lokhttp3/Response;Lokhttp3/sse/EventSourceListener;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.DelegatingServerSocketFactory
    import okhttp3.DelegatingSocketFactory
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.Response
    import okhttp3.mockwebserver.MockResponse
    import okhttp3.mockwebserver.MockWebServer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. gradle/libs.versions.toml

    gradlePlugin-shadow = "com.gradleup.shadow:shadow-gradle-plugin:9.1.0"
    gradlePlugin-spotless = "com.diffplug.spotless:spotless-plugin-gradle:7.2.1"
    hamcrestLibrary = "org.hamcrest:hamcrest-library:3.0"
    httpClient5 = "org.apache.httpcomponents.client5:httpclient5:5.5"
    #noinspection NewerVersionAvailable
    jettyClient = "org.eclipse.jetty:jetty-client:9.4.58.v20250814"
    jnr-unixsocket = "com.github.jnr:jnr-unixsocket:0.38.23"
    jsoup = "org.jsoup:jsoup:1.21.2"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

    public final class UploadProgress {
      private static final String IMGUR_CLIENT_ID = "9199fdef135c122";
      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        final ProgressListener progressListener = new ProgressListener() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
Back to top