public static HttpResponse response ( String body ) { return new HttpResponse ( ) . withStatusCode ( OK_200 . code ( ) ) . withReasonPhrase ( OK_200 . reasonPhrase ( ) ) . withBody ( body ) ; }
Static builder to create a response with a 200 status code and the string response body .