Package io.quarkiverse.httpproblem
Class HttpProblem.Builder
java.lang.Object
io.quarkiverse.httpproblem.HttpProblem.Builder
- Enclosing class:
- HttpProblem
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Adds custom property to the response.withDetail(String detail) withHeader(String headerName, Object value) withInstance(URI instance) withStatus(int statusCode) withStatus(jakarta.ws.rs.core.Response.StatusType status)
-
Method Details
-
withType
-
withTitle
-
withStatus
-
withStatus
-
withDetail
-
withInstance
-
withHeader
-
with
Adds custom property to the response.- Throws:
IllegalArgumentException- if key is any of type, title, status, detail or instance
-
build
-