Interface RequestFactory


public interface RequestFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    createRequest(URI uri, String method)
    Creates a new request using the underlying RequestFactory implementation.
  • Method Details

    • createRequest

      Request createRequest(URI uri, String method) throws IOException
      Creates a new request using the underlying RequestFactory implementation.
      Parameters:
      uri - request target URI
      method - request method (GET, POST, ...)
      Returns:
      the request
      Throws:
      IOException - in case of I/O issues while trying to create the request.