public static class RestResponseErrorBody.RestResponseError extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
RestResponseError()
Protected default constructor to allow JAXB marshalling.
|
|
RestResponseError(String message,
String parsedRequest)
Constructor.
|
|
RestResponseError(String message,
String parsedRequest,
LocalDateTime utcTimestamp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Provides the error message.
|
String |
getParsedRequest()
Provides a copy of the parsed HTTP request contents.
|
LocalDateTime |
getUtcTimestamp()
Provides the error date and time.
|
int |
hashCode() |
String |
toString() |
protected RestResponseError()
public RestResponseError(String message, String parsedRequest)
message - A String with the detail message.parsedRequest - A String with a copy of the parsed HTTP request contents.public RestResponseError(String message, String parsedRequest, LocalDateTime utcTimestamp)
message - A String with the detail message.parsedRequest - A String with a copy of the parsed HTTP request contents.utcTimestamp - A LocalDateTime with the error date and time.public String getMessage()
public String getParsedRequest()
public LocalDateTime getUtcTimestamp()
Copyright © 2000–2020 LOCKSS Program. All rights reserved.