Skip to content

Commit d9441e6

Browse files
authored
Update JavaRouting.md
1 parent a3a2ee5 commit d9441e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manual/working/javaGuide/main/http/JavaRouting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Routes are defined in the `conf/routes` file, which is compiled. This means that
4141
<!--
4242
Play supports generating two types of routers, one is a dependency injected router, the other is a static router. The default is the static router, but if you created a new Play application using the Play seed Activator templates, your project will include the following configuration in `build.sbt` telling it to use the injected router:
4343
-->
44-
Play は、2 種類のルータ生成をサポートしています。 つは依存性が注入されたルータ、もう 1 つは静的なルータです。デフォルトは静的ルータですが、もし Play seed Activator テンプレートを使用して新しい Play アプリケーションを作成した場合、プロジェクトには、注入されたルータを使用するように指示するため `build.sbt` に以下の設定が含まれます。
44+
Play は、2 種類のルータ生成をサポートしています。1 つは依存性が注入されたルータ、もう 1 つは静的なルータです。デフォルトは静的ルータですが、もし Play seed Activator テンプレートを使用して新しい Play アプリケーションを作成した場合、プロジェクトには、注入されたルータを使用するように指示するため `build.sbt` に以下の設定が含まれます。
4545

4646
```scala
4747
routesGenerator := InjectedRoutesGenerator
@@ -50,7 +50,7 @@ routesGenerator := InjectedRoutesGenerator
5050
<!--
5151
The code samples in Play's documentation assumes that you are using the injected routes generator. If you are not using this, you can trivially adapt the code samples for the static routes generator, either by prefixing the controller invocation part of the route with an `@` symbol, or by declaring each of your action methods as `static`.
5252
-->
53-
Play のドキュメントにあるコードサンプルは、注入されたルータ生成を使用することを前提としています。もしこれを使用しない場合は、コントローラの呼び出し部分の前に`@`シンボルを付けるか、それぞれのアクションメソッドを `static` として宣言することで、静的なルータ生成用のコードサンプルに作り変えることができます。
53+
Play のドキュメントにあるコードサンプルは、注入されたルータ生成を使用することを前提としています。もしこれを使用しない場合は、コントローラの呼び出し部分の前に `@` シンボルを付けるか、それぞれのアクションメソッドを `static` として宣言することで、静的なルータ生成用のコードサンプルに作り変えることができます。
5454

5555
<!--
5656
## The routes file syntax
@@ -94,7 +94,7 @@ You can also add comments to the route file, with the `#` character:
9494
<!--
9595
The HTTP method can be any of the valid methods supported by HTTP (`GET`, `PATCH`, `POST`, `PUT`, `DELETE`, `HEAD`).
9696
-->
97-
HTTP メソッドには、HTTP がサポートするあらゆるメソッド(`GET``PATCH``POST``PUT``DELETE``HEAD`)が指定できます。
97+
HTTP メソッドには、HTTP がサポートするあらゆるメソッド (`GET``PATCH``POST``PUT``DELETE``HEAD`) が指定できます。
9898

9999
<!--
100100
## The URI pattern

0 commit comments

Comments
 (0)