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
Nested Classes Modifier and Type Class Description static class
AtlassianConnectErrorController.ErrorJson
-
Constructor Summary
Constructors Constructor Description AtlassianConnectErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtlassianConnectErrorController.ErrorJson
error(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
String
getErrorPath()
-
-
-
Method Detail
-
getErrorPath
public String getErrorPath()
-
error
@RequestMapping("/error") public AtlassianConnectErrorController.ErrorJson error(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-