Package play.mvc
Class Http.Inbound
- java.lang.Object
-
- play.mvc.Http.Inbound
-
- Enclosing class:
- Http
public abstract static class Http.Inbound extends java.lang.Object
A Websocket Inbound channel
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ThreadLocal<Http.Inbound>
current
-
Constructor Summary
Constructors Constructor Description Inbound(org.jboss.netty.channel.ChannelHandlerContext ctx)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
_received(Http.WebSocketFrame frame)
void
close()
static Http.Inbound
current()
abstract boolean
isOpen()
F.Promise<Http.WebSocketEvent>
nextEvent()
-
-
-
Field Detail
-
current
public static final java.lang.ThreadLocal<Http.Inbound> current
-
-
Method Detail
-
current
public static Http.Inbound current()
-
_received
public void _received(Http.WebSocketFrame frame)
-
nextEvent
public F.Promise<Http.WebSocketEvent> nextEvent()
-
close
public void close()
-
isOpen
public abstract boolean isOpen()
-
-