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

java.lang.Object
io.jans.as.client.BaseResponse
io.jans.as.client.BaseResponseWithErrors<T>
Direct Known Subclasses:
BackchannelAuthenticationResponse, ClientInfoResponse, DeviceAuthzResponse, GlobalTokenRevocationResponse, ParResponse, RegisterResponse, RevokeSessionResponse, SsaCreateResponse, SsaGetJwtResponse, SsaGetResponse, SsaRevokeResponse, SsaValidateResponse, StatusListResponse, TokenResponse, UserInfoResponse

public abstract class BaseResponseWithErrors<T extends io.jans.as.model.error.IErrorType> extends BaseResponse
Version:
0.9, 09/10/2012
Author:
Yuriy Zabrovarnyy
  • Constructor Details

    • BaseResponseWithErrors

      protected BaseResponseWithErrors()
    • BaseResponseWithErrors

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

    • getClaimMap

      public Map<String,List<String>> getClaimMap()
    • getClaims

      public Map<String,String> getClaims()
    • setClaimMap

      public void setClaimMap(Map<String,List<String>> claims)
    • getClaim

      public List<String> getClaim(String claimName)
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object