Interface | Description |
---|---|
XHRHomepageProvider |
Class | Description |
---|---|
ThriftHttpCodec |
HttpClientCodec 本身已经实现了ThriftFrameCodec 接口的所有方法,
只是因为ThriftFrameCodec 是nifty定义的接口,所以HttpClientCodec 不是ThriftFrameCodec 实例,
ThriftHttpCodec 的作用就是将HttpClientCodec 封装成ThriftFrameCodec 实例 |
ThriftHttpCodecFactory | |
ThriftMethodProcessorCustom |
定制
ThriftMethodProcessor ,收到的primitive封装类型(Boolean,Integer...)如果是null 不会被转成default 0. |
ThriftServerService |
创建thrift服务实例
ThriftServer ,封装为Service |
ThriftServerService.Builder | |
ThriftServerXHRCodec |
A combination of
ThriftXHRDecoder and ThriftXHREncoder
which enables easier server side HTTP implementation. |
ThriftServiceProcessorCustom |
ThriftServiceProcessor 子类,代码基本都是从父类复制过来,
只是在构造方法ThriftServiceProcessorCustom.ThriftServiceProcessorCustom(ThriftCodecManager, List, List) 中
用ThriftMethodProcessorCustom 替换了ThriftMethodProcessor |
ThriftXHRDecoder |
XHR(XML Http Request)解码器
将 HttpRequest 请求的内容数据(content)转为ThriftMessage ,
提供给NiftyDispatcher |
ThriftXHREncoder |
XHR(XML Http Request)编码器
将 NiftyDispatcher 输出的
ThriftMessage 响应数据转为DownstreamMessageEvent , |
Copyright © 2019. All rights reserved.