Package | Description |
---|---|
org.jim.common.http | |
org.jim.common.http.handler | |
org.jim.common.http.listener | |
org.jim.server.http |
Modifier and Type | Method and Description |
---|---|
RequestLine |
HttpRequest.getRequestLine() |
static RequestLine |
HttpRequestDecoder.parseRequestLine(String line,
org.tio.core.ChannelContext channelContext)
解析第一行(请求行)
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpMultiBodyDecoder.decode(HttpRequest request,
RequestLine firstLine,
byte[] bodyBytes,
String initboundary,
org.tio.core.ChannelContext channelContext) |
void |
HttpRequest.setRequestLine(RequestLine requestLine) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
IHttpRequestHandler.handler(HttpRequest packet,
RequestLine requestLine) |
HttpResponse |
IHttpRequestHandler.resp404(HttpRequest request,
RequestLine requestLine) |
HttpResponse |
IHttpRequestHandler.resp500(HttpRequest request,
RequestLine requestLine,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
void |
IHttpServerListener.doAfterHandler(HttpRequest packet,
RequestLine requestLine,
HttpResponse httpResponse)
在执行org.tio.http.server.handler.IHttpRequestHandler.handler(HttpRequestPacket, RequestLine, ChannelContext
|
HttpResponse |
IHttpServerListener.doBeforeHandler(HttpRequest packet,
RequestLine requestLine,
HttpResponse httpResponseFromCache)
在执行org.tio.http.server.handler.IHttpRequestHandler.handler(HttpRequestPacket, RequestLine, ChannelContext
如果返回了HttpResponsePacket对象,则后续都不再执行,表示调用栈就此结束 |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
DefaultHttpRequestHandler.handler(HttpRequest request,
RequestLine requestLine) |
HttpResponse |
DefaultHttpRequestHandler.resp404(HttpRequest request,
RequestLine requestLine) |
HttpResponse |
DefaultHttpRequestHandler.resp500(HttpRequest request,
RequestLine requestLine,
Throwable throwable) |
Copyright © 2018. All rights reserved.