Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addTest (0.16 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

          this.endpoint = (InetSocketAddress) endpoint;
    
          UnixSocketAddress address = new UnixSocketAddress(path);
          serverSocketChannel = UnixServerSocketChannel.open();
          serverSocketChannel.configureBlocking(true);
          serverSocketChannel.socket().bind(address);
        }
    
        @Override public int getLocalPort() {
          return 1; // A white lie. There is no local port.
        }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        }
    
        @Override public Socket createSocket(
            InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException {
          return configureSocket((SSLSocket) delegate.createSocket(
              address, port, localAddress, localPort));
        }
    
        protected SSLSocket configureSocket(SSLSocket socket) throws IOException {
          return socket;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

      TunnelingUnixSocket(File path, UnixSocketChannel channel) {
        super(channel);
        this.path = path;
      }
    
      TunnelingUnixSocket(File path, UnixSocketChannel channel, InetSocketAddress address) {
        this(path, channel);
        this.inetSocketAddress = address;
      }
    
      @Override public void connect(SocketAddress endpoint) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Viewed (1)
Back to top