Modifier and Type | Method and Description |
---|---|
static <T> T |
newClient(RemoteInvokerFactory remoteInvokerFactory,
String uri,
Class<T> interfaceClass,
ClientOptions options)
Creates a new client that connects to the specified
uri using an alternative
RemoteInvokerFactory . |
static <T> T |
newClient(RemoteInvokerFactory remoteInvokerFactory,
String uri,
Class<T> interfaceClass,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
uri using an alternative
RemoteInvokerFactory . |
static <T> T |
newClient(RemoteInvokerFactory remoteInvokerFactory,
URI uri,
Class<T> interfaceClass,
ClientOptions options)
Creates a new client that connects to the specified
URI using an alternative
RemoteInvokerFactory . |
static <T> T |
newClient(RemoteInvokerFactory remoteInvokerFactory,
URI uri,
Class<T> interfaceClass,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
URI using an alternative
RemoteInvokerFactory . |
static <T> T |
newClient(String uri,
Class<T> interfaceClass,
ClientOptions options)
Creates a new client that connects to the specified
uri using the default
RemoteInvokerFactory . |
static <T> T |
newClient(String uri,
Class<T> interfaceClass,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
uri using the default
RemoteInvokerFactory . |
static <T> T |
newClient(URI uri,
Class<T> interfaceClass,
ClientOptions options)
Creates a new client that connects to the specified
URI using the default
RemoteInvokerFactory . |
static <T> T |
newClient(URI uri,
Class<T> interfaceClass,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
URI using the default
RemoteInvokerFactory . |
static <T> T |
newDerivedClient(T client,
ClientOptionValue<?>... additionalOptions)
Creates a new derived client that connects to the same
URI with the specified client
with the specified additionalOptions . |
static <T> T |
newDerivedClient(T client,
Iterable<ClientOptionValue<?>> additionalOptions)
Creates a new derived client that connects to the same
URI with the specified client
with the specified additionalOptions . |
public static <T> T newClient(String uri, Class<T> interfaceClass, ClientOptionValue<?>... options)
uri
using the default
RemoteInvokerFactory
.uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptionValue
spublic static <T> T newClient(String uri, Class<T> interfaceClass, ClientOptions options)
uri
using the default
RemoteInvokerFactory
.uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptions
public static <T> T newClient(RemoteInvokerFactory remoteInvokerFactory, String uri, Class<T> interfaceClass, ClientOptionValue<?>... options)
uri
using an alternative
RemoteInvokerFactory
.remoteInvokerFactory
- an alternative RemoteInvokerFactory
uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptionValue
spublic static <T> T newClient(RemoteInvokerFactory remoteInvokerFactory, String uri, Class<T> interfaceClass, ClientOptions options)
uri
using an alternative
RemoteInvokerFactory
.remoteInvokerFactory
- an alternative RemoteInvokerFactory
uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptions
public static <T> T newClient(URI uri, Class<T> interfaceClass, ClientOptionValue<?>... options)
URI
using the default
RemoteInvokerFactory
.uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptionValue
spublic static <T> T newClient(URI uri, Class<T> interfaceClass, ClientOptions options)
URI
using the default
RemoteInvokerFactory
.uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptions
public static <T> T newClient(RemoteInvokerFactory remoteInvokerFactory, URI uri, Class<T> interfaceClass, ClientOptionValue<?>... options)
URI
using an alternative
RemoteInvokerFactory
.remoteInvokerFactory
- an alternative RemoteInvokerFactory
uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptionValue
spublic static <T> T newClient(RemoteInvokerFactory remoteInvokerFactory, URI uri, Class<T> interfaceClass, ClientOptions options)
URI
using an alternative
RemoteInvokerFactory
.remoteInvokerFactory
- an alternative RemoteInvokerFactory
uri
- the URI of the server endpointinterfaceClass
- the type of the new clientoptions
- the ClientOptions
public static <T> T newDerivedClient(T client, ClientOptionValue<?>... additionalOptions)
URI
with the specified client
with the specified additionalOptions
. Note that the derived client will use the options of
the specified client
unless specified in additionalOptions
.public static <T> T newDerivedClient(T client, Iterable<ClientOptionValue<?>> additionalOptions)
URI
with the specified client
with the specified additionalOptions
. Note that the derived client will use the options of
the specified client
unless specified in additionalOptions
.Copyright © 2015-2016 LINE Corporation. All Rights Reserved.