pl.allegro.tech.hermes.consumers.consumer.sender.http.HttpRequestData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.consumer.sender.http;
import pl.allegro.tech.hermes.api.EndpointAddress;
public class HttpRequestData {
private EndpointAddress rawAddress;
public HttpRequestData(EndpointAddress rawAddress) {
this.rawAddress = rawAddress;
}
public EndpointAddress getRawAddress() {
return rawAddress;
}
public static class HttpRequestDataBuilder {
private EndpointAddress rawAddress;
public HttpRequestDataBuilder withRawAddress(EndpointAddress rawAddress) {
this.rawAddress = rawAddress;
return this;
}
public HttpRequestData build() {
return new HttpRequestData(rawAddress);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy