Package ninja.utils
Class NoHttpBody
- java.lang.Object
-
- ninja.utils.NoHttpBody
-
public class NoHttpBody extends Object
This is a marker class used to handle Results inResultHandler
. 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