Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 956 for builder_ (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
            .request(chain.request())
            .protocol(Protocol.HTTP_1_1)
            .code(HTTP_GATEWAY_TIMEOUT)
            .message("Unsatisfiable Request (only-if-cached)")
            .sentRequestAtMillis(-1L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                    final Level sourceLevel = event.getLevel();
                    if (sourceLevel != Level.ERROR) {
                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        @PluginFactory
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

      private val httpClient = HttpClients.createDefault()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get(server: MockWebServer) {
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
        val request = HttpGet(server.url("/").toUri())
        request.addHeader("Accept", "text/plain")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

      private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        final long startNanos = System.nanoTime();
        final Call call = client.newCall(request);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/kubectl_factory.go

    	"k8s.io/kubectl/pkg/validation"
    
    	"istio.io/istio/pkg/kube"
    )
    
    type Factory struct {
    	kube.PartialFactory
    	full util.Factory
    }
    
    func (f Factory) NewBuilder() *resource.Builder {
    	return f.full.NewBuilder()
    }
    
    func (f Factory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) {
    	return f.full.ClientForMapping(mapping)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{false}, {true}});
      }
    
      private final boolean allowsSelfLoops;
      private ImmutableGraph.Builder<Integer> graphBuilder;
    
      public StandardImmutableDirectedGraphTest(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{false}, {true}});
      }
    
      private final boolean allowsSelfLoops;
      private ImmutableGraph.Builder<Integer> graphBuilder;
    
      public StandardImmutableUndirectedGraphTest(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      @Test fun inUseConnectionsNotEvicted() {
        val pool = factory.newConnectionPool()
        val poolApi = ConnectionPool(pool)
        val c1 = factory.newConnection(pool, routeA1, 50L)
        val client =
          OkHttpClient.Builder()
            .connectionPool(poolApi)
            .build()
        val call = client.newCall(Request(addressA.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. android-test/build.gradle.kts

    android {
      compileSdk = 34
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. README.md

    * Eager loading with `Preload`, `Joins`
    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    * Batch Insert, FindInBatches, Find To Map
    * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
    * Composite Primary Key
    * Auto Migrations
    * Logger
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:20:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top