- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,601 for Response (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/filter/CorsFilter.java
final CorsHandler handler = factory.get(origin); if (handler != null) { handler.process(origin, request, response); if (OPTIONS.equals(httpRequest.getMethod())) { final HttpServletResponse httpResponse = (HttpServletResponse) response; httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED); return; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
.url("https://api.github.com/gists/c2a7c39532239ff261be") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Gist gist = gistJsonAdapter.fromJson(response.body().source()); for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
} private int parseResponseCode() throws IOException { try { final String response = this.connection.getHeaderField(0); int index = response.indexOf(' '); while (response.charAt(index) == ' ') { index++; } return Integer.parseInt(response.substring(index, index + 3)); } catch (final Exception ex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java
/** * An abstract class that serves as a builder for creating and executing requests. * * @param <Req> the type of the request * @param <Res> the type of the response */ public abstract class RequestBuilder<Req extends Request<Res>, Res extends Response> { /** The OpenSearch client. */ protected Client client; /** The request being built. */ protected Req request; /**
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.ActionResponse; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import jakarta.annotation.Resource; /** * Admin action for Elevate Word management. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 22.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
try { response.setEncoding(encoding); response.setHttpStatusCode(con.getResponseCode()); response.setHeaders(con.getHeaderFields()); } catch (final Exception e) { throw new CurlException("Failed to access the response.", e); } writeContent(() -> { try {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
tests/test_param_in_path_and_dependency.py
async def read_users(user_id: int): pass client = TestClient(app) def test_read_users(): response = client.get("/users/42") assert response.status_code == 200, response.text def test_openapi_schema(): response = client.get("/openapi.json") assert response.json() == snapshot( { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
.url("https://api.github.com/markdown/raw") .post(requestBody) .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 PostStreaming().run(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
ioe2.printStackTrace(log); } throw ioe; } } @Override protected void doRecv(final Response response) throws IOException { final ServerMessageBlock resp = (ServerMessageBlock) response; resp.useUnicode = useUnicode; resp.extendedSecurity = (capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY; synchronized (BUF) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
tests/test_filter_pydantic_sub_model_pv2.py
} client = TestClient(app) return client def test_filter_sub_model(client: TestClient): response = client.get("/model/modelA") assert response.status_code == 200, response.text assert response.json() == { "name": "modelA", "description": "model-a-desc", "foo": {"username": "test-user"}, "tags": {"key1": "value1", "key2": "value2"},Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0)