public static final class Http2ConnectionPool.Builder
extends java.lang.Object
Http2ConnectionPool
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Http2ConnectionPool |
build()
Builds the configured instance.
|
Http2ConnectionPool.Builder |
maxRequests(java.lang.Number maxRequests)
Sets the value of
Http2ConnectionPool.getMaxRequests() |
public Http2ConnectionPool.Builder maxRequests(java.lang.Number maxRequests)
Http2ConnectionPool.getMaxRequests()
maxRequests
- The maximum requests in the pool. This parameter is required.this
public Http2ConnectionPool build()
Http2ConnectionPool
java.lang.NullPointerException
- if any required attribute was not provided