Inherited by ERWOAdaptor.

Classes | |
| class | PipelineFactory |
| class | RequestHandler |
Public Member Functions | |
| boolean | dispatchesRequestsConcurrently () |
| int | port () |
| void | registerForEvents () |
| void | unregisterForEvents () |
| WONettyAdaptor (String name, NSDictionary< String, Object > config) | |
Private Member Functions | |
| String | hostname () |
Static Private Member Functions | |
| static HttpResponse | asHttpResponse (WOResponse woresponse) |
| static WOCookie | asWOCookie (Cookie cookie) |
| static WORequest | asWORequest (HttpRequest request) throws IOException |
Private Attributes | |
| String | _hostname |
| int | _port |
| Channel | channel |
| ChannelFactory | channelFactory |
Static Private Attributes | |
| static final Logger | log = Logger.getLogger(WONettyAdaptor.class) |
1. Build/Install ERWOAdaptor framework 2. Include ERWOAdaptor framework in your app/project 3. Run your app with the property:
-WOAdaptor er.woadaptor.ERWOAdaptor
OR:
-WOAdaptor WONettyAdaptor
4. (Optional) If developing with the WONettyAdaptor set the following properties as well:
-WODirectConnectEnabled false
AND (maybe)
-WOAllowRapidTurnaround false
| WONettyAdaptor | ( | String | name, | |
| NSDictionary< String, Object > | config | |||
| ) |
| static HttpResponse asHttpResponse | ( | WOResponse | woresponse | ) | [static, private] |
Converts a WOResponse to a Netty HttpResponse
| woresponse | A WOResponse |
| static WOCookie asWOCookie | ( | Cookie | cookie | ) | [static, private] |
Converts a Netty Cookie to a WOCookie
| cookie | Netty Cookie |
| static WORequest asWORequest | ( | HttpRequest | request | ) | throws IOException [static, private] |
Converts a Netty HttpRequest to a WORequest
| request | Netty HttpRequest |
| IOException |
| boolean dispatchesRequestsConcurrently | ( | ) |
| String hostname | ( | ) | [private] |
| int port | ( | ) |
| void registerForEvents | ( | ) |
| void unregisterForEvents | ( | ) |
int _port [private] |
Channel channel [private] |
ChannelFactory channelFactory [private] |
final Logger log = Logger.getLogger(WONettyAdaptor.class) [static, private] |
1.5.8