private static void sendHelpText ( HttpResponse response , int code ) throws IOException { HandlerUtil . makeStringResponse ( response , MockHelpCommandHandler . getIndentedHelp ( ) ) ; response . setStatusCode ( code ) ; }
Sends a help text with the provided code