public interface ClientBuilderParams
| Modifier and Type | Method and Description |
|---|---|
String |
absolutePathRef()
Returns the
String that consists of path, query string and fragment. |
Class<?> |
clientType()
Returns the type of the client.
|
EndpointGroup |
endpointGroup()
Returns the
EndpointGroup of the client. |
default ClientFactory |
factory()
Deprecated.
Use
options() to get ClientOption.FACTORY. |
static ClientBuilderParams |
of(Scheme scheme,
EndpointGroup endpointGroup,
String path,
Class<?> type,
ClientOptions options)
Returns a newly created
ClientBuilderParams from the specified properties. |
static ClientBuilderParams |
of(URI uri,
Class<?> type,
ClientOptions options)
Returns a newly created
ClientBuilderParams from the specified properties. |
ClientOptions |
options()
Returns the options of the client.
|
Scheme |
scheme()
Returns the
Scheme of the client. |
URI |
uri()
Returns the endpoint URI of the client.
|
static ClientBuilderParams of(URI uri, Class<?> type, ClientOptions options)
ClientBuilderParams from the specified properties.static ClientBuilderParams of(Scheme scheme, EndpointGroup endpointGroup, String path, Class<?> type, ClientOptions options)
ClientBuilderParams from the specified properties.@Deprecated default ClientFactory factory()
options() to get ClientOption.FACTORY.ClientFactory who created the client.EndpointGroup endpointGroup()
EndpointGroup of the client.String absolutePathRef()
String that consists of path, query string and fragment.URI uri()
Class<?> clientType()
ClientOptions options()
Copyright © 2020 LeanCloud. All rights reserved.