All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vwo.event.DispatchEvent Maven / Gradle / Ivy

There is a newer version: 1.66.0
Show newest version
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