public interface RequestReader
| Modifier and Type | Method and Description |
|---|---|
<I> I |
bindJson(String body,
Class<I> clazz,
Class<?>... groups)
bind request body to specific class.
|
<I> I |
bindJson(String body,
Type type,
Class<?>... groups)
bind request body to specific type.
|
<I> I |
readJson(String body,
Class<I> clazz)
read request body into new object possibly
|
<I> I |
readJson(String body,
Type type)
read request body into new object possibly
|
<I> I readJson(String body, Class<I> clazz)
I - objects typebody - json stringclazz - objects class<I> I readJson(String body, Type type)
I - objects typebody - json stringtype - objects type<I> I bindJson(String body, Class<I> clazz, Class<?>... groups)
I - objects typebody - json stringclazz - objects classgroups - validate groupCopyright © 2023 flmelody. All rights reserved.