Package thredds.server.admin.collection
Class LocalCollectionController
java.lang.Object
thredds.server.admin.collection.CollectionControllerCommon
thredds.server.admin.collection.LocalCollectionController
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller
@RequestMapping("/local/collection")
public class LocalCollectionController
extends CollectionControllerCommon
Allow local triggers for rereading Feature collections
-
Constructor Summary
ConstructorsConstructorDescriptionLocalCollectionController(DebugCommands debugCommands, DataRootManager dataRootManager, TdsContext tdsContext, DatasetManager datasetManager, com.google.common.eventbus.EventBus eventBus, thredds.featurecollection.CollectionUpdater collectionUpdater) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddownloadAllLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected org.springframework.http.ResponseEntity<String>downloadIndexLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) protected org.springframework.http.ResponseEntity<String>showCollectionLocal(String collection) protected org.springframework.http.ResponseEntity<String>protected org.springframework.http.ResponseEntity<String>protected org.springframework.http.ResponseEntity<String>triggerFeatureCollectionLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Methods inherited from class thredds.server.admin.collection.CollectionControllerCommon
afterPropertiesSet, downloadAll, downloadIndex
-
Constructor Details
-
LocalCollectionController
public LocalCollectionController(DebugCommands debugCommands, DataRootManager dataRootManager, TdsContext tdsContext, DatasetManager datasetManager, com.google.common.eventbus.EventBus eventBus, thredds.featurecollection.CollectionUpdater collectionUpdater)
-
-
Method Details
-
showCollectionLocal
-
showCollectionStatusLocal
@RequestMapping("/showStatus") protected org.springframework.http.ResponseEntity<String> showCollectionStatusLocal() -
showCollectionStatusCsvLocal
@RequestMapping("/showStatus.csv") protected org.springframework.http.ResponseEntity<String> showCollectionStatusCsvLocal() -
triggerFeatureCollectionLocal
@RequestMapping("/trigger") protected org.springframework.http.ResponseEntity<String> triggerFeatureCollectionLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) -
downloadAllLocal
@RequestMapping("/downloadAll") protected void downloadAllLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-
downloadIndexLocal
@RequestMapping("/download") protected org.springframework.http.ResponseEntity<String> downloadIndexLocal(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-