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.InitializingBean
Serve 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 Details

    • RadarServerController

      public RadarServerController()
  • Method Details

    • 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(jakarta.servlet.http.HttpServletRequest request) throws IOException
      Throws:
      IOException
    • stations

      @RequestMapping(value="**/{dataset}", params="station=all") @ResponseBody public StationList stations(@PathVariable String dataset, jakarta.servlet.http.HttpServletRequest request)
    • stationsFile

      @RequestMapping("**/stations.xml") @ResponseBody public StationList stationsFile(jakarta.servlet.http.HttpServletRequest request)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception