public class DefaultClientBuilderParams extends Object implements ClientBuilderParams
ClientBuilderParams implementation.| Constructor and Description |
|---|
DefaultClientBuilderParams(ClientFactory factory,
URI uri,
Class<?> type,
ClientOptions options)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
clientType()
Returns the type of the client.
|
ClientFactory |
factory()
Returns the
ClientFactory who created the client. |
ClientOptions |
options()
Returns the options of the client.
|
String |
toString() |
URI |
uri()
Returns the endpoint URI of the client.
|
public DefaultClientBuilderParams(ClientFactory factory, URI uri, Class<?> type, ClientOptions options)
public ClientFactory factory()
ClientBuilderParamsClientFactory who created the client.factory in interface ClientBuilderParamspublic URI uri()
ClientBuilderParamsuri in interface ClientBuilderParamspublic Class<?> clientType()
ClientBuilderParamsclientType in interface ClientBuilderParamspublic ClientOptions options()
ClientBuilderParamsoptions in interface ClientBuilderParamsCopyright © 2020 LeanCloud. All rights reserved.