- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 900 for localPort (0.58 sec)
-
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
), localPort = 80, ) val request = RecordedRequest("GET / HTTP/1.1", headers, emptyList(), 0, Buffer(), 0, socket) assertThat(request.requestUrl.toString()).isEqualTo("http://host-from-header.com/") } private class FakeSocket( private val localAddress: InetAddress, private val localPort: Int, private val remoteAddress: InetAddress = localAddress,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServerFixture.groovy
assert server.started if (sslConnector) { return URI.create("https://localhost:${sslConnector.localPort}") } else if (useHostnameForUrl) { // If used in a code-path that interacts with the HttpClientHelper, this will fail validation. return URI.create("http://localhost:${connector.localPort}") } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
public NbtSocket( NbtAddress address, int port, InetAddress localAddr, int localPort ) throws IOException { this( address, null, port, localAddr, localPort ); } public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ),
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
} @Throws(IOException::class) override fun createSocket( host: String, port: Int, localAddress: InetAddress, localPort: Int, ): SSLSocket { val sslSocket = delegate.createSocket(host, port, localAddress, localPort) as SSLSocket return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: InetAddress, port: Int,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
} @Throws(IOException::class) override fun createSocket( host: String, port: Int, localAddress: InetAddress, localPort: Int, ): Socket { val socket = delegate.createSocket(host, port, localAddress, localPort) return configureSocket(socket) } @Throws(IOException::class) override fun createSocket( host: InetAddress, port: Int, ): Socket {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
} @Override public Socket createSocket( String host, int port, InetAddress localHost, int localPort) throws IOException { return configureSocket((SSLSocket) delegate.createSocket(host, port, localHost, localPort)); } @Override public Socket createSocket(InetAddress host, int port) throws IOException {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
pkg/kube/portforwarder.go
func newPortForwarder(c *client, podName, ns, localAddress string, localPort, podPort int) (PortForwarder, error) { if localAddress == "" { localAddress = defaultLocalAddress } f := &forwarder{ stopCh: make(chan struct{}), restConfig: c.config, podName: podName, ns: ns, localAddress: localAddress, localPort: localPort, podPort: podPort, } return f, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 02:12:37 UTC 2023 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
boolean useUnicode = USE_UNICODE; String tconHostName = null; SmbTransport( UniAddress address, int port, InetAddress localAddr, int localPort ) { this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort; } synchronized SmbSession getSmbSession() { return getSmbSession( new NtlmPasswordAuthentication( null, null, null )); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
val scheme = if (socket is SSLSocket) "https" else "http" val localPort = socket.localPort val hostAndPort = headers[":authority"] ?: headers["Host"] ?: when (val inetAddress = socket.localAddress) { is Inet6Address -> "[${inetAddress.hostAddress}]:$localPort" else -> "${inetAddress.hostAddress}:$localPort" }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ChannelSocketFactory.kt
host: String, port: Int, localHost: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: InetAddress, port: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( address: InetAddress, port: Int, localAddress: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0)