Package com.inrupt.client.solid
Class SolidProblemDetails
java.lang.Object
com.inrupt.client.solid.SolidProblemDetails
- All Implemented Interfaces:
ProblemDetails
-
Field Summary
Fields inherited from interface com.inrupt.client.ProblemDetails
DEFAULT_TYPE, MIME_TYPE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SolidProblemDetails
Build a ProblemDetails instance providing the expected fields as described in RFC9457.- Parameters:
type- the problem typetitle- the problem titledetail- the problem detailsstatus- the error response status codeinstance- the problem instance
-
-
Method Details
-
getType
Description copied from interface:ProblemDetailsThe problem type.- Specified by:
getTypein interfaceProblemDetails- Returns:
- the type
-
getTitle
Description copied from interface:ProblemDetailsThe problem title.- Specified by:
getTitlein interfaceProblemDetails- Returns:
- the title
-
getDetail
Description copied from interface:ProblemDetailsThe problem detail.- Specified by:
getDetailin interfaceProblemDetails- Returns:
- the detail
-
getStatus
public int getStatus()Description copied from interface:ProblemDetailsThe problem status code.- Specified by:
getStatusin interfaceProblemDetails- Returns:
- the status code
-
getInstance
Description copied from interface:ProblemDetailsThe problem instance.- Specified by:
getInstancein interfaceProblemDetails- Returns:
- the instance
-