Class LeafletRest
java.lang.Object
fr.paris.lutece.plugins.leaflet.rest.rs.LeafletRest
LeafletRest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetDocument(javax.servlet.http.HttpServletRequest request, String strProvider, String strIdDocument, String strCode) Get an html snippet representing a leaflet popup
-
Constructor Details
-
LeafletRest
public LeafletRest()
-
-
Method Details
-
getDocument
@GET @Path("popup/{provider}/{id_document}/{code}") public javax.ws.rs.core.Response getDocument(@Context javax.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 httpServletRequeststrProvider- the providerstrIdDocument- the id documentstrCode- the code in this document- Returns:
- the html of document
-