public class GatewayResponseUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
generateEsErrorResponse(org.springframework.http.HttpStatus status,
String type,
String reason,
Map<String,Object> fields) |
public static org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> generateEsErrorResponse(org.springframework.http.HttpStatus status,
String type,
String reason,
Map<String,Object> fields)
status - HTTP Status of the responsetype - Error typereason - Reason why the error was triggeredfields - Additional fieldsCopyright © 2023. All rights reserved.