Package com.openshift.client.fakes

Examples of com.openshift.client.fakes.HttpsServerFake


    return serverFake;
  }

  private HttpsServerFake startHttpsServerFake(String statusLine) throws Exception {
    int port = new Random().nextInt(9 * 1024) + 1024;
    HttpsServerFake serverFake = null;
    if (statusLine == null) {
      serverFake = new HttpsServerFake(port);
    } else {
      serverFake = new HttpsServerFake(port, null, statusLine);
    }
    serverFake.start();
    return serverFake;
  }
View Full Code Here

TOP

Related Classes of com.openshift.client.fakes.HttpsServerFake

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.