Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for resMap (0.04 sec)

  1. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                }
    
                if (!resp.isReceived()) {
                    throw new CIFSException("Did not receive response");
                }
    
                if (resp.getErrorCode() == 0x10B) {
                    this.handle.markClosed();
                }
                if (resp.getErrorCode() == 0x10C) {
                    resp.getNotifyInformation().clear();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

                Smb2LogoffRequest req = newRequest();
    
                // Act
                Smb2LogoffResponse resp = req.createResponse(cifsContext, req);
    
                // Assert
                assertNotNull(resp, "Response should be created");
                assertTrue(resp instanceof Smb2LogoffResponse, "Response type should be Smb2LogoffResponse");
                verify(cifsContext, times(1)).getConfig();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

            final ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized (resp) {
                if (resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0) {
                    resp.setAsyncHandled(true);
                    final boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

            String url;
            int n;
            try (SmbFileInputStream in = new SmbFileInputStream(file)) {
                url = file.getLocator().getPath();
                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmSsp.java

                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    }
                    resp.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\"");
                    }
                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.setContentLength(0); /* Marcel Feb-15-2005 */
                    resp.flushBuffer();
                    return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-fields.md

    As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ///
    
    ## Recap { #recap }
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/header-params.md

    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recap { #recap }
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. cmd/lock-rest-server.go

    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.RefreshCall)
    	defer cancel()
    
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(ctx, *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            byte command = (byte) 0x25;
            byte subcommand = (byte) 0x01;
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig, command, subcommand);
            assertNotNull(resp);
            assertEquals(command, resp.getCommand());
            assertEquals(subcommand, resp.getSubCommand());
        }
    
        @Test
        @DisplayName("Test dataCount getter and setter")
        void testDataCountGetterSetter() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top