org.springframework.boot.loader.jar

Class Handler

    • Constructor Detail

      • Handler

        public Handler()
      • Handler

        public Handler(JarFile jarFile)
    • Method Detail

      • setUseFastConnectionExceptions

        public static void setUseFastConnectionExceptions(boolean useFastConnectionExceptions)
        Set if a generic static exception can be thrown when a URL cannot be connected. This optimization is used during class loading to save creating lots of exceptions which are then swallowed.
        Parameters:
        useFastConnectionExceptions - if fast connection exceptions can be used.