P - the type of service proxiespublic static interface StatelessBuilderAPI.SecondClause<P>
| Modifier and Type | Method and Description |
|---|---|
P |
build()
Returns a configured proxy.
|
StatelessBuilderAPI.FinalClause<P> |
withTimeout(int timeoutDuration,
TimeUnit timeoutUnit)
Configures the timeout for the proxy.
|
StatelessBuilderAPI.FinalClause<P> withTimeout(int timeoutDuration, TimeUnit timeoutUnit)
timeoutDuration - the duration of the timeouttimeoutUnit - the time unit of the timeoutP build()
Copyright © 2017. All Rights Reserved.