Class IndexSnapshotResource

  • All Implemented Interfaces:
    MashupConstants, RestConstants

    public class IndexSnapshotResource
    extends AbstractAdminRestResource
    Provide access to lucene index snapshot management.

    • GET: retrieve last completed snapshot path on local filesystem.
    • POST: request creation of new snapshot and return path on local filesystem in which it will be stored
    Since:
    jcms-10.0.5 / JCMS-8395
    • Constructor Detail

      • IndexSnapshotResource

        public IndexSnapshotResource​(org.restlet.Context context,
                                     org.restlet.data.Request request,
                                     org.restlet.data.Response response)
    • Method Detail

      • allowPost

        public boolean allowPost()
        Overrides:
        allowPost in class org.restlet.resource.Resource
      • doPost

        protected void doPost​(org.restlet.resource.Representation entity)
        Overrides:
        doPost in class JcmsRestResource