Package dev.relism.flash.template
Class ErrorPages
java.lang.Object
dev.relism.flash.template.ErrorPages
Precompiled error page templates.
Static placeholders (logo_img, version) are baked in once at
class init. Dynamic placeholders (method, path, exception …) are filled per
call with a single allocation via ByteTemplate.render(java.lang.String...).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]renderException(Request request, Exception ex) static byte[]renderNotFound(Request request)
-
Constructor Details
-
ErrorPages
public ErrorPages()
-
-
Method Details
-
renderNotFound
-
renderException
-