public class ErrorUnmarshallingHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
PutMediaAckResponseHandler when errors occur.| Constructor and Description |
|---|
ErrorUnmarshallingHandler(PutMediaResponseHandler responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
Request<?> request) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
An exception was propagated from further up the pipeline (probably an IO exception of some sort).
|
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic ErrorUnmarshallingHandler(PutMediaResponseHandler responseHandler, HttpResponseHandler<AmazonServiceException> errorResponseHandler, Request<?> request)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterException