org.apache.http.conn.ssl.SSLSocketFactory.createSocket()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(220)

本文整理了Java中org.apache.http.conn.ssl.SSLSocketFactory.createSocket()方法的一些代码示例,展示了SSLSocketFactory.createSocket()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SSLSocketFactory.createSocket()方法的具体详情如下:
包路径:org.apache.http.conn.ssl.SSLSocketFactory
类名称:SSLSocketFactory
方法名:createSocket

SSLSocketFactory.createSocket介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

((sock != null) ? sock : createSocket());

代码示例来源:origin: Nextdoor/bender

/**
 * @param params Optional parameters. Parameters passed to this method will have no effect.
 *               This method will create a unconnected instance of {@link Socket} class.
 * @since 4.1
 */
@Override
public Socket createSocket(final HttpParams params) throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: com.hynnet/httpclient

/**
 * @param params Optional parameters. Parameters passed to this method will have no effect.
 *               This method will create a unconnected instance of {@link Socket} class.
 * @since 4.1
 */
public Socket createSocket(final HttpParams params) throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

/**
 * @param params Optional parameters. Parameters passed to this method will have no effect.
 *               This method will create a unconnected instance of {@link Socket} class.
 * @since 4.1
 */
public Socket createSocket(final HttpParams params) throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * @param params Optional parameters. Parameters passed to this method will have no effect.
 *               This method will create a unconnected instance of {@link Socket} class.
 * @since 4.1
 */
@Override
public Socket createSocket(final HttpParams params) throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public Socket createSocket() throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: Nextdoor/bender

@Override
public Socket createSocket() throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

public Socket createSocket() throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: com.hynnet/httpclient

public Socket createSocket() throws IOException {
  return createSocket((HttpContext) null);
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

Args.notNull(host, "HTTP host");
Args.notNull(remoteAddress, "Remote address");
final Socket sock = socket != null ? socket : createSocket(context);
if (localAddress != null) {
  sock.bind(localAddress);

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

Args.notNull(host, "HTTP host");
Args.notNull(remoteAddress, "Remote address");
final Socket sock = socket != null ? socket : createSocket(context);
if (localAddress != null) {
  sock.bind(localAddress);

代码示例来源:origin: com.hynnet/httpclient

Args.notNull(host, "HTTP host");
Args.notNull(remoteAddress, "Remote address");
final Socket sock = socket != null ? socket : createSocket(context);
if (localAddress != null) {
  sock.bind(localAddress);

代码示例来源:origin: Nextdoor/bender

Args.notNull(host, "HTTP host");
Args.notNull(remoteAddress, "Remote address");
final Socket sock = socket != null ? socket : createSocket(context);
if (localAddress != null) {
  sock.bind(localAddress);

代码示例来源:origin: hyperic/hq

socket = (SSLSocket) factory.createSocket();

代码示例来源:origin: MobiVM/robovm

((sock != null) ? sock : createSocket());

代码示例来源:origin: FlexoVM/flexovm

((sock != null) ? sock : createSocket());

代码示例来源:origin: com.gluonhq/robovm-rt

((sock != null) ? sock : createSocket());

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

((sock != null) ? sock : createSocket());

相关文章