Interface FailureResponseFactory


public interface FailureResponseFactory
Bind in guice to customize 404 not found responses, and failures that cannot be handled by ErrorRenderer (i.e. something threw an exception in it) - i.e. last-ditch handling for exceptions other than closing the connection.
Author:
Tim Boudreau
  • Method Details

    • createNotFoundResponse

      io.netty.handler.codec.http.HttpResponse createNotFoundResponse(Event<?> evt)
    • createFallbackResponse

      io.netty.handler.codec.http.HttpResponse createFallbackResponse(Throwable thrown)