Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 896 for RESPONSE (0.04 sec)

  1. src/main/java/jcifs/smb1/util/transport/Response.java

    /**
     * Abstract base class for transport layer response objects.
     * Represents a response that can be received through the SMB1 transport layer.
     */
    public abstract class Response {
    
        /**
         * Default constructor for Response.
         */
        public Response() {
            // Default constructor
        }
    
        /**
         * The expiration time for this response in milliseconds.
         */
        public long expiration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 557 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    But you can return a `JSONResponse` directly from your *path operations*.
    
    It might be useful, for example, to return custom headers or cookies.
    
    ## Return a `Response` { #return-a-response }
    
    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        }
    
        internal constructor(response: Response) {
          this.request = response.request
          this.protocol = response.protocol
          this.code = response.code
          this.message = response.message
          this.handshake = response.handshake
          this.headers = response.headers.newBuilder()
          this.body = response.body
          this.socket = response.socket
          this.networkResponse = response.networkResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Response.java

     */
    package jcifs.util.transport;
    
    /**
     * Interface for transport response messages.
     * This interface represents responses received from network transports.
     */
    public interface Response extends Message {
    
        /**
         * Checks if the response has been received.
         *
         * @return whether the response is received
         */
        boolean isReceived();
    
        /**
         * Set received status
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-headers.md

    # Response Headers { #response-headers }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass { #annotate-a-response-subclass }
    
    You can also use a subclass of `Response` in the type annotation:
    
    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/response-directly.md

    Это может быть полезно, например, если нужно вернуть пользовательские заголовки или куки.
    
    ## Возврат `Response`
    
    На самом деле, вы можете возвращать любой объект `Response` или его подкласс.
    
    /// tip | Подсказка
    
    `JSONResponse` сам по себе является подклассом `Response`.
    
    ///
    
    И когда вы возвращаете `Response`, **FastAPI** передаст его напрямую.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 04 05:21:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    # Custom Response - HTML, Stream, File, others { #custom-response-html-stream-file-others }
    
    By default, **FastAPI** will return the responses using `JSONResponse`.
    
    You can override it by returning a `Response` directly as seen in [Return a Response directly](response-directly.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-cookies.md

    # Response Cookies { #response-cookies }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function*.
    
    And then you can set cookies in that *temporal* response object.
    
    {* ../../docs_src/response_cookies/tutorial002.py hl[1, 8:9] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/response-model.md

    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотація підкласу Response
    
    Також можна використовувати підклас `Response` у анотації типу:
    
    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    Це теж працюватиме, бо `RedirectResponse` — підклас `Response`, і FastAPI автоматично обробить цей простий випадок.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top