书栈网 · BookStack 本次搜索耗时 0.021 秒,为您找到 3431 个相关结果.
  • 3.1 Defining Beans

    3.1 Defining Beans 3.1 Defining Beans A bean is an object that has its lifecycle controlled by the Micronaut IoC container. That lifecycle may include creation, execution, and ...
  • Simple Retry

    Simple Retry Simple Retry The simplest form of retry is just to add the @Retryable annotation to any type or method. The default behaviour of @Retryable is to retry 3 times w...
  • 6.9 Response Content-Type

    6.9 Response Content-Type 6.9 Response Content-Type A Micronaut’s controller action produces application/json by default. Nonetheless you can change the Content-Type of the r...
  • 6.11 Response Content-Type

    6.11 Response Content-Type 6.11 Response Content-Type A Micronaut controller action produces application/json by default. However you can change the Content-Type of the respon...
  • 3.1 Defining Beans

    3.1 Defining Beans 3.1 Defining Beans A bean is an object whose lifecycle is managed by the Micronaut IoC container. That lifecycle may include creation, execution, and destruct...
  • LDAP

    LDAP authentication LDAP authentication Ktor supports LDAP (Lightweight Directory Access Protocol) for credential authentication. authentication { basic ( "authName" ) ...
  • 11.4  Exit Reasons

    11.4 Exit Reasons 11.4 Exit Reasons When a run-time error occurs, that is an exception of class error. The exit reason is a tuple {Reason,Stack}, where Reason is a term indic...
  • 在UI中绘制数据

    在UI中绘制数据 在UI中绘制数据 MainActivity 中的代码有些小的改动,因为现在有真实的数据需要填充到adapter中。异步调用需要被重写成: async () { val result = RequestForecastCommand ( "94043" ). execute () uiThread ...
  • 字符串

    字符串 字符串字面值 转义字符串 多行字符串 字符串模板 字符串 Kotlin 中字符串用 String 类型表示。 通常,字符串值是双引号(" )中的字符序列: val str = "abcd 123" 字符串的元素——字符可以使用索引运算符访问: s[i] 。 可以使用 for 循环遍历这些字符: fun main ()...
  • 集合写操作

    集合写操作 添加元素 删除元素 更新元素 集合写操作 可变集合 支持更改集合内容的操作,例如添加或删除元素。 在此页面上,我们将描述实现 MutableCollection 的所有写操作。 有关 List 与 Map 可用的更多特定操作,请分别参见 List 相关操作 与 Map 相关操作 。 添加元素 要将单个元素添加到列表或集合...