Class

com.twitter.finatra.thrift.routing

ThriftRouter

Related Doc: package routing

Permalink

class ThriftRouter extends Logging

Annotations
@Singleton()
Linear Supertypes
Logging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThriftRouter
  2. Logging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ThriftRouter(exceptionManager: ExceptionManager, statsReceiver: StatsReceiver, injector: Injector)

    Permalink
    Annotations
    @Inject()

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. def add(controller: Class[_], service: Class[_], protocolFactory: TProtocolFactory): ThriftRouter

    Permalink

    Add controller used for all requests for usage from Java

    Add controller used for all requests for usage from Java

    ThriftRouter only supports a single controller, so add may only be called once.

    See also

    the user guide

  5. def add(controller: Class[_], service: Class[_]): ThriftRouter

    Permalink

    Add controller used for all requests for usage from Java

    Add controller used for all requests for usage from Java

    ThriftRouter only supports a single controller, so add may only be called once.

    See also

    the user guide

  6. def add(controller: Controller with ToThriftService): ThriftRouter

    Permalink

    Add controller used for all requests

    Add controller used for all requests

    ThriftRouter only supports a single controller, so add may only be called once.

    See also

    the user guide

  7. def add[C <: Controller with ToThriftService](implicit arg0: Manifest[C]): ThriftRouter

    Permalink

    Instantiate and add thrift controller used for all requests.

    Instantiate and add thrift controller used for all requests.

    ThriftRouter only supports a single controller, so add may only be called once.

    See also

    the user guide

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def debug(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  11. def debug(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  12. def debug(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  13. def debug(message: ⇒ Any): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. def debugResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def error(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  19. def error(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  20. def error(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  21. def error(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  22. def errorResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  23. def exceptionMapper[T <: Throwable](clazz: Class[_ <: ExceptionMapper[T, _]]): ThriftRouter

    Permalink

    Add exception mapper used for the corresponding exceptions.

    Add exception mapper used for the corresponding exceptions.

    See also

    the user guide

  24. def exceptionMapper[T <: Throwable](mapper: ExceptionMapper[T, _])(implicit arg0: Manifest[T]): ThriftRouter

    Permalink

    Add exception mapper used for the corresponding exceptions.

    Add exception mapper used for the corresponding exceptions.

    See also

    the user guide

  25. def exceptionMapper[T <: ExceptionMapper[_, _]](implicit arg0: Manifest[T]): ThriftRouter

    Permalink

    Add exception mapper used for the corresponding exceptions.

    Add exception mapper used for the corresponding exceptions.

    See also

    the user guide

  26. def filter(filter: ThriftFilter): ThriftRouter

    Permalink

    Add global filter used for all requests.

    Add global filter used for all requests.

    The filter is appended after other Filters that have already been added via filter.

    See also

    The user guide

  27. def filter(clazz: Class[_ <: ThriftFilter]): ThriftRouter

    Permalink

    Add global filter used for all requests.

    Add global filter used for all requests.

    The filter is appended after other Filters that have already been added via filter.

    See also

    The user guide

  28. def filter[FilterType <: ThriftFilter, Ann <: Annotation](implicit arg0: Manifest[FilterType], arg1: Manifest[Ann]): ThriftRouter

    Permalink

    Add global filter used for all requests that are annotated with Annotation Type.

    Add global filter used for all requests that are annotated with Annotation Type.

    The filter is appended after other Filters that have already been added via filter.

    See also

    The user guide

  29. def filter[FilterType <: ThriftFilter](implicit arg0: Manifest[FilterType]): ThriftRouter

    Permalink

    Add global filter used for all requests.

    Add global filter used for all requests.

    The filter is appended after other Filters that have already been added via filter.

    See also

    The user guide

  30. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def info(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  34. def info(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  35. def info(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  36. def info(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  37. def infoResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  38. def isDebugEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  39. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  40. def isErrorEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  41. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  42. def isInfoEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  43. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. def isTraceEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  46. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  47. def isWarnEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  48. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  49. def logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  50. def loggerName: String

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  57. def trace(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  58. def trace(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  59. def trace(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  60. def trace(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  61. def traceResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  62. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def warn(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  66. def warn(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  67. def warn(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  68. def warn(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  69. def warnResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped