Class AbstractThrowableProblem

    • Constructor Detail

      • AbstractThrowableProblem

        protected AbstractThrowableProblem()
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type)
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type,
                                           @Nullable
                                           String title)
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type,
                                           @Nullable
                                           String title,
                                           @Nullable
                                           StatusType status)
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type,
                                           @Nullable
                                           String title,
                                           @Nullable
                                           StatusType status,
                                           @Nullable
                                           String detail)
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type,
                                           @Nullable
                                           String title,
                                           @Nullable
                                           StatusType status,
                                           @Nullable
                                           String detail,
                                           @Nullable
                                           URI instance)
      • AbstractThrowableProblem

        protected AbstractThrowableProblem​(@Nullable
                                           URI type,
                                           @Nullable
                                           String title,
                                           @Nullable
                                           StatusType status,
                                           @Nullable
                                           String detail,
                                           @Nullable
                                           URI instance,
                                           @Nullable
                                           ThrowableProblem cause)
    • Method Detail

      • getType

        public URI getType()
        Description copied from interface: Problem
        An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML). When this member is not present, its value is assumed to be "about:blank".
        Returns:
        an absolute URI that identifies this problem's type
      • getTitle

        public String getTitle()
        Description copied from interface: Problem
        A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localisation.
        Returns:
        a short, human-readable summary of this problem
      • getStatus

        public StatusType getStatus()
        Description copied from interface: Problem
        The HTTP status code generated by the origin server for this occurrence of the problem.
        Returns:
        the HTTP status code
      • getDetail

        public String getDetail()
        Description copied from interface: Problem
        A human readable explanation specific to this occurrence of the problem.
        Returns:
        A human readable explaination of this problem
      • getInstance

        public URI getInstance()
        Description copied from interface: Problem
        An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
        Returns:
        an absolute URI that identifies this specific problem
      • getParameters

        public Map<String,​Object> getParameters()
        Description copied from interface: Problem
        Optional, additional attributes of the problem. Implementations can choose to ignore this in favor of concrete, typed fields.
        Returns:
        additional parameters