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

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

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

SSLSocketFactory.createLayeredSocket介绍

暂无

代码示例

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

public Socket createSocket(
    final Socket socket,
    final String host, final int port,
    final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, autoClose);
}

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

@Override
public Socket createLayeredSocket(
  final Socket socket,
  final String host,
  final int port,
  final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, (HttpContext) null);
}

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

@Override
public Socket createSocket(
    final Socket socket,
    final String host, final int port,
    final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, autoClose);
}

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

public Socket createLayeredSocket(
  final Socket socket,
  final String host,
  final int port,
  final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, (HttpContext) null);
}

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

public Socket createLayeredSocket(
  final Socket socket,
  final String host,
  final int port,
  final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, (HttpContext) null);
}

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

@Override
public Socket createLayeredSocket(
  final Socket socket,
  final String host,
  final int port,
  final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, (HttpContext) null);
}

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

public Socket createSocket(
    final Socket socket,
    final String host, final int port,
    final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, autoClose);
}

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

@Override
public Socket createSocket(
    final Socket socket,
    final String host, final int port,
    final boolean autoClose) throws IOException, UnknownHostException {
  return createLayeredSocket(socket, host, port, autoClose);
}

代码示例来源:origin: org.keycloak/keycloak-adapter-core

@Override
public Socket createLayeredSocket(Socket socket, String target, int port, HttpContext context) throws IOException {
  return super.createLayeredSocket(applySNI(socket, target), target, port, context);
}

代码示例来源:origin: org.keycloak/keycloak-saml-adapter-core

@Override
public Socket createLayeredSocket(Socket socket, String target, int port, HttpContext context) throws IOException {
  return super.createLayeredSocket(applySNI(socket, target), target, port, context);
}

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

return sock;
} else {
  return createLayeredSocket(sock, host.getHostName(), remoteAddress.getPort(), context);

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

return sock;
} else {
  return createLayeredSocket(sock, host.getHostName(), remoteAddress.getPort(), context);

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

return sock;
} else {
  return createLayeredSocket(sock, host.getHostName(), remoteAddress.getPort(), context);

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

return sock;
} else {
  return createLayeredSocket(sock, host.getHostName(), remoteAddress.getPort(), context);

相关文章