Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for getResponse (0.12 sec)

  1. test-site/app/models/SuggestIndex.java

    public class SuggestIndex {
        public SuggestResponse suggest(String query) {
            return ComponentsUtil.suggester.suggest()
                .setQuery(query)
                .execute().getResponse();
        }
    
        public void index() {
            Suggester suggester = ComponentsUtil.suggester;
            DocumentReader reader = new ESSourceReader(ComponentsUtil.runner.client(),
                suggester.settings(),
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 964 bytes
    - Viewed (0)
  2. README.md

    ```java
    String suggestId = "id";
    Suggester suggester = Suggester.builder().build(client, suggestId);
    
    ```
    
    ### Suggest
    
    ```java
    SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse();
    ```
    
    ### Suggest async
    
    ```
    suggester.suggest().setQuery("kensaku").execute()
      .done(
        response -> {}
      ).error(
        t -> {}
      );
    ```
    
    ### Add suggest document
    
    ```java
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS);
            assertEquals(0, response.getNum());
        }
    
        @Test
        public void test_getResponseAfterResolve() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                    }
                    catch ( IOException se ) {
                        if ( request != null && request.getResponse() != null ) {
                            // tree connect might still have succeeded
                            response = (TreeConnectResponse) request.getResponse();
                            if ( response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_OK ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#getResponse()
         */
        @Override
        public final SmbComNTCreateAndXResponse getResponse () {
            return (SmbComNTCreateAndXResponse) super.getResponse();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.Request#initResponse(jcifs.CIFSContext)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig_test.go

    	const getResponse = `{"name":"resource","description":"Core resource model scope","output_level":"info","stack_trace_level":"none","log_callers":false}`
    
    	switch request.Method {
    	case http.MethodGet:
    		_, _ = writer.Write([]byte(getResponse))
    	}
    }
    
    func adsHandler(writer http.ResponseWriter, request *http.Request) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/SsoManager.java

                }
            }
            return null;
        }
    
        public ActionResponse getResponse(final SsoResponseType responseType) {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
                if (authenticator != null) {
                    return authenticator.getResponse(responseType);
                }
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

            }
        }
    
        @Execute
        public ActionResponse metadata() {
            final SsoManager ssoManager = ComponentUtil.getSsoManager();
            try {
                final ActionResponse actionResponse = ssoManager.getResponse(SsoResponseType.METADATA);
                if (actionResponse == null) {
                    throw responseManager.new400("Unsupported request type.");
                }
                return actionResponse;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SAML Authenticator");
                }
    
                final HttpServletResponse response = LaResponseUtil.getResponse();
    
                final HttpSession session = request.getSession(false);
                if (session != null) {
                    final String sesState = (String) session.getAttribute(SAML_STATE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        SMBSigningDigest getDigest ();
    
    
        /**
         * @return the associated response
         */
        CommonServerMessageBlockResponse getResponse ();
    
    
        /**
         * 
         * @param msg
         */
        void setResponse ( CommonServerMessageBlockResponse msg );
    
    
        /**
         * 
         * @return the message id
         */
        long getMid ();
    
    
        /**
         * @param mid
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
Back to top