Class SpringVersionUtils

Object
org.thymeleaf.extras.springsecurity6.util.SpringVersionUtils

public final class SpringVersionUtils extends Object

Utility class useful for determining the version of Spring that is on the classpath.

Since:
2.1.2
Author:
Daniel Fernández
  • Method Details

    • getSpringVersion

      public static String getSpringVersion()
    • getSpringVersionMajor

      public static int getSpringVersionMajor()
    • getSpringVersionMinor

      public static int getSpringVersionMinor()
    • getSpringVersionPatch

      public static int getSpringVersionPatch()
    • isSpring30AtLeast

      public static boolean isSpring30AtLeast()
    • isSpring31AtLeast

      public static boolean isSpring31AtLeast()
    • isSpring32AtLeast

      public static boolean isSpring32AtLeast()
    • isSpring40AtLeast

      public static boolean isSpring40AtLeast()
    • isSpring41AtLeast

      public static boolean isSpring41AtLeast()
    • isSpring42AtLeast

      public static boolean isSpring42AtLeast()
    • isSpring43AtLeast

      public static boolean isSpring43AtLeast()
    • isSpring50AtLeast

      public static boolean isSpring50AtLeast()
    • isSpring51AtLeast

      public static boolean isSpring51AtLeast()
    • isSpring52AtLeast

      public static boolean isSpring52AtLeast()
    • isSpring53AtLeast

      public static boolean isSpring53AtLeast()
    • isSpring60AtLeast

      public static boolean isSpring60AtLeast()
    • isSpringAtLeast

      public static boolean isSpringAtLeast(int major, int minor)
    • isSpringAtLeast

      public static boolean isSpringAtLeast(int major, int minor, int patch)
    • isSpringWebMvcPresent

      public static boolean isSpringWebMvcPresent()
    • isSpringWebFluxPresent

      public static boolean isSpringWebFluxPresent()