Class ManagementErrorEndpoint
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.web.servlet.ManagementErrorEndpoint
@Controller public class ManagementErrorEndpoint extends Object
Controller
for handling "/error" path when the management servlet is in a child context. The regularErrorController
should be available there but because of the way the handler mappings are set up it will not be detected.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description ManagementErrorEndpoint(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
invoke(org.springframework.web.context.request.ServletWebRequest request)
Constructor Detail
ManagementErrorEndpoint
public ManagementErrorEndpoint(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)