Example usage for io.netty.handler.codec DecoderResultProvider decoderResult

List of usage examples for io.netty.handler.codec DecoderResultProvider decoderResult

Introduction

In this page you can find the example usage for io.netty.handler.codec DecoderResultProvider decoderResult.

Prototype

DecoderResult decoderResult();

Source Link

Document

Returns the result of decoding this object.

Usage

From source file:io.gatling.http.client.impl.HttpAppHandler.java

License:Apache License

private boolean exitOnDecodingFailure(ChannelHandlerContext ctx, DecoderResultProvider message) {
    Throwable t = message.decoderResult().cause();
    if (t != null) {
        crash(ctx, t, true);//  ww  w .  j a  va2s  .  c om
        return true;
    }
    return false;
}