跳过导航链接
A B C D E G H I L N O P R S T U W 

A

ATTR_NAME_LONG_CONNECTION - 类 中的静态变量info.xiancloud.nettyhttpserver.http.handler.outbound.ClearingHandler
 

B

BadRequestException - info.xiancloud.nettyhttpserver.http.bean中的异常错误
 
BadRequestException(Throwable) - 异常错误 的构造器info.xiancloud.nettyhttpserver.http.bean.BadRequestException
 
BusinessHandler - info.xiancloud.nettyhttpserver.http.handler.inbound中的类
business handler
BusinessHandler() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.inbound.BusinessHandler
 

C

channelInactive(ChannelHandlerContext) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.BusinessHandler
 
channelRead(ChannelHandlerContext, Object) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.BusinessHandler
 
channelRead(ChannelHandlerContext, Object) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.ReqReceived
 
channelRead0(ChannelHandlerContext, Request) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.ReqSubmitted
 
ClearingHandler - info.xiancloud.nettyhttpserver.http.handler.outbound中的类
处理一些收尾工作
ClearingHandler() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.outbound.ClearingHandler
 
close(ChannelHandlerContext, ChannelPromise) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.outbound.ClearingHandler
 
Config - info.xiancloud.nettyhttpserver.http中的类
configuration for netty api gateway http server
Config() - 类 的构造器info.xiancloud.nettyhttpserver.http.Config
 

D

decode(ChannelHandlerContext, FullHttpRequest, List<Object>) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.RequestDecoderAux
 
DefaultExceptionHandler - info.xiancloud.nettyhttpserver.http.handler.inbound中的类
遇到异常时的兜底操作
DefaultExceptionHandler() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.inbound.DefaultExceptionHandler
 
DefaultInitializer - info.xiancloud.nettyhttpserver.http.channel_initializer中的类
 
DefaultInitializer() - 类 的构造器info.xiancloud.nettyhttpserver.http.channel_initializer.DefaultInitializer
 
defaultUtf8() - 类 中的静态方法info.xiancloud.nettyhttpserver.http.Config
 

E

exceptionCaught(ChannelHandlerContext, Throwable) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.inbound.DefaultExceptionHandler
 

G

get(FullHttpRequest) - 类 中的静态方法info.xiancloud.nettyhttpserver.http.trace.OuterMsgId
从httpRequest的Header内摘取出msgId,处于安全考虑,我们只摘取standalone节点传入的msgId
如果取不到那么返回null
getBacklog() - 类 中的静态方法info.xiancloud.nettyhttpserver.http.Config
Socket connection count upper limit.
getBody() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getChannelHandlerContext() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getClientMaxBodySize() - 类 中的静态方法info.xiancloud.nettyhttpserver.http.Config
 
getContentType() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getContentType() - 类 中的静态方法info.xiancloud.nettyhttpserver.http.Config
 
getHeader() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
请参考 Request.header
getHttpContentType() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 
getHttpRequest() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getMsgId() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getPort() - 类 中的静态方法info.xiancloud.nettyhttpserver.http.Config
 
getReqReceivedTimeInMillis() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
getRequest() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 
getResPayload() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 
getUrl() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 

H

HttpResponseBuilder - info.xiancloud.nettyhttpserver.http.handler.outbound中的类
构造FullHttpResponse对象!
HttpResponseBuilder() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.outbound.HttpResponseBuilder
 

I

IdleEventListener - info.xiancloud.nettyhttpserver.http.handler中的类
 
IdleEventListener() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.IdleEventListener
 
info.xiancloud.nettyhttpserver - 程序包 info.xiancloud.nettyhttpserver
 
info.xiancloud.nettyhttpserver.http - 程序包 info.xiancloud.nettyhttpserver.http
 
info.xiancloud.nettyhttpserver.http.bean - 程序包 info.xiancloud.nettyhttpserver.http.bean
 
info.xiancloud.nettyhttpserver.http.channel_initializer - 程序包 info.xiancloud.nettyhttpserver.http.channel_initializer
 
info.xiancloud.nettyhttpserver.http.handler - 程序包 info.xiancloud.nettyhttpserver.http.handler
 
info.xiancloud.nettyhttpserver.http.handler.inbound - 程序包 info.xiancloud.nettyhttpserver.http.handler.inbound
 
info.xiancloud.nettyhttpserver.http.handler.outbound - 程序包 info.xiancloud.nettyhttpserver.http.handler.outbound
 
info.xiancloud.nettyhttpserver.http.trace - 程序包 info.xiancloud.nettyhttpserver.http.trace
 
initChannel(SocketChannel) - 类 中的方法info.xiancloud.nettyhttpserver.http.channel_initializer.DefaultInitializer
 

L

