| Package | Description |
|---|---|
| com.pingidentity.pa.sdk.http | |
| com.pingidentity.pa.sdk.localization | |
| com.pingidentity.pa.sdk.policy | |
| com.pingidentity.pa.sdk.policy.error |
This package provides the following implementations of
ErrorHandlingCallback:
LocalizedInternalServerErrorCallback returns an HTTP 500
Internal Server Error. |
| Modifier and Type | Method and Description |
|---|---|
LocalizedMessage |
HttpStatus.getLocalizedMessage()
Retrieves the localized status message, which may be more suitable for presenting to an end-user in a response.
|
| Constructor and Description |
|---|
HttpStatus(int code,
String message,
LocalizedMessage localizedMessage)
Constructs a new
HttpStatus. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicLocalizedMessage
A simple
LocalizedMessage that resolves a single message key. |
class |
FixedMessage
An implementation of
LocalizedMessage that just returns a fixed message string, without resolving any
localized values. |
class |
ParameterizedLocalizedMessage
A
LocalizedMessage that resolves a message with placeholders. |
| Modifier and Type | Method and Description |
|---|---|
LocalizedMessage |
AccessException.getErrorMessage() |
| Modifier and Type | Method and Description |
|---|---|
AccessExceptionContext |
AccessExceptionContext.errorDescription(LocalizedMessage message)
Sets the localized error description.
|
| Modifier and Type | Method and Description |
|---|---|
LocalizedMessage |
ErrorInfo.getErrorMessage()
Retrieves the primary error message to be presented to the end-user in the body of the response, which may be
localized for the current locale.
|
Copyright 2023 Ping Identity Corp. All rights reserved.