Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for _context (0.04 sec)

  1. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                return queryHelper.build(searchRequestType, query, context -> {
                    if (SearchRequestType.ADMIN_SEARCH.equals(searchRequestType)) {
                        context.skipRoleQuery();
                    } else if (similarDocHash != null) {
                        final DocumentHelper documentHelper = ComponentUtil.getDocumentHelper();
                        context.addQuery(boolQuery -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/plain")
            .build(),
        )
        newEventSource()
        listener.assertFailure("Invalid content-type: text/plain")
      }
    
      @Test
      fun badResponseCode() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

     *
     * <p>Note that usually type mappings are already implied by the static type hierarchy (for example,
     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
     * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                println("completed")
              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
                    println("content-length: unknown")
                  } else {
                    println("content-length: $contentLength")
                  }
                }
                println(bytesWritten)
                if (contentLength != -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

     *
     * <p>Note that usually type mappings are already implied by the static type hierarchy (for example,
     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
     * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun messageDone(
        exchange: Exchange,
        requestDone: Boolean = false,
        responseDone: Boolean = false,
        e: IOException?,
      ): IOException? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        server.enqueue(
          MockResponse(
            body =
              """
              |data: hey
              |
              |
              """.trimMargin(),
            headers = Headers.headersOf("content-type", "text/event-stream"),
          ),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. plugin.xml

    	<!-- Maven Repository -->
    	<property name="maven.snapshot.repo.url" value="https://central.sonatype.com/repository/maven-snapshots" />
    	<property name="maven.release.repo.url" value="https://oss.sonatype.org/content/repositories/releases" />
    
    	<target name="install.plugins">
    		<mkdir dir="${target.dir}" />
    		<delete dir="${plugins.dir}" />
    		<mkdir dir="${plugins.dir}" />
    		<!-- analysis-extension -->
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java

        OkHttpClient client = new OkHttpClient();
        EventSource.Factory factory = EventSource.Factory.create(client);
        server.enqueue(
          new MockResponse.Builder()
            .body("data: hello\n\n")
            .setHeader("content-type", "text/event-stream")
            .build()
        );
        Request request = new Request.Builder().url(server.url("/")).build();
        CompletableFuture<Void> future = new CompletableFuture<>();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top