Examples of withPort()


Examples of com.davfx.ninio.http.util.SimpleHttpClient.withPort()

        String host = getString(r, "host", "localhost");
        Integer port = getInt(r, "port", null);
        Boolean secure = getBoolean(r, "secure", null);
        c.on(path).withHost(host);
        if (port != null) {
          c.withPort(port);
        }
        if (secure != null) {
          c.secure(secure);
        }
       
View Full Code Here

Examples of com.davfx.ninio.http.util.SimpleHttpClient.withPort()

        String host = getString(r, "host", "localhost");
        Integer port = getInteger(r, "port", null);
        Boolean secure = getBoolean(r, "secure", null);
        c.on(path).withHost(host);
        if (port != null) {
          c.withPort(port);
        }
        if (secure != null) {
          c.secure(secure);
        }
       
View Full Code Here

Examples of fitnesse.ContextConfigurator.withPort()

    result = result.withParameter(LOG_LEVEL, verboseLogging ? "verbose" : "normal");
    if (configFile != null)
      result = result.withParameter(CONFIG_FILE, configFile);
    if (port != null)
      result = result.withPort(port);
    if (rootPath != null)
      result = result.withRootPath(rootPath);
    if (rootDirectory != null)
      result = result.withRootDirectoryName(rootDirectory);
    if (output != null)
View Full Code Here

Examples of fitnesse.ContextConfigurator.withPort()

    result = result.withParameter(LOG_LEVEL, verboseLogging ? "verbose" : "normal");
    if (configFile != null)
      result = result.withParameter(CONFIG_FILE, configFile);
    if (port != null)
      result = result.withPort(port);
    if (rootPath != null)
      result = result.withRootPath(rootPath);
    if (rootDirectory != null)
      result = result.withRootDirectoryName(rootDirectory);
    if (output != null)
View Full Code Here

Examples of org.sonatype.nexus.component.source.api.http.HttpProxyConfig.withPort()

  {
    HttpProxyConfig httpProxyConfig = null;
    if (configMap.containsKey(prefix + ".hostname")) {
      httpProxyConfig = new HttpProxyConfig();
      httpProxyConfig.withHostname((String) configMap.get(prefix + ".hostname"));
      httpProxyConfig.withPort((Integer) configMap.get(prefix + ".port"));
      httpProxyConfig.withAuthenticationConfig(authenticationFromMap(configMap, prefix));
    }
    return httpProxyConfig;
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.