Package org.springframework.xd.test.fixtures

Examples of org.springframework.xd.test.fixtures.SimpleHttpSource


   * Create an instance of the http source with the default target host (localhost) and default port (9000).
   *
   * @return an instance of HttpSource
   */
  public SimpleHttpSource http() {
    return new SimpleHttpSource();
  }
View Full Code Here


   *
   * @param host the host ip where http data will be posted.
   * @return an instance of HttpSource
   */
  public SimpleHttpSource http(String host) {
    return new SimpleHttpSource(host);
  }
View Full Code Here

   * @param host the host ip where http data will be posted.
   * @param port the port to connect to
   * @return an instance of HttpSource
   */
  public SimpleHttpSource http(String host, int port) {
    return new SimpleHttpSource(host, port);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.test.fixtures.SimpleHttpSource

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.