Class NonChunkedEventingMessageHandler
java.lang.Object
com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter
com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter
com.couchbase.client.core.deps.io.netty.channel.ChannelDuplexHandler
com.couchbase.client.core.io.netty.NonChunkedHttpMessageHandler
com.couchbase.client.core.io.netty.eventing.NonChunkedEventingMessageHandler
- All Implemented Interfaces:
com.couchbase.client.core.deps.io.netty.channel.ChannelHandler
,com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandler
,com.couchbase.client.core.deps.io.netty.channel.ChannelOutboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.deps.io.netty.channel.ChannelHandler
com.couchbase.client.core.deps.io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class com.couchbase.client.core.io.netty.NonChunkedHttpMessageHandler
IDENTIFIER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Exception
failRequestWith
(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status, String content, NonChunkedHttpRequest<Response> request) To be implemented by children, should return the proper service exception type for each.Methods inherited from class com.couchbase.client.core.io.netty.NonChunkedHttpMessageHandler
channelActive, channelInactive, channelRead, handlerAdded, handlerRemoved, write
Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read
Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
NonChunkedEventingMessageHandler
-
-
Method Details
-
failRequestWith
protected Exception failRequestWith(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status, String content, NonChunkedHttpRequest<Response> request) Description copied from class:NonChunkedHttpMessageHandler
To be implemented by children, should return the proper service exception type for each.- Overrides:
failRequestWith
in classNonChunkedHttpMessageHandler
content
- the raw full content body of the response if not successful.- Returns:
- the exception with which the request will be failed.
-