Package thredds.server.admin
Class AdminCollectionController
- java.lang.Object
-
- thredds.server.admin.AdminCollectionController
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller @RequestMapping("/admin/collection") public class AdminCollectionController extends Object implements org.springframework.beans.factory.InitializingBeanAllow external triggers for rereading Feature collections- Since:
- May 4, 2010
-
-
Constructor Summary
Constructors Constructor Description AdminCollectionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected voiddownloadAll(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)protected org.springframework.http.ResponseEntity<String>downloadIndex(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)protected org.springframework.http.ResponseEntity<String>showCollection(String collection)protected org.springframework.http.ResponseEntity<String>showCollectionStatus()protected org.springframework.http.ResponseEntity<String>showCollectionStatusCsv()protected org.springframework.http.ResponseEntity<String>triggerFeatureCollection(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.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
-
-