Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for path_mapping (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    
            final PathMapping pathMapping1 = new PathMapping();
            pathMapping1.setRegex("file:///home/");
            pathMapping1.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping1);
    
            final PathMapping pathMapping2 = new PathMapping();
            pathMapping2.setRegex("http://localhost/");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/PathMapping.java

    import org.codelibs.fess.helper.PathMappingHelper;
    import org.codelibs.fess.opensearch.config.bsentity.BsPathMapping;
    
    /**
     * @author FreeGen
     */
    public class PathMapping extends BsPathMapping {
    
        private static final Logger logger = LogManager.getLogger(PathMapping.class);
    
        private static final long serialVersionUID = 1L;
    
        protected Pattern userAgentPattern;
    
        protected Pattern regexPattern;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

         */
        public OptionalEntity<PathMapping> getPathMapping(final String id) {
            return pathMappingBhv.selectByPK(id);
        }
    
        /**
         * Stores a path mapping.
         *
         * @param pathMapping the path mapping to store
         */
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            String result = text;
            for (final PathMapping pathMapping : cachedPathMappingList) {
                if (matchUserAgent(pathMapping)) {
                    String replacement = pathMapping.getReplacement();
                    if (replacement == null) {
                        replacement = StringUtil.EMPTY;
                    }
                    result = result.replaceAll("(\"[^\"]*)" + pathMapping.getRegex() + "([^\"]*\")", "$1" + replacement + "$2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.opensearch.config.exentity.PathMapping;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin path mapping management.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

            }
            return OptionalEntity.empty();
        }
    
        /**
         * Creates a PathMapping entity from the provided form data.
         *
         * @param form the create form containing path mapping data
         * @return optional PathMapping entity populated with form data
         */
        public static OptionalEntity<PathMapping> getPathMapping(final CreateForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_edit.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="pathMapping"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertUrlLink("smb:/home/taro/%E3%81%82.txt", //
                    "file://home/taro/%E3%81%82.txt");
    
            PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("ftp:");
            pathMapping.setReplacement("file:");
            ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping);
            // ftp->file
            assertUrlLink("ftp:/home/taro/test.txt", //
                    "file://home/taro/test.txt");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_details.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="pathMapping"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="pathMapping"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
Back to top