Modifier and Type | Field and Description |
---|---|
HttpConfig |
HttpRequest.httpConfig |
Modifier and Type | Method and Description |
---|---|
HttpConfig |
HttpRequest.getHttpConfig() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
HttpConfig |
HttpRequestHandler.getHttpConfig(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
String |
ISessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
String |
UUIDSessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
String |
SnowflakeSessionIdGenerator.sessionId(HttpConfig httpConfig,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
static String |
IpUtils.getRealIp(ChannelContext channelContext,
HttpConfig httpConfig,
Map<String,String> httpHeaders)
获取真实ip
|
Modifier and Type | Method and Description |
---|---|
freemarker.template.Configuration |
ConfigurationCreater.createConfiguration(HttpConfig httpConfig,
String root) |
Constructor and Description |
---|
FreemarkerConfig(HttpConfig httpConfig,
ModelGenerator modelGenerator,
String[] suffixes,
ConfigurationCreater configurationCreater) |
Modifier and Type | Field and Description |
---|---|
protected HttpConfig |
HttpServerAioHandler.httpConfig |
Modifier and Type | Method and Description |
---|---|
HttpConfig |
HttpServerStarter.getHttpConfig() |
HttpConfig |
HttpServerAioHandler.getHttpConfig() |
Modifier and Type | Method and Description |
---|---|
void |
HttpServerAioHandler.setHttpConfig(HttpConfig httpConfig) |
Constructor and Description |
---|
HttpServerAioHandler(HttpConfig httpConfig,
HttpRequestHandler requestHandler) |
HttpServerStarter(HttpConfig httpConfig,
HttpRequestHandler requestHandler) |
HttpServerStarter(HttpConfig httpConfig,
HttpRequestHandler requestHandler,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
Modifier and Type | Field and Description |
---|---|
protected HttpConfig |
DefaultHttpRequestHandler.httpConfig |
Modifier and Type | Method and Description |
---|---|
HttpConfig |
DispatcheHttpRequestHandler.getHttpConfig(HttpRequest request) |
HttpConfig |
DefaultHttpRequestHandler.getHttpConfig(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
static Cookie |
DefaultHttpRequestHandler.getSessionCookie(HttpRequest request,
HttpConfig httpConfig) |
void |
DefaultHttpRequestHandler.setHttpConfig(HttpConfig httpConfig) |
Constructor and Description |
---|
DefaultHttpRequestHandler(HttpConfig httpConfig,
Class<?> scanRootClasse) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
Class<?>[] scanRootClasses) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
Class<?>[] scanRootClasses,
ControllerFactory controllerFactory) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
Class<?> scanRootClasse,
ControllerFactory controllerFactory) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
Routes routes) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
String scanPackage) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
String[] scanPackages) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
String[] scanPackages,
ControllerFactory controllerFactory) |
DefaultHttpRequestHandler(HttpConfig httpConfig,
String scanPackage,
ControllerFactory controllerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
HttpSessionListener.doAfterCreated(HttpRequest request,
HttpSession session,
HttpConfig httpConfig) |
Modifier and Type | Method and Description |
---|---|
void |
HttpSessionListener.doAfterCreated(HttpRequest request,
HttpSession session,
HttpConfig httpConfig) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
Resps.resp404(HttpRequest request,
RequestLine requestLine,
HttpConfig httpConfig) |
static HttpResponse |
Resps.resp500(HttpRequest request,
RequestLine requestLine,
HttpConfig httpConfig,
Throwable throwable) |
Modifier and Type | Class and Description |
---|---|
class |
WsServerConfig |
Copyright © 2021. All rights reserved.