public interface ClientBuilderDecorator
A decorator around the client builder. Allows users to change the ClientBuilder and call
ClientBuilder.build() themselves to create the Client.
| Modifier and Type | Field and Description |
|---|---|
static ClientProperty<ClientBuilderDecorator> |
PROPERTY
Use this property to register a different
ClientBuilderDecorator for building the
Client. |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.client.Client |
finish(javax.ws.rs.client.ClientBuilder builder)
Build a client.
|
static final ClientProperty<ClientBuilderDecorator> PROPERTY
Use this property to register a different ClientBuilderDecorator for building the
Client.
The default ClientBuilderDecorator simply calls ClientBuilder.build().
javax.ws.rs.client.Client finish(javax.ws.rs.client.ClientBuilder builder)
Build a client. The ClientBuilder is properly set up.
However, it is even possible to return a completely different Client, created in a
custom way.
builder - client builder properly set up using the StandardClientProperties and JerseyClientProperties.Copyright © 2016–2024. All rights reserved.