Class FetchErrorDetails
java.lang.Object
io.jenkins.plugins.restlistparam.model.FetchErrorDetails
Request metadata of a failed fetch, shown to users who can configure the job. It never holds the response
body, credentials, header values or the URL's query string and user info.
-
Constructor Details
-
FetchErrorDetails
- Parameters:
url- The requested URL; it is stored without query string, fragment and user infopage- The page on which the fetch failed, ornullwhen the failure is not tied to a pagecause- The HTTP status code or the exception's simple name, ornullwhen there is neitherdurationMs- How long the fetch took until it failed
-
-
Method Details
-
sanitizeUrl
- Returns:
urlwithout query string, fragment and user info
-
getUrl
-
getPage
-
getCause
-
getDurationMs
public long getDurationMs()
-