Class BaseResponseWithErrors<T extends io.jans.as.model.error.IErrorType>

    • Constructor Detail

      • BaseResponseWithErrors

        protected BaseResponseWithErrors()
      • BaseResponseWithErrors

        protected BaseResponseWithErrors​(jakarta.ws.rs.core.Response clientResponse)
    • Method Detail

      • getFirstClaim

        @Nullable
        public @Nullable String getFirstClaim​(@NotNull
                                              @NotNull String claimName)
      • getErrorDescription

        public String getErrorDescription()
      • setErrorDescription

        public void setErrorDescription​(String errorDescription)
      • getErrorType

        public T getErrorType()
      • setErrorType

        public void setErrorType​(T errorType)
      • getErrorUri

        public String getErrorUri()
      • setErrorUri

        public void setErrorUri​(String errorUri)
      • fromString

        public abstract T fromString​(String str)
      • injectDataFromJson

        public void injectDataFromJson​(String json)
      • injectErrorIfExistSilently

        public void injectErrorIfExistSilently​(org.json.JSONObject jsonObj)
                                        throws org.json.JSONException
        Throws:
        org.json.JSONException
      • injectErrorIfExistSilently

        public void injectErrorIfExistSilently​(String entity)