| Package | Description |
|---|---|
| com.amazonaws.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
CustomResponse |
CustomResponse.clone() |
CustomResponse |
BlockAction.getCustomResponse()
Defines a custom response for the web request.
|
CustomResponse |
CustomResponse.withCustomResponseBodyKey(String customResponseBodyKey)
References the response body that you want WAF to return to the web request client.
|
CustomResponse |
CustomResponse.withResponseCode(Integer responseCode)
The HTTP status code to return to the client.
|
CustomResponse |
CustomResponse.withResponseHeaders(Collection<CustomHTTPHeader> responseHeaders)
The HTTP headers to use in the response.
|
CustomResponse |
CustomResponse.withResponseHeaders(CustomHTTPHeader... responseHeaders)
The HTTP headers to use in the response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BlockAction.setCustomResponse(CustomResponse customResponse)
Defines a custom response for the web request.
|
BlockAction |
BlockAction.withCustomResponse(CustomResponse customResponse)
Defines a custom response for the web request.
|
Copyright © 2024. All rights reserved.