Package

com.twitter.finatra.http

filters

Permalink

package filters

Visibility
  1. Public
  2. All

Type Members

  1. class AccessLoggingFilter[R <: Request] extends SimpleFilter[R, Response] with Logging

    Permalink
    Annotations
    @Singleton()
  2. class CommonFilters extends MergedFilter[Request, Response]

    Permalink
    Annotations
    @Singleton()
  3. class ExceptionMappingFilter[R <: Request] extends SimpleFilter[R, Response]

    Permalink

    Filter which converts exceptions into HTTP responses.

    Filter which converts exceptions into HTTP responses. NOTE: Should be as close to the start of the filter chain as possible.

    Annotations
    @Singleton()
  4. class HttpResponseFilter[R <: Request] extends SimpleFilter[R, Response]

    Permalink

    HttpResponseFilter does the following: - sets the 'Server' and 'Date' response headers - turns a 'partial' Location header into a full URL

    HttpResponseFilter does the following: - sets the 'Server' and 'Date' response headers - turns a 'partial' Location header into a full URL

    Annotations
    @Singleton()
  5. class LoggingMDCFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    Permalink
    Annotations
    @Singleton()
  6. class StatsFilter[R <: Request] extends SimpleFilter[R, Response] with Logging

    Permalink

    A drop-in replacement for com.twitter.finagle.http.filter.StatsFilter with per-route stats scoped under route/<name>/<method>.

    A drop-in replacement for com.twitter.finagle.http.filter.StatsFilter with per-route stats scoped under route/<name>/<method>.

    Annotations
    @Singleton()
  7. class TraceIdMDCFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    Permalink

    Note: Any MDC filter must be used in conjunction with the LoggingMDCFilter to ensure that diagnostic context is properly managed.

    Note: Any MDC filter must be used in conjunction with the LoggingMDCFilter to ensure that diagnostic context is properly managed.

    Annotations
    @Singleton()

Value Members

  1. object StatsFilter

    Permalink

Ungrouped