com.twitter.finatra.http.routing

HttpRouter

class HttpRouter extends Logging

Annotations
@Singleton()
Linear Supertypes
Logging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpRouter
  2. Logging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpRouter(injector: Injector, callbackConverter: CallbackConverter, messageBodyManager: MessageBodyManager, exceptionManager: ExceptionManager)

    Annotations
    @Inject()

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 add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, F6 <: HttpFilter, F7 <: HttpFilter, F8 <: HttpFilter, F9 <: HttpFilter, F10 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[F6], arg6: Manifest[F7], arg7: Manifest[F8], arg8: Manifest[F9], arg9: Manifest[F10], arg10: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  7. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, F6 <: HttpFilter, F7 <: HttpFilter, F8 <: HttpFilter, F9 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[F6], arg6: Manifest[F7], arg7: Manifest[F8], arg8: Manifest[F9], arg9: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  8. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, F6 <: HttpFilter, F7 <: HttpFilter, F8 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[F6], arg6: Manifest[F7], arg7: Manifest[F8], arg8: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  9. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, F6 <: HttpFilter, F7 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[F6], arg6: Manifest[F7], arg7: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  10. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, F6 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[F6], arg6: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  11. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, F5 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[F5], arg5: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  12. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, F4 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[F4], arg4: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  13. def add[F1 <: HttpFilter, F2 <: HttpFilter, F3 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[F3], arg3: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  14. def add[F1 <: HttpFilter, F2 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[F2], arg2: Manifest[C]): HttpRouter

    Add per-controller filters (Note: Per-controller filters only run if the paired controller has a matching route)

  15. def add[F1 <: HttpFilter, C <: Controller](implicit arg0: Manifest[F1], arg1: Manifest[C]): HttpRouter

    Add per-controller filter (Note: Per-controller filters only run if the paired controller has a matching route)

  16. def add(clazz: Class[_ <: JavaController]): HttpRouter

  17. def add[C <: Controller](implicit arg0: Manifest[C]): HttpRouter

  18. def add(filter: HttpFilter, controller: Controller): HttpRouter

    Add per-controller filter (Note: Per-controller filters only run if the paired controller has a matching route)

  19. def add(controller: Controller): HttpRouter

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Attributes
    protected
    Definition Classes
    Logging
  25. def debugResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  26. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  28. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  30. def errorResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  31. def exceptionMapper[T <: Throwable](mapper: ExceptionMapper[T])(implicit arg0: Manifest[T]): HttpRouter

  32. def exceptionMapper[T <: ExceptionMapper[_]](implicit arg0: Manifest[T]): HttpRouter

  33. def filter(filter: HttpFilter, beforeRouting: Boolean): HttpRouter

    Add global filter used for all requests, optionally BEFORE route matching

  34. def filter(filter: HttpFilter): HttpRouter

    Add global filter used for all requests, by default applied AFTER route matching

  35. def filter[FilterType <: HttpFilter](beforeRouting: Boolean)(implicit arg0: Manifest[FilterType]): HttpRouter

    Add global filter used for all requests, optionally BEFORE route matching

  36. def filter[FilterType <: HttpFilter](implicit arg0: Manifest[FilterType]): HttpRouter

    Add global filter used for all requests, by default applied AFTER route matching

  37. def filter(clazz: Class[_ <: HttpFilter], beforeRouting: Boolean): HttpRouter

    Add global filter used for all requests, optionally BEFORE route matching

  38. def filter(clazz: Class[_ <: HttpFilter]): HttpRouter

    Add global filter used for all requests, by default applied AFTER route matching

  39. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  42. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  43. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  44. def infoResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  45. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  46. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  47. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  50. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  51. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging → Logging
  52. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  53. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  56. def register[MBR <: MessageBodyComponent, ObjTypeToReadWrite](implicit arg0: Manifest[MBR], arg1: Manifest[ObjTypeToReadWrite]): HttpRouter

  57. def register[MBR <: MessageBodyComponent](implicit arg0: Manifest[MBR]): HttpRouter

  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def time[T](formatStr: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  60. def toString(): String

    Definition Classes
    AnyRef → Any
  61. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  62. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  63. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  67. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  68. def warnResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped