- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,758 for Request (0.1 sec)
-
okhttp/src/test/java/okhttp3/ConscryptTest.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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java
assertNotNull(builder); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); request.setProcessPlugins(true); request.setPomFile(getPom("complex")); request.setSystemProperties(sysProperties); ModelBuildingResult result = builder.build(request); assertNotNull(result); assertNotNull(result.getEffectiveModel());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } String bowlingJson(String player1, String player2) { return "{'winCondition':'HIGH_SCORE',"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder(); request.requestType(ModelBuilderRequest.RequestType.CONSUMER_POM); request.session(iSession); // in order to resolve parents, we need to fake being at the correct location request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src)); request.locationTracking(false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/middleware.md
/// ## Criar um middleware Para criar um middleware, use o decorador `@app.middleware("http")` logo acima de uma função. A função middleware recebe: * A `request`. * Uma função `call_next` que receberá o `request` como um parâmetro. * Esta função passará a `request` para a *operação de rota* correspondente. * Então ela retorna a `response` gerada pela *operação de rota* correspondente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
this.server = server platform.assumeOpenJSSE() } @Test fun testTlsv13Works() { enableTls() server.enqueue(MockResponse(body = "abc")) val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
public static boolean isMultipartRequest(HttpServletRequest request) { return request.getContentType() != null && request.getContentType().startsWith(MULTIPART_FORMDATA_TYPE); } @Override public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0)