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 Details

    • withTimeout

      StatelessBuilderAPI.FinalClause<P> withTimeout(int timeoutDuration, TimeUnit timeoutUnit)
      Configures the timeout for the proxy.
      Parameters:
      timeoutDuration - the duration of the timeout
      timeoutUnit - the time unit of the timeout
      Returns:
      further configuration options
    • build

      P build()
      Returns a configured proxy.
      Returns:
      the proxy