@@ -273,7 +273,7 @@ public enum AppConfigKey implements ConfigKey {
273273 CORS_HEADERS_EXPOSE ("cors.headers.expose" ),
274274
275275 /**
276- * {@code act.cors.headers.expose } specify `Access-Control-Allow-Headers`.
276+ * {@code act.cors.headers.allowed } specify `Access-Control-Allow-Headers`.
277277 * Note this setting will overwrite the setting of {@link #CORS_HEADERS} if
278278 * it is set
279279 *
@@ -299,8 +299,8 @@ public enum AppConfigKey implements ConfigKey {
299299 * {@code act.content_suffix.aware.enabled}
300300 * <p>
301301 * Once enabled then the framework automatically recognize request with content suffix.
302- * E.g. {@code /customer/123/json} or {@code /customer/123.json} will match the
303- * route {@code /customer/123} and set the request {@code Accept} header to
302+ * E.g. {@code /customer/123/json} will match the route {@code /customer/123}
303+ * and set the request {@code Accept} header to
304304 * {@code application/json}
305305 * </p>
306306 * <p>Default value: {@code false}</p>
@@ -445,6 +445,8 @@ public enum AppConfigKey implements ConfigKey {
445445 * implements {@link UnknownHttpMethodProcessor} that process
446446 * the HTTP methods that are not recognized by {@link act.route.Router},
447447 * e.g. "OPTION", "PATCH" etc
448+ *
449+ * Default value: {@link UnknownHttpMethodProcessor#METHOD_NOT_ALLOWED}
448450 */
449451 HANDLER_UNKNOWN_HTTP_METHOD ("handler.unknown_http_method.impl" ),
450452
@@ -584,7 +586,8 @@ public enum AppConfigKey implements ConfigKey {
584586 /**
585587 * {@code act.idgen.seq_id.provider.impl} specifies the {@link act.util.IdGenerator.SequenceProvider}
586588 * implementation for {@link App#idGenerator}
587- * <p>Default value: {@link act.util.IdGenerator.SequenceProvider.AtomicLongSeq}</p>
589+ *
590+ * Default value: {@link act.util.IdGenerator.SequenceProvider.AtomicLongSeq}
588591 */
589592 ID_GEN_SEQ_ID_PROVIDER ("idgen.seq_id.provider.impl" ),
590593
@@ -678,24 +681,28 @@ public <T> T val(Map<String, ?> configuration) {
678681 * {@code act.namedPorts} specifies a list of port names this
679682 * application listen to. These are additional ports other than
680683 * the default {@link #HTTP_PORT}
681- * <p/>
684+ *
682685 * The list is specified as
683- * <pre><code>
686+ *
687+ * ```
684688 * act.namedPorts=admin:8888;ipc:8899
685- * </code></pre>
686- * <p>Default value: {@code null}</p>
687- * <p>Note, the default port that specified in {@link #HTTP_PORT} configuration
688- * and shall not be specified in this namedPorts configuration</p>
689+ * ```
690+ *
691+ * Default value: `null`
692+ *
693+ * Note, the default port that specified in {@link #HTTP_PORT} configuration
694+ * and shall not be specified in this namedPorts configuration
689695 */
690696 NAMED_PORTS ("namedPorts" ),
691697
692698 /**
693- * `strbuf.retention.limit` set the maximum size of threadlocal instance
694- * of {@link S.Buffer} before it get dropped.
699+ * `threadlocal_buf.limit` set the maximum size of thread local instance
700+ * of {@link S.Buffer} and {@link org.osgl.util.ByteArrayBuffer} before it
701+ * get dropped.
695702 *
696703 * Default value: 1024 * 8 (i.e. 8k)
697704 */
698- OSGL_STRBUF_RETENTION_LIMIT ( "strbuf.retention .limit" ),
705+ OSGL_THREADLOCAL_BUF_LIMIT ( "threadlocal_buf .limit" ),
699706
700707 /**
701708 * `password.spec` specify default password spec which is used to
@@ -789,7 +796,7 @@ public <T> T val(Map<String, ?> configuration) {
789796
790797 /**
791798 * {@code resolver.template_path.impl} specifies the class that
792- * implements {@link TemplatePathResolver}. Application
799+ * extends {@link TemplatePathResolver}. Application
793800 * developer could use this configuration to add some flexibility to
794801 * template path resolving logic, e.g. different home for different locale
795802 * or different home for different device type etc.
0 commit comments