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 java.lang.Long
getDuration()
java.util.Date
getRequestDate()
java.lang.String
getRequestMethod()
java.lang.String
getRequestUrl()
-
-
-
Method Detail
-
getRequestUrl
java.lang.String getRequestUrl()
- Returns:
- the URL requested.
-
getRequestMethod
java.lang.String getRequestMethod()
- Returns:
- the request method (GET, POST etc.).
-
getRequestDate
java.util.Date getRequestDate()
- Returns:
- the time of the request.
-
getDuration
java.lang.Long getDuration()
- Returns:
- the time elapsed in milliseconds until the request was completed.
-
-