Interface InterceptUrlRequestCallback.Params

Enclosing interface:
InterceptUrlRequestCallback

public static interface InterceptUrlRequestCallback.Params
The parameters of the InterceptUrlRequestCallback.
  • Method Details

    • urlRequest

      UrlRequest urlRequest()
      Returns the URL request.
    • uploadData

      Optional<UploadData> uploadData()
      Returns an Optional that contains the upload data in the request or an empty Optional if the request does not have any upload data.
    • httpHeaders

      List<HttpHeader> httpHeaders()
      Returns an immutable list of the HTTP headers of the request or an empty list if the request does not have any HTTP headers.
    • newUrlRequestJob

      UrlRequestJob newUrlRequestJob(UrlRequestJob.Options options)
      Creates and returns a new UrlRequestJob instance with the given options.
      Throws:
      ObjectClosedException - when the engine is closed