Class GeckoSession.WebResponseInfo

Enclosing class:

@AnyThread public static class GeckoSession.WebResponseInfo extends Object
WebResponseInfo contains information about a single web response.
  • Field Details

    • uri

      @NonNull public final String uri
      The URI of the response. Cannot be null.
    • contentType

      @Nullable public final String contentType
      The content type (mime type) of the response. May be null.
    • contentLength

      @Nullable public final long contentLength
      The content length of the response. May be 0 if unknokwn.
    • filename

      @Nullable public final String filename
      The filename obtained from the content disposition, if any. May be null.
  • Constructor Details

    • WebResponseInfo

      protected WebResponseInfo()
      Empty constructor for tests.