Interface TimedRequest
-
@ProviderType public interface TimedRequest
TheTimedRequest
interface provides the functionality to track the details about the processing of a request. This is used in the context of thecom.adobe.granite.requests.logging
bundle, which offers details about the longest running requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
getDuration()
Date
getRequestDate()
String
getRequestMethod()
String
getRequestUrl()
-
-
-
Method Detail
-
getRequestUrl
String getRequestUrl()
- Returns:
- the URL requested.
-
getRequestMethod
String getRequestMethod()
- Returns:
- the request method (GET, POST etc.).
-
getRequestDate
Date getRequestDate()
- Returns:
- the time of the request.
-
getDuration
Long getDuration()
- Returns:
- the time elapsed in milliseconds until the request was completed.
-
-