Package | Description |
---|---|
org.nlpcraft.model.test |
Contains model testing framework.
|
Modifier and Type | Method and Description |
---|---|
NCTestClientBuilder |
NCTestClientBuilder.newBuilder()
Creates new builder instance with all defaults set.
|
NCTestClientBuilder |
NCTestClientBuilder.setBaseUrl(String baseUrl)
Sets non-default API base URL.
|
NCTestClientBuilder |
NCTestClientBuilder.setEmbeddedMode(boolean embedded)
Sets the embedded probe mode flag.
|
NCTestClientBuilder |
NCTestClientBuilder.setHttpClientSupplier(Supplier<org.apache.http.impl.client.CloseableHttpClient> cliSup)
Sets non-default
CloseableHttpClient custom supplier. |
NCTestClientBuilder |
NCTestClientBuilder.setRequestConfig(org.apache.http.client.config.RequestConfig reqCfg)
Sets optional HTTP REST client configuration parameters.
|
NCTestClientBuilder |
NCTestClientBuilder.setUser(String email,
String pswd)
Sets non-default user credentials.
|
Copyright © 2020 NLPCraft. All rights reserved.