Package org.nuxeo.http.test
Class HttpClientTestRule.Builder
java.lang.Object
org.nuxeo.http.test.HttpClientTestRule.Builder
- Enclosing class:
- HttpClientTestRule
The http client test rule builder. This builder is used to pass default parameters to client and requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentType
(String contentType) credentials
(String username, String password) redirectsEnabled
(boolean redirectsEnabled) timeout
(int timeout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
-
url
-
adminCredentials
-
credentials
-
accept
-
contentType
-
timeout
-
timeout
-
header
-
redirectsEnabled
-
build
-