- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 162 for Route (0.03 sec)
-
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> { if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
}) } } func TestPrintRoutesSummary(t *testing.T) { tests := []struct { name string }{ { name: "empty-gateway", }, { name: "istio-gateway-http-route-prefix", }, { name: "k8s-gateway-http-route-path-prefix", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
val address = client.dns.lookup(server!!.hostName)[0] val expectedAddress = InetSocketAddress(address, server!!.port) val event = listener.removeUpToEvent(ConnectionEvent.ConnectStart::class.java) assertThat(event.route.socketAddress).isEqualTo(expectedAddress) } @Test @Throws(UnknownHostException::class) fun failedConnect() { enableTls() server!!.enqueue(MockResponse(socketPolicy = FailHandshake))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
test-site/conf/application.conf
# Router # ~~~~~ # Define the Router object to use for this application. # This router will be looked up first when the application is starting up, # so make sure this is the entry point. # Furthermore, it's assumed your route file is named properly. # So for an application router like `conf/my.application.Router`, # you may need to define a router file `my.application.routes`. # Default to Routes in the root package (and `conf/routes`)
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
responseBody = Buffer().asResponseBody(null, 0L) } @Test fun route() { val route: Route = factory.newRoute() val address: Address = route.address val proxy: Proxy = route.proxy val inetSocketAddress: InetSocketAddress = route.socketAddress val requiresTunnel: Boolean = route.requiresTunnel() } @Test fun socketPolicy() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:58:02 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
) // logically different scope of client for route db assertNotSame( client.routeDatabase, client.newBuilder() .dns { listOf() } .build() .routeDatabase, ) assertNotSame( client.routeDatabase, client.newBuilder() .proxyAuthenticator { _: Route?, _: Response? -> null } .build() .routeDatabase, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
internal/grid/connection.go
return &Subroute{ Connection: c, route: s, subID: makeSubHandlerID(0, s), trace: c.trace.subroute(s), } } // Subroute adds a subroute to the subroute. // The subroutes are combined with '/'. func (c *Subroute) Subroute(s string) *Subroute { route := strings.Join([]string{c.route, s}, "/") return &Subroute{ Connection: c.Connection, route: route,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
internal/grid/grid.go
// The net.Conn must support all features as described by the net.Conn interface. type ConnDialer func(ctx context.Context, address string) (net.Conn, error) // ConnectWSWithRoutePath is like ConnectWS but with a custom grid route path. func ConnectWSWithRoutePath(dial ContextDialer, auth AuthFn, tls *tls.Config, routePath string) func(ctx context.Context, remote string) (net.Conn, error) { return func(ctx context.Context, remote string) (net.Conn, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt
* limitations under the License. */ package okhttp3.internal import java.net.InetAddress import okhttp3.Dns /** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> { val addresses = Dns.SYSTEM.lookup(hostname)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1K bytes - Viewed (0)