|
|
@ -40,11 +40,11 @@ public class AllEncompassingFormHttpMessageConverter extends FormHttpMessageConv |
|
|
|
ClassUtils.isPresent("javax.xml.bind.Binder", |
|
|
|
ClassUtils.isPresent("javax.xml.bind.Binder", |
|
|
|
AllEncompassingFormHttpMessageConverter.class.getClassLoader()); |
|
|
|
AllEncompassingFormHttpMessageConverter.class.getClassLoader()); |
|
|
|
|
|
|
|
|
|
|
|
private static final boolean jackson2Present = |
|
|
|
private static final boolean jackson2Present = false; |
|
|
|
ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", |
|
|
|
// ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper",
|
|
|
|
AllEncompassingFormHttpMessageConverter.class.getClassLoader()) && |
|
|
|
// AllEncompassingFormHttpMessageConverter.class.getClassLoader()) &&
|
|
|
|
ClassUtils.isPresent("com.fasterxml.jackson.core.JsonGenerator", |
|
|
|
// ClassUtils.isPresent("com.fasterxml.jackson.core.JsonGenerator",
|
|
|
|
AllEncompassingFormHttpMessageConverter.class.getClassLoader()); |
|
|
|
// AllEncompassingFormHttpMessageConverter.class.getClassLoader());
|
|
|
|
|
|
|
|
|
|
|
|
private static final boolean jackson2XmlPresent = |
|
|
|
private static final boolean jackson2XmlPresent = |
|
|
|
ClassUtils.isPresent("com.fasterxml.jackson.dataformat.xml.XmlMapper", |
|
|
|
ClassUtils.isPresent("com.fasterxml.jackson.dataformat.xml.XmlMapper", |
|
|
|