Package com.linecorp.armeria.client
Interface ClientBuilderParams
- All Known Subinterfaces:
BlockingWebClient
,RestClient
,THttpClient
,WebClient
- All Known Implementing Classes:
UserClient
public interface ClientBuilderParams
Provides the construction parameters of a client.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theString
that consists of path, query string and fragment.Class<?>
Returns the type of the client.Returns theEndpointGroup
of the client.static ClientBuilderParams
of
(Scheme scheme, EndpointGroup endpointGroup, @Nullable String absolutePathRef, Class<?> type, ClientOptions options) Returns a newly createdClientBuilderParams
from the specified properties.static ClientBuilderParams
of
(URI uri, Class<?> type, ClientOptions options) Returns a newly createdClientBuilderParams
from the specified properties.options()
Returns the options of the client.scheme()
Returns theScheme
of the client.uri()
Returns the endpoint URI of the client.
-
Method Details
-
of
Returns a newly createdClientBuilderParams
from the specified properties. -
of
static ClientBuilderParams of(Scheme scheme, EndpointGroup endpointGroup, @Nullable @Nullable String absolutePathRef, Class<?> type, ClientOptions options) Returns a newly createdClientBuilderParams
from the specified properties. -
scheme
Scheme scheme()Returns theScheme
of the client. -
endpointGroup
EndpointGroup endpointGroup()Returns theEndpointGroup
of the client. -
absolutePathRef
String absolutePathRef()Returns theString
that consists of path, query string and fragment. -
uri
URI uri()Returns the endpoint URI of the client. -
clientType
Class<?> clientType()Returns the type of the client. -
options
ClientOptions options()Returns the options of the client.
-