- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 1,565 for responseCh (0.17 seconds)
-
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
import org.codelibs.fess.suggest.request.Response; /** * Represents the response for popular words request. */ public class PopularWordsResponse implements Response { /** * The index associated with the response. */ protected final String index; /** * The time taken to generate the response in milliseconds. */ protected final long tookMs;Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/Request.java
import org.opensearch.transport.client.Client; /** * Abstract class representing a request that can be executed to produce a response. * * @param <T> the type of response produced by this request */ public abstract class Request<T extends Response> { /** * Constructs a new request. */ public Request() { // nothing } /** * Executes the request.
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 2.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_an_py310.py
from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 974 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java
e.printStackTrace(); } @Override public void onResponse(Call call, Response response) throws IOException { try (ResponseBody responseBody = response.body()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Headers responseHeaders = response.headers(); for (int i = 0, size = responseHeaders.size(); i < size; i++) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.9K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
@Override public void onFailure(Call call, IOException e) { } @Override public void onResponse(Call call, Response response) throws IOException { try (ResponseBody body = response.body()) { // Consume and discard the response body. body.source().readByteString(); } } }); Request newYorkTimesRequest = new Request.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial009c.py
from fastapi.testclient import TestClient from docs_src.custom_response.tutorial009c_py39 import app client = TestClient(app) def test_get(): response = client.get("/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 244 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
tests/test_tutorial/test_response_headers/test_tutorial002.py
from docs_src.response_headers.tutorial002_py39 import app client = TestClient(app) def test_path_operation(): response = client.get("/headers-and-object/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 383 bytes - Click Count (0)