Glassfish Jersey MVC Hello World の続き


Jersey MVC のパラメータを設定をする †


Jersey MVC mustache で設定できるパラメータ †

key (constant field)key (string)mean
MustacheMvcFeature?.TEMPLATE_BASE_PATH"jersey.config.server.mvc.templateBasePath?.mustache"The base path where Mustache templates are located.
MustacheMvcFeature?.CACHE_TEMPLATES"jersey.config.server.mvc.caching.mustache"Enables caching of Mustache templates to avoid multiple compilation.
MustacheMvcFeature?.TEMPLATE_OBJECT_FACTORY"jersey.config.server.mvc.factory.mustache"Property used to pass user-configured MustacheFactory?.
MustacheMvcFeature?.ENCODING"jersey.config.server.mvc.encoding.mustache"Property used to configure a default encoding that will be used if none is specified in @Produces annotation. If property is not defined the UTF-8 encoding will be used as a default value.

実行結果 †


Java#Glassfish


添付ファイル: filegoodevening.png 2004件 [詳細]

Last-modified: 2015-07-09 (木) 00:56:33 (4152d)
Short-URL: https://pukiwiki.at-sushi.com/pukiwiki/?cmd=s&k=67c5806bdc
ISBN10
ISBN13
9784061426061