- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,838 for RESPONSE (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun response() { val response: Response = Response.Builder().build() val request: Request = response.request val protocol: Protocol = response.protocol val code: Int = response.code val successful: Boolean = response.isSuccessful val message: String = response.message val handshake: Handshake? = response.handshakeCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
src/main/java/jcifs/internal/Request.java
* Extends the common request interface with type-safe response handling, * allowing requests to specify their expected response type. * * @author mbechler * @param <T> response type */ public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest { /** * Initializes and returns a response object for this request. * * @param tc the CIFS context
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
tests/test_response_class_no_mediatype.py
async def b(): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmServlet.java
response.setHeader("WWW-Authenticate", "NTLM"); if (offerBasic) { response.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } response.setHeader("Connection", "close"); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); response.flushBuffer(); return;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
webSocket = slackApi.rtm(rtmStartResponse.url, this); } // TODO(jwilson): can I read the response body? Do I have to? // the body from slack is a 0-byte-buffer @Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); } // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 19 20:16:58 GMT 2016 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java
SecDispatcher.ValidationResponse response = secDispatcher.validateConfiguration(); if (!response.isValid() || context.options().verbose().orElse(false)) { dumpResponse(context, "", response); } return response.isValid(); } protected void dumpResponse(EncryptContext context, String indent, SecDispatcher.ValidationResponse response) { context.logger.info(messageBuilderFactory
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
tests/test_tutorial/test_first_steps/test_tutorial001_tutorial002_tutorial003.py
) def test_get_path(client: TestClient, path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.4K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
request() .withPath("/person") .withQueryStringParameter("name", "peter"), ).respond(response().withBody("Peter the person!")) val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute() assertThat(response.body.string()).contains("Peter the person") } } @Test fun testHttpsRequest() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final NameServicePacket response = this.responseTable.get(Integer.valueOf(nameTrnId)); if (response == null || response.received) { continue; } synchronized (response) { response.readWireFormat(this.rcv_buf, 0); response.received = true; if (log.isTraceEnabled()) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
} else { enc = encoding; } buf.append(enc); final HttpServletResponse response = LaResponseUtil.getResponse(); response.setContentType(buf.toString()); writeHeaders(response); try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) { out.print(text); } catch (final IOException e) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (0)