MineAuth
Toggle table of contents
VersionPlaceholder
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MineAuth
api
/
party.morino.mineauth.api.annotations
/
HttpHandler
Http
Handler
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
]
)
annotation class
HttpHandler
(
val
path
:
String
,
val
method
:
HttpMethod
=
HttpMethod.GET
)
HTTPハンドラーを定義するためのアノテーション
Parameters
path
エンドポイントのパス
method
HTTPメソッド(デフォルトはGET)
Members
Properties
method
Link copied to clipboard
val
method
:
HttpMethod
path
Link copied to clipboard
val
path
:
String