@API(status=INTERNAL) public final class AdviceTraits extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.http.ResponseEntity<org.zalando.problem.Problem> |
fallback(org.zalando.problem.Problem problem,
org.springframework.http.HttpHeaders headers) |
static Optional<org.springframework.http.MediaType> |
getProblemMediaType(List<org.springframework.http.MediaType> mediaTypes) |
static void |
log(Throwable throwable,
org.springframework.http.HttpStatus status) |
public static void log(Throwable throwable, org.springframework.http.HttpStatus status)
public static org.springframework.http.ResponseEntity<org.zalando.problem.Problem> fallback(org.zalando.problem.Problem problem,
org.springframework.http.HttpHeaders headers)
Copyright © 2015–2020 Zalando SE. All rights reserved.