com.twitter.finatra.json.modules

FinatraJacksonModule

Related Docs: object FinatraJacksonModule | package modules

class FinatraJacksonModule extends TwitterModule

Guice module to configure Jackson object mappers

Note: Simply extend this module to override defaults or provide additional configuration. See SampleApiServer for an example.

Linear Supertypes
TwitterModule, Logging, Logging, TwitterBaseModule, TwitterModuleLifecycle, TwitterModuleFlags, AbstractModule, Module, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FinatraJacksonModule
  2. TwitterModule
  3. Logging
  4. Logging
  5. TwitterBaseModule
  6. TwitterModuleLifecycle
  7. TwitterModuleFlags
  8. AbstractModule
  9. Module
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FinatraJacksonModule()

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. def addError(arg0: Message): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  5. def addError(arg0: Throwable): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  6. def addError(arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  7. def addTypeConvertor[T](converter: TypeConverter)(implicit arg0: Manifest[T]): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule
  8. def additionalJacksonModules: Seq[Module]

    Attributes
    protected
  9. def additionalMapperConfiguration(mapper: ObjectMapper): Unit

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def bind[T](implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
    Definition Classes
    TwitterModule
  12. def bind[T](annot: Annotation)(implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
    Definition Classes
    TwitterModule
  13. def bind[T](arg0: Class[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  14. def bind[T](arg0: TypeLiteral[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  15. def bind[T](arg0: Key[T]): LinkedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  16. def bindAssistedFactory[T](implicit arg0: Manifest[T]): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule
  17. def bindConstant(): AnnotatedConstantBindingBuilder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  18. def bindInterceptor(arg0: Matcher[_ >: Class[_]], arg1: Matcher[_ >: Method], arg2: <repeated...>[MethodInterceptor]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  19. def bindListener(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeListener): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  20. def bindScope(arg0: Class[_ <: Annotation], arg1: Scope): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  21. def bindSingleton[T](annot: Annotation)(implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
    Definition Classes
    TwitterModule
  22. def bindSingleton[T](implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
    Definition Classes
    TwitterModule
  23. def binder(): Binder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def configure(): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule → AbstractModule
  26. final def configure(arg0: Binder): Unit

    Definition Classes
    AbstractModule → Module
  27. def convertToTypes(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeConverter): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  28. def copy(objectMapper: ObjectMapper with ScalaObjectMapper): ObjectMapper with ScalaObjectMapper

    Attributes
    protected
  29. def createKey[T](implicit arg0: Manifest[T]): Key[T]

    Attributes
    protected
    Definition Classes
    TwitterBaseModule
  30. def createMultiBinder[MultiBindType](implicit arg0: Manifest[MultiBindType]): ScalaMultibinder[MultiBindType]

    Attributes
    protected
    Definition Classes
    TwitterModule
  31. def currentStage(): Stage

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  32. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  36. def defaultJacksonModules: Seq[Module]

    Jackson Modules to load

    Jackson Modules to load

    Attributes
    protected
  37. def defaultMapperConfiguration(mapper: ObjectMapper): Unit

    Attributes
    protected
  38. val deserializationConfig: Map[DeserializationFeature, Boolean]

    Attributes
    protected
  39. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  44. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. def finatraCaseClassModule: Option[Module]

    Attributes
    protected
  46. def flag[T](name: String, help: String)(implicit arg0: Flaggable[T], arg1: Manifest[T]): Flag[T]

    Attributes
    protected
    Definition Classes
    TwitterModuleFlags
  47. def flag[T](name: String, default: T, help: String)(implicit arg0: Flaggable[T]): Flag[T]

    Attributes
    protected
    Definition Classes
    TwitterModuleFlags
  48. val flags: ArrayBuffer[Flag[_]]

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleFlags
  49. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  50. def getMembersInjector[T](arg0: TypeLiteral[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  51. def getMembersInjector[T](arg0: Class[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  52. def getProvider[T](implicit arg0: Manifest[T]): Provider[T]

    Attributes
    protected
    Definition Classes
    TwitterModule
  53. def getProvider[T](arg0: Class[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  54. def getProvider[T](arg0: Key[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  55. def hashCode(): Int

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  59. def install(module: Module): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule → AbstractModule
  60. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  61. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  62. def isInfoEnabled: Boolean

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

    Definition Classes
    Any
  64. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  65. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  66. def logger: Logger

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

    Attributes
    protected
    Definition Classes
    Logging
  68. def modules: Seq[Module]

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterBaseModule
  69. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  72. def numbersAsStrings: Boolean

    Attributes
    protected
  73. val propertyNamingStrategy: PropertyNamingStrategy

    Attributes
    protected
  74. def provideCamelCaseFinatraObjectMapper(objectMapper: ObjectMapper with ScalaObjectMapper): FinatraObjectMapper

    Annotations
    @Singleton() @Provides() @CamelCaseMapper()
  75. def provideFinatraObjectMapper(objectMapper: ObjectMapper with ScalaObjectMapper): FinatraObjectMapper

    Annotations
    @Singleton() @Provides()
  76. def provideScalaObjectMapper(injector: Injector): ObjectMapper with ScalaObjectMapper

    Annotations
    @Singleton() @Provides()
  77. def requestInjection(arg0: Any): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  78. def requestStaticInjection(arg0: <repeated...>[Class[_]]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  79. def requireBinding(arg0: Class[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  80. def requireBinding(arg0: Key[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  81. val serializationConfig: Map[SerializationFeature, Boolean]

    Attributes
    protected
  82. val serializationInclusion: Include

    Attributes
    protected
  83. def singletonShutdown(injector: Injector): Unit

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleLifecycle
  84. def singletonStartup(injector: Injector): Unit

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleLifecycle
  85. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging

Inherited from TwitterModule

Inherited from Logging

Inherited from Logging

Inherited from TwitterBaseModule

Inherited from TwitterModuleLifecycle

Inherited from TwitterModuleFlags

Inherited from AbstractModule

Inherited from Module

Inherited from AnyRef

Inherited from Any

Ungrouped