Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 650 for stateN (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.Futures.immediateCancelledFuture;
    import static com.google.common.util.concurrent.Internal.toNanosSaturated;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/response-change-status-code.md

    # Response - Cambiar el Status Code
    
    Probablemente ya has leído con anterioridad que puedes establecer un [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank} por defecto.
    
    Pero en algunos casos necesitas retornar un status code diferente al predeterminado.
    
    ## Casos de uso
    
    Por ejemplo, imagina que quieres retornar un HTTP status code de "OK" `200` por defecto.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/response-change-status-code.md

    # 响应 - 更改状态码
    
    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md){.internal-link target=_blank}。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                        case 0:
                            if (c == '\\') {
                                state = 1;
                            } else if (contains(WHITE_SPACE, c)) {
                                // switch to the separator crossing state
                                state = 2;
                            } else if (contains(SEPARATORS, c)) {
                                // switch to the value parsing state
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
            for (Path pom : state.poms) {
                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) {
        HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize")
            .addQueryParameter("client_id", clientId)
            .addQueryParameter("scope", scopes)
            .addQueryParameter("redirect_uri", redirectUrl.toString())
            .addQueryParameter("state", state.base64());
    
        if (team != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected static final String OIC_SCOPE = "oic.scope";
    
        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
        protected static final String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
    
        protected static final String OIC_CLIENT_SECRET = "oic.client.secret";
    
        protected static final String OIC_STATE = "OIC_STATE";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. scripts/deploy_docs_status.py

            current_commit.create_status(
                state="success",
                description="No Docs Changes",
                context="deploy-docs",
                target_url=run_url,
            )
            logging.info("No docs changes found")
            return
        if not settings.deploy_url:
            current_commit.create_status(
                state="pending",
                description="Deploying Docs",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/popper.min.js

    scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(t...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top