Index

A B C D E F G H I J M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addJacksonMessageBodyProvider(Client, ObjectMapper) - Static method in class org.kiwiproject.jersey.client.dropwizard.DropwizardClients
Adds a JacksonMessageBodyProvider to the given Client.
addJacksonMessageBodyProvider(Client, JacksonMessageBodyProvider) - Static method in class org.kiwiproject.jersey.client.dropwizard.DropwizardClients
Adds the JacksonMessageBodyProvider to the given Client.

B

build() - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Builds the RegistryAwareClient with the configured options.
build() - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
build() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
builder() - Static method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
buildManagedJerseyClient() - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Creates a new Dropwizard-managed Client.
buildManagedRegistryAwareClient() - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Create a new Dropwizard-managed RegistryAwareClient with the same behavior as DropwizardManagedClientBuilder.buildManagedJerseyClient() but also being registry-aware.

C

client() - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Return the underlying "raw" JAX-RS Client instance.
ClientBuilder - Interface in org.kiwiproject.jersey.client
Configure and create RegistryAwareClient instances using a fluent builder interface.
ClientBuilders - Class in org.kiwiproject.jersey.client
The starting point for creating RegistryAwareClient instances
clientName(String) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets the name of the client to be managed.
close() - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
connector(Port.PortType) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
connectTimeout(int) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the connect timeout for the client.
connectTimeout(int) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
connectTimeout(long) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the connect timeout for the client.
connectTimeout(long) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
connectTimeout(Duration) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
copyOf(ServiceIdentifier) - Static method in class org.kiwiproject.jersey.client.ServiceIdentifier
Creates a copy of original without modifications.

D

DEFAULT_CONNECT_TIMEOUT - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DEFAULT_CONNECTION_POOL_TIMEOUT - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DEFAULT_CONNECTION_POOL_TIMEOUT_MILLIS - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DEFAULT_READ_TIMEOUT - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class org.kiwiproject.jersey.client.RegistryAwareClientConstants
 
DropwizardClients - Class in org.kiwiproject.jersey.client.dropwizard
Utilities for adding Dropwizard features to JAX-RS Clients.
DropwizardManagedClientBuilder - Class in org.kiwiproject.jersey.client.dropwizard
Builder used for building either raw Client instances or RegistryAwareClient instances that are fully managed by Dropwizard.
DropwizardManagedClientBuilder() - Constructor for class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
 

E

environment(Environment) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets the Dropwizard environment to set up the management of the client.
equals(Object) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 

F

from(ServiceIdentifier) - Static method in exception org.kiwiproject.jersey.client.exception.MissingServiceRuntimeException
Creates a new MissingServiceRuntimeException based on the given ServiceIdentifier.

G

getConfiguration() - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
getConnector() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getConnectTimeout() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getConnectTimeoutAsIntMillis() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
Convert the Dropwizard connect timeout to millis as an int.
getHostnameVerifier() - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
getMinimumVersion() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getPreferredVersion() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getReadTimeout() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getReadTimeoutAsIntMillis() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
Convert the Dropwizard read timeout to millis as an int.
getServiceName() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
getSslContext() - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 

H

hashCode() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
headersSupplier(Supplier<Map<String, Object>>) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
The given Supplier will be used to attach headers to all requests that the built RegistryAwareClient instance sends.
headersSupplier(Supplier<Map<String, Object>>) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
The given Supplier will be used to attach headers to all requests that the built Client or RegistryAwareClient instance sends.
headersSupplier(Supplier<Map<String, Object>>) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
hostnameVerifier(HostnameVerifier) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the hostname verifier for the client.
hostnameVerifier(HostnameVerifier) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 

I

invocation(Link) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 

J

jersey() - Static method in class org.kiwiproject.jersey.client.ClientBuilders
Returns a ClientBuilder that can be used to create JAX-RS clients that use Jersey as their implementation and are aware of a service registry for service lookups.
jerseyClientConfiguration(JerseyClientConfiguration) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets a JerseyClientConfiguration that is pre-populated with client configuration.

M

minimumVersion(String) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
MissingServiceRuntimeException - Exception in org.kiwiproject.jersey.client.exception
Runtime exception that indicates that the RegistryAwareClient was unable to find the requested service in the registry service.
MissingServiceRuntimeException(String) - Constructor for exception org.kiwiproject.jersey.client.exception.MissingServiceRuntimeException
Creates a new MissingServiceRuntimeException with a given message.
multipart() - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Enables the multipart feature on the client.
multipart() - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 

N

newDefaultJerseyClientConfiguration() - Static method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Creates a new JerseyClientConfiguration to use as a default that is NOT configured for TLS.
newDefaultJerseyClientConfiguration(TlsConfigProvider) - Static method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Creates a new JerseyClientConfiguration to use as a default that has TLS configured only if the given provider is not null and can provide.

