Package | Description |
---|---|
org.voovan.http.client | |
org.voovan.http.message | |
org.voovan.http.server |
Modifier and Type | Field and Description |
---|---|
Consumer<Response> |
AsyncHandler.async |
Modifier and Type | Method and Description |
---|---|
Response |
HttpClient.send()
连接并发送请求
|
Response |
HttpClient.send(String location)
连接并发送请求
|
Modifier and Type | Method and Description |
---|---|
Consumer<Response> |
AsyncHandler.getAsync() |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpClient.finished(Response response)
请求完成
|
Modifier and Type | Method and Description |
---|---|
void |
HttpClient.asyncSend(Consumer<Response> async)
连接并发送请求,异步获得响应
|
void |
HttpClient.asyncSend(String location,
Consumer<Response> async)
连接并发送请求,异步获得响应
|
void |
AsyncHandler.setAsync(Consumer<Response> async) |
Modifier and Type | Method and Description |
---|---|
Response |
Response.copyFrom(Response response)
从其他 Response 复制数据到当前对象
用于非发送目的
|
Response |
Response.copyFrom(Response otherResponse,
boolean useForSend)
从其他 Response 复制数据到当前对象
|
static Response |
HttpParser.parseResponse(IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut)
解析报文成 HttpResponse 对象
|
static Response |
HttpParser.parseResponse(Response response,
IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut)
解析报文成 HttpResponse 对象
|
Modifier and Type | Method and Description |
---|---|
Response |
Response.copyFrom(Response response)
从其他 Response 复制数据到当前对象
用于非发送目的
|
Response |
Response.copyFrom(Response otherResponse,
boolean useForSend)
从其他 Response 复制数据到当前对象
|
void |
Response.init(Response response) |
static Response |
HttpParser.parseResponse(Response response,
IoSession session,
ByteBufferChannel byteBufferChannel,
int timeOut)
解析报文成 HttpResponse 对象
|
Constructor and Description |
---|
Response(Response response)
构造函数
|
Modifier and Type | Class and Description |
---|---|
class |
HttpResponse
WebServer 响应对象
|
Constructor and Description |
---|
HttpResponse(Response response,
String characterSet,
IoSession socketSession)
构造 HTTP 响应对象
|
Copyright © 2020 Voovan. All rights reserved.