public class ERWOAdaptorUtilities extends Object
Constructor and Description |
---|
ERWOAdaptorUtilities() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.netty.handler.codec.http.HttpResponse |
asHttpResponse(com.webobjects.appserver.WOResponse woresponse)
Converts a WOResponse to a Netty HttpResponse
|
static WOCookie |
asWOCookie(org.jboss.netty.handler.codec.http.Cookie cookie)
Converts a Netty Cookie to a WOCookie
|
static com.webobjects.appserver.WORequest |
asWORequest(org.jboss.netty.handler.codec.http.HttpRequest request)
Converts a Netty HttpRequest to a WORequest
|
static com.webobjects.appserver.WOSession |
existingSession(com.webobjects.appserver.WORequest request) |
static String |
getWebSocketLocation(org.jboss.netty.handler.codec.http.HttpRequest req) |
static String |
websocketUrlInContext(com.webobjects.appserver.WOContext context) |
public static com.webobjects.appserver.WORequest asWORequest(org.jboss.netty.handler.codec.http.HttpRequest request) throws IOException
request
- Netty HttpRequestIOException
public static WOCookie asWOCookie(org.jboss.netty.handler.codec.http.Cookie cookie)
cookie
- Netty Cookiepublic static com.webobjects.appserver.WOSession existingSession(com.webobjects.appserver.WORequest request)
public static String websocketUrlInContext(com.webobjects.appserver.WOContext context)
public static org.jboss.netty.handler.codec.http.HttpResponse asHttpResponse(com.webobjects.appserver.WOResponse woresponse)
woresponse
- A WOResponsepublic static String getWebSocketLocation(org.jboss.netty.handler.codec.http.HttpRequest req)
Copyright © 2002 – 2020 Project Wonder.