- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 3,152 for get2 (0.05 sec)
-
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
@Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start() val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges()); // test that connected ranges are coalesced for (int i = 0; i + 1 < asRanges.size(); i++) { Range<C> range1 = asRanges.get(i); Range<C> range2 = asRanges.get(i + 1); assertFalse(range1.isConnected(range2)); } // test that there are no empty ranges for (Range<C> range : asRanges) { assertFalse(range.isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListMultimap.java
/** Constructor for use by subclasses. */ protected ForwardingListMultimap() {} @Override protected abstract ListMultimap<K, V> delegate(); @Override public List<V> get(@ParametricNullness K key) { return delegate().get(key); } @CanIgnoreReturnValue @Override public List<V> removeAll(@CheckForNull Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java
* @return キーが含まれているかどうか */ public boolean containsKey(final String key) { return super.containsKey(convertKey(key)); } @Override public V get(final Object key) { return super.get(convertKey(key)); } @Override public final V put(final String key, final V value) { return super.put(convertKey(key), value); } @Override
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Object val, boolean def) { if (val instanceof Boolean) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Sep 11 16:31:06 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java
Map pluginMap = project1.getBuild().getPluginsAsMap(); Plugin compilerPlugin = (Plugin) pluginMap.get("org.apache.maven.plugins:maven-compiler-plugin"); assertNotNull(compilerPlugin); Map executionMap = compilerPlugin.getExecutionsAsMap(); assertNull( executionMap.get("test"),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
docs_src/websockets/tutorial002_an.py
ws.send(input.value) input.value = '' event.preventDefault() } </script> </body> </html> """ @app.get("/") async def get(): return HTMLResponse(html) async def get_cookie_or_token( websocket: WebSocket, session: Annotated[Union[str, None], Cookie()] = None, token: Annotated[Union[str, None], Query()] = None,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
docs_src/websockets/tutorial002_an_py39.py
ws.send(input.value) input.value = '' event.preventDefault() } </script> </body> </html> """ @app.get("/") async def get(): return HTMLResponse(html) async def get_cookie_or_token( websocket: WebSocket, session: Annotated[Union[str, None], Cookie()] = None, token: Annotated[Union[str, None], Query()] = None,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
private val call: RealCall, private val poolConnectionListener: ConnectionListener, private val chain: RealInterceptorChain, ) : ConnectionUser { private val eventListener: EventListener get() = call.eventListener override fun addPlanToCancel(connectPlan: ConnectPlan) { call.plansToCancel += connectPlan } override fun removePlanToCancel(connectPlan: ConnectPlan) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 3.6K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
import okhttp3.internal.http.StatusLine import okio.sink internal fun Main.commonCreateRequest(): Request { val request = Request.Builder() val requestMethod = method ?: if (data != null) "POST" else "GET" val url = url ?: throw IOException("No url provided") request.url(url) data?.let { request.method(requestMethod, it.toRequestBody(mediaType())) } for (header in headers.orEmpty()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)