LONG_CONNECTION - 类 中的静态变量info.xiancloud.nettyhttpserver.http.handler.outbound.ClearingHandler
默认false,即短连接; 注意,它是一个http连接的状态属性,不同连接不共享此值!

N

NettyHttpResponseListener - info.xiancloud.nettyhttpserver.http.handler.outbound中的类
httpServer asynchronous response subclass
NettyHttpResponseListener() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.outbound.NettyHttpResponseListener
 
NettyServer - info.xiancloud.nettyhttpserver中的类
 
NettyServer() - 类 的构造器info.xiancloud.nettyhttpserver.NettyServer
 

O

offer(Request) - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ReqQueue
 
OuterMsgId - info.xiancloud.nettyhttpserver.http.trace中的类
辅助类,用于处理外来的msgId,让它可以与内部msgId串联
OuterMsgId() - 类 的构造器info.xiancloud.nettyhttpserver.http.trace.OuterMsgId
 

P

poll() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ReqQueue
 

R

removeTimeout() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ReqQueue
删除并返回超时未处理的request列表
REQ_QUEUE - 类 中的静态变量info.xiancloud.nettyhttpserver.http.bean.ReqQueue
 
ReqQueue - info.xiancloud.nettyhttpserver.http.bean中的类
http长连接请求队列,确保http响应的顺序与收到的请求顺序一致,每个http连接的都持有唯一一个ReqQueue对象
ReqQueue() - 类 的构造器info.xiancloud.nettyhttpserver.http.bean.ReqQueue
 
ReqReceived - info.xiancloud.nettyhttpserver.http.handler.inbound中的类
当前管道每次收到一个完整的http请求即执行一些初始化动作,比如初始化一个$msgId
ReqReceived() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.inbound.ReqReceived
 
ReqSubmitted - info.xiancloud.nettyhttpserver.http.handler.inbound中的类
The last inbound handler
ReqSubmitted() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.inbound.ReqSubmitted
 
Request - info.xiancloud.nettyhttpserver.http.bean中的类
 
Request(FullHttpRequest, String) - 类 的构造器info.xiancloud.nettyhttpserver.http.bean.Request
 
RequestDecoderAux - info.xiancloud.nettyhttpserver.http.handler.inbound中的类
1、解析请求header,得到是否是执行长连接。
RequestDecoderAux() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.inbound.RequestDecoderAux
 
RES_COUNT_THRESHOLD - 类 中的静态变量info.xiancloud.nettyhttpserver.http.bean.ReqQueue
防内存泄露
response(ServerResponseBean) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.outbound.NettyHttpResponseListener
 
ResponseWrapper - info.xiancloud.nettyhttpserver.http.bean中的类
封装这一个request和一个响应结果resPayload
ResponseWrapper(Request, String) - 类 的构造器info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 
ResReceived - info.xiancloud.nettyhttpserver.http.handler.outbound中的类
ResReceived
ResReceived() - 类 的构造器info.xiancloud.nettyhttpserver.http.handler.outbound.ResReceived
 

S

setChannelHandlerContext(ChannelHandlerContext) - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.Request
 
setHttpContentType(String) - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 
shutdown() - 类 中的方法info.xiancloud.nettyhttpserver.StopNettyServer
 
StartNettyServer - info.xiancloud.nettyhttpserver中的类
 
StartNettyServer() - 类 的构造器info.xiancloud.nettyhttpserver.StartNettyServer
 
startServer() - 类 中的方法info.xiancloud.nettyhttpserver.NettyServer
异步
startup() - 类 中的方法info.xiancloud.nettyhttpserver.StartNettyServer
 
StopNettyServer - info.xiancloud.nettyhttpserver中的类
netty http server shutdown hook
StopNettyServer() - 类 的构造器info.xiancloud.nettyhttpserver.StopNettyServer
 
stopServer() - 类 中的方法info.xiancloud.nettyhttpserver.NettyServer
 

T

TIMEOUT_IN_MILLIS - 类 中的静态变量info.xiancloud.nettyhttpserver.http.bean.ReqQueue
原超时时间为15*1000ms,现改为无限大,即不超时
toString() - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ResponseWrapper
 

U

userEventTriggered(ChannelHandlerContext, Object) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.IdleEventListener
 

W

write(ChannelHandlerContext, Object, ChannelPromise) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.outbound.ClearingHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.outbound.HttpResponseBuilder
 
write(ChannelHandlerContext, Object, ChannelPromise) - 类 中的方法info.xiancloud.nettyhttpserver.http.handler.outbound.ResReceived
 
writeAndFlush(ResponseWrapper...) - 类 中的方法info.xiancloud.nettyhttpserver.http.bean.ReqQueue
增加并发安全机制,日后如遇到长连接处理速度极限可以考虑去掉synchronized关键字,但需要仔细验证并发安全问题
A B C D E G H I L N O P R S T U W 
跳过导航链接