public class HttpStatusType
extends java.lang.Object
implements org.zalando.problem.StatusType
StatusType
which uses Micronaut HttpStatus
and renders as JSON the HTTP status code.Constructor and Description |
---|
HttpStatusType(io.micronaut.http.HttpStatus httpStatus) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReasonPhrase() |
int |
getStatusCode() |