Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for RequestHeader (0.12 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. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            RequestHeaderService requestHeaderService = new RequestHeaderService() {
                @Override
                public List<RequestHeader> getRequestHeaderList(final String webConfigId) {
                    return Collections.emptyList();
                }
            };
            ComponentUtil.register(requestHeaderService, RequestHeaderService.class.getCanonicalName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K 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