Class LeafletRest

java.lang.Object
fr.paris.lutece.plugins.leaflet.rest.rs.LeafletRest

@ApplicationScoped @Named("leaflet-rest.leafletRest") @Path("leaflet") public class LeafletRest extends Object
LeafletRest
  • Constructor Details

    • LeafletRest

      public LeafletRest()
  • Method Details

    • getDocument

      @GET @Path("popup/{provider}/{id_document}/{code}") public jakarta.ws.rs.core.Response getDocument(@Context jakarta.servlet.http.HttpServletRequest request, @PathParam("provider") String strProvider, @PathParam("id_document") String strIdDocument, @PathParam("code") String strCode)
      Get an html snippet representing a leaflet popup
      Parameters:
      request - the httpServletRequest
      strProvider - the provider
      strIdDocument - the id document
      strCode - the code in this document
      Returns:
      the html of document