Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getProtocols (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      fun setProtocolNegotiationEnabled(protocolNegotiationEnabled: Boolean) {
        delegate.protocolNegotiationEnabled = protocolNegotiationEnabled
      }
    
      @JvmName("-deprecated_protocols")
      fun setProtocols(protocols: List<Protocol>) {
        delegate.protocols = protocols
      }
    
      @JvmName("-deprecated_protocols")
      fun protocols(): List<Protocol> = delegate.protocols
    
      fun useHttps(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            }
    
            @Override
            public java.util.Map<String, String[]> getParameterMap() {
                return new java.util.HashMap<>();
            }
    
            @Override
            public String getProtocol() {
                return "HTTP/1.1";
            }
    
            @Override
            public String getScheme() {
                return "http";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotEmpty("path", path);
            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun requireClientAuth ()V
    	public final fun setBodyLimit (J)V
    	public final fun setDispatcher (Lokhttp3/mockwebserver/Dispatcher;)V
    	public final fun setProtocolNegotiationEnabled (Z)V
    	public final fun setProtocols (Ljava/util/List;)V
    	public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V
    	public final fun shutdown ()V
    	public final fun start ()V
    	public final fun start (I)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                }
    
                @Override
                public java.util.Map<String, String[]> getParameterMap() {
                    return null;
                }
    
                @Override
                public String getProtocol() {
                    return null;
                }
    
                @Override
                public String getScheme() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

         */
        protected static Traverser getTraverser(final URL url, final String rootPackage, final String rootDir) {
            final TraverserFactory factory = traverserFactories.get(URLUtil.toCanonicalProtocol(url.getProtocol()));
            if (factory != null) {
                return factory.create(url, rootPackage, rootDir);
            }
            logger.log("WCL0013", asArray(rootPackage, url));
            return null;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static File getBuildDir(final String path) {
            assertArgumentNotEmpty("path", path);
    
            File dir = null;
            final URL url = getResource(path);
            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
    
                @Override
                public java.util.Map<String, String[]> getParameterMap() {
                    return null;
                }
    
                @Override
                public String getProtocol() {
                    return null;
                }
    
                @Override
                public String getScheme() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

                        paramMap.put(entry.getKey(), new String[] { entry.getValue() });
                    }
                }
                return paramMap;
            }
    
            @Override
            public String getProtocol() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getScheme() {
                throw new UnsupportedOperationException();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top