Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for HttpServletResponse (0.15 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    return true;
                }
            }
            writeJsonResponse(HttpServletResponse.SC_METHOD_NOT_ALLOWED, escapeJsonKeyValue(MESSAGE_FIELD, method + " is not allowed."));
            return false;
        }
    
        protected void processScrollSearchRequest(final HttpServletRequest request, final HttpServletResponse response,
                final FilterChain chain) {
            if (!acceptHttpMethod(request, GET)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                throws IOException, ServletException {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
            if (!requestManager.findUserBean(FessUserBean.class).map(user -> user.hasRoles(acceptedRoles)).orElse(Boolean.FALSE)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/WebApiResponse.java

    import java.io.PrintWriter;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpServletResponseWrapper;
    
    public class WebApiResponse extends HttpServletResponseWrapper {
    
        public WebApiResponse(final HttpServletResponse response) {
            super(response);
        }
    
        @Override
        public PrintWriter getWriter() throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/BaseApiManager.java

    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";
    
        protected String pathPrefix;
    
        protected enum FormatType {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

    import jakarta.annotation.Resource;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class ThumbnailAction extends FessSearchAction {
    
        // ===================================================================================
        //                                                                           Attribute
        //
        @Resource
        protected HttpServletResponse response;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final HttpServletResponse httpResponse = (HttpServletResponse) response;
            httpResponse.addHeader(ACCESS_CONTROL_ALLOW_ORIGIN, origin);
            httpResponse.addHeader(ACCESS_CONTROL_ALLOW_METHODS, fessConfig.getApiCorsAllowMethods());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
                        final HttpServletResponse httpResponse = (HttpServletResponse) response;
                        httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED);
                        return;
                    }
                } else 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)
  8. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class WebApiFilter implements Filter {
    
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        throws java.io.IOException, ServletException {
    
                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
                        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                        response.getWriter().println(HttpServletResponse.SC_BAD_REQUEST);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/WebApiManager.java

    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)
Back to top