![JAR search and dependency download from the Maven repository](/logo.png)
com.rollbar.reactivestreams.notifier.sender.http.AsyncHttpRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rollbar-reactive-streams Show documentation
Show all versions of rollbar-reactive-streams Show documentation
For connecting your applications built on the JVM to Rollbar for Error Reporting
package com.rollbar.reactivestreams.notifier.sender.http;
import java.util.Map;
import java.util.Set;
/**
* Data for an asynchronous, non-blocking HTTP request.
*/
public interface AsyncHttpRequest {
String getUrl();
Iterable> getHeaders();
String getBody();
class Builder {
public static AsyncHttpRequest build(String url, Set> headers,
String reqBody) {
return new AsyncHttpRequestImpl(url, headers, reqBody);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy