Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 924 for builder2 (0.14 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Indicates whether the model building should happen in two phases. If enabled, the initial invocation of the model
         * builder will only produce an interim result which may be used to analyze inter-model dependencies before the
         * final invocation of the model builder is performed.
         *
         * @return {@code true} if two-phase building is enabled, {@code false} if the model should be build in a single
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    class MockResponse : Cloneable {
      @set:JvmName("status")
      var status: String = ""
    
      private var headersBuilder = Headers.Builder()
      private var trailersBuilder = Headers.Builder()
    
      @set:JvmName("headers")
      var headers: Headers
        get() = headersBuilder.build()
        set(value) {
          this.headersBuilder = value.newBuilder()
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      private static final Logger logger = Logger.getLogger(LoggingInterceptors.class.getName());
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new LoggingInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

    import okhttp3.Authenticator
    import okhttp3.Credentials
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    class Authenticate {
      private val client =
        OkHttpClient.Builder()
          .authenticator(
            object : Authenticator {
              @Throws(IOException::class)
              override fun authenticate(
                route: Route?,
                response: Response,
              ): Request? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

        String getType();
    
        static ArtifactFactoryRequest build(
                Session session, String groupId, String artifactId, String version, String extension) {
            return ArtifactFactoryRequest.builder()
                    .session(nonNull(session, "session cannot be null"))
                    .groupId(groupId)
                    .artifactId(artifactId)
                    .version(version)
                    .extension(extension)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        platform.assumeNotConscrypt()
        val clientCa =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .build()
        val serverCa =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .build()
        val serverCertificate =
          HeldCertificate.Builder()
            .signedBy(serverCa)
            .addSubjectAlternativeName(server.hostName)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. misc/go_android_exec/exitcode_test.go

    //go:build !(windows || js || wasip1)
    
    package main
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

        Collection<ProducedArtifact> getArtifacts();
    
        @Nonnull
        static ArtifactInstallerRequestBuilder builder() {
            return new ArtifactInstallerRequestBuilder();
        }
    
        @Nonnull
        static ArtifactInstallerRequest build(Session session, Collection<ProducedArtifact> artifacts) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CorrettoTest.kt

        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://google.com/robots.txt").build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top