Package io.github.belgif.rest.problem
Class BadRequestProblem
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.belgif.rest.problem.api.Problem
io.github.belgif.rest.problem.api.ClientProblem
io.github.belgif.rest.problem.api.InputValidationProblem
io.github.belgif.rest.problem.BadRequestProblem
- All Implemented Interfaces:
Serializable
HTTP 400: Bad Request (https://www.belgif.be/specification/rest/api-guide/problems/badRequest.html)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBadRequestProblem(InvalidParam invalidParam) Deprecated.BadRequestProblem(String detail, InvalidParam invalidParam) Deprecated.BadRequestProblem(List<InputValidationIssue> issues) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidsetInvalidParams(List<InvalidParam> invalidParams) Deprecated.Methods inherited from class io.github.belgif.rest.problem.api.InputValidationProblem
addIssue, getIssues, getMessage, setIssues, setIssuesMethods inherited from class io.github.belgif.rest.problem.api.Problem
getDetail, getHref, getInstance, getStatus, getTitle, getType, setDetail, setHref, setInstanceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TYPE
The problem type.- See Also:
-
TYPE_URI
The problem type URI. -
HREF
The href URI. -
TITLE
The title.- See Also:
-
STATUS
public static final int STATUSThe status.- See Also:
-
DEFAULT_DETAIL
The default detail message.- See Also:
-
-
Constructor Details
-
BadRequestProblem
public BadRequestProblem() -
BadRequestProblem
-
BadRequestProblem
-
BadRequestProblem
Deprecated. -
BadRequestProblem
Deprecated.
-
-
Method Details
-
getInvalidParams
Deprecated. -
setInvalidParams
Deprecated.
-