Package org.zalando.fahrschein.http.api
Interface RequestFactory
public interface RequestFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateRequest(URI uri, String method) Creates a new request using the underlying RequestFactory implementation.
-
Method Details
-
createRequest
Creates a new request using the underlying RequestFactory implementation.- Parameters:
uri- request target URImethod- request method (GET, POST, ...)- Returns:
- the request
- Throws:
IOException- in case of I/O issues while trying to create the request.
-