Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 172 for Req (0.01 sec)

  1. src/main/java/jcifs/http/NtlmHttpFilter.java

            final HttpServletRequest req = (HttpServletRequest) request;
            final HttpServletResponse resp = (HttpServletResponse) response;
            NtlmPasswordAuthentication ntlm = negotiate(req, resp, false);
    
            if (ntlm == null) {
                return;
            }
    
            chain.doFilter(new NtlmHttpServletRequest(req, ntlm), response);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                if (th.isSMB2()) {
                    final Smb2IoctlRequest req =
                            new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                    req.setInputData(new ByteEncodable(buf, off, length));
                    req.setMaxOutputResponse(maxRecvSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. cmd/generic-handlers_contrib.go

    	"strings"
    )
    
    // guessIsLoginSTSReq - returns true if incoming request is Login STS user
    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	return strings.HasPrefix(req.URL.Path, loginPathPrefix) ||
    		(req.Method == http.MethodPost && req.URL.Path == SlashSeparator &&
    			getRequestAuthType(req) == authTypeSTS)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 995 bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java

     * @since 4.0.0
     */
    @Experimental
    public record RequestResult<REQ extends Request<?>, REP extends Result<REQ>>(
            /**
             * The original request that was processed
             */
            REQ request,
    
            /**
             * The result of the request, if successful; may be null if an error occurred
             */
            REP result,
    
            /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            when(config.getNotifyBufferSize()).thenReturn(8192);
    
            // When
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
    
            // Then
            assertNotNull(req);
            assertTrue(req instanceof ServerMessageBlock2Request);
            assertTrue(req instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should set notify flags correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	// Now check if we actually wrote to backend (regardless of the response
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
                assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024");
                assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024");
                assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024");
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(errCode))
    			}
    		} else {
    			err = preSignV2(req, accessKey, secretKey, now.Unix()+60)
    			if err != nil {
    				t.Fatalf("(%d) failed to preSignV2 http request, got %v", i, err)
    			}
    			// Should be set since we are simulating a http server.
    			req.RequestURI = req.URL.RequestURI()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. cmd/utils.go

    	req := logger.GetReqInfo(ctx)
    	if req != nil {
    		req.Lock()
    		defer req.Unlock()
    		req.Objects = make([]logger.ObjectVersion, 0, len(objects))
    		for _, ov := range objects {
    			req.Objects = append(req.Objects, logger.ObjectVersion{
    				ObjectName: ov.ObjectName,
    				VersionID:  ov.VersionID,
    			})
    		}
    		return logger.SetReqInfo(ctx, req)
    	}
    	return ctx
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NetworkExplorerTest.java

                public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
                    // Check authentication
                    HttpSession session = req.getSession(false);
                    if (session != null && session.getAttribute("npa-workgroup") != null) {
                        // Authentication successful - mock file operation
                        doFile(req, resp, smbFile);
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top