Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,288 for servlet (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @ArgumentsSource(ProtocolParamProvider::class)
      fun connectionReuse(protocol: Protocol) {
        setUp(protocol)
        server.enqueue(MockResponse(body = "ABCDEF"))
        server.enqueue(MockResponse(body = "GHIJKL"))
        val call1 = client.newCall(Request(server.url("/r1")))
        val call2 = client.newCall(Request(server.url("/r1")))
        val response1 = call1.execute()
        val response2 = call2.execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            assertEquals(445, emptyUrl.getPort());
    
            // Test SMB URL with only host
            URL hostOnlyUrl = new URL(null, "smb://server", handler);
            assertEquals("smb", hostOnlyUrl.getProtocol());
            assertEquals("server", hostOnlyUrl.getHost());
            assertEquals(445, hostOnlyUrl.getPort());
            assertEquals("", hostOnlyUrl.getPath());
    
            // Test SMB URL with query parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName);
    
            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * specified for this filter. The wildcard has no influence on this
         * method as the server should have performed that filtering already. The
         * attributes are asserted here only because server file systems may not
         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals(null, new SmbFile("smb1://server/").getShare());
            }
    
            @Test
            public void testGetServer() throws MalformedURLException {
                assertEquals("server", new SmbFile("smb1://server/share/file.txt").getServer());
                assertEquals("server", new SmbFile("smb1://server/").getServer());
                assertEquals(null, new SmbFile("smb1://").getServer());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            address = (String) binding.getOption("address");
            if (server != null) {
                params += "&address=" + address;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            verify(pooledSpy).disconnect(false, false);
            verify(nonPooledSpy).disconnect(false, false);
        }
    
        @Test
        @DisplayName("Should get challenge from server")
        void testGetChallenge() throws Exception {
            // Given: Mock transport with server key
            byte[] expectedKey = { 1, 2, 3, 4 };
    
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeHandleTest.java

         */
        @Test
        void testGetRemoteHostName() {
            when(smbTreeHandle.getRemoteHostName()).thenReturn("test-server");
            assertEquals("test-server", smbTreeHandle.getRemoteHostName(), "Remote host name should be test-server");
        }
    
        /**
         * Test for getTreeType() method.
         * Verifies that the method returns the correct tree type.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. docs/ru/docs/fastapi-cli.md

       <span style="background-color:#007166"><font color="#D3D7CF"> server </font></span>  Server started at <font color="#729FCF"><u style="text-decoration-style:solid">http://127.0.0.1:8000</u></font>
       <span style="background-color:#007166"><font color="#D3D7CF"> server </font></span>  Documentation at <font color="#729FCF"><u style="text-decoration-style:solid">http://127.0.0.1:8000/docs</u></font>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:49:43 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

      }
    
      @Test
      fun connectFail() {
        assumeNotWindows()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        server.enqueue(
          MockResponse
            .Builder()
            .failHandshake()
            .build(),
        )
        url = server.url("/")
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top