Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 165 for rendered (0.05 seconds)

  1. docs/zh/docs/advanced/custom-response.md

    你可以创建你自己的自定义响应类,继承自 `Response` 并使用它。
    
    例如,假设你想用一些设置来使用 [`orjson`](https://github.com/ijl/orjson)。
    
    假设你想让它返回带缩进、格式化的 JSON,因此你想使用 orjson 选项 `orjson.OPT_INDENT_2`。
    
    你可以创建一个 `CustomORJSONResponse`。你需要做的主要事情是实现一个 `Response.render(content)` 方法,并返回 `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    现在,不再是返回:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...这个响应将返回:
    
    ```json
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/custom-response.md

    Você poderia criar uma `CustomORJSONResponse`. A principal coisa que você tem que fazer é criar um método `Response.render(content)` que retorne o conteúdo como `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    Agora em vez de retornar:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/StandardTable.java

            columnIterator = rowEntry.getValue().entrySet().iterator();
          }
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/custom-response.md

    Digamos que quieres que devuelva JSON con sangría y formato, por lo que quieres usar la opción de orjson `orjson.OPT_INDENT_2`.
    
    Podrías crear un `CustomORJSONResponse`. Lo principal que tienes que hacer es crear un método `Response.render(content)` que devuelva el contenido como `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    Ahora en lugar de devolver:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            testClient.documentCount = 10;
            testClient.aliasCount = 2;
    
            testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            // "fess" (DOC_INDEX) should never appear in created or reindexed indices
            for (final String index : testClient.createdIndices) {
                assertFalse(index.equals("fess"), "DOC_INDEX 'fess' should be skipped");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/custom-response.md

    你可以建立自己的自訂回應類別,繼承自 `Response` 並加以使用。
    
    例如,假設你要使用 [`orjson`](https://github.com/ijl/orjson) 並套用一些設定。
    
    假設你想回傳縮排且格式化的 JSON,因此要使用 orjson 選項 `orjson.OPT_INDENT_2`。
    
    你可以建立 `CustomORJSONResponse`。你主要需要做的是建立一個 `Response.render(content)` 方法,將內容以 `bytes` 回傳:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    現在,不再是回傳:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...這個回應會回傳:
    
    ```json
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. internal/lru/lru.go

    	now := time.Now()
    
    	// Check for existing item
    	if ent, ok := c.items[key]; ok {
    		c.evictList.MoveToFront(ent)
    		c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed
    		ent.Value = value
    		ent.ExpiresAt = now.Add(c.ttl)
    		c.addToBucket(ent)
    		return false
    	}
    
    	// Add new item
    	ent := c.evictList.PushFrontExpirable(key, value, now.Add(c.ttl))
    	c.items[key] = ent
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. src/main/webapp/css/admin/bootstrap.min.css

    .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-conte...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 158.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/StandardTable.java

            columnIterator = rowEntry.getValue().entrySet().iterator();
          }
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.validation.VaMessenger;
    
    public class AdminSearchlistActionTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
Back to Top