- get(String, List<Parameter>, Map<String, String>, Class<B>) - Method in class com.github.alexdlaird.http.DefaultHttpClient
-
- get(String, List<Parameter>, Map<String, String>, Path, int) - Method in class com.github.alexdlaird.http.DefaultHttpClient
-
- get(String, List<Parameter>, Map<String, String>, Class<B>) - Method in interface com.github.alexdlaird.http.HttpClient
-
Perform GET operation against an endpoint.
- get(String, Class<B>) - Method in interface com.github.alexdlaird.http.HttpClient
-
- get(String, List<Parameter>, Map<String, String>, Path, int) - Method in interface com.github.alexdlaird.http.HttpClient
-
Perform GET operation that downloads a file to the given path.
- get(String, List<Parameter>, Map<String, String>, Path) - Method in interface com.github.alexdlaird.http.HttpClient
-
- getAdd() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelHeader
-
Get the list of headers to add.
- getAddr() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get The addr, which will be a URL if obj
is "web".
- getAddr() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the local port to which the tunnel will forward traffic.
- getAddr() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.TunnelConfig
-
Get the local addr to which the tunnel forwards traffic.
- getAllowCidrs() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelIPRestrictions
-
Get the list of allowed CIDRs.
- getAllowDomains() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth
-
Get the list of OAuth allowed domains.
- getAllowEmails() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth
-
Get the list of OAuth allowed emails.
- getApiKey() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
A ngrok
API key.
- getApiUrl() - Method in class com.github.alexdlaird.ngrok.process.NgrokProcess
-
Get the API URL for the ngrok
web interface.
- getAuth() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get HTTP basic authentication credentials enforced on tunnel requests.
- getAuthToken() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the ngrok
authtoken that will be passed to commands.
- getBasicAuth() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the list of HTTP basic authentication credentials to enforce on tunneled requests.
- getBindTls() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get ngrok
's bind_tls
value.
- getBody() - Method in exception com.github.alexdlaird.exception.JavaNgrokHTTPException
-
Get the response body.
- getBody() - Method in exception com.github.alexdlaird.http.HttpClientException
-
Get the response body.
- getBody() - Method in class com.github.alexdlaird.http.Response
-
Get the body of the response.
- getBodyRaw() - Method in class com.github.alexdlaird.http.Response
-
Get the raw body of the response (can be useful if parsing fails).
- getCircuitBreaker() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the circuit breaker trigger.
- getClientCas() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the PEM TLS certificate authority path that will be used to verify incoming TLS client connection
certificates.
- getConfig() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the tunnel config.
- getConfigPath() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the path to the ngrok
config file.
- getCount() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the count metric.
- getCrt() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the PEM TLS certificate path that will be used to terminate TLS traffic before forwarding locally.
- getDefaultConfig(NgrokVersion) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Get the default config params for the given major version of ngrok
.
- getDenyCidrs() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelIPRestrictions
-
Get the list of denied CIDRs.
- getDuration() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the duration of the request.
- getErr() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the log's error, if applicable.
- getGauge() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the gauge metric.
- getHeaderFields() - Method in class com.github.alexdlaird.http.Response
-
Get the response headers.
- getHeaders() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Request
-
Get the map of request headers.
- getHeaders() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Response
-
Get the map of response headers.
- getHostHeader() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the HTTP Host header.
- getHostname() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the hostname.
- getHttpClient() - Method in class com.github.alexdlaird.ngrok.NgrokClient
-
Get the class used to make HTTP requests to ngrok
's APIs.
- getId() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the ID of the captured request.
- getId() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the ID of the tunnel.
- getInputStream(HttpURLConnection, String, String, Map<String, String>) - Method in class com.github.alexdlaird.http.DefaultHttpClient
-
Initialize the connection with the given parameters, then return the provisioned input stream.
- getInstance() - Static method in class com.github.alexdlaird.ngrok.conf.JavaNgrokVersion
-
Get or initialize the singleton instance.
- getIpRestrictions() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the IP restrictions for the tunnel.
- getJavaNgrokConfig() - Method in class com.github.alexdlaird.ngrok.NgrokClient
-
Get the java-ngrok
to use when interacting with the ngrok
binary.
- getJavaNgrokVersion() - Method in class com.github.alexdlaird.ngrok.protocol.Version
-
Get the java-ngrok
version.
- getKey() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the PEM TLS private key path that will be used to terminate TLS traffic before forwarding locally.
- getLabels() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the labels.
- getLine() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the raw, unparsed log line.
- getLogEventCallback() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the log event callback that will be invoked each time ngrok
emits a log.
- getLogs() - Method in class com.github.alexdlaird.ngrok.process.NgrokProcess.ProcessMonitor
-
Get the ngrok
logs.
- getLvl() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the log's level.
- getMaxLogs() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the maximum number of ngrok
logs to retain in the monitoring thread.
- getMetadata() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the arbitrary user-defined metadata that will appear in the ngrok service API when listing tunnels.
- getMethod() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Request
-
Get the method of the request.
- getMetrics() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
- getMsg() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the log's msg.
- getMutualTlsCas() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the path to the TLS certificate authority to verify client certs.
- getName() - Method in class com.github.alexdlaird.http.Parameter
-
Get the name of the field.
- getName() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the name of the tunnel.
- getName() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the name of the tunnel.
- getNgrokBin() - Static method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Get the ngrok
executable for the current system.
- getNgrokCDNUrl() - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
- getNgrokCDNUrl(NgrokVersion) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Determine the ngrok
CDN URL for the current OS and architecture.
- getNgrokConfig(Path, boolean, NgrokVersion) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Get the ngrok
config from the given path.
- getNgrokConfig(Path, boolean) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
- getNgrokConfig(Path) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
- getNgrokError() - Method in exception com.github.alexdlaird.exception.NgrokException
-
Get The error that caused the ngrok
process to fail.
- getNgrokInstaller() - Method in class com.github.alexdlaird.ngrok.process.NgrokProcess
-
Get the class used to download and install ngrok
.
- getNgrokLogs() - Method in exception com.github.alexdlaird.exception.NgrokException
-
Get the ngrok
logs, which may be useful for debugging.
- getNgrokPath() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the path to the ngrok
binary.
- getNgrokProcess() - Method in class com.github.alexdlaird.ngrok.NgrokClient
-
Get the class used to manage the ngrok
binary.
- getNgrokVersion() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the major ngrok
version to be used.
- getNgrokVersion() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the version of ngrok
for which the tunnel was created.
- getNgrokVersion() - Method in class com.github.alexdlaird.ngrok.protocol.Version
-
Get the ngrok
version.
- getOauth() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the OAuth settings to be setup on the tunnel.
- getObj() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the log's type.
- getP50() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the p50 metric.
- getP90() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the p90 metric.
- getP95() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the p95 metric.
- getP99() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the p99 metric.
- getProcessMonitor() - Method in class com.github.alexdlaird.ngrok.process.NgrokProcess
-
Get the Runnable that is monitoring the ngrok
thread.
- getProto() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Request
-
Get the proto of the request.
- getProto() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Response
-
Get the proto of the response.
- getProto() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the tunnel protocol.
- getProto() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the proto of the tunnel.
- getProvider() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth
-
Get the OAuth provider.
- getProvider() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelVerifyWebhook
-
Get the provider.
- getProxyProto() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the proxy proto.
- getPublicUrl() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the public URL of the tunnel.
- getRate1() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the rate1 metric.
- getRate15() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the rate15 metric.
- getRate5() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel.Metrics
-
Get the rate5 metric.
- getRaw() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Request
-
Get the raw request.
- getRaw() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Response
-
Get the raw response.
- getRegion() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the region in which ngrok
will start.
- getRemoteAddr() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the remote addr of the captured request.
- getRemoteAddr() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the bound remote TCP port on the given address.
- getRemove() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelHeader
-
Get the list of headers to remove.
- getRequest() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
- getRequestHeader() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the Headers to be added or removed from requests.
- getRequests() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequests
-
- getResponse() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
- getResponseHeader() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the Headers to be added or removed from responses.
- getSchemes() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the schemes to be bound.
- getScopes() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth
-
Get the list of OAuth scopes.
- getSecret() - Method in class com.github.alexdlaird.ngrok.protocol.TunnelVerifyWebhook
-
Get the secret.
- getStart() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the start of the captured request.
- getStartupTimeout() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig
-
Get the startup timeout before ngrok
times out on boot.
- getStatus() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Response
-
Get the description of the response.
- getStatusCode() - Method in exception com.github.alexdlaird.exception.JavaNgrokHTTPException
-
Get the HTTP status code.
- getStatusCode() - Method in exception com.github.alexdlaird.http.HttpClientException
-
Get the HTTP status code.
- getStatusCode() - Method in class com.github.alexdlaird.http.Response
-
Get the response code.
- getStatusCode() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Response
-
Get the status code of the response.
- getSubdomain() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the subdomain.
- getSystem() - Static method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Parse the name fo the OS from system properties and return a friendly name.
- getT() - Method in class com.github.alexdlaird.ngrok.process.NgrokLog
-
Get the log's ISO 8601 timestamp.
- getTerminateAt() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the termination point.
- getTunnelName() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the tunnel name of the captured request.
- getTunnels() - Method in class com.github.alexdlaird.ngrok.NgrokClient
-
Get a list of active ngrok
tunnels.
- getTunnels() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnels
-
Get the list tunnels.
- getUri() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest
-
Get the URI of the captured request.
- getUri() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequest.Request
-
Get the URI of the request.
- getUri() - Method in class com.github.alexdlaird.ngrok.protocol.CapturedRequests
-
Get the URI of the captured requests.
- getUri() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnel
-
Get the relative URI of the tunnel.
- getUri() - Method in class com.github.alexdlaird.ngrok.protocol.Tunnels
-
Get the URI.
- getUrl() - Method in exception com.github.alexdlaird.exception.JavaNgrokHTTPException
-
Get the URL.
- getUrl() - Method in exception com.github.alexdlaird.http.HttpClientException
-
Get the URL.
- getUrl() - Method in interface com.github.alexdlaird.ngrok.installer.NgrokCDNUrl
-
Get the download URL.
- getUrl() - Method in enum com.github.alexdlaird.ngrok.installer.NgrokV2CDNUrl
-
- getUrl() - Method in enum com.github.alexdlaird.ngrok.installer.NgrokV3CDNUrl
-
- getValue() - Method in class com.github.alexdlaird.http.Parameter
-
Get the value of the field.
- getVerifyWebhook() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel
-
Get the signature for webhooks.
- getVersion() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokVersion
-
Get the version.
- getVersion() - Method in class com.github.alexdlaird.ngrok.NgrokClient
-
Get the ngrok
and java-ngrok
version.
- getVersion() - Method in class com.github.alexdlaird.ngrok.process.NgrokProcess
-
Get the ngrok
version.
- validateConfig(Path) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Validate that the config file at the given path is valid for ngrok
and java-ngrok
.
- validateConfig(Map<String, Object>) - Method in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
Validate that the given map of config items are valid for ngrok
and java-ngrok
.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokV2CDNUrl
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokV3CDNUrl
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.protocol.BindTls
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.protocol.Proto
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.alexdlaird.ngrok.protocol.Region
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokV2CDNUrl
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokV3CDNUrl
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.alexdlaird.ngrok.installer.NgrokVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.alexdlaird.ngrok.protocol.BindTls
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.alexdlaird.ngrok.protocol.Proto
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.alexdlaird.ngrok.protocol.Region
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Version - Class in com.github.alexdlaird.ngrok.protocol
-
An object representing ngrok
's version and java-ngrok
's version.
- Version(String, String) - Constructor for class com.github.alexdlaird.ngrok.protocol.Version
-
Construct a version.
- WINDOWS - Static variable in class com.github.alexdlaird.ngrok.installer.NgrokInstaller
-
- withAdd(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelHeader.Builder
-
The list of headers to add.
- withAddr(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withAddr(int) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withAllowCidrs(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelIPRestrictions.Builder
-
The list of allowed CIDRs.
- withAllowDomains(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth.Builder
-
The list of allowed OAuth domains.
- withAllowEmails(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth.Builder
-
The list of allowed OAuth emails.
- withApiKey(String) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
A ngrok
API key.
- withAuth(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
HTTP basic authentication credentials to enforce on tunneled requests.
- withAuthToken(String) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
A ngrok
authtoken to pass to commands (overrides what is in the config).
- withBasicAuth(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
List of HTTP basic authentication credentials to enforce on tunneled requests.
- withBindTls(BindTls) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withBindTls(boolean) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withCircuitBreaker(Float) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The circuit breaker trigger.
- withClientCas(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
PEM TLS certificate authority at this path will verify incoming TLS client connection certificates.
- withCompression(Boolean) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Whether compression is enabled on this tunnel.
- withConfigPath(Path) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
- withContentType(String) - Method in class com.github.alexdlaird.http.DefaultHttpClient.Builder
-
Default contentType header for requests.
- withCrt(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
PEM TLS certificate at this path to terminate TLS traffic before forwarding locally.
- withDenyCidrs(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelIPRestrictions.Builder
-
The list of denied CIDRs.
- withEncoding(String) - Method in class com.github.alexdlaird.http.DefaultHttpClient.Builder
-
Default encoding for requests.
- withHostHeader(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Rewrite the HTTP Host header to this value, or preserve
to leave it unchanged.
- withHostname(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Hostname to request (requires reserved name and DNS CNAME).
- withHttpClient(HttpClient) - Method in class com.github.alexdlaird.ngrok.NgrokClient.Builder
-
The class used to make HTTP requests to ngrok
's APIs.
- withIpRestrictions(TunnelIPRestrictions) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The IP restrictions for the tunnel.
- withJavaNgrokConfig(JavaNgrokConfig) - Method in class com.github.alexdlaird.ngrok.NgrokClient.Builder
-
The java-ngrok
to use when interacting with the ngrok
binary.
- withKey(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
PEM TLS private key at this path to terminate TLS traffic before forwarding locally.
- withLogEventCallback(Function<NgrokLog, Void>) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
A callback that will be invoked each time ngrok
emits a log.
- withMaxLogs(int) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
The maximum number of ngrok
logs to retain in the monitoring thread.
- withMetadata(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Arbitrary user-defined metadata that will appear in the ngrok service API when listing tunnels.
- withMutualTlsCas(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The path to the TLS certificate authority to verify client certs.
- withName(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withNgrokInstaller(NgrokInstaller) - Method in class com.github.alexdlaird.ngrok.NgrokClient.Builder
-
The class used to download and install ngrok
.
- withNgrokPath(Path) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
The path to the
ngrok
binary, defaults to being placed in the same directory as
ngrok's
configs.
- withNgrokProcess(NgrokProcess) - Method in class com.github.alexdlaird.ngrok.NgrokClient.Builder
-
The class used to manage the ngrok
binary.
- withNgrokVersion(NgrokVersion) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
The major version of ngrok
to be used.
- withNgrokVersion(NgrokVersion) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The major version of ngrok
for which the tunnel will be created.
- withOAuth(TunnelOAuth) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Set of OAuth settings to enable OAuth authentication on the tunnel endpoint.
- withoutInspect() - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Disable HTTP request inspection on tunnels.
- withoutMonitoring() - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
Don't keep monitoring ngrok
(for logs, etc.) after startup is complete.
- withProto(Proto) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
- withProvider(String) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth.Builder
-
The OAuth provider.
- withProvider(String) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelVerifyWebhook.Builder
-
The signature provider.
- withProxyProto(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The proxy proto.
- withRegion(Region) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
The region in which ngrok
should start.
- withRemoteAddr(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Bind the remote TCP port on the given address.
- withRemove(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelHeader.Builder
-
The list of headers to remove.
- withRequestHeader(TunnelHeader) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The Headers to be added or removed from requests.
- withResponseHeader(TunnelHeader) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The Headers to be added or removed from responses.
- withRetryCount(int) - Method in class com.github.alexdlaird.http.DefaultHttpClient.Builder
-
Default retry count for GET requests.
- withSchemes(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The schemes to be bound.
- withScopes(List<String>) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelOAuth.Builder
-
The list of OAuth scopes.
- withSecret(String) - Method in class com.github.alexdlaird.ngrok.protocol.TunnelVerifyWebhook.Builder
-
The signature secret.
- withStartupTimeout(int) - Method in class com.github.alexdlaird.ngrok.conf.JavaNgrokConfig.Builder
-
The max number of seconds to wait for ngrok
to start before timing out.
- withSubdomain(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Subdomain name to request.
- withTerminateAt(String) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The termination point.
- withTimeout(int) - Method in class com.github.alexdlaird.http.DefaultHttpClient.Builder
-
Default timeout for requests.
- withTunnelDefinition(Map<String, Object>) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Populate any null
attributes (except for name
) in this Builder with values from
the given tunnelDefinition
.
- withVerifyWebhook(TunnelVerifyWebhook) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
The signature for webhooks.
- withWebsocketTcpConverter(Boolean) - Method in class com.github.alexdlaird.ngrok.protocol.CreateTunnel.Builder
-
Whether ingress connections are converted to TCP upstream.