Package org.sam.server.annotation.handle
Annotation Type JsonRequest
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface JsonRequest
클라이언트에서 JSON으로 요청을 보내면 핸들러의 파라미터에 달아서 JSON을 해석하여 해당 타입으로 변환하도록 한다.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ContentType
contentType
-
-
-
Element Detail
-
contentType
ContentType contentType
- Default:
- org.sam.server.constant.ContentType.APPLICATION_JSON
-
-