Class AtlassianConnectErrorController
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
com.atlassian.connect.spring.internal.AtlassianConnectErrorController
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorController
@RestController
public class AtlassianConnectErrorController
extends org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
An error controller providing mapping to a simple JSON response.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAtlassianConnectErrorController
(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes) -
Method Summary
Modifier and TypeMethodDescriptionerror
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
getBooleanParameter, getErrorAttributes, getErrorsParameter, getMessageParameter, getStatus, getTraceParameter, resolveErrorView
-
Constructor Details
-
AtlassianConnectErrorController
@Autowired public AtlassianConnectErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
-
-
Method Details
-
getErrorPath
-
error
@RequestMapping("/error") public AtlassianConnectErrorController.ErrorJson error(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-