diff --git a/reference/html/advanced.html b/reference/html/advanced.html
index 5e8baf437d..d46dc71a6a 100644
--- a/reference/html/advanced.html
+++ b/reference/html/advanced.html
@@ -942,12 +942,14 @@ HTTP Stub server implementation, which might resemble the following example:
import com.github.dreamhead.moco.bootstrap.arg.HttpArgs
import com.github.dreamhead.moco.runner.JsonRunner
import com.github.dreamhead.moco.runner.RunnerSetting
+import groovy.transform.CompileStatic
import groovy.util.logging.Commons
import org.springframework.cloud.contract.stubrunner.HttpServerStub
import org.springframework.util.SocketUtils
@Commons
+@CompileStatic
class MocoHttpServerStub implements HttpServerStub {
private boolean started
@@ -993,7 +995,7 @@ class MocoHttpServerStub implements HttpServerStub {
.collect {
log.info("Trying to parse [${it.name}]")
try {
- return RunnerSetting.aRunnerSetting().withStream(it.newInputStream()).
+ return RunnerSetting.aRunnerSetting().addStream(it.newInputStream()).
build()
}
catch (Exception e) {
diff --git a/reference/pdf/spring-cloud-contract.pdf b/reference/pdf/spring-cloud-contract.pdf
index 72ac27f8a2..781a375fb0 100644
--- a/reference/pdf/spring-cloud-contract.pdf
+++ b/reference/pdf/spring-cloud-contract.pdf
@@ -5,8 +5,8 @@
/Author
/Creator (Asciidoctor PDF 1.5.0.alpha.18, based on Prawn 2.2.2)
/Producer
-/ModDate (D:20190904125130+00'00')
-/CreationDate (D:20190904125156+00'00')
+/ModDate (D:20190904154955+00'00')
+/CreationDate (D:20190904155020+00'00')
>>
endobj
2 0 obj
diff --git a/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html b/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html
index b00900444f..82160b1467 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html
@@ -2,7 +2,7 @@
-
+
All Classes (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html b/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html
index 6f389fd44c..514f0f947d 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html
@@ -2,7 +2,7 @@
-
+
All Classes (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/constant-values.html b/spring-cloud-contract-maven-plugin/apidocs/constant-values.html
index 76f6b412fd..22377fca5f 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/constant-values.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/constant-values.html
@@ -2,7 +2,7 @@
-
+
Constant Field Values (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html b/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html
index 849fa01e5f..4772946391 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html
@@ -2,7 +2,7 @@
-
+
Deprecated List (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/help-doc.html b/spring-cloud-contract-maven-plugin/apidocs/help-doc.html
index 9151d189fe..b9f7c5c2ba 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/help-doc.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/help-doc.html
@@ -2,7 +2,7 @@
-
+
API Help (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/index-all.html b/spring-cloud-contract-maven-plugin/apidocs/index-all.html
index 15f406fa08..ed70567ae2 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/index-all.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/index-all.html
@@ -2,7 +2,7 @@
-
+
Index (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API)
diff --git a/spring-cloud-contract-maven-plugin/apidocs/index.html b/spring-cloud-contract-maven-plugin/apidocs/index.html
index 9825ea6a15..cbb1eee160 100644
--- a/spring-cloud-contract-maven-plugin/apidocs/index.html
+++ b/spring-cloud-contract-maven-plugin/apidocs/index.html
@@ -2,7 +2,7 @@
-
+
Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API