Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 167 for newBuilder (0.19 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            }
    
            @Override
            protected Plugin mergePlugin(
                    Plugin target, Plugin source, boolean sourceDominant, Map<Object, Object> context) {
                Plugin.Builder builder = Plugin.newBuilder(target);
                if (source.isInherited()) {
                    mergeConfigurationContainer(builder, target, source, sourceDominant, context);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun redact(): String {
        return newBuilder("/...")!!
          .username("")
          .password("")
          .build()
          .toString()
      }
    
      /**
       * Returns the URL that would be retrieved by following `link` from this URL, or null if the
       * resulting URL is not well-formed.
       */
      fun resolve(link: String): HttpUrl? = newBuilder(link)?.build()
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                .toSet()
                .map { getUserInfo(it) }
                .toSet()
        }
    
        private
        fun <T> invokeGitHubApi(uri: String, klass: Class<T>): T {
            val request = HttpRequest.newBuilder()
                .uri(URI(uri))
                .apply {
                    if (githubToken.isPresent) {
                        header("Authorization", "token ${githubToken.get()}")
                    }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/handlers/handlers.go

    	// Pod is referred to using something like "deployment/httpbin".  Use the kubectl
    	// libraries to look up the resource name, find the pods it selects, and return
    	// one of those pods.
    	builder := factory.NewBuilder().
    		WithScheme(kubelib.IstioScheme, kubelib.IstioScheme.PrioritizedVersionsAllGroups()...).
    		NamespaceParam(ns).DefaultNamespace().
    		SingleResourceType()
    	builder.ResourceNames("pods", resname)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public static final fun get (Ljava/net/URL;)Lokhttp3/HttpUrl;
    	public fun hashCode ()I
    	public final fun host ()Ljava/lang/String;
    	public final fun isHttps ()Z
    	public final fun newBuilder ()Lokhttp3/HttpUrl$Builder;
    	public final fun newBuilder (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public static final fun parse (Ljava/lang/String;)Lokhttp3/HttpUrl;
    	public final fun password ()Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

        protected LoadingCache<String, XPathAPI> xpathAPICache;
    
        protected long cacheDuration = 10; // min
    
        @Resource
        public void init() {
            xpathAPICache =
                    CacheBuilder.newBuilder().expireAfterAccess(cacheDuration, TimeUnit.MINUTES).build(new CacheLoader<String, XPathAPI>() {
                        @Override
                        public XPathAPI load(final String key) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Response.kt

      @JvmName("-deprecated_body")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "body"),
        level = DeprecationLevel.ERROR,
      )
      fun body() = body
    
      fun newBuilder(): Builder = commonNewBuilder()
    
      /** Returns true if this response redirects to another resource. */
      val isRedirect: Boolean = commonIsRedirect
    
      @JvmName("-deprecated_networkResponse")
      @Deprecated(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                Pattern.compile("[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}", Pattern.CASE_INSENSITIVE);
    
        private static LoadingCache<String, Long> resourceHashCache =
                CacheBuilder.newBuilder().maximumSize(1000).expireAfterWrite(10, TimeUnit.MINUTES).build(new CacheLoader<String, Long>() {
                    @Override
                    public Long load(final String key) throws Exception {
                        try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
      fun newClientBuilder(): OkHttpClient.Builder {
        return newClient().newBuilder()
      }
    
      @Synchronized private fun addEvent(event: String) {
        if (recordEvents) {
          logger?.info(event)
    
          synchronized(clientEventsList) {
            clientEventsList.add(event)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          return
        }
    
        val webSocketClient =
          client.newBuilder()
            .eventListener(EventListener.NONE)
            .protocols(ONLY_HTTP1)
            .build()
        val request =
          originalRequest.newBuilder()
            .header("Upgrade", "websocket")
            .header("Connection", "Upgrade")
            .header("Sec-WebSocket-Key", key)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top