Package com.ngrok.services
Class Endpoints
java.lang.Object
com.ngrok.services.Endpoints
Endpoints provides an API for querying the endpoint objects
which define what tunnel or edge is used to serve a hostport.
Only active endpoints associated with a tunnel or backend are returned.
See also https://ngrok.com/docs/api#api-endpoints.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Get API call.class
A builder object encapsulating state for an unsent List API call. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the status of an endpoint by ID See also https://ngrok.com/docs/api#api-endpoints-get.list()
List all active endpoints on the account See also https://ngrok.com/docs/api#api-endpoints-list.
-
Constructor Details
-
Endpoints
Creates a new sub-client for Endpoints.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
list
List all active endpoints on the account See also https://ngrok.com/docs/api#api-endpoints-list.- Returns:
- a call builder for this API call
-
get
Get the status of an endpoint by ID See also https://ngrok.com/docs/api#api-endpoints-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-