Class ProblemDTO

java.lang.Object
de.aeb.xnsg.foundation.bf.rest.ProblemDTO

public class ProblemDTO extends Object
The response DTO which indicates that a problem occurred when processing the request.
See Also:
  • Field Details

    • type

      public String type
      A URI reference that uniquely identifies the problem type in the context of the provided API. Opposed to the specification in RFC-7807, it neither points to a human-readable documentation nor globally unique for the problem type.
    • status

      public Integer status
      The HTTP status code generated by the origin server for this occurrence of the problem.
    • title

      public String title
      A short summary of the problem type. Written in English and readable for engineers, usually not suited for non technical stakeholders and not localized.
    • detail

      public String detail
      A human readable explanation specific to this occurrence of the problem that is helpful to locate the problem and give advice on how to proceed. Written in English and readable for engineers, usually not suited for non technical stakeholders and not localized.
    • instance

      public String instance
      A URI reference that identifies the specific occurrence of the problem.
    • errors

      Error messages.
  • Constructor Details

    • ProblemDTO

      public ProblemDTO()