Package io.dialob.boot.controller
Class LandingController
- java.lang.Object
-
- io.dialob.boot.controller.BaseController
-
- io.dialob.boot.controller.LandingController
-
@Controller @RequestMapping("${landing.context-path:/landing}") public class LandingController extends BaseController
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLandingController.LandingOptions
-
Constructor Summary
Constructors Constructor Description LandingController(io.dialob.security.tenant.CurrentTenant currentTenant, LandingApplicationSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfill(String forwardedFor, String host, String realIp, String forwardedProto, org.springframework.security.web.csrf.CsrfToken cfrsToken, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)-
Methods inherited from class io.dialob.boot.controller.BaseController
index
-
-
-
-
Constructor Detail
-
LandingController
public LandingController(io.dialob.security.tenant.CurrentTenant currentTenant, LandingApplicationSettings settings)
-
-
Method Detail
-
fill
@GetMapping(produces="text/html") public String fill(@RequestHeader(value="X-Forwarded-For",required=false) String forwardedFor, @RequestHeader(value="Host",required=false) String host, @RequestHeader(value="X-Real-IP",required=false) String realIp, @RequestHeader(value="X-Forwarded-Proto",required=false) String forwardedProto, org.springframework.security.web.csrf.CsrfToken cfrsToken, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)
-
-