Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for bad_request (0.24 sec)

  1. 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/orig/view/error/badRequest.jsp

    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.request_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.bad_request" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="<%=request.getContextPath()%>" />
    	<script type="text/javascript"
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/error/badRequest.jsp

    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.request_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.bad_request" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="<%=request.getContextPath()%>" />
    	<script type="text/javascript"
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/plugin
        @Execute
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final RequestHeader reqHeader = getRequestHeader(body).map(entity -> {
                try {
                    reqHeaderService.store(entity);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
                    fileAuthService.store(entity);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> {
                try {
                    webAuthService.store(entity);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                        CopyUtil.copy(in, out);
                    } catch (final IOException e) {
                        throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, e);
                    }
                }
            }).execute()) {
    
                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base class for requests.
     *
     * @since 4.0.0
     */
    @Experimental
    abstract class BaseRequest {
    
        private final Session session;
    
        protected BaseRequest(@Nonnull Session session) {
            this.session = nonNull(session, "session cannot be null");
        }
    
        @Nonnull
        public Session getSession() {
            return session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    	redirectPage.append("/error/notfound/?url=");
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Aug 28 21:37:02 GMT 2016
    - 1.2K bytes
    - Viewed (0)
Back to top