Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for StreamResponse (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    /**
     * @author Keiichi Watanabe
     */
    public class ApiAdminLogAction extends FessApiAdminAction {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                }
            }
    
            throwValidationErrorApi(messages -> messages.addErrorsCouldNotFindBackupIndex(GLOBAL));
            return StreamResponse.asEmptyBody(); // no-op
        }
    
        private StreamResponse writeNdjsonResponse(final String id, final Consumer<Writer> writeCall) {
            return asStream(id)//
                    .header("Pragma", "no-cache")//
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        }
    
        public boolean hasOpenSearchFile() {
            return osddFile != null;
        }
    
        public StreamResponse asStream() {
            if (osddFile == null) {
                throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response.");
            }
    
            return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> {
    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/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            osddHelper.setEncoding(Constants.UTF_8);
            osddHelper.init();
            assertTrue(osddHelper.hasOpenSearchFile());
    
            final StreamResponse streamResponse = osddHelper.asStream();
            assertEquals("text/xml; charset=UTF-8", streamResponse.getContentType());
            streamResponse.getStreamCall().callback(new WrittenStreamOut() {
    
                @Override
                public void write(final InputStream ins) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

    import org.dbflute.util.DfTypeUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class GoAction extends FessSearchAction {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

    import org.codelibs.fess.app.web.error.ErrorAction;
    import org.codelibs.fess.util.DocumentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    public class CacheAction extends FessSearchAction {
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

    import org.codelibs.fess.dict.stopwords.StopwordsFile;
    import org.codelibs.fess.dict.stopwords.StopwordsItem;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminDictStopwordsAction extends FessApiAdminAction {
    
        private static final Logger logger = LogManager.getLogger(ApiAdminDictStopwordsAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

    import org.codelibs.fess.dict.protwords.ProtwordsFile;
    import org.codelibs.fess.dict.protwords.ProtwordsItem;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminDictProtwordsAction extends FessApiAdminAction {
    
        private static final Logger logger = LogManager.getLogger(ApiAdminDictProtwordsAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

    import org.codelibs.fess.dict.kuromoji.KuromojiFile;
    import org.codelibs.fess.dict.kuromoji.KuromojiItem;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminDictKuromojiAction extends FessApiAdminAction {
    
        private static final Logger logger = LogManager.getLogger(ApiAdminDictKuromojiAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

    import org.codelibs.fess.helper.SuggestHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminBadwordAction extends FessApiAdminAction {
    
        private static final Logger logger = LogManager.getLogger(ApiAdminBadwordAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top