Interface SpringAdviceTrait

    • Method Detail

      • create

        default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> create​(org.springframework.http.HttpStatus status,
                                                                                            Throwable throwable,
                                                                                            org.springframework.web.context.request.NativeWebRequest request)
      • create

        default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> create​(org.springframework.http.HttpStatus status,
                                                                                            Throwable throwable,
                                                                                            org.springframework.web.context.request.NativeWebRequest request,
                                                                                            org.springframework.http.HttpHeaders headers)
      • toProblem

        default org.zalando.problem.ThrowableProblem toProblem​(Throwable throwable,
                                                               org.springframework.http.HttpStatus status)
      • toStatus

        default org.zalando.problem.StatusType toStatus​(org.springframework.http.HttpStatus status)