- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getLocalPort (0.06 sec)
-
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
override fun getOutputStream() = Buffer().outputStream() override fun getInetAddress() = remoteAddress override fun getLocalAddress() = localAddress override fun getLocalPort() = localPort override fun getPort() = remotePort }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 5.3K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
serverSocketChannel = UnixServerSocketChannel.open(); serverSocketChannel.configureBlocking(true); serverSocketChannel.socket().bind(address); } @Override public int getLocalPort() { return 1; // A white lie. There is no local port. } @Override public SocketAddress getLocalSocketAddress() { return endpoint; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(SocketException::class) override fun getKeepAlive(): Boolean = delegate!!.keepAlive override fun getLocalAddress(): InetAddress = delegate!!.localAddress override fun getLocalPort(): Int = delegate!!.localPort @Throws(IOException::class) override fun getOutputStream(): OutputStream = delegate!!.outputStream override fun getPort(): Int = delegate!!.port
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0)