Interface TimedRequest


  • @ProviderType
    public interface TimedRequest
    The TimedRequest interface provides the functionality to track the details about the processing of a request. This is used in the context of the com.adobe.granite.requests.logging bundle, which offers details about the longest running requests.
    • 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.