@RestController @ControllerAdvice @RequestMapping(value="/$api") public class WebController extends Object
| 构造器和说明 |
|---|
WebController(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request) |
public WebController(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
public org.springframework.web.servlet.ModelAndView go()
@RequestMapping
public void index()
throws IOException
IOException@RequestMapping(value={"/*.shtml","/*.html","/*.htm"})
public void other()
throws IOException
IOException@RequestMapping(value={"/**/*.woff","/**/*.woff2","/**/*.ttf","/**/*.eot","/**/*.otf","/**/*.svg"})
public void font()
throws IOException
IOException@RequestMapping(value={"/**/*.js","/**/*.css","/**/*.html","/**/*.shtml"})
public void request()
throws IOException
IOException@RequestMapping(value={"/**/*.png","/**/*.jpg","/**/*.bmp","/**/*.gif"})
public void requestImage()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.