Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for PathPrefix (0.09 seconds)

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

                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
                    if (!value.startsWith("/")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

        private static final String STREAM_API_PATH = "/api/v1/chat/stream";
    
        private static final ObjectMapper objectMapper = new ObjectMapper();
    
        /** The path prefix for the chat API endpoints. */
        protected String pathPrefix = CHAT_API_PATH;
    
        /**
         * Default constructor.
         */
        public ChatApiManager() {
            // Default constructor
        }
    
        /**
         * Registers this API manager with the WebApiManagerFactory.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            if (!fessConfig.isWebApiJson()) {
                return false;
            }
    
            final String servletPath = request.getServletPath();
            return servletPath.startsWith(pathPrefix);
        }
    
        @Override
        public void process(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top