Class LeafletRest
- java.lang.Object
-
- fr.paris.lutece.plugins.leaflet.rest.rs.LeafletRest
-
@Path("/rest/leaflet") public class LeafletRest extends java.lang.ObjectLeafletRest
-
-
Constructor Summary
Constructors Constructor Description LeafletRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetDocument(javax.servlet.http.HttpServletRequest request, java.lang.String strProvider, java.lang.String strIdDocument, java.lang.String strCode)Get an html snippet representing a leaflet popup
-
-
-
Method Detail
-
getDocument
@GET @Path("popup/{provider}/{id_document}/{code}") public javax.ws.rs.core.Response getDocument(@Context javax.servlet.http.HttpServletRequest request, @PathParam("provider") java.lang.String strProvider, @PathParam("id_document") java.lang.String strIdDocument, @PathParam("code") java.lang.String strCode)Get an html snippet representing a leaflet popup- Parameters:
request- the httpServletRequeststrProvider- the providerstrIdDocument- the id documentstrCode- the code in this document- Returns:
- the html of document
-
-