WONettyAdaptor Class Reference

Inherits com::webobjects::appserver::WOAdaptor.

Inherited by ERWOAdaptor.

Collaboration diagram for WONettyAdaptor:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

How to use the WONettyAdaptor:

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

Author:
ravim
Version:
1.0

Constructor & Destructor Documentation

WONettyAdaptor ( String  name,
NSDictionary< String, Object >  config 
)


Member Function Documentation

static HttpResponse asHttpResponse ( WOResponse  woresponse  )  [static, private]

Converts a WOResponse to a Netty HttpResponse

Parameters:
woresponse A WOResponse
Returns:
HttpResponse

static WOCookie asWOCookie ( Cookie  cookie  )  [static, private]

Converts a Netty Cookie to a WOCookie

Parameters:
cookie Netty Cookie
Returns:
A WOCookie

static WORequest asWORequest ( HttpRequest  request  )  throws IOException [static, private]

Converts a Netty HttpRequest to a WORequest

Parameters:
request Netty HttpRequest
Returns:
a WORequest
Exceptions:
IOException 

boolean dispatchesRequestsConcurrently (  ) 

String hostname (  )  [private]

int port (  ) 

void registerForEvents (  ) 

void unregisterForEvents (  ) 


Member Data Documentation

String _hostname [private]

int _port [private]

Channel channel [private]

ChannelFactory channelFactory [private]

final Logger log = Logger.getLogger(WONettyAdaptor.class) [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:31 2012 for Project Wonder by  doxygen 1.5.8