Package com.github.alexdlaird.ngrok
Class NgrokClient.Builder
- java.lang.Object
-
- com.github.alexdlaird.ngrok.NgrokClient.Builder
-
- Enclosing class:
- NgrokClient
public static class NgrokClient.Builder extends java.lang.ObjectBuilder for aNgrokClient.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NgrokClientbuild()NgrokClient.BuilderwithHttpClient(HttpClient httpClient)The class used to make HTTP requests tongrok's APIs.NgrokClient.BuilderwithJavaNgrokConfig(JavaNgrokConfig javaNgrokConfig)Thejava-ngrokto use when interacting with thengrokbinary.NgrokClient.BuilderwithNgrokInstaller(NgrokInstaller ngrokInstaller)The class used to download and installngrok.NgrokClient.BuilderwithNgrokProcess(NgrokProcess ngrokProcess)The class used to manage thengrokbinary.
-
-
-
Method Detail
-
withJavaNgrokConfig
public NgrokClient.Builder withJavaNgrokConfig(JavaNgrokConfig javaNgrokConfig)
Thejava-ngrokto use when interacting with thengrokbinary.
-
withNgrokInstaller
public NgrokClient.Builder withNgrokInstaller(NgrokInstaller ngrokInstaller)
The class used to download and installngrok.
-
withNgrokProcess
public NgrokClient.Builder withNgrokProcess(NgrokProcess ngrokProcess)
The class used to manage thengrokbinary.
-
withHttpClient
public NgrokClient.Builder withHttpClient(HttpClient httpClient)
The class used to make HTTP requests tongrok's APIs.
-
build
public NgrokClient build()
-
-