com.vwo.event.DispatchEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vwo-java-sdk Show documentation
Show all versions of vwo-java-sdk Show documentation
Java library to initiate VWo instance for server side a/b testing
package com.vwo.event;
import java.util.Map;
public class DispatchEvent {
private final String host;
private final String path;
private final Map requestParams;
private final RequestMethod requestMethod;
private final String body;
public DispatchEvent(String host, String path, Map requestParams, RequestMethod requestMethod, String body) {
this.host = host;
this.path = path;
this.requestParams = requestParams;
this.requestMethod = requestMethod;
this.body = body;
}
public String getHost() {
return host;
}
public String getPath() {
return path;
}
public Map getRequestParams() {
return requestParams;
}
public RequestMethod getRequestMethod() {
return requestMethod;
}
public String getBody() {
return body;
}
public enum RequestMethod {
GET,
POST
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy