1
2
3
4
5
6
7
8
9
10
11 package psiprobe.controllers.quickcheck;
12
13 import jakarta.servlet.http.HttpServletRequest;
14 import jakarta.servlet.http.HttpServletResponse;
15
16 import org.springframework.beans.factory.annotation.Value;
17 import org.springframework.stereotype.Controller;
18 import org.springframework.web.bind.annotation.RequestMapping;
19 import org.springframework.web.servlet.ModelAndView;
20
21
22
23
24 @Controller
25 public class TomcatAvailabilityXmlController extends BaseTomcatAvailabilityController {
26
27 @RequestMapping(path = "/quickcheck.xml.htm")
28 @Override
29 public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
30 throws Exception {
31 return super.handleRequest(request, response);
32 }
33
34 @Value("quickcheck.xml")
35 @Override
36 public void setViewName(String viewName) {
37 super.setViewName(viewName);
38 }
39
40 }