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
-
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:ProblemDetails
The problem type.- Specified by:
getType
in interfaceProblemDetails
- Returns:
- the type
-
getTitle
Description copied from interface:ProblemDetails
The problem title.- Specified by:
getTitle
in interfaceProblemDetails
- Returns:
- the title
-
getDetail
Description copied from interface:ProblemDetails
The problem detail.- Specified by:
getDetail
in interfaceProblemDetails
- Returns:
- the detail
-
getStatus
public int getStatus()Description copied from interface:ProblemDetails
The problem status code.- Specified by:
getStatus
in interfaceProblemDetails
- Returns:
- the status code
-
getInstance
Description copied from interface:ProblemDetails
The problem instance.- Specified by:
getInstance
in interfaceProblemDetails
- Returns:
- the instance
-