Interface HttpClient
- All Known Implementing Classes:
CustomApacheHttpClient
public interface HttpClient
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpCommonResultexecute(HttpCommonRequest request) Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.execute(HttpCommonRequest request, ExecutionEnvironment executionEnvironment) Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.
-
Method Details
-
execute
HttpCommonResult execute(HttpCommonRequest request, @Nullable ExecutionEnvironment executionEnvironment) Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.- Parameters:
request- theHttpCommonRequestto executeexecutionEnvironment- theExecutionEnvironmentto use for the execution.- Returns:
- the result of the request as a
HttpCommonResult
-
execute
Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.- Parameters:
request- theHttpCommonRequestto execute- Returns:
- the result of the request as a
HttpCommonResult - See Also:
-