Interface ResponseMarshaler.Builder.ThrowableHandler

Enclosing class:
ResponseMarshaler.Builder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Function used to support pluggable implementations of ResponseMarshaler.forThrowable(Request, Throwable, ResourceMethod).
Author:
Mark Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(Request request, Throwable throwable, ResourceMethod resourceMethod)
    Prepares a response for scenarios in which an uncaught exception is encountered.