Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for requestHeader (0.1 sec)

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

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class RequestHeader extends BsRequestHeader {
    
        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(RequestHeader.class);
    
        private WebConfig webConfig;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

    import java.io.Serializable;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author shinsuke
     *
     */
    public class RequestHeader implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        private String name;
    
        private String value;
    
        public RequestHeader(final String name, final String value) {
            this.name = name;
            this.value = value;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

        }
    
        public OptionalEntity<RequestHeader> getRequestHeader(final String id) {
            return requestHeaderBhv.selectByPK(id);
        }
    
        public void store(final RequestHeader requestHeader) {
    
            requestHeaderBhv.insertOrUpdate(requestHeader, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final RequestHeader requestHeader) {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRequestHeaderBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends RequestHeader> typeOfSelectedEntity() {
            return RequestHeader.class;
        }
    
        @Override
        protected Class<RequestHeader> typeOfHandlingEntity() {
            return RequestHeader.class;
        }
    
        @Override
        protected Class<RequestHeaderCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/RequestHeaderDbm.java

            setupEpg(_epgMap, et -> ((RequestHeader) et).getUpdatedBy(), (et, vl) -> ((RequestHeader) et).setUpdatedBy(DfTypeUtil.toString(vl)),
                    "updatedBy");
            setupEpg(_epgMap, et -> ((RequestHeader) et).getUpdatedTime(),
                    (et, vl) -> ((RequestHeader) et).setUpdatedTime(DfTypeUtil.toLong(vl)), "updatedTime");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            // Request Header
            final RequestHeader[] requestHeaders = { new RequestHeader("enctype", "multipart/form-data") };
            for (final RequestHeader requestHeader : requestHeaders) {
                if (requestHeader.isValid()) {
                    requestHeaderList.add(new BasicHeader(requestHeader.getName(), requestHeader.getValue()));
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

    import org.codelibs.fess.app.web.api.ApiResult.ApiUpdateResponse;
    import org.codelibs.fess.app.web.api.ApiResult.Status;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.es.config.exentity.RequestHeader;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author Keiichi Watanabe
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            Map<String, Object> initParamMap = initParamMapSet.get();
            assertNotNull(initParamMap);
            assertEquals(0, ((org.codelibs.fess.crawler.client.http.RequestHeader[]) initParamMap.get("requestHeaders")).length);
            assertEquals("Mozilla/5.0 (compatible; Fess/98.76; +http://fess.codelibs.org/bot.html)", initParamMap.get("userAgent"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            // request header
            final List<RequestHeader> requestHeaderList = requestHeaderService.getRequestHeaderList(getId());
            final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>();
            for (final RequestHeader requestHeader : requestHeaderList) {
                rhList.add(requestHeader.getCrawlerRequestHeader());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

        //                                                                        ============
        public static OptionalEntity<RequestHeader> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RequestHeader()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top