Interface Service.EndpointFactory
-
- Enclosing interface:
- Service
public static interface Service.EndpointFactory
A helper factory which generates endpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpoint
create(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
Create a newEndpoint
.
-
-
-
Method Detail
-
create
Endpoint create(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
Create a newEndpoint
.- Parameters:
hostname
- the hostname of the endpoint.bucket
- the bucket name of the endpoint.username
- the user authorized for bucket access.password
- the password of the user.port
- the port of the endpoint.ctx
- the shared context.- Returns:
- a new
Endpoint
.
-
-