O

of(String) - Static method in class org.kiwiproject.jersey.client.ServiceIdentifier
Shortcut factory method to create a new ServiceIdentifier with the given service name with application connector type (APPLICATION), no minimum or preferred versions, and default timeout values.
of(String, Port.PortType) - Static method in class org.kiwiproject.jersey.client.ServiceIdentifier
Shortcut factory method create a new ServiceIdentifier with the given service name and connector.
org.kiwiproject.jersey.client - package org.kiwiproject.jersey.client
 
org.kiwiproject.jersey.client.dropwizard - package org.kiwiproject.jersey.client.dropwizard
 
org.kiwiproject.jersey.client.exception - package org.kiwiproject.jersey.client.exception
 

P

preferredVersion(String) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
property(String, Object) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 

R

readTimeout(int) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the read timeout for the client.
readTimeout(int) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
readTimeout(long) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the read timeout for the client.
readTimeout(long) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
readTimeout(Duration) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
register(Class<?>) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Class<?>, int) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Class<?>, Class<?>...) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Class<?>, Map<Class<?>, Integer>) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Object) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Object, int) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Object, Class<?>...) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
register(Object, Map<Class<?>, Integer>) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
RegistryAwareClient - Class in org.kiwiproject.jersey.client
An extension of the JAX-RS Client interface that provides additional target(...) methods that will find service instances from a registry, e.g.
RegistryAwareClient(Client, RegistryClient) - Constructor for class org.kiwiproject.jersey.client.RegistryAwareClient
Creates a new RegistryAwareClient with the given Client and RegistryClient.
RegistryAwareClient(Client, RegistryClient, Supplier<Map<String, Object>>) - Constructor for class org.kiwiproject.jersey.client.RegistryAwareClient
Creates a new RegistryAwareClient with the given Client, RegistryClient and Supplier that will be used to automatically attach request headers to all requests made by this client.
RegistryAwareClientBuilder - Class in org.kiwiproject.jersey.client
This class builds RegistryAwareClient instances using regular JAX-RS APIs.
RegistryAwareClientBuilder() - Constructor for class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
RegistryAwareClientConstants - Class in org.kiwiproject.jersey.client
Common constants across this library.
registryClient(RegistryClient) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Provides the RegistryClient to use to find services.
registryClient(RegistryClient) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets the RegistryClient to use for RegistryAwareClient.
registryClient(RegistryClient) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 

S

ServiceIdentifier - Class in org.kiwiproject.jersey.client
Service definition used for client connections to services.
ServiceIdentifier.ServiceIdentifierBuilder - Class in org.kiwiproject.jersey.client
 
serviceName(String) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
sslContext(SSLContext) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the SSL context for the client.
sslContext(SSLContext) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 

T

target(Link) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
target(UriBuilder) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
target(String) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
target(URI) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
 
targetForService(String) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Provide a WebTarget by looking up a service in the registry using the given service name.
targetForService(String, Port.PortType) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Provide a WebTarget by looking up a service in the registry using the given service name and Port.PortType .
targetForService(ServiceIdentifier) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Provide a WebTarget by looking up a service in the registry using the given service identifier.
targetForService(ServiceIdentifier, Port.PortType) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Provide a WebTarget by looking up a service in the registry using the given ServiceIdentifier and PortType.
targetForService(ServiceIdentifier, Port.PortType, Function<ServiceInstance, String>) - Method in class org.kiwiproject.jersey.client.RegistryAwareClient
Provide a WebTarget by looking up a service in the registry using the given service identifier.
timeoutsFrom(ServiceIdentifier) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Sets the connect and read timeouts for the client from a ServiceIdentifier.
timeoutsFrom(ServiceIdentifier) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
tlsConfigProvider(TlsConfigProvider) - Method in interface org.kiwiproject.jersey.client.ClientBuilder
Provides a TlsConfigProvider to use to provide TLS configuration.
tlsConfigProvider(TlsConfigProvider) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets the TlsConfigProvider that is used to resolve TLS properties for the client.
tlsConfigProvider(TlsConfigProvider) - Method in class org.kiwiproject.jersey.client.RegistryAwareClientBuilder
 
tlsContextConfiguration(TlsContextConfiguration) - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets the TLS configuration that the client will use.
toBuilder() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
toString() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier.ServiceIdentifierBuilder
 
toString() - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 

W

withConnector(Port.PortType) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
withoutTls() - Method in class org.kiwiproject.jersey.client.dropwizard.DropwizardManagedClientBuilder
Sets up the builder to OPT OUT of TLS configuration.
withServiceName(String) - Method in class org.kiwiproject.jersey.client.ServiceIdentifier
 
A B C D E F G H I J M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form