Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for forName (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          try {
            val alpnClassName = "org.eclipse.jetty.alpn.ALPN"
            val alpnClass = Class.forName(alpnClassName, true, null)
            val providerClass = Class.forName("$alpnClassName\$Provider", true, null)
            val clientProviderClass = Class.forName("$alpnClassName\$ClientProvider", true, null)
            val serverProviderClass = Class.forName("$alpnClassName\$ServerProvider", true, null)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

          return try {
            val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
            val sslSocketFactoryClass =
              Class.forName("$packageName.OpenSSLSocketFactoryImpl") as Class<in SSLSocketFactory>
            val paramsClass = Class.forName("$packageName.SSLParametersImpl")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     *
     * https://github.com/junit-team/junit5/issues/2469
     */
    fun treeListener(): TestExecutionListener {
      val colorPalette =
        Class.forName("org.junit.platform.console.tasks.ColorPalette").getField("DEFAULT").apply {
          isAccessible = true
        }.get(null)
      return Class.forName(
        "org.junit.platform.console.tasks.TreePrintingListener",
      ).declaredConstructors.first()
        .apply {
          isAccessible = true
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @throws ClassNotFoundRuntimeException
         *             クラスが見つからなかった場合
         * @see Class#forName(String, boolean, ClassLoader)
         */
        public static <T> Class<T> forName(final String className) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
    
            return forName(className, Thread.currentThread().getContextClassLoader());
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

            shutdownCommonsHttpClient();
        }
    
        private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class)
            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

                            }
                        }
                        String impl = properties.getProperty(slf4jBinding);
                        if (impl != null) {
                            return (Slf4jConfiguration) Class.forName(impl).newInstance();
                        }
                    } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) {
                        // ignore and move on to the next
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        }
    
        protected void setupServletFileUpload(final JakartaServletDiskFileUpload upload, final HttpServletRequest request) {
            upload.setHeaderCharset(Charset.forName(request.getCharacterEncoding()));
            upload.setSizeMax(getSizeMax());
            upload.setFileCountMax(getFileCountMax()); // since commons-fileupload-1.5
        }
    
        protected long getSizeMax() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/CoreLibConstants.java

     *
     * @author shinsuke
     *
     */
    public class CoreLibConstants {
    
        /**
         * UTF-8
         */
        public static final String UTF_8 = "UTF-8";
    
        public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8);
    
        public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      }
    
      private static Method getJdkNextDown() throws Exception {
        try {
          return Math.class.getMethod("nextDown", double.class);
        } catch (NoSuchMethodException expectedBeforeJava8) {
          return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class);
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue().
      public void testBigToDouble() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
        val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType()
        if (isAndroid) {
          // Charset.forName("'utf-8'") == UTF-8
          assertEquals("UTF-8", mediaType.charsetName())
        } else {
          assertNull(mediaType.charset())
        }
      }
    
      @Test fun testDefaultCharset() {
        val noCharset = parse("text/plain")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top