org.mashupbots.socko.webserver

RequestHandler

class RequestHandler extends ChannelInboundHandlerAdapter with Logger

Handles incoming HTTP messages from Netty

Linear Supertypes
Logger, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestHandler
  2. Logger
  3. ChannelInboundHandlerAdapter
  4. ChannelInboundHandler
  5. ChannelHandlerAdapter
  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 RequestHandler(server: WebServer, routes: PartialFunction[SockoEvent, Unit])

    server

    WebServer using this handler

    routes

    Routes to request processing actors

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 channelActive(ctx: ChannelHandlerContext): Unit

    When channel open, add it to our channel group so we know which channels are opened.

    When channel open, add it to our channel group so we know which channels are opened.

    Note that when a channel closes, allChannels automatically removes it.

    Definition Classes
    RequestHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
  6. def channelInactive(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  7. def channelRead(ctx: ChannelHandlerContext, e: AnyRef): Unit

    Dispatch message to actor system for processing

    Dispatch message to actor system for processing

    ctx

    Channel context

    e

    Message to process

    Definition Classes
    RequestHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
  8. def channelReadComplete(arg0: ChannelHandlerContext): Unit

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

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

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

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

    If there is an unhandled exception log and close

    If there is an unhandled exception log and close

    Definition Classes
    RequestHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler → ChannelHandlerAdapter → ChannelHandler
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def handlerAdded(arg0: ChannelHandlerContext): Unit

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

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

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

    Definition Classes
    Any
  22. def isSharable(): Boolean

    Definition Classes
    ChannelHandlerAdapter
  23. lazy val log: Logger

    Logger name is inferred from the class name.

    Logger name is inferred from the class name.

    Definition Classes
    Logger
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def userEventTriggered(ctx: ChannelHandlerContext, evt: AnyRef): Unit

    Handle idle state timeouts so we can close idle connections

    Handle idle state timeouts so we can close idle connections

    Definition Classes
    RequestHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logger

Inherited from ChannelInboundHandlerAdapter

Inherited from ChannelInboundHandler

Inherited from ChannelHandlerAdapter

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped