disable async mode for http until feature complete

This commit is contained in:
Jonathan Shook 2020-09-16 15:32:45 -05:00
parent d93efe16bb
commit 3a7775afdb

View File

@ -19,6 +19,9 @@ public class HttpActivityType implements ActivityType<HttpActivity> {
@Override
public ActionDispenser getActionDispenser(HttpActivity activity) {
if (activity.getParams().getOptionalString("async").isPresent()) {
throw new RuntimeException("The async http driver is not online yet.");
}
return new HttpActionDispenser(activity);
}