Packages

c

io.gatling.http.client.impl.chunk

ForkedChunkedWriteHandler

class ForkedChunkedWriteHandler extends ChannelDuplexHandler

Several optimizations on ChunkedWriteHandler:

  • lazily allocate queue
  • write doesn't push in the queue unless the queue in not empty or the message is a ChunkedInput
  • save extra chunks cast
  • simplified logging
  • simplified boolean logic
  • Gatling doesn't use ChannelProgressivePromise
Linear Supertypes
ChannelDuplexHandler, ChannelOutboundHandler, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForkedChunkedWriteHandler
  2. ChannelDuplexHandler
  3. ChannelOutboundHandler
  4. ChannelInboundHandlerAdapter
  5. ChannelInboundHandler
  6. ChannelHandlerAdapter
  7. ChannelHandler
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ForkedChunkedWriteHandler()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bind(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: ChannelPromise): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  6. def channelActive(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  7. def channelInactive(ctx: ChannelHandlerContext): Unit
    Definition Classes
    ForkedChunkedWriteHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @Override()
  8. def channelRead(arg0: ChannelHandlerContext, arg1: AnyRef): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  9. def channelReadComplete(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  10. def channelRegistered(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  11. def channelUnregistered(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  12. def channelWritabilityChanged(ctx: ChannelHandlerContext): Unit
    Definition Classes
    ForkedChunkedWriteHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @Override()
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def close(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  15. def connect(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: SocketAddress, arg3: ChannelPromise): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  16. def deregister(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  17. def disconnect(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  18. def ensureNotSharable(): Unit
    Attributes
    protected[channel]
    Definition Classes
    ChannelHandlerAdapter
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def exceptionCaught(arg0: ChannelHandlerContext, arg1: Throwable): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler → ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  22. def flush(ctx: ChannelHandlerContext): Unit
    Definition Classes
    ForkedChunkedWriteHandler → ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @Override()
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def handlerAdded(ctx: ChannelHandlerContext): Unit
    Definition Classes
    ForkedChunkedWriteHandler → ChannelHandlerAdapter → ChannelHandler
    Annotations
    @Override()
  25. def handlerRemoved(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws(classOf[java.lang.Exception])
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isSharable(): Boolean
    Definition Classes
    ChannelHandlerAdapter
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def read(arg0: ChannelHandlerContext): Unit
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  33. def resumeTransfer(): Unit

    Continues to fetch the chunks from the input.

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def userEventTriggered(arg0: ChannelHandlerContext, arg1: AnyRef): Unit
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws(classOf[java.lang.Exception]) @Skip()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def write(ctx: ChannelHandlerContext, msg: AnyRef, promise: ChannelPromise): Unit
    Definition Classes
    ForkedChunkedWriteHandler → ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @Override()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ChannelDuplexHandler

Inherited from ChannelOutboundHandler

Inherited from ChannelInboundHandlerAdapter

Inherited from ChannelInboundHandler

Inherited from ChannelHandlerAdapter

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped