Class HtmxErrorController

java.lang.Object
org.linkedopenactors.ap.rdfpubtestapp.controller.HtmxErrorController

@Controller public class HtmxErrorController extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    HtmxErrorController(org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController basicErrorController)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    errorHtmx(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HtmxErrorController

      public HtmxErrorController(org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController basicErrorController)
  • Method Details

    • errorHtmx

      @RequestMapping(value="${server.error.path:${error.path:/error}}", headers="HX-Request=true") @ResponseStatus(OK) public org.springframework.web.servlet.ModelAndView errorHtmx(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)