Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,367 for respond (0.05 sec)

  1. src/main/webapp/WEB-INF/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request()))
    
      private fun uppercaseResponse(response: Response): Response {
        val uppercaseBody: ResponseBody =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/guide/PostExample.java

        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',"
            + "'name':'Bowling',"
            + "'round':4,"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            .post(jsonRequestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new RequestBodyCompression().run();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/general.md

    ## Documentation Response description - OpenAPI { #documentation-response-description-openapi }
    
    To define the description of the response, shown in the docs UI, read the docs for [Tutorial - Path Operation Configurations - Response description](../tutorial/path-operation-configuration.md#response-description){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        /**
         * Creates an access result after processing the response data through ingesters.
         *
         * @param responseData the response data from the crawled resource
         * @param resultData the result data to be processed
         * @return the access result containing the processed data
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

            .url(server.url("/"))
            .header("Connection", "upgrade")
            .build()
        client.newCall(requestWithUpgrade).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.socket).isNull()
          assertThat(response.body.string()).isEqualTo("normal request")
        }
        // Confirm there's no RequestBodyStart/RequestBodyEnd on failed upgrades.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/RequestTest.java

        @Test
        void testGetResponse() {
            // Test case for getResponse method
            Response mockResponse = mock(Response.class); // Mock a response object
            when(mockRequest.getResponse()).thenReturn(mockResponse);
    
            Response actualResponse = mockRequest.getResponse();
    
            assertEquals(mockResponse, actualResponse, "Response should match the mocked object.");
            verify(mockRequest, times(1)).getResponse();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

      private fun assert200Http2Response(
        response: Response,
        expectedHost: String,
      ) {
        assertThat(response.code).isEqualTo(200)
        assertThat(response.request.url.host).isEqualTo(expectedHost)
        assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
        response.body.close()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.lastaflute.core.magic.async.AsyncManager;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.xml.sax.InputSource;
    
    import com.fasterxml.jackson.core.type.TypeReference;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top