Class AdminCollectionController

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Controller
    @RequestMapping("/admin/collection")
    public class AdminCollectionController
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    Allow external triggers for rereading Feature collections
    Since:
    May 4, 2010
    • Constructor Detail

      • AdminCollectionController

        public AdminCollectionController()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • showCollection

        @RequestMapping(value="/showCollection",
                        method=GET)
        protected org.springframework.http.ResponseEntity<String> showCollection​(@RequestParam
                                                                                 String collection)
                                                                          throws Exception
        Throws:
        Exception
      • showCollectionStatus

        @RequestMapping("/showStatus")
        protected org.springframework.http.ResponseEntity<String> showCollectionStatus()
                                                                                throws Exception
        Throws:
        Exception
      • showCollectionStatusCsv

        @RequestMapping("/showStatus.csv")
        protected org.springframework.http.ResponseEntity<String> showCollectionStatusCsv()
                                                                                   throws Exception
        Throws:
        Exception
      • triggerFeatureCollection

        @RequestMapping("/trigger")
        protected org.springframework.http.ResponseEntity<String> triggerFeatureCollection​(javax.servlet.http.HttpServletRequest req,
                                                                                           javax.servlet.http.HttpServletResponse res)
                                                                                    throws Exception
        Throws:
        Exception
      • downloadAll

        @RequestMapping("/downloadAll")
        protected void downloadAll​(javax.servlet.http.HttpServletRequest req,
                                   javax.servlet.http.HttpServletResponse res)
                            throws IOException
        Throws:
        IOException
      • downloadIndex

        @RequestMapping("/download")
        protected org.springframework.http.ResponseEntity<String> downloadIndex​(javax.servlet.http.HttpServletRequest req,
                                                                                javax.servlet.http.HttpServletResponse res)
                                                                         throws Exception
        Throws:
        Exception