| 限定符和类型 | 字段和说明 |
|---|---|
HttpConfig |
HttpRequest.httpConfig |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpConfig |
HttpRequest.getHttpConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Cookie |
Cookie.buildCookie(Map<String,String> cookieMap,
HttpConfig httpConfig)
通过 Map 构建一个 Cookie 对象
|
static HttpRequest |
HttpRequestDecoder.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext,
HttpConfig httpConfig) |
static void |
HttpMultiBodyDecoder.decode(HttpRequest request,
RequestLine firstLine,
byte[] bodyBytes,
String initboundary,
ChannelContext channelContext,
HttpConfig httpConfig) |
static HttpMultiBodyDecoder.Step |
HttpMultiBodyDecoder.parseBody(HttpMultiBodyDecoder.Header header,
HttpRequest request,
ByteBuffer buffer,
String boundary,
String endBoundary,
ChannelContext channelContext,
HttpConfig httpConfig) |
void |
HttpRequest.parseCookie(HttpConfig httpConfig) |
static boolean |
HttpRequestDecoder.parseHeaderLine(ByteBuffer buffer,
Map<String,String> headers,
int hasReceivedHeaderLength,
HttpConfig httpConfig)
解析请求头的每一行
|
void |
HttpRequest.setHttpConfig(HttpConfig httpConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpConfig |
HttpRequestHandler.getHttpConfig(HttpRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpSession.clear(HttpConfig httpConfig)
清空所有属性
|
<T extends Serializable> |
HttpSession.getAttribute(String key,
Class<T> clazz,
T defaultObj,
HttpConfig httpConfig) |
void |
HttpSession.removeAttribute(String key,
HttpConfig httpConfig) |
void |
HttpSession.setAttribute(String key,
Serializable value,
HttpConfig httpConfig)
设置会话属性
|
void |
HttpSession.update(HttpConfig httpConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
ISessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
SnowflakeSessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
String |
UUIDSessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
IpUtils.getRealIp(ChannelContext channelContext,
HttpConfig httpConfig,
Map<String,String> httpHeaders)
获取真实ip
|
| 限定符和类型 | 方法和说明 |
|---|---|
freemarker.template.Configuration |
ConfigurationCreater.createConfiguration(HttpConfig httpConfig,
String root) |
| 构造器和说明 |
|---|
FreemarkerConfig(HttpConfig httpConfig,
ModelGenerator modelGenerator,
String[] suffixes,
ConfigurationCreater configurationCreater) |
Copyright © 2022. All rights reserved.