Class SystemUnavailableResponse
- java.lang.Object
-
- africa.absa.inception.oauth2.server.authorization.controller.Response
-
- africa.absa.inception.oauth2.server.authorization.controller.SystemUnavailableResponse
-
public class SystemUnavailableResponse extends Response
The SystemUnavailableResponse class holds the information for a response returned to indicated that the system encountered an error and is unable to process the OAuth2 request.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description SystemUnavailableResponse(String message)Constructs a new SystemUnavailableResponse.SystemUnavailableResponse(String message, Throwable cause)Constructs a new SystemUnavailableResponse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBody()Returns the body for the OAuth2 response.
-
-
-
Constructor Detail
-
SystemUnavailableResponse
public SystemUnavailableResponse(String message)
Constructs a new SystemUnavailableResponse.- Parameters:
message- the message
-
-