unfiltered.netty.cycle

MultiPartDecoder

trait MultiPartDecoder extends ChannelInboundHandlerAdapter with AbstractMultiPartDecoder with TidyExceptionHandler

Enriches an async netty plan with multipart decoding capabilities.

Annotations
@Sharable()
Source
plans.scala
Linear Supertypes
TidyExceptionHandler, ExceptionHandler, AbstractMultiPartDecoder, CleanUp, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MultiPartDecoder
  2. TidyExceptionHandler
  3. ExceptionHandler
  4. AbstractMultiPartDecoder
  5. CleanUp
  6. ChannelInboundHandlerAdapter
  7. ChannelInboundHandler
  8. ChannelHandlerAdapter
  9. ChannelHandler
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def executeIntent(thunk: ⇒ Unit): Unit

  2. abstract def executeResponse(thunk: ⇒ Unit): Unit

  3. abstract def intent: MultipartPlan.Intent

  4. abstract def onException(ctx: ChannelHandlerContext, t: Throwable): Unit

    Definition Classes
    ExceptionHandler
  5. abstract def pass: (ChannelHandlerContext, AnyRef) ⇒ Unit

    A pass handler that should be supplied when the plan is created.

    A pass handler that should be supplied when the plan is created. Default is to send upstream

    Definition Classes
    AbstractMultiPartDecoder
  6. abstract def shutdown(): Unit

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def catching(ctx: ChannelHandlerContext)(thunk: ⇒ Unit): Unit

  8. def channelActive(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  9. final def channelInactive(ctx: ChannelHandlerContext): Unit

    Definition Classes
    MultiPartDecoder → ChannelInboundHandlerAdapter → ChannelInboundHandler
  10. final def channelRead(ctx: ChannelHandlerContext, obj: AnyRef): Unit

    Definition Classes
    MultiPartDecoder → ChannelInboundHandlerAdapter → ChannelInboundHandler
  11. def channelReadComplete(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def channelRegistered(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  13. def channelUnregistered(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  14. def channelWritabilityChanged(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  15. def cleanFiles(ctx: ChannelHandlerContext): Unit

    Erase any temporary data that may be on disk

    Erase any temporary data that may be on disk

    Definition Classes
    CleanUp
  16. def cleanUp(ctx: ChannelHandlerContext): Unit

    Remove the channel state and destroy the request's post decoder

    Remove the channel state and destroy the request's post decoder

    Definition Classes
    CleanUp
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def complete(ctx: ChannelHandlerContext, nmsg: AnyRef)(cleanUp: ⇒ Unit): Unit

    Called when the chunked request has been fully received.

    Called when the chunked request has been fully received. Executes the intent

    Attributes
    protected
    Definition Classes
    MultiPartDecoderAbstractMultiPartDecoder
  19. def continue(chunk: HttpContent, channelState: MultiPartChannelState, ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Handles incoming chunks belonging to the original request

    Handles incoming chunks belonging to the original request

    Attributes
    protected
    Definition Classes
    AbstractMultiPartDecoder
  20. def ensureNotSharable(): Unit

    Attributes
    protected[io.netty.channel]
    Definition Classes
    ChannelHandlerAdapter
  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def exceptionCaught(ctx: ChannelHandlerContext, thrown: Throwable): Unit

    Definition Classes
    TidyExceptionHandler → ExceptionHandler
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def handleOrPass(ctx: ChannelHandlerContext, msg: AnyRef, binding: RequestBinding)(thunk: ⇒ Unit): Unit

    Decide if the intent could handle the request

    Decide if the intent could handle the request

    Attributes
    protected
    Definition Classes
    MultiPartDecoderAbstractMultiPartDecoder
  27. def handlerAdded(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def handlerRemoved(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isSharable(): Boolean

    Definition Classes
    ChannelHandlerAdapter
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def start(request: HttpRequest, channelState: MultiPartChannelState, ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Sets up for handling a multipart request

    Sets up for handling a multipart request

    Attributes
    protected
    Definition Classes
    AbstractMultiPartDecoder
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def upgrade(ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Provides multipart request handling common to both cycle and async plans.

    Provides multipart request handling common to both cycle and async plans. Should be called by onMessageReceived.

    Attributes
    protected
    Definition Classes
    AbstractMultiPartDecoder
  39. val useDisk: Boolean

    Whether the ChannelBuffer used in decoding is allowed to write to disk

    Whether the ChannelBuffer used in decoding is allowed to write to disk

    Attributes
    protected
    Definition Classes
    AbstractMultiPartDecoder
  40. def userEventTriggered(arg0: ChannelHandlerContext, arg1: Any): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TidyExceptionHandler

Inherited from ExceptionHandler

Inherited from AbstractMultiPartDecoder

Inherited from CleanUp

Inherited from ChannelInboundHandlerAdapter

Inherited from ChannelInboundHandler

Inherited from ChannelHandlerAdapter

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped