DATACMNS-1123 - Upgraded to XmlBeam 1.4.12 and tweaked HttpMessageConverter implementation.
XmlBeam 1.4.11 accidentally removed ProjectionFactory as public interface. Adapted our HttpMessageConverter implementation to make sure we still work on those versions. Related ticket: https://github.com/SvenEwald/xmlbeam/issues/45
This commit is contained in:
@@ -30,7 +30,6 @@ import org.springframework.http.converter.HttpMessageConverter;
|
||||
import org.springframework.http.converter.HttpMessageNotReadableException;
|
||||
import org.springframework.http.converter.HttpMessageNotWritableException;
|
||||
import org.springframework.util.ConcurrentReferenceHashMap;
|
||||
import org.xmlbeam.ProjectionFactory;
|
||||
import org.xmlbeam.XBProjector;
|
||||
|
||||
/**
|
||||
@@ -43,7 +42,7 @@ import org.xmlbeam.XBProjector;
|
||||
*/
|
||||
public class XmlBeamHttpMessageConverter extends AbstractHttpMessageConverter<Object> {
|
||||
|
||||
private final ProjectionFactory projectionFactory;
|
||||
private final XBProjector projectionFactory;
|
||||
private final Map<Class<?>, Boolean> supportedTypesCache = new ConcurrentReferenceHashMap<>();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user