Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 749 for Request (1.86 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/Request.java

     */
    public abstract class Request<T extends Response> {
        /**
         * Constructs a new request.
         */
        public Request() {
            // nothing
        }
    
        /**
         * Executes the request.
         * @param client The OpenSearch client.
         * @return A Promise that will be resolved with the response or rejected with an error.
         */
        public Deferred<T>.Promise execute(final Client client) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Request.java

        /**
         * Checks if this is a cancel request.
         *
         * @return whether this is a cancel request
         */
        boolean isCancel();
    
        /**
         * Gets the next request in the chain.
         *
         * @return chained request
         */
        Request getNext();
    
        /**
         * Gets the response for this request.
         *
         * @return the response for this request
         */
        Response getResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/Request.java

     */
    package jcifs.internal;
    
    import jcifs.CIFSContext;
    
    /**
     * Generic interface for typed SMB request messages.
     * Extends the common request interface with type-safe response handling,
     * allowing requests to specify their expected response type.
     *
     * @author mbechler
     * @param <T> response type
     */
    public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Request.java

    package jcifs.smb1.util.transport;
    
    /**
     * Marker interface for transport layer request objects.
     * Represents a request that can be sent through the SMB1 transport layer.
     */
    public interface Request {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 205 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
            assertTrue("Factory methods should return different instances", request1 != request2);
        }
    
        @Test
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Given
            when(request.isResponseAsync()).thenReturn(true);
            when(request.size()).thenReturn(100);
            when(request.getOverrideTimeout()).thenReturn(3000);
            when(request.allowChain(any())).thenReturn(true);
    
            // When
            boolean async = request.isResponseAsync();
            int size = request.size();
            Integer timeout = request.getOverrideTimeout();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

        /** The request being built. */
        protected Req request;
    
        /**
         * Constructor for RequestBuilder.
         * @param client The OpenSearch client.
         * @param request The request instance.
         */
        public RequestBuilder(final Client client, final Req request) {
            this.client = client;
            this.request = request;
        }
    
        /**
         * Executes the request.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

             * @param request the request data
             * @param count the current retry count
             */
            void onRequest(FaultTolerantClient client, RequestData request, int count);
    
            /**
             * Called when a request ends.
             *
             * @param client the fault-tolerant client
             * @param request the request data
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2QueryInfoRequest(mockConfig);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
    
            Smb2QueryInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        void testCompleteFlow() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            // Set all fields
            byte[] newFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                newFileId[i] = (byte) (0xFF - i);
            }
            request.setFileId(newFileId);
            request.setInfoType((byte) 0x02);
            request.setFileInfoClass((byte) 0x08);
            request.setAdditionalInformation(0xABCDEF00);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top