Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  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/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

     *
     * @param <Req> the type of the request
     * @param <Res> the type of the response
     */
    public abstract class RequestBuilder<Req extends Request<Res>, Res extends Response> {
        /** The OpenSearch client. */
        protected Client client;
        /** The request being built. */
        protected Req request;
    
        /**
         * Constructor for RequestBuilder.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K 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/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)
  8. 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)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                return;
            }
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
            if (req.isUseUnicode()) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if (req instanceof SmbComTransaction) {
                ((SmbComTransaction) req).setMaxBufferSize(this.snd_buf_size);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K 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