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.InitializingBean
Allow external triggers for rereading Feature collections
- Since:
- May 4, 2010
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voiddownloadAll(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected org.springframework.http.ResponseEntity<String>downloadIndex(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected org.springframework.http.ResponseEntity<String>showCollection(String collection) protected org.springframework.http.ResponseEntity<String>protected org.springframework.http.ResponseEntity<String>protected org.springframework.http.ResponseEntity<String>triggerFeatureCollection(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
-
Constructor Details
-
AdminCollectionController
public AdminCollectionController()
-
-
Method Details
-
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(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception - Throws:
Exception
-
downloadAll
@RequestMapping("/downloadAll") protected void downloadAll(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-
downloadIndex
@RequestMapping("/download") protected org.springframework.http.ResponseEntity<String> downloadIndex(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception - Throws:
Exception
-