List of usage examples for io.netty.handler.codec DecoderResultProvider decoderResult
DecoderResult decoderResult();
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; }