MultiPartDecoder

@ChannelHandler$$Sharable trait MultiPartDecoder extends Plan with AbstractMultiPartDecoder with TidyExceptionHandler
Enriches an async netty plan with multipart decoding capabilities.
Companion
object
trait CleanUp
trait Plan
trait RequestPlan
trait ExceptionHandler
class ChannelInboundHandlerAdapter
trait ChannelInboundHandler
class ChannelHandlerAdapter
trait ChannelHandler
class Object
trait Matchable
class Any

Value members

Methods

final override def channelRead(ctx: ChannelHandlerContext, obj: Object): Unit
Definition Classes
RequestPlan -> ChannelInboundHandlerAdapter -> ChannelInboundHandler
final override def channelInactive(ctx: ChannelHandlerContext): Unit
Definition Classes
ChannelInboundHandlerAdapter -> ChannelInboundHandler

Inherited methods

@throws(java.lang.Exception)
def handlerAdded(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelHandlerAdapter
@ChannelHandlerMask$$Skip @throws(java.lang.Exception)
def channelActive(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelInboundHandlerAdapter
@ChannelHandlerMask$$Skip @throws(java.lang.Exception)
def channelRegistered(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelInboundHandlerAdapter
protected def start(request: HttpRequest, channelState: MultiPartChannelState, ctx: ChannelHandlerContext, msg: Object): Unit
Sets up for handling a multipart request
def unfiltered$netty$request$TidyExceptionHandler$$super$exceptionCaught(ctx: ChannelHandlerContext, t: Throwable): Unit
Inhertied from
TidyExceptionHandler
def onException(ctx: ChannelHandlerContext, t: Throwable): Unit
Inhertied from
ExceptionHandler
protected def upgrade(ctx: ChannelHandlerContext, msg: Object): Unit
Provides multipart request handling common to both cycle and async plans.
Should be called by onMessageReceived.
@ChannelHandlerMask$$Skip @throws(java.lang.Exception)
def userEventTriggered(x$0: ChannelHandlerContext, x$1: <FromJavaObject>): Unit
Inhertied from
ChannelInboundHandlerAdapter
def isSharable(): Boolean
Inhertied from
ChannelHandlerAdapter
def requestIntent: Intent
Inhertied from
Plan
override def exceptionCaught(ctx: ChannelHandlerContext, thrown: Throwable): Unit
Definition Classes
TidyExceptionHandler -> ExceptionHandler
Inhertied from
TidyExceptionHandler
def cleanFiles(ctx: ChannelHandlerContext): Unit
Erase any temporary data that may be on disk
Inhertied from
CleanUp
final override def channelReadComplete(ctx: ChannelHandlerContext): Unit
Definition Classes
RequestPlan -> ChannelInboundHandlerAdapter -> ChannelInboundHandler
Inhertied from
RequestPlan
@throws(java.lang.Exception)
def handlerRemoved(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelHandlerAdapter
@ChannelHandlerMask$$Skip @throws(java.lang.Exception)
def channelUnregistered(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelInboundHandlerAdapter
protected def continue(chunk: HttpContent, channelState: MultiPartChannelState, ctx: ChannelHandlerContext, msg: Object): Unit
Handles incoming chunks belonging to the original request
A pass handler that should be supplied when the plan is created. Default is to send upstream
def cleanUp(ctx: ChannelHandlerContext): Unit
Remove the channel state and destroy the request's post decoder
Inhertied from
CleanUp
@ChannelHandlerMask$$Skip @throws(java.lang.Exception)
def channelWritabilityChanged(x$0: ChannelHandlerContext): Unit
Inhertied from
ChannelInboundHandlerAdapter

Inherited fields

protected val useDisk: Boolean
Whether the ChannelBuffer used in decoding is allowed to write to disk