| 程序包 | 说明 |
|---|---|
| org.redkale.convert.json |
提供JSON的序列化和反解析功能
|
| org.redkale.net |
网络TCP/UDP基础服务包
|
| org.redkale.net.http |
HTTP协议包,提供HTTP协议服务器
|
| org.redkale.net.sncp |
SNCP协议包,提供SNCP协议服务器
|
| 限定符和类型 | 方法和说明 |
|---|---|
JsonConvert |
JsonFactory.getConvert() |
static JsonConvert |
JsonConvert.root() |
| 限定符和类型 | 字段和说明 |
|---|---|
protected JsonConvert |
Request.jsonConvert |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonConvert |
Context.getJsonConvert() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected JsonConvert |
HttpRequest.getJsonConvert() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpResponse.finishJson(JsonConvert convert,
java.lang.Object obj)
将对象以JSON格式输出
|
void |
HttpResponse.finishJson(JsonConvert convert,
java.lang.reflect.Type type,
java.lang.Object obj)
将对象以JSON格式输出
|
<T> T |
HttpRequest.getJsonHeader(JsonConvert convert,
java.lang.Class<T> clazz,
java.lang.String name)
获取指定的header的json值
|
<T> T |
HttpRequest.getJsonParameter(JsonConvert convert,
java.lang.Class<T> clazz,
java.lang.String name)
获取指定的参数json值
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected JsonConvert |
SncpClient.jsonConvert |