Package | Description |
---|---|
org.voovan.http.message | |
org.voovan.http.message.packet | |
org.voovan.http.server | |
org.voovan.http.websocket |
Modifier and Type | Method and Description |
---|---|
Request |
Request.copyFrom(Request request) |
static Request |
HttpParser.parseRequest(IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut,
long requestMaxSize)
解析报文成 HttpRequest 对象
|
static Request |
HttpParser.parseRequest(Request request,
IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut,
long requestMaxSize)
解析报文成 HttpRequest 对象
|
Modifier and Type | Method and Description |
---|---|
Request |
Request.copyFrom(Request request) |
void |
Request.init(Request request) |
static Request |
HttpParser.parseRequest(Request request,
IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut,
long requestMaxSize)
解析报文成 HttpRequest 对象
|
Constructor and Description |
---|
Request(Request request)
构造函数
|
Modifier and Type | Method and Description |
---|---|
static Cookie |
Cookie.newInstance(Request request,
String name,
String value)
创建一个 Cookie
|
static Cookie |
Cookie.newInstance(Request request,
String path,
String name,
String value)
创建一个 Cookie
|
static Cookie |
Cookie.newInstance(Request request,
String path,
String name,
String value,
int maxAge,
boolean isHttpOnly)
创建一个 Cookie
|
Modifier and Type | Class and Description |
---|---|
class |
HttpRequest
WebServer 请求对象
|
Modifier and Type | Method and Description |
---|---|
void |
WebServerHandler.checkPause(IoSession session,
Request request)
Web 服务暂停检查
如果配置文件指定了 PauseURL 则转到 PauseURL 指定的URL, 否则关闭当前连接
|
void |
HttpRequest.init(Request request,
String characterSet,
IoSession socketSession) |
Constructor and Description |
---|
HttpRequest(Request request,
String characterSet,
IoSession socketSession)
构造函数
|
Modifier and Type | Method and Description |
---|---|
static boolean |
WebSocketTools.isWebSocketUpgrade(Request request)
s是否是 websocket 升级协议
|
Copyright © 2020 Voovan. All rights reserved.