Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for getData (0.12 seconds)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * @param accessResultData the access result data containing serialized data
         * @return the deserialized object
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return dataSerializer.fromBinaryToObject(data);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

                        if (dfos.isInMemory()) {
                            responseData.setResponseBody(dfos.getData());
                            contentLength = dfos.getData().length;
                            if (contentType == null) {
                                try (InputStream is = new ByteArrayInputStream(dfos.getData())) {
                                    contentType = mimeTypeHelper.getContentType(is, url);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                        if (dfos.isInMemory()) {
                            responseData.setResponseBody(dfos.getData());
                            contentLength = dfos.getData().length;
                            if (contentType == null) {
                                try (InputStream is = new ByteArrayInputStream(dfos.getData())) {
                                    contentType = mimeTypeHelper.getContentType(is, url);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty("maven.conf"));
            } else if (systemProperties.getProperty(MAVEN_HOME) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_HOME), "conf");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                        readn(this.in, buffer, 4 + off, pad);
                    }
    
                    if (r.getDataLength() > 0) {
                        readn(this.in, r.getData(), r.getOffset(), r.getDataLength()); /* read direct */
                    }
                } else {
                    readn(this.in, buffer, 4 + SMB1_HEADER_LENGTH, size - SMB1_HEADER_LENGTH);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun headers() {
        var headers: Headers = headersOf("", "")
        headers = mapOf("" to "").toHeaders()
        val get: String? = headers[""]
        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
        val names: Set<String> = headers.names()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

        @Test
        public void test_buildFilePath_questionMarkInPath() {
            final Path result = indexExportJob.buildFilePath("/export", "https://example.com/page?query=1", new HtmlIndexExportFormatter());
            // URI.getPath() returns /page for this URL (query is separate)
            assertEquals(Path.of("/export/example.com/page.html"), result);
        }
    
        @Test
        public void test_buildFilePath_longPathComponent() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                        return chainedResponse;
                    }
    
                    if (request instanceof SmbComTreeConnectAndX tcax) {
                        if (this.netbiosName != null && tcax.getPath().endsWith("\\IPC$")) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile file = new SmbFile(baseUrl + "shared/path/file.txt", context);
    
            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top