Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for contentTypes (0.57 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                @Override
                protected byte[] getBoundary(final String contentType) { // for security
                    final byte[] boundary = super.getBoundary(contentType);
                    checkBoundarySize(contentType, boundary);
                    return boundary;
                }
            };
        }
    
        protected void checkBoundarySize(final String contentType, final byte[] boundary) {
            final int boundarySize = boundary.length;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        protected static Response deleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(path);
        }
    
        protected static void deleteDocuments(final String queryString) {
            List<String> docIds = new ArrayList<>();
            Response response = given().contentType("application/json").param("scroll", "1m").param("q", queryString)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                final String charset = responseData.getCharSet();
                if (charset != null) {
                    response.contentType(mimeType + "; charset=" + charset);
                    return;
                }
            }
            response.contentType(mimeType);
        }
    
        public String getClientIp(final HttpServletRequest request) {
            final String value = request.getHeader("x-forwarded-for");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final PutObjectArgs args = PutObjectArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName)
                        .stream(in, uploadFile.getFileSize(), -1).contentType("application/octet-stream").build();
                minioClient.putObject(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to upload " + objectName, e);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                                "Failed to log out.", new SsoProcessException(msg));
                    }
                    return new StreamResponse("metadata").contentType("application/xhtml+xml").stream(out -> {
                        try (final Writer writer = new OutputStreamWriter(out.stream(), Constants.UTF_8_CHARSET)) {
                            writer.write(metadata);
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top