Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for setType (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         * @return the parsed sitemap set
         */
        protected SitemapSet parseTextSitemaps(final InputStream in) {
            final SitemapSet sitemapSet = new SitemapSet();
            sitemapSet.setType(SitemapSet.URLSET);
    
            try {
                final BufferedReader br = new BufferedReader(new InputStreamReader(in, Constants.UTF_8));
                String line;
                while ((line = br.readLine()) != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                        .setIgnoreIdleThreads(ignoreIdleThreads)
                        .setInterval(interval)
                        .setThreads(threads)
                        .setTimeout(timeout)
                        .setType(type)
                        .execute()
                        .actionGet(timeout);
                append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

            return sitemapList.toArray(new Sitemap[sitemapList.size()]);
        }
    
        /**
         * Sets the type of this sitemap set.
         * @param type the type to set (URLSET or INDEX)
         */
        public void setType(final String type) {
            this.type = type;
        }
    
        /**
         * Checks if this sitemap set is of type URLSET.
         * @return true if this is a URLSET, false otherwise
         */
        public boolean isUrlSet() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                proxy = result.getProxy();
    
                                ProxyInfo proxyInfo = new ProxyInfo();
                                proxyInfo.setHost(proxy.getHost());
                                proxyInfo.setType(proxy.getProtocol());
                                proxyInfo.setPort(proxy.getPort());
                                proxyInfo.setNonProxyHosts(proxy.getNonProxyHosts());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             * @return message type
             */
            public int getType() {
                return type;
            }
    
            /**
             * Sets the notification message type.
             *
             * @param type the message type (WITNESS_RESOURCE_CHANGE, WITNESS_CLIENT_MOVE, WITNESS_SHARE_MOVE, or WITNESS_IP_CHANGE)
             */
            public void setType(int type) {
                this.type = type;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody
            .Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
            val requestBody = MultipartBody.Builder()
                .setType(MultipartBody.FORM)
                .addFormDataPart("title", "Square Logo")
                .addFormDataPart("image", "logo-square.png",
                    File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      @Test
      fun multipartBodyBuilder() {
        val requestBody = "".toRequestBody(null)
        var builder: MultipartBody.Builder = MultipartBody.Builder()
        builder = MultipartBody.Builder("")
        builder = builder.setType("".toMediaType())
        builder = builder.addPart(requestBody)
        builder = builder.addPart(headersOf(), requestBody)
        builder = builder.addPart(null, requestBody)
        builder = builder.addFormDataPart("", "")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  9. okhttp/api/jvm/okhttp.api

    	public final fun addPart (Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Builder;
    	public final fun build ()Lokhttp3/MultipartBody;
    	public final fun setType (Lokhttp3/MediaType;)Lokhttp3/MultipartBody$Builder;
    }
    
    public final class okhttp3/MultipartBody$Companion {
    }
    
    public final class okhttp3/MultipartBody$Part {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  10. okhttp/api/android/okhttp.api

    	public final fun addPart (Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Builder;
    	public final fun build ()Lokhttp3/MultipartBody;
    	public final fun setType (Lokhttp3/MediaType;)Lokhttp3/MultipartBody$Builder;
    }
    
    public final class okhttp3/MultipartBody$Companion {
    }
    
    public final class okhttp3/MultipartBody$Part {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top