Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for HttpServletRequest (0.13 sec)

  1. src/main/java/org/codelibs/fess/api/BaseApiManager.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.fess.Constants;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.lastaflute.web.util.LaResponseUtil;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    public abstract class BaseApiManager implements WebApiManager {
    
        private static final String API_FORMAT_TYPE = "apiFormatType";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            private final HttpServletRequest request;
    
            private final FessConfig fessConfig;
    
            private int startPosition = -1;
    
            private int offset = -1;
    
            private int pageSize = -1;
    
            protected JsonRequestParams(final HttpServletRequest request, final FessConfig fessConfig) {
                this.request = request;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

            final WebApiManager webApiManager = webApiManagerFactory.get((HttpServletRequest) request);
            if (webApiManager == null) {
                chain.doFilter(request, response);
            } else {
                webApiManager.process((HttpServletRequest) request, (HttpServletResponse) response, chain);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/WebApiManager.java

    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    public interface WebApiManager {
    
        boolean matches(HttpServletRequest request);
    
        void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/WebApiRequest.java

     */
    package org.codelibs.fess.api;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    public class WebApiRequest extends HttpServletRequestWrapper {
        protected String servletPath;
    
        public WebApiRequest(final HttpServletRequest request, final String servletPath) {
            super(request);
            this.servletPath = servletPath;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            return null;
        }
    
        public void deleteUserCodeFromCookie(final HttpServletRequest request) {
            final String cookieValue = getUserCodeFromCookie(request);
            if (cookieValue != null) {
                updateCookie(StringUtil.EMPTY, 0);
            }
        }
    
        protected String getUserCodeFromRequest(final HttpServletRequest request) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

        private Set<String> buildByParameter(final RoleQueryHelper roleQueryHelperImpl, final HttpServletRequest request) {
            Set<String> roleSet = new HashSet<>();
            roleQueryHelperImpl.processParameter(request, roleSet);
            return roleSet;
        }
    
        private Set<String> buildByHeader(final RoleQueryHelper roleQueryHelperImpl, final HttpServletRequest request) {
            Set<String> roleSet = new HashSet<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.util.LaRequestUtil;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.Cookie;
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * This class returns a list of a role from a request parameter,
     * a request header and a cookie. The format of the default value
     * is "[\d]+\nrole1,role2,role3", which you can encrypt.
     *
    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/filter/CorsFilter.java

        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
            if (StringUtil.isNotBlank(origin)) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        public static String[] getParamValueArray(final HttpServletRequest request, final String param) {
            return simplifyArray(request.getParameterValues(param));
        }
    
        protected FacetInfo createFacetInfo(final HttpServletRequest request) {
            final String[] fields = getParamValueArray(request, "facet.field");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top