Example usage for io.netty.handler.codec.http.websocketx WebSocketFrame copy

List of usage examples for io.netty.handler.codec.http.websocketx WebSocketFrame copy

Introduction

In this page you can find the example usage for io.netty.handler.codec.http.websocketx WebSocketFrame copy.

Prototype

@Override
    public WebSocketFrame copy() 

Source Link

Usage

From source file:com.zank.websocket.server.ServerHandler.java

License:Apache License

private void handleWebSocketFrame(ChannelHandlerContext ctx, WebSocketFrame frame) {
    ctx.fireChannelRead(frame.copy());
}