public class ERWOAdaptorUtilities extends Object
Constructor and Description |
---|
ERWOAdaptorUtilities() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.netty.handler.codec.http.HttpResponse |
asHttpResponse(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 WORequest |
asWORequest(org.jboss.netty.handler.codec.http.HttpRequest request)
Converts a Netty HttpRequest to a WORequest
|
static WOSession |
existingSession(WORequest request) |
static String |
getWebSocketLocation(org.jboss.netty.handler.codec.http.HttpRequest req) |
static String |
websocketUrlInContext(WOContext context) |
public static 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 org.jboss.netty.handler.codec.http.HttpResponse asHttpResponse(WOResponse woresponse)
woresponse
- A WOResponsepublic static String getWebSocketLocation(org.jboss.netty.handler.codec.http.HttpRequest req)
Copyright © 2002 – 2024 Project Wonder.