Package io.jans.as.client
Class TokenRevocationResponse
- java.lang.Object
 - 
- io.jans.as.client.BaseResponse
 - 
- io.jans.as.client.TokenRevocationResponse
 
 
 
- 
public class TokenRevocationResponse extends BaseResponse
- Version:
 - January 16, 2019
 - Author:
 - Javier Rojas Blum
 
 
- 
- 
Field Summary
- 
Fields inherited from class io.jans.as.client.BaseResponse
entity, headers, location, status 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TokenRevocationResponse(jakarta.ws.rs.core.Response clientResponse)Constructs an token revocation response. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorDescription()Returns a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.io.jans.as.model.token.TokenRevocationErrorResponseTypegetErrorType()Returns the error code when the request fails, otherwise will returnnull.java.lang.StringgetErrorUri()Returns a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.voidsetErrorDescription(java.lang.String errorDescription)Sets a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.voidsetErrorType(io.jans.as.model.token.TokenRevocationErrorResponseType errorType)Sets the error code when the request fails, otherwise will returnnull.voidsetErrorUri(java.lang.String errorUri)Sets a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.- 
Methods inherited from class io.jans.as.client.BaseResponse
getEntity, getHeaders, getLocation, getStatus, setEntity, setHeaders, setLocation, setStatus 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getErrorType
public io.jans.as.model.token.TokenRevocationErrorResponseType getErrorType()
Returns the error code when the request fails, otherwise will returnnull.- Returns:
 - The error code when the request fails.
 
 
- 
setErrorType
public void setErrorType(io.jans.as.model.token.TokenRevocationErrorResponseType errorType)
Sets the error code when the request fails, otherwise will returnnull.- Parameters:
 errorType- The error code when the request fails.
 
- 
getErrorDescription
public java.lang.String getErrorDescription()
Returns a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.- Returns:
 - The error description.
 
 
- 
setErrorDescription
public void setErrorDescription(java.lang.String errorDescription)
Sets a human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.- Parameters:
 errorDescription- The error description.
 
- 
getErrorUri
public java.lang.String getErrorUri()
Returns a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.- Returns:
 - A URI with information about the error.
 
 
- 
setErrorUri
public void setErrorUri(java.lang.String errorUri)
Sets a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.- Parameters:
 errorUri- A URI with information about the error.
 
 - 
 
 -