syncloud.google.docs.RequestExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of syncloud-google-docs Show documentation
Show all versions of syncloud-google-docs Show documentation
Google Docs Syncloud Starage Adapter
The newest version!
package syncloud.google.docs;
import com.google.api.client.http.HttpRequest;
import com.google.api.client.http.HttpResponse;
import java.io.IOException;
public class RequestExecutor {
private SensitiveRequestRetryer sensitiveRequestRetryer = new SensitiveRequestRetryer();
private final NonSensitiveRequestRetryer nonSensitiveRequestRetryer = new NonSensitiveRequestRetryer();
public HttpResponse executeSensitive(final HttpRequest request) throws IOException {
HttpLogger.log(request);
return sensitiveRequestRetryer.execute(request);
}
public HttpResponse executeNonSensitive(final HttpRequest request) throws IOException {
HttpLogger.log(request);
return nonSensitiveRequestRetryer.execute(request);
}
public SensitiveRequestRetryer getSensitiveRequestRetryer() {
return sensitiveRequestRetryer;
}
public NonSensitiveRequestRetryer getNonSensitiveRequestRetryer() {
return nonSensitiveRequestRetryer;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy