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

io.sentry.core.protocol.Request Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha.1
Show newest version
package io.sentry.core.protocol;

import io.sentry.core.IUnknownPropertiesConsumer;
import java.util.Map;
import org.jetbrains.annotations.ApiStatus;

public final class Request implements IUnknownPropertiesConsumer {
  private String url;
  private String method;
  private String queryString;
  private Object data;
  private String cookies;
  private Map headers;
  private Map env;
  private Map other;

  @SuppressWarnings("unused")
  private Map unknown;

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getMethod() {
    return method;
  }

  public void setMethod(String method) {
    this.method = method;
  }

  public String getQueryString() {
    return queryString;
  }

  public void setQueryString(String queryString) {
    this.queryString = queryString;
  }

  public Object getData() {
    return data;
  }

  public void setData(Object data) {
    this.data = data;
  }

  public String getCookies() {
    return cookies;
  }

  public void setCookies(String cookies) {
    this.cookies = cookies;
  }

  public Map getHeaders() {
    return headers;
  }

  public void setHeaders(Map headers) {
    this.headers = headers;
  }

  public Map getEnvs() {
    return env;
  }

  public void setEnvs(Map env) {
    this.env = env;
  }

  public Map getOthers() {
    return other;
  }

  public void setOthers(Map other) {
    this.other = other;
  }

  @ApiStatus.Internal
  @Override
  public void acceptUnknownProperties(Map unknown) {
    this.unknown = unknown;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy