io.backchat.hookup.server

FlashPolicyHandler

class FlashPolicyHandler extends FrameDecoder

A flash policy handler for netty. This needs to be included in the pipeline before anything else has touched the message.

See also

https://github.com/cgbystrom/netty-tools/blob/master/src/main/java/se/cgbystrom/netty/FlashPolicyHandler.java

Linear Supertypes
FrameDecoder, LifeCycleAwareChannelHandler, SimpleChannelUpstreamHandler, ChannelUpstreamHandler, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FlashPolicyHandler
  2. FrameDecoder
  3. LifeCycleAwareChannelHandler
  4. SimpleChannelUpstreamHandler
  5. ChannelUpstreamHandler
  6. ChannelHandler
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlashPolicyHandler(policyResponse: ChannelBuffer = FlashPolicyHandler.AllowAllPolicy)

    policyResponse

    The response xml to send for a request

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. def actualReadableBytes(): Int

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  7. def afterAdd(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  8. def afterRemove(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  9. def appendToCumulation(arg0: ChannelBuffer): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def beforeAdd(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def beforeRemove(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  13. def channelBound(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  14. def channelClosed(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  15. def channelConnected(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  16. def channelDisconnected(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  17. def channelInterestChanged(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  18. def channelOpen(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  19. def channelUnbound(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  20. def childChannelClosed(arg0: ChannelHandlerContext, arg1: ChildChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  21. def childChannelOpen(arg0: ChannelHandlerContext, arg1: ChildChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  22. def cleanup(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
    Annotations
    @throws( classOf[java.lang.Exception] )
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def decode(ctx: ChannelHandlerContext, channel: Channel, buffer: ChannelBuffer): AnyRef

    Definition Classes
    FlashPolicyHandler → FrameDecoder
  25. def decodeLast(arg0: ChannelHandlerContext, arg1: Channel, arg2: ChannelBuffer): AnyRef

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  28. def exceptionCaught(arg0: ChannelHandlerContext, arg1: ExceptionEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def extractFrame(arg0: ChannelBuffer, arg1: Int, arg2: Int): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  30. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  32. final def getMaxCumulationBufferCapacity(): Int

    Definition Classes
    FrameDecoder
  33. final def getMaxCumulationBufferComponents(): Int

    Definition Classes
    FrameDecoder
  34. def handleUpstream(arg0: ChannelHandlerContext, arg1: ChannelEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler → ChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. def internalBuffer(): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. final def isUnfold(): Boolean

    Definition Classes
    FrameDecoder
  39. def messageReceived(arg0: ChannelHandlerContext, arg1: MessageEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  40. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  41. def newCumulationBuffer(arg0: ChannelHandlerContext, arg1: Int): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  42. final def notify(): Unit

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

    Definition Classes
    AnyRef
  44. def replace(arg0: String, arg1: ChannelHandler): Unit

    Definition Classes
    FrameDecoder
  45. final def setMaxCumulationBufferCapacity(arg0: Int): Unit

    Definition Classes
    FrameDecoder
  46. final def setMaxCumulationBufferComponents(arg0: Int): Unit

    Definition Classes
    FrameDecoder
  47. final def setUnfold(arg0: Boolean): Unit

    Definition Classes
    FrameDecoder
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. final def unfoldAndFireMessageReceived(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: Any): Unit

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  51. def updateCumulation(arg0: ChannelHandlerContext, arg1: ChannelBuffer): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def writeComplete(arg0: ChannelHandlerContext, arg1: WriteCompletionEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )

Inherited from FrameDecoder

Inherited from LifeCycleAwareChannelHandler

Inherited from SimpleChannelUpstreamHandler

Inherited from ChannelUpstreamHandler

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped