Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 1,685 for Response_ (0.04 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
     * called by readers.
     */
    public interface MockResponseBody {
      /** The length of this response in bytes, or -1 if unknown. */
      public val contentLength: Long
    
      @Throws(IOException::class)
      public fun writeTo(sink: BufferedSink)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      return result.build()
    }
    
    private fun PushPromise.wrap(): mockwebserver3.PushPromise =
      mockwebserver3.PushPromise(
        method = method,
        path = path,
        headers = headers,
        response = response.wrap(),
      )
    
    internal fun mockwebserver3.RecordedRequest.unwrap(): RecordedRequest =
      RecordedRequest(
        requestLine = requestLine,
        headers = headers,
        chunkSizes = chunkSizes ?: listOf(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/sso/SsoResponseType.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.sso;
    
    /**
     * Represents the type of SSO (Single Sign-On) response being requested.
     * This enum is used to differentiate between various SSO operations,
     * such as metadata requests and logout actions.
     */
    public enum SsoResponseType {
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true);
        }
    
        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertNotNull(req.txn_buf, "Request buffer should be allocated");
            assertNotNull(rsp.txn_buf, "Response buffer should be allocated");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, req.txn_buf.length, "Request buffer should have correct size");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, rsp.txn_buf.length, "Response buffer should have correct size");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. docs_src/custom_response/tutorial005_py39.py

    from fastapi import FastAPI
    from fastapi.responses import PlainTextResponse
    
    app = FastAPI()
    
    
    @app.get("/", response_class=PlainTextResponse)
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 186 bytes
    - Viewed (0)
  7. docs_src/request_files/tutorial002_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(files: Annotated[list[bytes], File()]):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: list[UploadFile]):
        return {"filenames": [file.filename for file in files]}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 826 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                final CommonServerMessageBlock response) {
            if (log.isTraceEnabled()) {
                log.trace("Signing with seq " + this.signSequence);
            }
    
            ((ServerMessageBlock) request).setSignSeq(this.signSequence);
            if (response != null) {
                ((ServerMessageBlock) response).setSignSeq(this.signSequence + 1);
            }
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

        private static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * Build a minimal SMB2 header for a response.
         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Helper method to mock the response of an HttpURLConnection.
         */
        private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException {
            mockResponse(this.mockConnection, code, message, headers, errorStream);
        }
    
        /**
         * Helper method to mock the response of a specific HttpURLConnection instance.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top