content: package utils;
  
  import dev.aikido.agent_api.context.ContextObject;
  
  import java.util.ArrayList;
  import java.util.HashMap;
  import java.util.List;
  import java.util.Map;
  
  public class EmptySampleContextObject extends ContextObject {
      public EmptySampleContextObject() {
          this.method = "GET";
          this.source = "web";
          this.url = "https://example.com/api/resource";
          this.route = "/api/resource";
          this.remoteAddress = "192.168.1.1";
          this.headers = new HashMap<>();
          this.query = new HashMap<>();
          this.cookies = new HashMap<>();
          this.redirectStartNodes = new ArrayList<>();
      }
      public EmptySampleContextObject(String argument) {
          this();
          this.query.put("arg", List.of(argument));
      }
      public EmptySampleContextObject(HashMap<String, List<String>> headers) {
          this();
          this.headers = headers;
      }
      public EmptySampleContextObject(String argument, String url) {
          this();
          this.query.put("arg", List.of(argument));
          this.url = url;
      }
      public EmptySampleContextObject(String argument, String route, String method) {
          this();
          this.query.put("arg", List.of(argument));
          this.route = route;
          this.method = method;
      }
      public EmptySampleContextObject(String route, String method, Map<String, List<String>> queryParams) {
          this();
          this.route = route;
          this.method = method;
          this.query = new HashMap<>(queryParams);
      }
      public void setIp(String ip) {
          this.remoteAddress = ip;
      }
  }
  