Uses of Interface
com.peterphi.std.guice.web.rest.jaxrs.exception.RestFailureRenderer
Packages that use RestFailureRenderer
-
Uses of RestFailureRenderer in com.peterphi.std.guice.web.rest.jaxrs.exception
Classes in com.peterphi.std.guice.web.rest.jaxrs.exception that implement RestFailureRendererModifier and TypeClassDescriptionclassA RestFailureRenderer that uses the configured templating engine to render exceptions destined for humans.classA HTML renderer that will only emit HTML when the caller lists text/html as their primary Accept header valueclassA simple renderer that renders an XML form of the RestFailure object by letting the JAX-RS implementation serialise it
Sets the X-Rich-Exception flag so that our code can understand and intelligently reconstruct an exception client-side -
Uses of RestFailureRenderer in com.peterphi.usermanager.ui
Classes in com.peterphi.usermanager.ui that implement RestFailureRendererModifier and TypeClassDescriptionclassRenders exceptions using a template