Package com.mastfrog.acteur
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 Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http.HttpResponsecreateFallbackResponse(Throwable thrown) io.netty.handler.codec.http.HttpResponsecreateNotFoundResponse(Event<?> evt)
-
Method Details
-
createNotFoundResponse
-
createFallbackResponse
-