Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetHeader (0.14 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    if (StringUtil.isBlank(responseContentType)) {
                        response.setHeader("Content-Type", "application/json");
                    } else {
                        response.setHeader("Content-Type", responseContentType);
                    }
                    CopyUtil.copy(in, out);
                } catch (final ClientAbortException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        /**
         * Return the comment header.
         *
         * @return the comment header
         */
        public List<String> getHeader() {
            return header;
        }
    
        /**
         * Set the comment header.
         *
         * @param header the header to use
         */
        public void setHeader(List<String> header) {
            this.header = header;
        }
    
        /**
         * Return the comment footer.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            final SearchHelper searchHelper = ComponentUtil.getSearchHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (!fessConfig.isAcceptedSearchReferer(request.getHeader("referer"))) {
                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Referer is invalid."));
                return;
            }
    
            if (!fessConfig.isApiSearchScroll()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        Path getPath();
    
        @Nullable
        Path getRootDirectory();
    
        @Nullable
        URL getURL();
    
        @Nullable
        InputStream getInputStream();
    
        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
                searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000));
                searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255));
                final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        logger.debug("principal: {}", principal);
                    }
                } catch (final Exception e) {
                    final String msg = "Failed to process Authorization Header: " + request.getHeader(Constants.AUTHZ_HEADER);
                    if (logger.isDebugEnabled()) {
                        logger.debug(msg);
                    }
                    throw new SsoLoginException(e.getMessage() + " " + msg, e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            }
    
        }
    
        protected void processHeader(final HttpServletRequest request, final Set<String> roleSet) {
    
            final String parameter = request.getHeader(headerKey);
            if (logger.isDebugEnabled()) {
                logger.debug("{}:{}", headerKey, parameter);
            }
            if (StringUtil.isNotEmpty(parameter)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return;
                }
            }
            response.contentType(mimeType);
        }
    
        public String getClientIp(final HttpServletRequest request) {
            final String value = request.getHeader("x-forwarded-for");
            if (StringUtil.isNotBlank(value)) {
                return value;
            }
            return request.getRemoteAddr();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top