- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for ApiResponse (0.09 sec)
-
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
import org.lastaflute.web.util.LaRequestUtil; import org.lastaflute.web.validation.VaMessenger; import jakarta.servlet.http.HttpServletRequest; public class ApiResult { protected ApiResponse response = null; public ApiResult(final ApiResponse response) { this.response = response; } public enum Status { OK(0), BAD_REQUEST(1), SYSTEM_ERROR(2), UNAUTHORIZED(3), FAILED(9);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
@Override public ApiResponse handleValidationError(final ApiFailureResource resource) { return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, null))).httpStatus(HTTP_BAD_REQUEST); } @Override public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
import org.codelibs.fess.app.web.CrudMode; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiConfigResponse; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; 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;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java
if (!suggestHelper.deleteAllWords()) { throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteDocInAdmin(GLOBAL)); } return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); } // DELETE /api/admin/suggest/document @Execute public JsonResponse<ApiResult> delete$document() { if (!suggestHelper.deleteDocumentWords()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
import org.codelibs.fess.app.service.ScheduledJobService; import org.codelibs.fess.app.web.CrudMode; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; 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.ScheduledJob; import org.lastaflute.web.Execute;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java
import org.codelibs.fess.app.service.CrawlingInfoService; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiLogResponse; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; 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.CrawlingInfo; import org.codelibs.fess.helper.ProcessHelper;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java
import org.codelibs.fess.app.service.FailureUrlService; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiLogResponse; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; 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.FailureUrl; import org.codelibs.fess.helper.ProcessHelper;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
import org.codelibs.fess.app.service.JobLogService; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiLogResponse; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; 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.JobLog; import org.lastaflute.web.Execute;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java
import org.codelibs.fess.app.web.admin.general.AdminGeneralAction; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.ApiResult.ApiConfigResponse; import org.codelibs.fess.app.web.api.ApiResult.ApiResponse; import org.codelibs.fess.app.web.api.ApiResult.Status; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java
return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); } // DELETE /api/admin/plugin @Execute public JsonResponse<ApiResult> delete$index(final DeleteBody body) { validateApi(body, messages -> {}); deleteArtifact(new Artifact(body.name, body.version)); return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0)