Package ninja.utils

Class NoHttpBody


  • public class NoHttpBody
    extends Object
    This is a marker class used to handle Results in ResultHandler. It causes the ResultHandler to render no body, just the header. Useful when issuing a redirect and no corresponding content should be shown. You might want to use Result.NO_HTTP_BODY as static shortcut.
    Author:
    ra
    • Constructor Detail

      • NoHttpBody

        public NoHttpBody()