Package com.anthavio.httl

Examples of com.anthavio.httl.HttpURLConfig


  private boolean closed;

  private AtomicInteger executions = new AtomicInteger(0);

  public FakeSender(SenderResponse response) {
    super(new HttpURLConfig("http://never.really.sent.anywhere/"));
    if (response == null) {
      throw new IllegalArgumentException("response is null");
    }
    this.response = response;
  }
View Full Code Here


  public FakeSender(String responseBody) {
    this(200, "text/plain", responseBody);
  }

  public FakeSender(int responseCode, String contentType, String responseBody) {
    super(new HttpURLConfig("http://never.really.sent.anywhere/"));
    setResponse(responseCode, contentType, responseBody);
  }
View Full Code Here

TOP

Related Classes of com.anthavio.httl.HttpURLConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.