Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Statuscode (0.05 sec)

  1. src/main/java/org/codelibs/fess/exception/WebApiException.java

            super(message);
            this.statusCode = statusCode;
        }
    
        /**
         * Constructs a WebApiException with the specified status code and exception.
         *
         * @param statusCode The HTTP status code
         * @param e The exception that caused this WebApiException
         */
        public WebApiException(final int statusCode, final Exception e) {
            this(statusCode, e.getMessage(), e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/response-status-code.md

    # Response-Statuscode
    
    So wie ein Responsemodell, können Sie auch einen HTTP-Statuscode für die Response deklarieren, mithilfe des Parameters `status_code`, und zwar in jeder der *Pfadoperationen*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * usw.
    
    {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    
    /// note | Hinweis
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

        public void test_statusCode_variousHttpCodes() {
            // Test with various HTTP status codes
            int[] statusCodes = { 200, 201, 400, 401, 403, 404, 500, 502, 503 };
    
            for (int statusCode : statusCodes) {
                WebApiException exception = new WebApiException(statusCode, "Test message");
                assertEquals(statusCode, exception.getStatusCode());
            }
        }
    
        public void test_statusCode_negativeValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. cmd/warm-backend-azure.go

    		// We don't interpret non Azure errors. As azure errors will
    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	serviceCode := azureErr.ErrorCode
    	statusCode := azureErr.StatusCode
    
    	return azureCodesToObjectError(err, serviceCode, statusCode, bucket, object)
    }
    
    func azureCodesToObjectError(err error, serviceCode string, statusCode int, bucket string, object string) error {
    	switch serviceCode {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    		tokenErr.Description = "The request token included in the request is invalid"
    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    	}
    
    	statusCode := resp.StatusCode
    	if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" {
    		statusCode, err = strconv.Atoi(status)
    		if err != nil {
    			writeErrorResponse(ctx, w, APIError{
    				Code:           "LambdaFunctionStatusError",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    		Code:       "XMinioAdminTierAlreadyExists",
    		Message:    "Specified remote tier already exists",
    		StatusCode: http.StatusConflict,
    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    		Message:    "Specified remote tier was not found",
    		StatusCode: http.StatusNotFound,
    	}
    	// error returned when remote tier name is not in uppercase
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/response-change-status-code.md

    # Response – Statuscode ändern
    
    Sie haben wahrscheinlich schon vorher gelesen, dass Sie einen Standard-[Response-Statuscode](../tutorial/response-status-code.md){.internal-link target=_blank} festlegen können.
    
    In manchen Fällen müssen Sie jedoch einen anderen als den Standard-Statuscode zurückgeben.
    
    ## Anwendungsfall
    
    Stellen Sie sich zum Beispiel vor, Sie möchten standardmäßig den HTTP-Statuscode „OK“ `200` zurückgeben.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/additional-status-codes.md

    # Zusätzliche Statuscodes
    
    Standardmäßig liefert **FastAPI** die Rückgabewerte (Responses) als `JSONResponse` zurück und fügt den Inhalt der jeweiligen *Pfadoperation* in das `JSONResponse` Objekt ein.
    
    Es wird der Default-Statuscode oder derjenige verwendet, den Sie in Ihrer *Pfadoperation* festgelegt haben.
    
    ## Zusätzliche Statuscodes
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbException.java

        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
                statusCode = dosErrorCodeStatuses.get(errcode);
            } else {
                statusCode = NT_STATUS_UNSUCCESSFUL;
            }
            return statusCode;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } 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/");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top