Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for getClient (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            try {
                responseData.setMethod(Constants.GET_METHOD);
    
                final FtpInfo ftpInfo = new FtpInfo(uri);
                responseData.setUrl(ftpInfo.toUrl());
    
                client = getClient(ftpInfo);
    
                FTPFile file = null;
                client.changeWorkingDirectory(ftpInfo.getParent());
                validateRequest(client);
    
                if (ftpInfo.getName() == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
    
            final CrawlerClientFactory crawlerClientFactory = crawlingConfig.initializeClientFactory(ComponentUtil::getCrawlerClientFactory);
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
                throw new CrawlingAccessException("CrawlerClient is null for " + url);
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

          this.port = port;
          this.flags = flags;
        }
    
        public Inet4Address getServer() {
          return server;
        }
    
        public Inet4Address getClient() {
          return client;
        }
    
        public int getPort() {
          return port;
        }
    
        public int getFlags() {
          return flags;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Context.java

            for ( KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class) ) {
                MIEName client = new MIEName(mech, ticket.getClient().getName());
                MIEName server = new MIEName(mech, ticket.getServer().getName());
                if ( src.equals(client) && targ.equals(server) ) {
                    return ticket.getSessionKey();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    return;
                }
    
                final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString();
                final CrawlerClient client = crawlerClientFactory.getClient(url);
                if (client == null) {
                    logger.warn("CrawlerClient is null. Data: {}", dataMap);
                    return;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final CrawlerClientFactory crawlerClientFactory =
                    config.initializeClientFactory(() -> ComponentUtil.getComponent(CrawlerClientFactory.class));
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
                throw new FessSystemException("No CrawlerClient: " + configId + ", url: " + url);
            }
            return writeContent(configId, url, client);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

          this.port = port;
          this.flags = flags;
        }
    
        public Inet4Address getServer() {
          return server;
        }
    
        public Inet4Address getClient() {
          return client;
        }
    
        public int getPort() {
          return port;
        }
    
        public int getFlags() {
          return flags;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. tests/test_regex_deprecated_params.py

        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery():
        client = get_client()
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        client = get_client()
        response = client.get("/openapi.json")
        assert response.status_code == 404, response.text
        response = client.get("/docs")
        assert response.status_code == 404, response.text
        response = client.get("/redoc")
        assert response.status_code == 404, response.text
    
    
    @needs_pydanticv2
    def test_root():
        client = get_client()
        response = client.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_regex_deprecated_body.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_no_query():
        client = get_client()
        response = client.post("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    def test_q_fixedquery():
        client = get_client()
        response = client.post("/items/", data={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top