Class RouterController


  • @RestController
    @RequestMapping("#{ (${cxbox.api.use-servlet-context-path} == true) ? \'\':  \'${cxbox.api.path}\'}")
    public class RouterController
    extends Object
    • Constructor Detail

      • RouterController

        public RouterController()
    • Method Detail

      • route

        @RequestMapping(method=GET,
                        value="/router/{type}/{id}")
        public void route​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          @PathVariable
                          String type,
                          @PathVariable
                          Long id,
                          @RequestParam(name="_bc",required=false)
                          String bcName)
                   throws IOException
        Throws:
        IOException