public class WebPushFrameListener
extends io.netty.handler.codec.http2.Http2FrameAdapter
| Modifier and Type | Field and Description |
|---|---|
static io.netty.handler.codec.AsciiString |
ANY_ORIGIN |
static io.netty.handler.codec.AsciiString |
LINK |
| Constructor and Description |
|---|
WebPushFrameListener(org.jboss.aerogear.webpush.WebPushServer webpushServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect(io.netty.channel.ChannelHandlerContext ctx) |
void |
encoder(io.netty.handler.codec.http2.Http2ConnectionEncoder encoder) |
int |
onDataRead(io.netty.channel.ChannelHandlerContext ctx,
int streamId,
io.netty.buffer.ByteBuf data,
int padding,
boolean endOfStream) |
void |
onHeadersRead(io.netty.channel.ChannelHandlerContext ctx,
int streamId,
io.netty.handler.codec.http2.Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endStream) |
void |
shutdown() |
public static final io.netty.handler.codec.AsciiString LINK
public static final io.netty.handler.codec.AsciiString ANY_ORIGIN
public WebPushFrameListener(org.jboss.aerogear.webpush.WebPushServer webpushServer)
public void encoder(io.netty.handler.codec.http2.Http2ConnectionEncoder encoder)
public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx,
int streamId,
io.netty.handler.codec.http2.Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endStream)
throws io.netty.handler.codec.http2.Http2Exception
onHeadersRead in interface io.netty.handler.codec.http2.Http2FrameListeneronHeadersRead in class io.netty.handler.codec.http2.Http2FrameAdapterio.netty.handler.codec.http2.Http2Exceptionpublic int onDataRead(io.netty.channel.ChannelHandlerContext ctx,
int streamId,
io.netty.buffer.ByteBuf data,
int padding,
boolean endOfStream)
throws io.netty.handler.codec.http2.Http2Exception
onDataRead in interface io.netty.handler.codec.http2.Http2FrameListeneronDataRead in class io.netty.handler.codec.http2.Http2FrameAdapterio.netty.handler.codec.http2.Http2Exceptionpublic void shutdown()
public void disconnect(io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.