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, boolean remoteExecutionEnabled) Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.
-
Method Details
-
execute
Executes the givenHttpCommonRequestand returns the result as aHttpCommonResult.- Parameters:
request- theHttpCommonRequestto executeremoteExecutionEnabled- whether to use the internal Google Function to execute the request remotely- 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
-