public static DefaultGoApiResponse badRequest ( String responseBody ) { DefaultGoApiResponse defaultGoApiResponse = new DefaultGoApiResponse ( 400 ) ; defaultGoApiResponse . setResponseBody ( responseBody ) ; return defaultGoApiResponse ; }
Creates an instance DefaultGoApiResponse which represents bad request with response code 400