Package com.linecorp.armeria.client
Interface ClientBuilderParams
- All Known Subinterfaces:
THttpClient
,WebClient
- All Known Implementing Classes:
UserClient
public interface ClientBuilderParams
Provides the construction parameters of a client.
-
Method Summary
Modifier and Type Method Description String
absolutePathRef()
Returns theString
that consists of path, query string and fragment.Class<?>
clientType()
Returns the type of the client.EndpointGroup
endpointGroup()
Returns theEndpointGroup
of the client.static ClientBuilderParams
of(Scheme scheme, EndpointGroup endpointGroup, 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.ClientOptions
options()
Returns the options of the client.Scheme
scheme()
Returns theScheme
of the client.URI
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 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.
-