Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,383 for accept (0.03 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

      }
    
      private fun doServerHandshake(server: HandshakeCertificates): Future<Handshake> {
        return executorService.submit<Handshake> {
          serverSocket!!.accept().use { rawSocket ->
            val sslSocket =
              server.sslSocketFactory().createSocket(
                rawSocket,
                rawSocket.inetAddress.hostAddress,
                rawSocket.port,
                true,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/middlewares.md

    수신 요청의 유효성이 올바르게 확인되지 않으면 `400`이라는 응답이 전송됩니다.
    
    ## `GZipMiddleware`
    
    `Accept-Encoding` 헤더에 `“gzip”`이 포함된 모든 요청에 대해 GZip 응답을 처리합니다.
    
    미들웨어는 표준 응답과 스트리밍 응답을 모두 처리합니다.
    
    {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *}
    
    지원되는 인수는 다음과 같습니다:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:35:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NetServerEnumIterator.java

            final String name = fe.getName();
            if (this.nameFilter == null) {
                return true;
            }
            try {
                if (!this.nameFilter.accept(this.parent, name)) {
                    return false;
                }
                return true;
            } catch (final CIFSException e) {
                log.error("Failed to apply name filter", e);
                return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. docs/recipes.md

            Request request = new Request.Builder()
                .url("https://api.github.com/repos/square/okhttp/issues")
                .header("User-Agent", "OkHttp Headers.java")
                .addHeader("Accept", "application/json; q=0.5")
                .addHeader("Accept", "application/vnd.github.v3+json")
                .build();
    
            try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        public boolean hasVersionRangeViolations() {
            return versionRangeViolations != null;
        }
    
        /**
         * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by
         *       {@link #getVersionRangeViolation(int)} but it's not used like that in
         *       {@link org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertNotNull(writeRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, null));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
            void testConstructorWithEmptyFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            verify(dest, times(1)).openUnshared(anyInt(), accessCaptor.capture(), anyInt(), eq(attrs), anyInt());
            int access = accessCaptor.getValue();
            boolean hasReadData = (access & SmbConstants.FILE_READ_DATA) != 0;
            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
        void testConstructorWithNullFileName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          )
        }
    
        val headerAccept = response.header("Sec-WebSocket-Accept")
        val acceptExpected = (key + WebSocketProtocol.ACCEPT_MAGIC).encodeUtf8().sha1().base64()
        if (acceptExpected != headerAccept) {
          throw ProtocolException(
            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
        return response.socket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public boolean hasVersionRangeViolations() {
            return versionRangeViolations != null;
        }
    
        /**
         * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by
         *       {@link #getVersionRangeViolation(int)} but it's not used like that in
         *       DefaultLegacyArtifactCollector
         *
         * @param e an exception
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top