Class

unfiltered.netty.cycle

MultiPartPlanifier

Related Doc: package cycle

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiPartPlanifier(intent: MultipartPlan.Intent, pass: PassHandler)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    MultiPartDecoder
  6. def channelActive(arg0: ChannelHandlerContext): Unit

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

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

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

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

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

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

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

    Permalink

    Erase any temporary data that may be on disk

    Erase any temporary data that may be on disk

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

    Permalink

    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
  15. def clone(): AnyRef

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

    Permalink

    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
  17. def continue(chunk: HttpContent, channelState: MultiPartChannelState, ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Permalink

    Handles incoming chunks belonging to the original request

    Handles incoming chunks belonging to the original request

    Attributes
    protected
    Definition Classes
    AbstractMultiPartDecoder
  18. def defer(f: ⇒ Unit): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    DeferredIntent
  25. def finalize(): Unit

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

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

    Permalink

    Decide if the intent could handle the request

    Decide if the intent could handle the request

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. val intent: MultipartPlan.Intent

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

    Permalink
    Definition Classes
    Any
  33. def isSharable(): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    ServerErrorResponse → ExceptionHandler
  38. val pass: PassHandler

    Permalink

    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
  39. def shutdown(): Unit

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

    Permalink

    Sets up for handling a multipart request

    Sets up for handling a multipart request

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

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. val underlying: ExecutorService

    Permalink
    Definition Classes
    ThreadPool → DeferralExecutor
  44. def upgrade(ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Permalink

    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
  45. val useDisk: Boolean

    Permalink

    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
  46. def userEventTriggered(arg0: ChannelHandlerContext, arg1: Any): Unit

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

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

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

    Permalink
    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