- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for queryParameter (0.17 sec)
-
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
@Override public MockResponse dispatch(RecordedRequest request) { HttpUrl requestUrl = mockWebServer.url(request.getPath()); String code = requestUrl.queryParameter("code"); String stateString = requestUrl.queryParameter("state"); ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null; Listener listener; synchronized (this) { listener = listeners.get(state);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameter("a =& b")).isNull() } @Test fun composeQuerySetQueryParameter() { val url = parse("http://host/").newBuilder() .addQueryParameter("a+=& b", "c+=& d") .setQueryParameter("a+=& b", "ef") .build() assertThat(url.toString()).isEqualTo("http://host/?a%2B%3D%26%20b=ef") assertThat(url.queryParameter("a+=& b")).isEqualTo("ef") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
.isEqualTo("http://host/?%3D%5B%5D%3A%3B%22%7E%7C%3F%23%40%5E%2F%24%25*=a") assertThat(url.toUri().toString()) .isEqualTo("http://host/?%3D%5B%5D%3A%3B%22%7E%7C%3F%23%40%5E%2F%24%25*=a") assertThat(url.queryParameter("=[]:;\"~|?#@^/$%*")).isEqualTo("a") } @Test fun toUriQueryParameterValueSpecialCharacters() { val url = HttpUrl.Builder() .scheme("http") .host("host")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
val encodedQuery: String? = httpUrl.encodedQuery() val query: String? = httpUrl.query() val querySize: Int = httpUrl.querySize() val queryParameter: String? = httpUrl.queryParameter("") val queryParameterNames: Set<String> = httpUrl.queryParameterNames() val encodedFragment: String? = httpUrl.encodedFragment() val fragment: String? = httpUrl.fragment()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
value: String, ) { builder.addQueryParameter("q", "a${value}z") } override operator fun get(url: HttpUrl): String { val value = url.queryParameter("q") return value!!.substring(1, value.length - 1) } }, FRAGMENT { override fun urlString(value: String): String = "http://example.com/#a${value}z"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val pathSegments: List<String> = httpUrl.pathSegments val encodedQuery: String? = httpUrl.encodedQuery val query: String? = httpUrl.query val querySize: Int = httpUrl.querySize val queryParameter: String? = httpUrl.queryParameter("") val queryParameterNames: Set<String> = httpUrl.queryParameterNames val queryParameterValues: List<String?> = httpUrl.queryParameterValues("")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(requestUrl.host).isEqualTo(server.hostName) assertThat(requestUrl.port).isEqualTo(server.port) assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path") assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar") } @Test fun shutdownServerAfterRequest() { server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(requestUrl.host).isEqualTo(server.hostName) assertThat(requestUrl.port).isEqualTo(server.port) assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path") assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar") } @Test fun shutdownServerAfterRequest() { server.enqueue( MockResponse.Builder() .socketPolicy(ShutdownServerAfterResponse) .build(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
docs/nl/docs/index.md
### Alternatieve API documentatie upgrade Ga vervolgens naar <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>. * De alternatieve documentatie zal ook de nieuwe queryparameter en body weergeven: ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png) ### Samenvatting Samengevat declareer je **eenmalig** de types van parameters, body, etc. als functieparameters.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
} /** * The first query parameter named `name` decoded using UTF-8, or null if there is no such query * parameter. * * | URL | `queryParameter("a")` | * | :-------------------------------- | :-------------------- | * | `http://host/` | null | * | `http://host/?` | null |
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0)