- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,758 for Request (0.25 sec)
-
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
server!!.protocols = listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) server!!.enqueue(MockResponse()) server!!.enqueue(MockResponse()) client.newCall(Request(server!!.url("/"))) .execute().close() client.newCall(Request(server!!.url("/"))) .execute().close() assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectEnd",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
* settings and global settings are given, the user settings take precedence. * * @param globalSettingsFile The global settings file, may be {@code null} to disable global settings. * @return This request, never {@code null}. */ SettingsBuildingRequest setGlobalSettingsFile(File globalSettingsFile); /** * Gets the global settings source. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
public void onRequestStart(final FaultTolerantClient client, final RequestData request) { startCount++; } @Override public void onRequest(final FaultTolerantClient client, final RequestData request, final int count) { requestCount++; requestUrl = request.getUrl(); requestMethod = request.getMethod().toString(); } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
fun Response.commonClose() { body.close() } fun Response.commonToString(): String = "Response{protocol=$protocol, code=$code, message=$message, url=${request.url}}" fun Response.Builder.commonRequest(request: Request) = apply { this.request = request } fun Response.Builder.commonProtocol(protocol: Protocol) = apply { this.protocol = protocol }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java
import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.RepositoryRequest; /** * Forms a request to retrieve artifact metadata. * */ @Deprecated public interface MetadataResolutionRequest extends RepositoryRequest { /** * Indicates whether network access to remote repositories has been disabled.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
protected static final String OPTIONS = "OPTIONS"; @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, ServletException { final HttpServletRequest httpRequest = (HttpServletRequest) request; final String origin = httpRequest.getHeader("Origin"); if (StringUtil.isNotBlank(origin)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/handlers/proxy.go
// these quotes. addr = strings.Trim(match[1], `"`) } } return addr } // GetSourceIPRaw retrieves the IP from the request headers // and falls back to r.RemoteAddr when necessary. // however returns without bracketing. func GetSourceIPRaw(r *http.Request) string { addr := GetSourceIPFromHeaders(r) if addr == "" { addr = r.RemoteAddr } // Default to remote address if headers not set.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 5.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
import okhttp3.FormBody import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request class PostForm { private val client = OkHttpClient() fun run() { val formBody = FormBody.Builder() .add("search", "Jurassic Park") .build() val request = Request( url = "https://en.wikipedia.org/w/index.php".toHttpUrl(), body = formBody, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
package okhttp3.recipes.kt import java.io.IOException import okhttp3.OkHttpClient import okhttp3.Request class SynchronousGet { private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
if (launch == CommandLine) { process?.destroyForcibly() } } } private fun sendTestRequest(request: Request) { try { if (this.launch != CommandLine) { println(request.url) } client.newCall(request) .execute() .use { val firstLine = it.body.string() .lines() .first()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0)