Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PathMapping (0.15 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

    import org.codelibs.fess.es.config.bsentity.BsPathMapping;
    import org.codelibs.fess.helper.PathMappingHelper;
    
    /**
     * @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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        public void test_replaceUrl() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

            }).createPageNumberList());
    
            return pathMappingList;
        }
    
        public OptionalEntity<PathMapping> getPathMapping(final String id) {
            return pathMappingBhv.selectByPK(id);
        }
    
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K 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.es.config.exentity.PathMapping;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminPathmapAction extends FessApiAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 7K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
Back to top