Package thredds.server.radarServer2
Class RadarServerController
- java.lang.Object
-
- thredds.server.radarServer2.RadarServerController
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller @RequestMapping("/radarServer") public class RadarServerController extends Object implements org.springframework.beans.factory.InitializingBeanServe up radar data in a way that makes it easy to query. Relevant query data are pulled based on filename and directory structure to avoid needing to crack open large numbers of files.- Since:
- 01/15/2014
-
-
Constructor Summary
Constructors Constructor Description RadarServerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringbadQuery(Exception exc)org.springframework.http.HttpEntity<byte[]>datasetCatalog(javax.servlet.http.HttpServletRequest request)StringhandleException(Exception exc)voidinit(org.springframework.context.event.ContextRefreshedEvent event)StationListstations(String dataset, javax.servlet.http.HttpServletRequest request)StationListstationsFile(javax.servlet.http.HttpServletRequest request)org.springframework.http.HttpEntity<byte[]>topLevelCatalog()
-
-
-
Method Detail
-
handleException
@ExceptionHandler(java.lang.Exception.class) @ResponseBody public String handleException(Exception exc)
-
badQuery
@ExceptionHandler(java.lang.UnsupportedOperationException.class) @ResponseBody public String badQuery(Exception exc)
-
init
@EventListener public void init(org.springframework.context.event.ContextRefreshedEvent event)
-
topLevelCatalog
@RequestMapping("catalog.xml") @ResponseBody public org.springframework.http.HttpEntity<byte[]> topLevelCatalog() throws IOException- Throws:
IOException
-
datasetCatalog
@RequestMapping("**/dataset.xml") @ResponseBody public org.springframework.http.HttpEntity<byte[]> datasetCatalog(javax.servlet.http.HttpServletRequest request) throws IOException- Throws:
IOException
-
stations
@RequestMapping(value="**/{dataset}", params="station=all") @ResponseBody public StationList stations(@PathVariable String dataset, javax.servlet.http.HttpServletRequest request)
-
stationsFile
@RequestMapping("**/stations.xml") @ResponseBody public StationList stationsFile(javax.servlet.http.HttpServletRequest request)
-
-