このコンテンツは選択した言語では利用できません。

13.5. RESTEasy Configuration


13.5.1. RESTEasy Configuration Parameters

Expand
Table 13.2. Elements
Option Name Default Value Description
resteasy.servlet.mapping.prefix No default If the url-pattern for the Resteasy servlet-mapping is not /*.
resteasy.scan false Automatically scan WEB-INF/lib jars and WEB-INF/classes directory for both @Provider and JAX-RS resource classes (@Path, @GET, @POST etc..) and register them.
resteasy.scan.providers false Scan for @Provider classes and register them.
resteasy.scan.resources false Scan for JAX-RS resource classes.
resteasy.providers no default A comma delimited list of fully qualified @Provider class names you want to register.
resteasy.use.builtin.providers true Whether or not to register default, built-in @Provider classes.
resteasy.resources No default A comma delimited list of fully qualified JAX-RS resource class names you want to register.
resteasy.jndi.resources No default A comma delimited list of JNDI names which reference objects you want to register as JAX-RS resources.
javax.ws.rs.Application No default Fully qualified name of Application class to bootstrap in a spec portable way.
resteasy.media.type.mappings No default Replaces the need for an Accept header by mapping file name extensions (like .xml or .txt) to a media type. Used when the client is unable to use a Accept header to choose a representation (i.e. a browser).
resteasy.language.mappings No default Replaces the need for an Accept-Language header by mapping file name extensions (like .en or .fr) to a language. Used when the client is unable to use a Accept-Language header to choose a language (i.e. a browser).
resteasy.document.expand.entity.references false Whether to expand external entities or replace them with an empty string. In JBoss EAP 6.3, this parameter defaults to false, so it replaces them with an empty string.

Important

In a Servlet 3.0 container, the resteasy.scan.* configurations in the web.xml file are ignored, and all JAX-RS annotated components will be automatically scanned.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat