public class IOProblem extends IOException implements org.zalando.problem.Problem
| Constructor and Description |
|---|
IOProblem(URI type,
String title,
javax.ws.rs.core.Response.StatusType status) |
IOProblem(URI type,
String title,
javax.ws.rs.core.Response.StatusType status,
String detail) |
IOProblem(URI type,
String title,
javax.ws.rs.core.Response.StatusType status,
String detail,
URI instance) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getDetail() |
Optional<URI> |
getInstance() |
javax.ws.rs.core.Response.StatusType |
getStatus() |
String |
getTitle() |
URI |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IOProblem(URI type, String title, javax.ws.rs.core.Response.StatusType status, @Nullable String detail, @Nullable URI instance)
public IOProblem(URI type, String title, javax.ws.rs.core.Response.StatusType status, @Nullable String detail)
public URI getType()
getType in interface org.zalando.problem.Problempublic String getTitle()
getTitle in interface org.zalando.problem.Problempublic javax.ws.rs.core.Response.StatusType getStatus()
getStatus in interface org.zalando.problem.Problempublic Optional<String> getDetail()
getDetail in interface org.zalando.problem.ProblemCopyright © 2016 Zalando SE. All rights reserved.