- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 705 for REQUEST (0.2 sec)
-
guava-tests/test/com/google/common/util/concurrent/TestThread.java
try { while (true) { Request request = requestQueue.take(); Object result; try { result = invokeMethod(request.methodName, request.arguments); } catch (ThreadDeath death) { return; } catch (InvocationTargetException exception) { responseQueue.put(new Response(request.methodName, null, exception.getTargetException())); continue;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val call1 = localClient.newCall(Request(server.url("/"))) call1.execute().use { response -> assertThat(response.body.string()).isEqualTo("Req1") assertThat(response.handshake).isNotNull() assertThat(response.protocol == Protocol.HTTP_1_1) } eventListener.closed = true val call2 = localClient.newCall(Request(server.url("/")))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
public void run() throws Exception { final PipeBody pipeBody = new PipeBody(); Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(pipeBody) .build(); streamPrimesToSinkAsynchronously(pipeBody.sink()); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun request() { val request: Request = Request.Builder().build() val url: HttpUrl = request.url() val method: String = request.method() val headers: Headers = request.headers() val body: RequestBody? = request.body() val cacheControl: CacheControl = request.cacheControl() } @Test @Disabled fun response() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java
/** * The unique identifier of the request header. */ public String id; /** * The name of the request header. */ public String name; /** * The value of the request header. */ public String value; /** * The web configuration ID associated with this request header. */ public String webConfigId; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
return processCallback(request, code); } } } return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(getAuthUrl(request))); }).orElse(null); } /** * Gets the authorization URL for OpenID Connect. * * @param request the HTTP servlet request * @return the authorization URL */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/WebApiFilter.java
* * @param request The servlet request * @param response The servlet response * @param chain The filter chain * @throws IOException If an I/O error occurs * @throws ServletException If a servlet error occurs */ @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
import org.lastaflute.web.util.LaRequestUtil; /** * Utility class for web API operations. * Provides functionality for setting and retrieving objects from request attributes, * error handling, and validation in web API context. */ public final class WebApiUtil { /** * Request attribute key for storing web API exceptions. */ private static final String WEB_API_EXCEPTION = "webApiException"; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
.eventListener(new PrintingEventListener()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0)