Navigation

  • index
  • next |
  • previous |
  • Finatra »
  • User’s Guide

User’s Guide¶

Getting Started¶

  • Finatra Basics

  • Dependency Injection

  • Understanding the Codebase

  • TwitterServer Basics

  • TwitterServer v. App Comparison

  • Application and Server Lifecycle

  • Modules

  • Binding Annotations

  • Flags

  • Future Gotchas

  • Example Projects

Logging¶

  • Introduction to Logging With Finatra

  • Mapped Diagnostic Context (MDC) Support

  • Logback

  • Custom Logback AsyncAppender

Injectable App¶

  • Creating an injectable util-app App

Injectable TwitterServer¶

  • Creating an injectable TwitterServer

  • Migrating from c.t.server.TwitterServer

StatsReceiver¶

  • How to properly configure the server StatsReceiver

HTTP Server¶

  • HTTP Server Definition

  • Defining HTTP Controllers

  • HTTP Requests

  • HTTP Responses

  • HTTP Streaming

  • Message Body Components

  • Filtering HTTP Requests

  • HTTP Exception Mapping

  • HTTP Server Warmup

Case Class Validation¶

  • Validation Framework Integration

JSON¶

  • Jackson Integration

  • JSON Integration with HTTP Routing

  • JSON Validation Framework

Mustache¶

  • Mustache Support

  • Mustache Integration with HTTP Routing

Files¶

  • Working With Files

Thrift Server¶

  • Scrooge and Finagle

  • Thrift Server Definition

  • Defining Thrift Controllers

  • Filtering Thrift Requests

  • Thrift Exception Mapping

  • Thrift Server Warmup

Clients¶

  • Communicate with a Thrift Service

Testing¶

  • Testing Features

  • Embedded Servers and Apps

  • Feature Tests

  • Integration Tests

  • Startup Tests

  • Test Mixins

  • Working with Mocks

  • Override Modules

  • Explicit Binding with #bind[T]

Logo

Finatra is a Scala services framework built on top of TwitterServer and Finagle.

Useful Links

  • User's Guide
  • Finagle Blog
  • Finatra on Github
  • Github Issues

Table of Contents

  • User’s Guide
    • Getting Started
    • Logging
    • Injectable App
    • Injectable TwitterServer
    • StatsReceiver
    • HTTP Server
    • Case Class Validation
    • JSON
    • Mustache
    • Files
    • Thrift Server
    • Clients
    • Testing

Related Topics

  • Documentation overview
    • Previous: Finatra
    • Next: Finatra Basics

Quick search

Search the contents of this site.

Fork me on GitHub
© Copyright 2024 Twitter, Inc. Created using Sphinx