public class BasicConnManagerFactory extends Object implements ConnManagerFactory
ConnManager
instances which delegate directly to
ConnectionManager
.Constructor and Description |
---|
BasicConnManagerFactory() |
Modifier and Type | Method and Description |
---|---|
ConnManager |
create(ConnectionEndpoint endpoint)
Returns
ConnManager containing a
ConnectionManager constructed with the given ConnectionEndpoint ; the newRequest
method of the returned ConnManager delegates directly to
the corresponding method of the contained
ConnectionManager . |
public ConnManager create(ConnectionEndpoint endpoint)
ConnManager
containing a
ConnectionManager
constructed with the given ConnectionEndpoint
; the newRequest
method of the returned ConnManager
delegates directly to
the corresponding method of the contained
ConnectionManager
.create
in interface ConnManagerFactory
endpoint
- endpoint to manage connections ofNullPointerException
- if endpoint
is
null
Copyright © 2016–2018. All rights reserved.