Uses of Class
org.apache.juneau.bean.rfc7807.Problem
Packages that use Problem
Package
Description
Juneau
@Marshalled beans for
RFC 7807 — Problem Details for HTTP APIs
(media type application/problem+json).Adapters that build
Problem beans from Juneau HTTP error types.-
Uses of Problem in org.apache.juneau.bean.rfc7807
Methods in org.apache.juneau.bean.rfc7807 that return ProblemModifier and TypeMethodDescriptionstatic ProblemProblem.fromStatus(int status, String title, String detail) Convenience factory for the common "build a problem from a status code + title + detail" call site.ProblemException.getProblem()Returns the wrappedProblempayload.Maps the supplied exception to aProblembean.Generic extension-member setter.Sets thedetail.Problem.setInstance(URI value) Sets theinstanceURI.Sets thestatusHTTP status code.Sets thetitle.Sets thetypeURI.Methods in org.apache.juneau.bean.rfc7807 with parameters of type ProblemConstructors in org.apache.juneau.bean.rfc7807 with parameters of type Problem -
Uses of Problem in org.apache.juneau.bean.rfc7807.adapter
Methods in org.apache.juneau.bean.rfc7807.adapter that return ProblemModifier and TypeMethodDescriptionstatic ProblemProblemAdapters.fromException(BasicHttpException e) Builds aProblemfrom aBasicHttpException(or any subclass likeNotFound,InternalServerError, etc).