@Controller @RequestMapping(value="/radarServer") public class RadarServerController extends Object
| Constructor and Description |
|---|
RadarServerController() |
| Modifier and Type | Method and Description |
|---|---|
String |
badQuery(Exception exc) |
org.springframework.http.HttpEntity<byte[]> |
datasetCatalog(javax.servlet.http.HttpServletRequest request) |
String |
handleException(Exception exc) |
void |
init() |
StationList |
stations(String dataset,
javax.servlet.http.HttpServletRequest request) |
StationList |
stationsFile(javax.servlet.http.HttpServletRequest request) |
org.springframework.http.HttpEntity<byte[]> |
topLevelCatalog() |
@ExceptionHandler(value=java.lang.Exception.class) @ResponseBody public String handleException(Exception exc)
@ExceptionHandler(value=java.lang.UnsupportedOperationException.class) @ResponseBody public String badQuery(Exception exc)
@PostConstruct public void init()
@RequestMapping(value="catalog.xml")
@ResponseBody
public org.springframework.http.HttpEntity<byte[]> topLevelCatalog()
throws IOException
IOException@RequestMapping(value="**/dataset.xml")
@ResponseBody
public org.springframework.http.HttpEntity<byte[]> datasetCatalog(javax.servlet.http.HttpServletRequest request)
throws IOException
IOException@RequestMapping(value="**/{dataset}",
params="station=all")
@ResponseBody
public StationList stations(@PathVariable
String dataset,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="**/stations.xml") @ResponseBody public StationList stationsFile(javax.servlet.http.HttpServletRequest request)