unfiltered.netty.cycle

MultiPartPlanifier

class MultiPartPlanifier extends ChannelInboundHandlerAdapter with MultiPartDecoder with ThreadPool with ServerErrorResponse

Handles MultiPart form-encoded requests within the context of a request/response cycle on an unbounged CachedThreadPool executor

Annotations
@Sharable()
Source
plans.scala
Linear Supertypes
ServerErrorResponse, ThreadPool, DeferredIntent, DeferralExecutor, Deferral, MultiPartDecoder, TidyExceptionHandler, ExceptionHandler, AbstractMultiPartDecoder, CleanUp, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MultiPartPlanifier
  2. ServerErrorResponse
  3. ThreadPool
  4. DeferredIntent
  5. DeferralExecutor
  6. Deferral
  7. MultiPartDecoder
  8. TidyExceptionHandler
  9. ExceptionHandler
  10. AbstractMultiPartDecoder
  11. CleanUp
  12. ChannelInboundHandlerAdapter
  13. ChannelInboundHandler
  14. ChannelHandlerAdapter
  15. ChannelHandler
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiPartPlanifier(intent: MultipartPlan.Intent, pass: (ChannelHandlerContext, AnyRef) ⇒ Unit)

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

    Definition Classes
    MultiPartDecoder
  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 defer(f: ⇒ Unit): Unit

    Definition Classes
    DeferralExecutor → Deferral
  21. def ensureNotSharable(): Unit

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

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

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

    Definition Classes
    TidyExceptionHandler → ExceptionHandler
  25. def executeIntent(thunk: ⇒ Unit): Unit

    Definition Classes
    DeferredIntent
  26. def executeResponse(thunk: ⇒ Unit): Unit

    Definition Classes
    DeferredIntent
  27. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  29. 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
  30. def handlerAdded(arg0: ChannelHandlerContext): Unit

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

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

    Definition Classes
    AnyRef → Any
  33. val intent: MultipartPlan.Intent

    Definition Classes
    MultiPartPlanifierMultiPartDecoder
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isSharable(): Boolean

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

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

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

    Definition Classes
    AnyRef
  39. def onException(ctx: ChannelHandlerContext, t: Throwable): Unit

    Definition Classes
    ServerErrorResponse → ExceptionHandler
  40. val 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
    MultiPartPlanifierAbstractMultiPartDecoder
  41. def shutdown(): Unit

    Definition Classes
    DeferralExecutor
  42. 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
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. val underlying: ExecutorService

    Definition Classes
    ThreadPool → DeferralExecutor
  46. 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
  47. 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
  48. def userEventTriggered(arg0: ChannelHandlerContext, arg1: Any): Unit

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ServerErrorResponse

Inherited from ThreadPool

Inherited from DeferredIntent

Inherited from DeferralExecutor

Inherited from Deferral

Inherited from MultiPartDecoder

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