public final class SpringVersionUtils extends Object
Utility class useful for determining the version of Spring that is on the classpath.
Modifier and Type | Method and Description |
---|---|
static int |
getSpringVersionMajor() |
static int |
getSpringVersionMinor() |
static boolean |
isSpring30AtLeast() |
static boolean |
isSpring31AtLeast() |
static boolean |
isSpring32AtLeast() |
static boolean |
isSpring40AtLeast() |
static boolean |
isSpring41AtLeast() |
static boolean |
isSpring42AtLeast() |
static boolean |
isSpring43AtLeast() |
static boolean |
isSpring50AtLeast() |
static boolean |
isSpringWebFluxPresent() |
static boolean |
isSpringWebMvcPresent() |
public static int getSpringVersionMajor()
public static int getSpringVersionMinor()
public static boolean isSpring30AtLeast()
public static boolean isSpring31AtLeast()
public static boolean isSpring32AtLeast()
public static boolean isSpring40AtLeast()
public static boolean isSpring41AtLeast()
public static boolean isSpring42AtLeast()
public static boolean isSpring43AtLeast()
public static boolean isSpring50AtLeast()
public static boolean isSpringWebMvcPresent()
public static boolean isSpringWebFluxPresent()
Copyright © 2017 The THYMELEAF team. All rights reserved.