T
- initializable type.public interface Initializable<T extends Initializable<T>>
This interface provides method that allows to pre-initialize client-side component's runtime and runtime configuration
ahead of it's first use. The interface is implemented by JerseyClient
and
JerseyWebTarget
classes.
Modifier and Type | Method and Description |
---|---|
ClientConfig |
getConfiguration()
Get a live view of an internal client configuration state of this initializable instance.
|
T |
preInitialize()
Pre-initializes the runtime and runtime
configuration of this component
in order to improve performance during the first request. |
T preInitialize()
configuration
of this component
in order to improve performance during the first request.
Once this method is called no other method implementing Configurable
should be called
on this pre initialized component, otherwise the initialized client runtime will be discarded and the configuration
will change back to uninitialized.
ClientConfig getConfiguration()
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.