Class RetroCompatibilityParamConverterProvider

  • All Implemented Interfaces:

    public class RetroCompatibilityParamConverterProvider
    extends Object
    This is a custom param converter provider only to be able to deserialize correctly objects used by the old servlets. The old servlets was supporting JSON objects passed on GET requests using a parameter named "payload". This only concern: GET /context.js GET /context.json GET /eventcollector And objects: ContextRequest, EventsCollectorRequest
    • Constructor Detail

      • RetroCompatibilityParamConverterProvider

        public RetroCompatibilityParamConverterProvider​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • getConverter

        public <T><T> getConverter​(Class<T> rawType,
                                                                  Type genericType,
                                                                  Annotation[] annotations)
        Specified by:
        getConverter in interface