<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ### 47.2 自定義管理端點路徑 有時將所有管理端點劃分到單個路徑下是有用的。例如,`/info`可能已被應用占用,你可以用`management.contextPath`屬性為管理端點設置一個前綴: ```java management.context-path=/manage ``` 以上的`application.properties`示例將把端點從`/{id}`改為`/manage/{id}`(比如`/manage/info`)。 你也可以改變端點的`id`(使用`endpoints.{name}.id`)來改變MVC端點的默認資源路徑,合法的端點ids只能由字母數字組成(因為它們可以暴露到很多地方,包括不允許特殊字符的JMX對象name)。MVC路徑也可以通過配置`endpoints.{name}.path`來單獨改變,Spring Boot不會校驗這些值(所以你可以使用URL中任何合法的字符)。例如,想要改變`/health`端點路徑為`/ping/me`,你可以設置`endpoints.health.path=/ping/me`。 **注** 如果你提供一個自定義`MvcEndpoint`,記得包含一個可設置的`path`屬性,并像標準MVC端點那樣將該屬性默認設置為`/{id}`(具體可參考`HealthMvcEndpoint`)。如果你的自定義端點是一個`Endpoint`(不是`MvcEndpoint`),Spring Boot將會為你分配路徑。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看