Interface StatelessBuilderAPI.SecondClause<P>
- Type Parameters:
P- the type of service proxies
- All Known Implementing Classes:
AbstractStatelessBuilder
- Enclosing class:
- StatelessBuilderAPI
public static interface StatelessBuilderAPI.SecondClause<P>
The second clause of the DSL.
- Author:
- Fabio Simeoni
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a configured proxy.withTimeout(int timeoutDuration, TimeUnit timeoutUnit) Configures the timeout for the proxy.
-
Method Details
-
withTimeout
Configures the timeout for the proxy.- Parameters:
timeoutDuration- the duration of the timeouttimeoutUnit- the time unit of the timeout- Returns:
- further configuration options
-
build
P build()Returns a configured proxy.- Returns:
- the proxy
-