| 程序包 | 说明 |
|---|---|
| org.slingerxv.limitart.net.http.constant | |
| org.slingerxv.limitart.net.http.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static ContentTypes |
ContentTypes.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ContentTypes[] |
ContentTypes.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
HttpUtil.sendResponse(io.netty.channel.Channel channel,
io.netty.handler.codec.http.HttpResponseStatus resultCode,
ContentTypes contentType,
byte[] bytes,
boolean isClose) |
static void |
HttpUtil.sendResponse(io.netty.channel.Channel channel,
io.netty.handler.codec.http.HttpResponseStatus resultCode,
ContentTypes contentType,
io.netty.buffer.ByteBuf result,
boolean isClose) |
Copyright © 2017. All rights reserved.