I want to override OOTB Page Sling model exporter class. For example - http://localhost:4502/content/we-retail/language-masters/en.model.json this makes a call to OOTB sling model exporter. I want to have similar functionalities with with changes.
I am aware about how to create a model exporter class. I am using below code snippet. I just want to know if I can see source code for OOTB page model exporter ( http://localhost:4502/content/we-retail/la nguage-masters/en.model.json ) Is this open source to check ? Is it possible to see source code for this OOTB sling model exporter?
@Model(adaptables = SlingHttpServletRequest.class, adapters = {Page.class, ContainerExporter.class},
resourceType = "sling/servlet/default", defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)
@exporter(name = ExporterConstants.SLING_MODEL_EXPORTER_NAME, selector = "data",
extensions = ExporterConstants.SLING_MODEL_EXTENSION)