| Package | Description |
|---|---|
| com.pingidentity.pa.sdk.http | |
| com.pingidentity.pa.sdk.http.client | |
| 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 |
|---|---|
static HttpStatus |
HttpStatus.forCode(int statusCode)
Retrieves the
HttpStatus constant for a supplied status code. |
HttpStatus |
Response.getStatus() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseBuilder |
ResponseBuilder.newInstance(HttpStatus status)
Creates a ResponseBuilder.
|
void |
Response.setStatus(HttpStatus status) |
| Modifier and Type | Method and Description |
|---|---|
HttpStatus |
ClientResponse.getStatus() |
| Modifier and Type | Method and Description |
|---|---|
HttpStatus |
AccessException.getErrorStatus() |
| Modifier and Type | Method and Description |
|---|---|
static AccessExceptionContext |
AccessExceptionContext.create(HttpStatus status)
Creates a new
AccessExceptionContext with a specific HTTP response status. |
| Constructor and Description |
|---|
AccessException(String message,
HttpStatus status)
Constructs a new
AccessException. |
AccessException(String message,
HttpStatus status,
Throwable cause)
Constructs a new
AccessException. |
| Modifier and Type | Method and Description |
|---|---|
HttpStatus |
ErrorInfo.getErrorStatus()
Retrieves the response status, which encapsulates both the status code (e.g.
|
Copyright 2023 Ping Identity Corp. All rights reserved.